Skip to content

Commit

Permalink
Rails 4 compatability. Thanks @zhengjia.
Browse files Browse the repository at this point in the history
  • Loading branch information
metaskills committed Mar 6, 2013
1 parent cf90dfd commit c0dda10
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 29 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
@@ -1,6 +1,11 @@
CHANGELOG
=========

2.3.2 - 03/06/2012

* Rails 4 compatability. Thanks @zhengjia.


2.3.1 - 03/06/2012

* Update to less gem 2.3.1 which really uses less v1.3.3
Expand Down
54 changes: 27 additions & 27 deletions gemfiles/rails31.gemfile.lock
Expand Up @@ -8,12 +8,12 @@ PATH
GEM
remote: https://rubygems.org/
specs:
actionmailer (3.1.11)
actionpack (= 3.1.11)
actionmailer (3.1.10)
actionpack (= 3.1.10)
mail (~> 2.3.3)
actionpack (3.1.11)
activemodel (= 3.1.11)
activesupport (= 3.1.11)
actionpack (3.1.10)
activemodel (= 3.1.10)
activesupport (= 3.1.10)
builder (~> 3.0.0)
erubis (~> 2.7.0)
i18n (~> 0.6)
Expand All @@ -22,20 +22,20 @@ GEM
rack-mount (~> 0.8.2)
rack-test (~> 0.6.1)
sprockets (~> 2.0.4)
activemodel (3.1.11)
activesupport (= 3.1.11)
activemodel (3.1.10)
activesupport (= 3.1.10)
builder (~> 3.0.0)
i18n (~> 0.6)
activerecord (3.1.11)
activemodel (= 3.1.11)
activesupport (= 3.1.11)
activerecord (3.1.10)
activemodel (= 3.1.10)
activesupport (= 3.1.10)
arel (~> 2.2.3)
tzinfo (~> 0.3.29)
activeresource (3.1.11)
activemodel (= 3.1.11)
activesupport (= 3.1.11)
activesupport (3.1.11)
multi_json (~> 1.0)
activeresource (3.1.10)
activemodel (= 3.1.10)
activesupport (= 3.1.10)
activesupport (3.1.10)
multi_json (>= 1.0, < 1.3)
appraisal (0.5.1)
bundler
rake
Expand Down Expand Up @@ -67,13 +67,13 @@ GEM
method_source (0.8.1)
mime-types (1.21)
minitest (4.6.2)
multi_json (1.6.1)
multi_json (1.2.0)
polyglot (0.3.3)
pry (0.9.12)
coderay (~> 1.0.5)
method_source (~> 0.8)
slop (~> 3.4)
rack (1.3.10)
rack (1.3.9)
rack-cache (1.2)
rack (>= 0.4)
rack-mount (0.8.3)
Expand All @@ -82,17 +82,17 @@ GEM
rack
rack-test (0.6.2)
rack (>= 1.0)
rails (3.1.11)
actionmailer (= 3.1.11)
actionpack (= 3.1.11)
activerecord (= 3.1.11)
activeresource (= 3.1.11)
activesupport (= 3.1.11)
rails (3.1.10)
actionmailer (= 3.1.10)
actionpack (= 3.1.10)
activerecord (= 3.1.10)
activeresource (= 3.1.10)
activesupport (= 3.1.10)
bundler (~> 1.0)
railties (= 3.1.11)
railties (3.1.11)
actionpack (= 3.1.11)
activesupport (= 3.1.11)
railties (= 3.1.10)
railties (3.1.10)
actionpack (= 3.1.10)
activesupport (= 3.1.10)
rack-ssl (~> 1.3.2)
rake (>= 0.8.7)
rdoc (~> 3.4)
Expand Down
2 changes: 1 addition & 1 deletion lib/less/rails/version.rb
@@ -1,5 +1,5 @@
module Less
module Rails
VERSION = "2.3.1"
VERSION = "2.3.2"
end
end
2 changes: 1 addition & 1 deletion test/dummy_app/init.rb
Expand Up @@ -13,7 +13,7 @@ class Application < ::Rails::Application
config.consider_all_requests_local = true
config.eager_load = false

config.assets.enabled = true
config.assets.enabled = true if ::Rails::VERSION::MAJOR < 4
config.assets.cache_store = [:file_store, "#{config.root}/tmp/cache/assets/"]

end
Expand Down

0 comments on commit c0dda10

Please sign in to comment.