less 2.0.12 → 2.1.0

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -38,4 +38,4 @@ less.rb is licensed under the same terms as less.js
38
38
  See `lib/js/LICENSE` file.
39
39
 
40
40
 
41
- > copyright 2011 Charles Lowell
41
+ > copyright 2011,2012 Charles Lowell
@@ -22,7 +22,7 @@ Gem::Specification.new do |s|
22
22
  s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
23
23
  s.require_paths = ["lib"]
24
24
 
25
- s.add_dependency "therubyracer", "~> 0.9.9"
25
+ s.add_dependency "therubyracer", "~> 0.10.0"
26
26
  s.add_dependency "commonjs", "~> 0.2.0"
27
27
 
28
28
  s.add_development_dependency "rake"
@@ -63,23 +63,13 @@ module Less
63
63
  calljs do
64
64
  tree = nil
65
65
  @parser.parse(less, lambda {|*args|
66
- if passes_this_argument?
67
- this, e, t = *args
68
- else
69
- e, t = *args
70
- end
66
+ this, e, t = *args
71
67
  fail e.message unless e.nil?
72
68
  tree = t
73
69
  })
74
70
  Tree.new(tree) if tree
75
71
  end
76
72
  end
77
-
78
- private
79
-
80
- def passes_this_argument?
81
- defined? V8::Context::passes_this_argument?
82
- end
83
73
  end
84
74
 
85
75
  # Abstract LessCSS syntax tree Less. Mainly used to emit CSS
@@ -1,3 +1,3 @@
1
1
  module Less
2
- VERSION = '2.0.12'
2
+ VERSION = '2.1.0'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: less
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.12
4
+ version: 2.1.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,22 +9,22 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-03-28 00:00:00.000000000 Z
12
+ date: 2012-03-29 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: therubyracer
16
- requirement: &2156254740 !ruby/object:Gem::Requirement
16
+ requirement: &2158173480 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
20
20
  - !ruby/object:Gem::Version
21
- version: 0.9.9
21
+ version: 0.10.0
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *2156254740
24
+ version_requirements: *2158173480
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: commonjs
27
- requirement: &2152384980 !ruby/object:Gem::Requirement
27
+ requirement: &2158172980 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ~>
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: 0.2.0
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *2152384980
35
+ version_requirements: *2158172980
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: rake
38
- requirement: &2152375420 !ruby/object:Gem::Requirement
38
+ requirement: &2158172600 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ! '>='
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: '0'
44
44
  type: :development
45
45
  prerelease: false
46
- version_requirements: *2152375420
46
+ version_requirements: *2158172600
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: rspec
49
- requirement: &2152372920 !ruby/object:Gem::Requirement
49
+ requirement: &2158172000 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ~>
@@ -54,7 +54,7 @@ dependencies:
54
54
  version: '2.0'
55
55
  type: :development
56
56
  prerelease: false
57
- version_requirements: *2152372920
57
+ version_requirements: *2158172000
58
58
  description: Invoke the Less CSS compiler from Ruby
59
59
  email:
60
60
  - cowboyd@thefrontside.net
@@ -356,7 +356,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
356
356
  version: '0'
357
357
  segments:
358
358
  - 0
359
- hash: 1112777596548619802
359
+ hash: -105846769214785865
360
360
  required_rubygems_version: !ruby/object:Gem::Requirement
361
361
  none: false
362
362
  requirements:
@@ -365,7 +365,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
365
365
  version: '0'
366
366
  segments:
367
367
  - 0
368
- hash: 1112777596548619802
368
+ hash: -105846769214785865
369
369
  requirements: []
370
370
  rubyforge_project: less
371
371
  rubygems_version: 1.8.17