less-rails 2.5.0 → 2.6.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 5c72fe6c1b13ab7263eb5030d2cf315bf161fc29
4
+ data.tar.gz: 5e912d2478c7ba2cf4f75eb8ca871b8d3d8d486a
5
+ SHA512:
6
+ metadata.gz: 04e45264821c84d49c4d3d9790235aa7ebd5f247355c816236cdb2ba09a8d5b82e5724f225099fb3eeee34584497680e83db1407918312924a3a2474e3014645
7
+ data.tar.gz: 647495f7693adb8539366d5eba2199d152806d8aa3f88f353642661e12a77e9e1c66bf37ccd011c0e89281f9e857a7a9679dff1e72e253388313878faec4f01d
data/.travis.yml CHANGED
@@ -1,13 +1,14 @@
1
1
  rvm:
2
2
  - 1.9.3
3
3
  - 2.0.0
4
+ - 2.1.4
4
5
  - jruby-19mode
5
6
  before_install:
6
- - gem install bundler
7
+ - travis_retry gem install bundler
7
8
  - bundle --version
8
9
  install:
9
- - bundle install
10
+ - travis_retry bundle install
10
11
  before_script:
11
- - bundle exec rake appraisal:setup
12
+ - travis_retry bundle exec appraisal install
12
13
  script:
13
- - bundle exec rake appraisal test
14
+ - bundle exec appraisal rake test
data/Appraisals CHANGED
@@ -1,12 +1,15 @@
1
-
2
1
  appraise 'rails31' do
3
- gem 'rails', '~> 3.1.0'
4
- end
2
+ gem 'rails', '~> 3.1.12'
3
+ end if RUBY_VERSION < '2.0.0'
5
4
 
6
5
  appraise 'rails32' do
7
- gem 'rails', '~> 3.2.0'
6
+ gem 'rails', '~> 3.2.20'
8
7
  end
9
8
 
10
9
  appraise 'rails40' do
11
- gem 'rails', '~> 4.0.0'
10
+ gem 'rails', '~> 4.0.11'
11
+ end
12
+
13
+ appraise 'rails41' do
14
+ gem 'rails', '~> 4.1.7'
12
15
  end
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # CHANGELOG
2
2
 
3
+ ### 2.6.0 - 2014-11-07
4
+
5
+ * Update to Less.rb v2.6.
6
+ * Merge PR #88 'Fix dropped import dependencies'.
7
+
3
8
  ### 2.5.0 - 2014-03-11
4
9
 
5
10
  * Update to Less.rb v2.5 and follow version mirror. Fixes #84.
data/Gemfile CHANGED
@@ -1,5 +1,5 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
3
  gemspec
4
- gem "therubyracer", "~> 0.10.0", :require => nil, :platforms => :ruby
4
+ gem "therubyracer", "~> 0.12.0", :require => nil, :platforms => :ruby
5
5
  gem "therubyrhino", "~> 2.0.2", :require => nil, :platforms => :jruby
data/less-rails.gemspec CHANGED
@@ -15,7 +15,7 @@ Gem::Specification.new do |gem|
15
15
  gem.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
16
16
  gem.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
17
17
  gem.require_paths = ["lib"]
18
- gem.add_runtime_dependency 'less', '~> 2.5.0'
18
+ gem.add_runtime_dependency 'less', '~> 2.6.0'
19
19
  gem.add_runtime_dependency 'actionpack', '>= 3.1'
20
20
  gem.add_development_dependency 'appraisal'
21
21
  gem.add_development_dependency 'minitest'
@@ -19,7 +19,9 @@ module Less
19
19
  end
20
20
 
21
21
  initializer 'less-rails.before.load_config_initializers', :before => :load_config_initializers, :group => :all do |app|
22
- (Sprockets.respond_to?('register_preprocessor') ? Sprockets : app.assets).register_preprocessor 'text/css', ImportProcessor
22
+ app.assets.register_preprocessor 'text/css', ImportProcessor
23
+ Sprockets.register_preprocessor 'text/css', ImportProcessor if Sprockets.respond_to?('register_preprocessor')
24
+
23
25
  app.assets.context_class.extend(LessContext)
24
26
  app.assets.context_class.less_config = app.config.less
25
27
  end
@@ -1,5 +1,5 @@
1
1
  module Less
2
2
  module Rails
3
- VERSION = "2.5.0"
3
+ VERSION = "2.6.0"
4
4
  end
5
5
  end
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
- prerelease:
5
- version: 2.5.0
4
+ version: 2.6.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: 2014-03-11 00:00:00.000000000 Z
11
+ date: 2014-11-06 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: less
16
15
  requirement: !ruby/object:Gem::Requirement
17
16
  requirements:
18
- - - ~>
17
+ - - "~>"
19
18
  - !ruby/object:Gem::Version
20
- version: 2.5.0
21
- none: false
19
+ version: 2.6.0
20
+ type: :runtime
21
+ prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ~>
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 2.5.0
27
- none: false
28
- prerelease: false
29
- type: :runtime
26
+ version: 2.6.0
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: actionpack
32
29
  requirement: !ruby/object:Gem::Requirement
33
30
  requirements:
34
- - - ! '>='
31
+ - - ">="
35
32
  - !ruby/object:Gem::Version
36
33
  version: '3.1'
37
- none: false
34
+ type: :runtime
35
+ prerelease: false
38
36
  version_requirements: !ruby/object:Gem::Requirement
39
37
  requirements:
40
- - - ! '>='
38
+ - - ">="
41
39
  - !ruby/object:Gem::Version
42
40
  version: '3.1'
43
- none: false
44
- prerelease: false
45
- type: :runtime
46
41
  - !ruby/object:Gem::Dependency
47
42
  name: appraisal
48
43
  requirement: !ruby/object:Gem::Requirement
49
44
  requirements:
50
- - - ! '>='
45
+ - - ">="
51
46
  - !ruby/object:Gem::Version
52
47
  version: '0'
53
- none: false
48
+ type: :development
49
+ prerelease: false
54
50
  version_requirements: !ruby/object:Gem::Requirement
55
51
  requirements:
56
- - - ! '>='
52
+ - - ">="
57
53
  - !ruby/object:Gem::Version
58
54
  version: '0'
59
- none: false
60
- prerelease: false
61
- type: :development
62
55
  - !ruby/object:Gem::Dependency
63
56
  name: minitest
64
57
  requirement: !ruby/object:Gem::Requirement
65
58
  requirements:
66
- - - ! '>='
59
+ - - ">="
67
60
  - !ruby/object:Gem::Version
68
61
  version: '0'
69
- none: false
62
+ type: :development
63
+ prerelease: false
70
64
  version_requirements: !ruby/object:Gem::Requirement
71
65
  requirements:
72
- - - ! '>='
66
+ - - ">="
73
67
  - !ruby/object:Gem::Version
74
68
  version: '0'
75
- none: false
76
- prerelease: false
77
- type: :development
78
69
  - !ruby/object:Gem::Dependency
79
70
  name: guard-minitest
80
71
  requirement: !ruby/object:Gem::Requirement
81
72
  requirements:
82
- - - ! '>='
73
+ - - ">="
83
74
  - !ruby/object:Gem::Version
84
75
  version: '0'
85
- none: false
76
+ type: :development
77
+ prerelease: false
86
78
  version_requirements: !ruby/object:Gem::Requirement
87
79
  requirements:
88
- - - ! '>='
80
+ - - ">="
89
81
  - !ruby/object:Gem::Version
90
82
  version: '0'
91
- none: false
92
- prerelease: false
93
- type: :development
94
83
  - !ruby/object:Gem::Dependency
95
84
  name: rails
96
85
  requirement: !ruby/object:Gem::Requirement
97
86
  requirements:
98
- - - ! '>='
87
+ - - ">="
99
88
  - !ruby/object:Gem::Version
100
89
  version: '0'
101
- none: false
90
+ type: :development
91
+ prerelease: false
102
92
  version_requirements: !ruby/object:Gem::Requirement
103
93
  requirements:
104
- - - ! '>='
94
+ - - ">="
105
95
  - !ruby/object:Gem::Version
106
96
  version: '0'
107
- none: false
108
- prerelease: false
109
- type: :development
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:
@@ -115,8 +102,8 @@ executables: []
115
102
  extensions: []
116
103
  extra_rdoc_files: []
117
104
  files:
118
- - .gitignore
119
- - .travis.yml
105
+ - ".gitignore"
106
+ - ".travis.yml"
120
107
  - Appraisals
121
108
  - CHANGELOG.md
122
109
  - Gemfile
@@ -155,27 +142,26 @@ files:
155
142
  homepage: http://github.com/metaskills/less-rails
156
143
  licenses:
157
144
  - MIT
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
151
  requirements:
164
- - - ! '>='
152
+ - - ">="
165
153
  - !ruby/object:Gem::Version
166
154
  version: '0'
167
- none: false
168
155
  required_rubygems_version: !ruby/object:Gem::Requirement
169
156
  requirements:
170
- - - ! '>='
157
+ - - ">="
171
158
  - !ruby/object:Gem::Version
172
159
  version: '0'
173
- none: false
174
160
  requirements: []
175
161
  rubyforge_project:
176
- rubygems_version: 1.8.25
162
+ rubygems_version: 2.4.2
177
163
  signing_key:
178
- specification_version: 3
164
+ specification_version: 4
179
165
  summary: The dynamic stylesheet language for the Rails asset pipeline.
180
166
  test_files:
181
167
  - test/cases/basics_spec.rb