Skip to content

Commit

Permalink
remove dependency on font-awesome for a while
Browse files Browse the repository at this point in the history
  • Loading branch information
leikind committed Aug 28, 2015
1 parent 6b3ddd6 commit ca1c3c8
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ WARNING: Since 3.2.pre2 WiceGrid is not compatible with `will_paginate` because
Add the following to your Gemfile:

```
gem 'font-awesome-sass', '~> 4.3.0'
gem "wice_grid", '3.6.0.pre2'
```

Expand Down
8 changes: 4 additions & 4 deletions lib/wice_grid.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@
require 'wice/columns/common_rails_date_datetime_conditions_generator_mixin.rb'
require 'kaminari.rb'

unless Kernel.const_defined?(:FontAwesome)
gem 'font-awesome-sass'
require 'font-awesome-sass.rb'
end
# unless Kernel.const_defined?(:FontAwesome)
# gem 'font-awesome-sass'
# require 'font-awesome-sass.rb'
# end

ActionController::Base.send(:helper_method, :wice_grid_custom_filter_params)

Expand Down
7 changes: 3 additions & 4 deletions wice_grid.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,10 @@ Gem::Specification.new do |s|
s.add_dependency 'activerecord', ['> 3.2']
s.add_dependency 'kaminari', ['~> 0.16']
s.add_dependency 'coffee-rails', ['> 3.2']
s.add_dependency 'font-awesome-sass', ['~> 4.3']

s.add_runtime_dependency 'sass', '~> 3.2'

s.add_development_dependency 'sass-rails'
# s.add_dependency 'font-awesome-sass', ['~> 4.3']
# s.add_runtime_dependency 'sass', '~> 3.2'
# s.add_development_dependency 'sass-rails'

s.add_development_dependency('rake', '~> 10.1')
s.add_development_dependency('rspec', '~> 3.2.0')
Expand Down

0 comments on commit ca1c3c8

Please sign in to comment.