Permalink
Browse files

Upgrade to therubyracer 0.10.x call semantics. Prepare for 2.2.0 rele…

…ase. Fixes #34.
  • Loading branch information...
1 parent 9042c68 commit 79bc697d167e1637e945815fc78c8e6143b4715d @metaskills committed Mar 29, 2012
Showing with 8 additions and 3 deletions.
  1. +5 −0 CHANGELOG.md
  2. +1 −1 less-rails.gemspec
  3. +1 −1 lib/less/rails/helpers.rb
  4. +1 −1 lib/less/rails/version.rb
View
5 CHANGELOG.md
@@ -1,6 +1,11 @@
CHANGELOG
=========
+2.2.0 - 03/29/2012
+
+* Upgrade to therubyracer 0.10.x call semantics. Fixes #34.
+
+
2.1.8 - 03/15/2012
* Work with edge rails/sprockets. Fixes #31.
View
2 less-rails.gemspec
@@ -14,7 +14,7 @@ Gem::Specification.new do |s|
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
s.require_paths = ["lib"]
- s.add_runtime_dependency 'less', '~> 2.0.7'
+ s.add_runtime_dependency 'less', '~> 2.1.0'
s.add_runtime_dependency 'actionpack', '>= 3.1'
s.add_development_dependency 'minitest'
s.add_development_dependency 'guard-minitest'
View
2 lib/less/rails/helpers.rb
@@ -6,7 +6,7 @@ def self.less
def self.register_rails_helper(name, &block)
tree = @loader.require('less/tree')
- tree.functions[name] = lambda do |node|
+ tree.functions[name] = lambda do |this, node|
tree[:Anonymous].new block.call(tree, node)
end
end
View
2 lib/less/rails/version.rb
@@ -1,5 +1,5 @@
module Less
module Rails
- VERSION = "2.1.8"
+ VERSION = "2.2.0"
end
end

0 comments on commit 79bc697

Please sign in to comment.