less-rails 2.3.3 → 2.4.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,15 @@
1
+ ---
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ ODA4ZTRlODRjZDcwZTkyNjg4OWFkYzFlYzI2NDIwM2NkNDUwZGRkNQ==
5
+ data.tar.gz: !binary |-
6
+ ODFiY2M4ZjQ0ODkwNjc4OTkzMDZkNWMyNjUwMGEzOWVmMDE2NjMwYQ==
7
+ !binary "U0hBNTEy":
8
+ metadata.gz: !binary |-
9
+ NzQ5NGQwZDA1MDQ5ZTFlOWVlZGYwNzI1MDE4ZDg3ZWRkZDYyNjMwNDE3NmM5
10
+ NTM0ZDQzZGQ2YTE3ZjBiZWRiMzUxM2E2YmI3OGE0ZDVhMzYzZGIzOTJlNmQw
11
+ YmFlMWNhNTUwY2QzNGUwZGFhOGE4ZmI4MDQwNWExZmM5MGM1MmE=
12
+ data.tar.gz: !binary |-
13
+ ZWY0YjhkYTkwY2QwNzY3YmU0MGY4NTNhZDdhNmM0ZTRjZTA5Yzk4Zjg0N2Zh
14
+ YzA4MjBkNDE5ZTg0ZGNiMzAwZDY2ZjQwOTBlYmJiYTY0OGEzZDM1ODg1MTgx
15
+ MGY4NmJlYjk2NjNkODQzZjYxNjcyZDIxNmM5YWY1NzE5N2UyZWE=
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  CHANGELOG
2
2
  =========
3
3
 
4
+ 2.4.0 - 09/04/2013
5
+
6
+ * Moving to less.rb 2.4.x which is current v1.4.2 of less.
7
+
8
+
4
9
  2.3.3 - 04/16/2013
5
10
 
6
11
  * Implement dumpLineNumbers functionality. Thanks @matthew342.
data/Gemfile CHANGED
@@ -1,6 +1,5 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
3
  gemspec
4
- gem 'less', :git => 'https://github.com/BlackBoxAviation/less.rb.git', :ref => '1a3e8d21fc9bc6e37b8e3540366a7d7b509d8951', :submodules => true
5
4
  gem "therubyracer", "~> 0.10.0", :require => nil, :platforms => :ruby
6
5
  gem "therubyrhino", "~> 2.0.2", :require => nil, :platforms => :jruby
@@ -2,7 +2,6 @@
2
2
 
3
3
  source "https://rubygems.org"
4
4
 
5
- gem "less", :git=>"https://github.com/BlackBoxAviation/less.rb.git", :ref=>"1a3e8d21fc9bc6e37b8e3540366a7d7b509d8951", :submodules=>true
6
5
  gem "therubyracer", "~> 0.10.0", :require=>nil, :platforms=>:ruby
7
6
  gem "therubyrhino", "~> 2.0.2", :require=>nil, :platforms=>:jruby
8
7
  gem "rails", "~> 3.1.0"
@@ -2,7 +2,6 @@
2
2
 
3
3
  source "https://rubygems.org"
4
4
 
5
- gem "less", :git=>"https://github.com/BlackBoxAviation/less.rb.git", :ref=>"1a3e8d21fc9bc6e37b8e3540366a7d7b509d8951", :submodules=>true
6
5
  gem "therubyracer", "~> 0.10.0", :require=>nil, :platforms=>:ruby
7
6
  gem "therubyrhino", "~> 2.0.2", :require=>nil, :platforms=>:jruby
8
7
  gem "rails", "~> 3.2.0"
@@ -2,7 +2,6 @@
2
2
 
3
3
  source "https://rubygems.org"
4
4
 
5
- gem "less", :git=>"https://github.com/BlackBoxAviation/less.rb.git", :ref=>"1a3e8d21fc9bc6e37b8e3540366a7d7b509d8951", :submodules=>true
6
5
  gem "therubyracer", "~> 0.10.0", :require=>nil, :platforms=>:ruby
7
6
  gem "therubyrhino", "~> 2.0.2", :require=>nil, :platforms=>:jruby
8
7
  gem "rails", "~> 4.0.0.beta"
data/less-rails.gemspec CHANGED
@@ -14,7 +14,7 @@ Gem::Specification.new do |gem|
14
14
  gem.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
15
15
  gem.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
16
16
  gem.require_paths = ["lib"]
17
- gem.add_runtime_dependency 'less', '~> 2.3.1'
17
+ gem.add_runtime_dependency 'less', '~> 2.4.0'
18
18
  gem.add_runtime_dependency 'actionpack', '>= 3.1'
19
19
  gem.add_development_dependency 'appraisal'
20
20
  gem.add_development_dependency 'minitest'
@@ -1,5 +1,5 @@
1
1
  module Less
2
2
  module Rails
3
- VERSION = "2.3.3"
3
+ VERSION = "2.4.0"
4
4
  end
5
5
  end
@@ -3,34 +3,34 @@ require 'spec_helper'
3
3
  class BasicsSpec < Less::Rails::Spec
4
4
 
5
5
  it 'must render variables' do
6
- basics.must_match %r{#test-variable\{color:#4d926f;\}}
6
+ basics.must_match %r{#test-variable\{color:#4d926f\}}
7
7
  end
8
8
 
9
9
  it 'must render mixins' do
10
- basics.must_match %r{#test-mixin span\{border:1px solid black;\}}
10
+ basics.must_match %r{#test-mixin span\{border:1px solid black\}}
11
11
  end
12
12
 
13
13
  it 'must be able to use vendored less files' do
14
- basics.must_match %r{#test-vendored\{border-radius:10px;\}}
14
+ basics.must_match %r{#test-vendored\{border-radius:10px\}}
15
15
  end
16
16
 
17
17
  describe 'less import dependency hooks' do
18
18
 
19
19
  it 'must update when imported file changes' do
20
- basics.must_match %r{#test-radiused\{border-radius:5px;\}}, 'default is 5px'
20
+ basics.must_match %r{#test-radiused\{border-radius:5px\}}, 'default is 5px'
21
21
  safely_edit(:mixins) do |data, asset|
22
22
  data.gsub! '5px', '10px'
23
23
  File.open(asset.pathname,'w') { |f| f.write(data) }
24
- basics.must_match %r{#test-radiused\{border-radius:10px;\}}, 'mixins.less should be a sprockets context dependency'
24
+ basics.must_match %r{#test-radiused\{border-radius:10px\}}, 'mixins.less should be a sprockets context dependency'
25
25
  end
26
26
  end
27
27
 
28
28
  it 'must update when an imported file of another imported file changes' do
29
- basics.must_match %r{#test-variable-colored\{color:#424242;\}}, 'default is #424242'
29
+ basics.must_match %r{#test-variable-colored\{color:#424242\}}, 'default is #424242'
30
30
  safely_edit(:variables) do |data, asset|
31
31
  data.gsub! '424242', '666666'
32
32
  File.open(asset.pathname,'w') { |f| f.write(data) }
33
- basics.must_match %r{#test-variable-colored\{color:#666666;\}}, 'variables.less should be a sprockets context dependency'
33
+ basics.must_match %r{#test-variable-colored\{color:#666\}}, 'variables.less should be a sprockets context dependency'
34
34
  end
35
35
  end
36
36
 
@@ -13,7 +13,7 @@ class RailtieSpec < Less::Rails::Spec
13
13
  end
14
14
 
15
15
  it 'must have an options hash passed down to the #to_css method' do
16
- basic_compressed_match = /#test-variable\{color:#4d926f;\}/
16
+ basic_compressed_match = /#test-variable\{color:#4d926f\}/
17
17
  dummy_config.less.compress = true
18
18
  dummy_asset('basics').must_match basic_compressed_match
19
19
  reset_caches
data/test/spec_helper.rb CHANGED
@@ -2,7 +2,6 @@ require 'rubygems'
2
2
  require 'bundler'
3
3
  Bundler.require
4
4
  require 'less/rails'
5
- require 'minitest/spec'
6
5
  require 'minitest/autorun'
7
6
  require 'dummy_app/init'
8
7
  require 'rails/generators'
metadata CHANGED
@@ -1,112 +1,99 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: less-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.3
5
- prerelease:
4
+ version: 2.4.0
6
5
  platform: ruby
7
6
  authors:
8
7
  - Ken Collins
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-04-16 00:00:00.000000000 Z
11
+ date: 2013-09-04 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
- name: less
16
14
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
15
  requirements:
19
16
  - - ~>
20
17
  - !ruby/object:Gem::Version
21
- version: 2.3.1
22
- type: :runtime
23
- prerelease: false
18
+ version: 2.4.0
24
19
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
20
  requirements:
27
21
  - - ~>
28
22
  - !ruby/object:Gem::Version
29
- version: 2.3.1
23
+ version: 2.4.0
24
+ type: :runtime
25
+ prerelease: false
26
+ name: less
30
27
  - !ruby/object:Gem::Dependency
31
- name: actionpack
32
28
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
29
  requirements:
35
30
  - - ! '>='
36
31
  - !ruby/object:Gem::Version
37
32
  version: '3.1'
38
- type: :runtime
39
- prerelease: false
40
33
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
34
  requirements:
43
35
  - - ! '>='
44
36
  - !ruby/object:Gem::Version
45
37
  version: '3.1'
38
+ type: :runtime
39
+ prerelease: false
40
+ name: actionpack
46
41
  - !ruby/object:Gem::Dependency
47
- name: appraisal
48
42
  requirement: !ruby/object:Gem::Requirement
49
- none: false
50
43
  requirements:
51
44
  - - ! '>='
52
45
  - !ruby/object:Gem::Version
53
46
  version: '0'
54
- type: :development
55
- prerelease: false
56
47
  version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
48
  requirements:
59
49
  - - ! '>='
60
50
  - !ruby/object:Gem::Version
61
51
  version: '0'
52
+ type: :development
53
+ prerelease: false
54
+ name: appraisal
62
55
  - !ruby/object:Gem::Dependency
63
- name: minitest
64
56
  requirement: !ruby/object:Gem::Requirement
65
- none: false
66
57
  requirements:
67
58
  - - ! '>='
68
59
  - !ruby/object:Gem::Version
69
60
  version: '0'
70
- type: :development
71
- prerelease: false
72
61
  version_requirements: !ruby/object:Gem::Requirement
73
- none: false
74
62
  requirements:
75
63
  - - ! '>='
76
64
  - !ruby/object:Gem::Version
77
65
  version: '0'
66
+ type: :development
67
+ prerelease: false
68
+ name: minitest
78
69
  - !ruby/object:Gem::Dependency
79
- name: guard-minitest
80
70
  requirement: !ruby/object:Gem::Requirement
81
- none: false
82
71
  requirements:
83
72
  - - ! '>='
84
73
  - !ruby/object:Gem::Version
85
74
  version: '0'
86
- type: :development
87
- prerelease: false
88
75
  version_requirements: !ruby/object:Gem::Requirement
89
- none: false
90
76
  requirements:
91
77
  - - ! '>='
92
78
  - !ruby/object:Gem::Version
93
79
  version: '0'
80
+ type: :development
81
+ prerelease: false
82
+ name: guard-minitest
94
83
  - !ruby/object:Gem::Dependency
95
- name: rails
96
84
  requirement: !ruby/object:Gem::Requirement
97
- none: false
98
85
  requirements:
99
86
  - - ! '>='
100
87
  - !ruby/object:Gem::Version
101
88
  version: '0'
102
- type: :development
103
- prerelease: false
104
89
  version_requirements: !ruby/object:Gem::Requirement
105
- none: false
106
90
  requirements:
107
91
  - - ! '>='
108
92
  - !ruby/object:Gem::Version
109
93
  version: '0'
94
+ type: :development
95
+ prerelease: false
96
+ name: rails
110
97
  description: The dynamic stylesheet language for the Rails asset pipeline. Allows
111
98
  other gems to extend Less load path.
112
99
  email:
@@ -155,33 +142,26 @@ files:
155
142
  - test/spec_helper.rb
156
143
  homepage: http://github.com/metaskills/less-rails
157
144
  licenses: []
145
+ metadata: {}
158
146
  post_install_message:
159
147
  rdoc_options: []
160
148
  require_paths:
161
149
  - lib
162
150
  required_ruby_version: !ruby/object:Gem::Requirement
163
- none: false
164
151
  requirements:
165
152
  - - ! '>='
166
153
  - !ruby/object:Gem::Version
167
154
  version: '0'
168
- segments:
169
- - 0
170
- hash: -209653800015475081
171
155
  required_rubygems_version: !ruby/object:Gem::Requirement
172
- none: false
173
156
  requirements:
174
157
  - - ! '>='
175
158
  - !ruby/object:Gem::Version
176
159
  version: '0'
177
- segments:
178
- - 0
179
- hash: -209653800015475081
180
160
  requirements: []
181
161
  rubyforge_project:
182
- rubygems_version: 1.8.25
162
+ rubygems_version: 2.0.7
183
163
  signing_key:
184
- specification_version: 3
164
+ specification_version: 4
185
165
  summary: The dynamic stylesheet language for the Rails asset pipeline.
186
166
  test_files:
187
167
  - test/cases/basics_spec.rb