less-rails 2.1.8 → 2.2.0

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  CHANGELOG
2
2
  =========
3
3
 
4
+ 2.2.0 - 03/29/2012
5
+
6
+ * Upgrade to therubyracer 0.10.x call semantics. Fixes #34.
7
+
8
+
4
9
  2.1.8 - 03/15/2012
5
10
 
6
11
  * Work with edge rails/sprockets. Fixes #31.
data/README.md CHANGED
@@ -70,8 +70,8 @@ As a convenience, for each of the following asset classes there are correspondin
70
70
  ```css
71
71
  image-url("rails.png") /* Becomes: url(/assets/rails.png) */
72
72
  font-url("rails.ttf") /* Becomes: url(/assets/rails.ttf) */
73
- video-url("rails.ttf") /* Becomes: url(/videos/rails.mp4) */
74
- audio-url("rails.ttf") /* Becomes: url(/audios/rails.mp3) */
73
+ video-url("rails.mp4") /* Becomes: url(/videos/rails.mp4) */
74
+ audio-url("rails.mp3") /* Becomes: url(/audios/rails.mp3) */
75
75
  javascript-url("rails.js") /* Becomes: url(/assets/rails.js) */
76
76
  stylesheet-url("rails.css") /* Becomes: url(/assets/rails.css) */
77
77
  ```
data/less-rails.gemspec CHANGED
@@ -14,7 +14,7 @@ Gem::Specification.new do |s|
14
14
  s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
15
15
  s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
16
16
  s.require_paths = ["lib"]
17
- s.add_runtime_dependency 'less', '~> 2.0.7'
17
+ s.add_runtime_dependency 'less', '~> 2.1.0'
18
18
  s.add_runtime_dependency 'actionpack', '>= 3.1'
19
19
  s.add_development_dependency 'minitest'
20
20
  s.add_development_dependency 'guard-minitest'
@@ -6,7 +6,7 @@ module Less
6
6
 
7
7
  def self.register_rails_helper(name, &block)
8
8
  tree = @loader.require('less/tree')
9
- tree.functions[name] = lambda do |node|
9
+ tree.functions[name] = lambda do |this, node|
10
10
  tree[:Anonymous].new block.call(tree, node)
11
11
  end
12
12
  end
@@ -1,5 +1,5 @@
1
1
  module Less
2
2
  module Rails
3
- VERSION = "2.1.8"
3
+ VERSION = "2.2.0"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: less-rails
3
3
  version: !ruby/object:Gem::Version
4
- hash: 27
4
+ hash: 7
5
5
  prerelease:
6
6
  segments:
7
7
  - 2
8
- - 1
9
- - 8
10
- version: 2.1.8
8
+ - 2
9
+ - 0
10
+ version: 2.2.0
11
11
  platform: ruby
12
12
  authors:
13
13
  - Ken Collins
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2012-03-15 00:00:00 Z
18
+ date: 2012-03-29 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: less
@@ -25,12 +25,12 @@ dependencies:
25
25
  requirements:
26
26
  - - ~>
27
27
  - !ruby/object:Gem::Version
28
- hash: 1
28
+ hash: 11
29
29
  segments:
30
30
  - 2
31
+ - 1
31
32
  - 0
32
- - 7
33
- version: 2.0.7
33
+ version: 2.1.0
34
34
  type: :runtime
35
35
  version_requirements: *id001
36
36
  - !ruby/object:Gem::Dependency