less-rails 4.0.0 → 5.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f09f1324ad60f218b9ea497252db0ecc20906cfd2f8b852eacd7f7de6542f5d7
4
- data.tar.gz: f0825a06bb2fe0f6cccc726bdf8cb703f6a894ff3b38c91c593eab40503cba4e
3
+ metadata.gz: 84f2f5998cec07fefcfbcf87625c94d94681e0fc3237b7e845863c6f50e92385
4
+ data.tar.gz: dfaef3c71d8cafc02579db4ceb8ad045beb5c25c186ca6cc027c6b714ef3518a
5
5
  SHA512:
6
- metadata.gz: e96d256cda1b75171d8202bd561dddd26b19b2d6361cb6a751aeef2e641aeef4e7d081d0424ee7ef17aea97118b5519c1565dcb30d0628c0da7fd9f65968d71e
7
- data.tar.gz: 7a15c0ffd59f2f5acc22a00eb8561d210eb217a06d1906f00e8a56c7c78a9c0f1acfab42d55c3c240ffaf921e26dc024986b22e24a9aeb21834df8d3b30f16da
6
+ metadata.gz: 2c04291c1e321da5e16101f300fc0306dd86a4f60feb97f2e24bc32ca4914e13f262d225466e9643779809243d734b59f600a8d46aecd70894e80d42e65000cb
7
+ data.tar.gz: 924dcda329c3209a8acd1154542705519db81cae9cfa7ff8e52a69e76569fe9b58a7f9fde261c007a9d500922f69ea35ff8c5a6623e9b5badf82736a13254270
@@ -2,46 +2,13 @@ language: ruby
2
2
  cache: bundler
3
3
  sudo: false
4
4
  rvm:
5
- - 1.9.3-p551
6
- - 2.0.0-p648
7
- - 2.1.10
8
- - 2.2.9
9
- - 2.3.6
10
- - 2.4.3
11
- - 2.5.0
12
- - jruby-9.1.9.0
5
+ - 2.5.8
6
+ - 2.6.6
7
+ - 2.7.1
13
8
  before_install:
14
9
  - gem install bundler
15
10
  gemfile:
16
- - gemfiles/sprockets2.gemfile
17
- - gemfiles/rails40.gemfile
18
- - gemfiles/rails41.gemfile
19
- - gemfiles/rails42.gemfile
20
11
  - gemfiles/rails50.gemfile
21
12
  - gemfiles/rails51.gemfile
22
- matrix:
23
- exclude:
24
- - rvm: 1.9.3-p551
25
- gemfile: gemfiles/rails50.gemfile
26
- - rvm: 1.9.3-p551
27
- gemfile: gemfiles/rails51.gemfile
28
- - rvm: 2.0.0-p648
29
- gemfile: gemfiles/rails50.gemfile
30
- - rvm: 2.0.0-p648
31
- gemfile: gemfiles/rails51.gemfile
32
- - rvm: 2.1.10
33
- gemfile: gemfiles/rails50.gemfile
34
- - rvm: 2.1.10
35
- gemfile: gemfiles/rails51.gemfile
36
- - rvm: 2.4.3
37
- gemfile: gemfiles/sprockets2.gemfile
38
- - rvm: 2.4.3
39
- gemfile: gemfiles/rails40.gemfile
40
- - rvm: 2.4.3
41
- gemfile: gemfiles/rails41.gemfile
42
- - rvm: 2.5.0
43
- gemfile: gemfiles/sprockets2.gemfile
44
- - rvm: 2.5.0
45
- gemfile: gemfiles/rails40.gemfile
46
- - rvm: 2.5.0
47
- gemfile: gemfiles/rails41.gemfile
13
+ - gemfiles/rails52.gemfile
14
+ - gemfiles/rails60.gemfile
data/Appraisals CHANGED
@@ -1,20 +1,3 @@
1
- appraise 'sprockets2' do
2
- gem 'rails', '~> 4.0.0'
3
- gem 'sprockets', '~> 2.0'
4
- end
5
-
6
- appraise 'rails40' do
7
- gem 'rails', '~> 4.0.0'
8
- end
9
-
10
- appraise 'rails41' do
11
- gem 'rails', '~> 4.1.0'
12
- end
13
-
14
- appraise 'rails42' do
15
- gem 'rails', '~> 4.2.0'
16
- end
17
-
18
1
  appraise 'rails50' do
19
2
  gem 'rails', '~> 5.0.0'
20
3
  end
@@ -22,3 +5,11 @@ end
22
5
  appraise 'rails51' do
23
6
  gem 'rails', '~> 5.1.0'
24
7
  end
8
+
9
+ appraise 'rails52' do
10
+ gem 'rails', '~> 5.2.0'
11
+ end
12
+
13
+ appraise 'rails60' do
14
+ gem 'rails', '~> 6.0.0'
15
+ end
@@ -1,5 +1,11 @@
1
1
  # CHANGELOG
2
2
 
3
+ ### 5.0.0 - 2020-04-11
4
+
5
+ * Update dependencies (Rails 5.2 and 6.0, Ruby 2.6 and Ruby 2.7a), drop old rubies and rails versions.
6
+ * Dropping official JRuby support (removing it from CI).
7
+ * Lock to sprockets ~> 3.0.
8
+
3
9
  ### 4.0.0 - 2018-10-31
4
10
 
5
11
  * The import scanner now takes into account multiple [import options](http://lesscss.org/features/#import-atrules-feature-import-options).
data/Gemfile CHANGED
@@ -1,7 +1,4 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
3
  gemspec
4
- gem "therubyracer", "~> 0.12.0", :require => nil, :platforms => :ruby
5
- gem "therubyrhino", "~> 2.0.2", :require => nil, :platforms => :jruby
6
-
7
- gem "mime-types", "~> 2.6.2", :platforms => [:ruby_19, :jruby]
4
+ gem "therubyracer", "~> 0.12.3", :require => nil
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # The dynamic stylesheet language for the Rails 4+ asset pipeline.
1
+ # The dynamic stylesheet language for the Rails 5+ asset pipeline.
2
2
 
3
3
  This gem provides integration for Rails projects using the Less stylesheet language in the asset pipeline.
4
4
 
@@ -125,7 +125,7 @@ We also have a generator for rails scaffold CSS. Just like the Sass gem, we simp
125
125
 
126
126
  ## Contributing
127
127
 
128
- This gem is fully tested from Rails 4.0 to Rails 5.1. We run our tests on [Travis CI](http://travis-ci.org/metaskills/less-rails) in both Ruby 1.9, 2.x, and JRuby 9000. If you detect a problem, open up a github issue or fork the repo and help out. After you fork or clone the repository, the following commands will get you up and running on the test suite.
128
+ This gem is fully tested from Rails 5.0 to Rails 6.0. We run our tests on [Travis CI](http://travis-ci.org/metaskills/less-rails) for officialy supported Rubies If you detect a problem, open up a github issue or fork the repo and help out. After you fork or clone the repository, the following commands will get you up and running on the test suite.
129
129
 
130
130
  ```shell
131
131
  $ bundle
@@ -133,10 +133,10 @@ $ bundle exec appraisal install
133
133
  $ bundle exec appraisal rake
134
134
  ```
135
135
 
136
- We use the [appraisal](https://github.com/thoughtbot/appraisal) gem from Thoughtbot to help us generate the individual gemfiles for each Rails version and to run the tests locally against each generated Gemfile. The `rake appraisal test` command actually runs our test suite against all Rails versions in our `Appraisal` file. If you want to run the tests for a specific Rails version, use `rake -T` for a list. For example, the following command will run the tests for Rails 4.0 only.
136
+ We use the [appraisal](https://github.com/thoughtbot/appraisal) gem from Thoughtbot to help us generate the individual gemfiles for each Rails version and to run the tests locally against each generated Gemfile. The `rake appraisal test` command actually runs our test suite against all Rails versions in our `Appraisal` file. If you want to run the tests for a specific Rails version, use `rake -T` for a list. For example, the following command will run the tests for Rails 5.0 only.
137
137
 
138
138
  ```shell
139
- $ bundle exec rake appraisal:rails40 test
139
+ $ bundle exec rake appraisal:rails50 test
140
140
  ```
141
141
 
142
142
  Our current build status is:
@@ -2,9 +2,7 @@
2
2
 
3
3
  source "https://rubygems.org"
4
4
 
5
- gem "therubyracer", "~> 0.12.0", require: nil, platforms: :ruby
6
- gem "therubyrhino", "~> 2.0.2", require: nil, platforms: :jruby
7
- gem "mime-types", "~> 2.6.2", platforms: [:ruby_19, :jruby]
5
+ gem "therubyracer", "~> 0.12.3", require: nil
8
6
  gem "rails", "~> 5.0.0"
9
7
 
10
8
  gemspec path: "../"
@@ -2,9 +2,7 @@
2
2
 
3
3
  source "https://rubygems.org"
4
4
 
5
- gem "therubyracer", "~> 0.12.0", require: nil, platforms: :ruby
6
- gem "therubyrhino", "~> 2.0.2", require: nil, platforms: :jruby
7
- gem "mime-types", "~> 2.6.2", platforms: [:ruby_19, :jruby]
5
+ gem "therubyracer", "~> 0.12.3", require: nil
8
6
  gem "rails", "~> 5.1.0"
9
7
 
10
8
  gemspec path: "../"
@@ -0,0 +1,8 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "therubyracer", "~> 0.12.3", require: nil
6
+ gem "rails", "~> 5.2.0"
7
+
8
+ gemspec path: "../"
@@ -0,0 +1,8 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "therubyracer", "~> 0.12.3", require: nil
6
+ gem "rails", "~> 6.0.0"
7
+
8
+ gemspec path: "../"
@@ -16,11 +16,9 @@ Gem::Specification.new do |gem|
16
16
  gem.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
17
17
  gem.require_paths = ["lib"]
18
18
  gem.add_runtime_dependency 'less', '~> 2.6.0'
19
- gem.add_runtime_dependency 'actionpack', '>= 4'
20
- gem.add_runtime_dependency 'sprockets', '>= 2'
19
+ gem.add_runtime_dependency 'actionpack', '>= 5.0'
20
+ gem.add_runtime_dependency 'sprockets', '~> 3.0'
21
21
  gem.add_development_dependency 'appraisal'
22
- gem.add_development_dependency 'minitest'
23
- gem.add_development_dependency 'guard'
24
- gem.add_development_dependency 'guard-minitest'
22
+ gem.add_development_dependency 'minitest', '5.11.3'
25
23
  gem.add_development_dependency 'rails'
26
24
  end
@@ -1,5 +1,5 @@
1
1
  module Less
2
2
  module Rails
3
- VERSION = "4.0.0"
3
+ VERSION = "5.0.0"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: less-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.0
4
+ version: 5.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ken Collins
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-10-31 00:00:00.000000000 Z
11
+ date: 2020-04-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: less
@@ -30,28 +30,28 @@ dependencies:
30
30
  requirements:
31
31
  - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: '4'
33
+ version: '5.0'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - ">="
39
39
  - !ruby/object:Gem::Version
40
- version: '4'
40
+ version: '5.0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: sprockets
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ">="
45
+ - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '2'
47
+ version: '3.0'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ">="
52
+ - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: '2'
54
+ version: '3.0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: appraisal
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -70,44 +70,16 @@ dependencies:
70
70
  name: minitest
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - ">="
74
- - !ruby/object:Gem::Version
75
- version: '0'
76
- type: :development
77
- prerelease: false
78
- version_requirements: !ruby/object:Gem::Requirement
79
- requirements:
80
- - - ">="
81
- - !ruby/object:Gem::Version
82
- version: '0'
83
- - !ruby/object:Gem::Dependency
84
- name: guard
85
- requirement: !ruby/object:Gem::Requirement
86
- requirements:
87
- - - ">="
73
+ - - '='
88
74
  - !ruby/object:Gem::Version
89
- version: '0'
75
+ version: 5.11.3
90
76
  type: :development
91
77
  prerelease: false
92
78
  version_requirements: !ruby/object:Gem::Requirement
93
79
  requirements:
94
- - - ">="
95
- - !ruby/object:Gem::Version
96
- version: '0'
97
- - !ruby/object:Gem::Dependency
98
- name: guard-minitest
99
- requirement: !ruby/object:Gem::Requirement
100
- requirements:
101
- - - ">="
80
+ - - '='
102
81
  - !ruby/object:Gem::Version
103
- version: '0'
104
- type: :development
105
- prerelease: false
106
- version_requirements: !ruby/object:Gem::Requirement
107
- requirements:
108
- - - ">="
109
- - !ruby/object:Gem::Version
110
- version: '0'
82
+ version: 5.11.3
111
83
  - !ruby/object:Gem::Dependency
112
84
  name: rails
113
85
  requirement: !ruby/object:Gem::Requirement
@@ -135,17 +107,14 @@ files:
135
107
  - Appraisals
136
108
  - CHANGELOG.md
137
109
  - Gemfile
138
- - Guardfile
139
110
  - MIT-LICENSE
140
111
  - README.md
141
112
  - Rakefile
142
113
  - gemfiles/.keep
143
- - gemfiles/rails40.gemfile
144
- - gemfiles/rails41.gemfile
145
- - gemfiles/rails42.gemfile
146
114
  - gemfiles/rails50.gemfile
147
115
  - gemfiles/rails51.gemfile
148
- - gemfiles/sprockets2.gemfile
116
+ - gemfiles/rails52.gemfile
117
+ - gemfiles/rails60.gemfile
149
118
  - less-rails.gemspec
150
119
  - lib/less-rails.rb
151
120
  - lib/less/rails.rb
@@ -193,8 +162,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
193
162
  - !ruby/object:Gem::Version
194
163
  version: '0'
195
164
  requirements: []
196
- rubyforge_project:
197
- rubygems_version: 2.7.6
165
+ rubygems_version: 3.2.0.pre1
198
166
  signing_key:
199
167
  specification_version: 4
200
168
  summary: The dynamic stylesheet language for the Rails asset pipeline.
data/Guardfile DELETED
@@ -1,7 +0,0 @@
1
- guard 'minitest' do
2
- watch(%r|^lib/less/rails/(.*)\.rb|) { |m| "test/cases/#{m[1]}_spec.rb" }
3
- # watch(%r|^lib/less/rails\.rb|) { "test/cases" }
4
- # watch(%r|^test/dummy_app/.*|) { "test/cases" }
5
- watch(%r|^test/spec_helper\.rb|) { "test/cases" }
6
- watch(%r|^test/cases/(.*)_spec\.rb|)
7
- end
@@ -1,10 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source "https://rubygems.org"
4
-
5
- gem "therubyracer", "~> 0.12.0", require: nil, platforms: :ruby
6
- gem "therubyrhino", "~> 2.0.2", require: nil, platforms: :jruby
7
- gem "mime-types", "~> 2.6.2", platforms: [:ruby_19, :jruby]
8
- gem "rails", "~> 4.0.0"
9
-
10
- gemspec path: "../"
@@ -1,10 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source "https://rubygems.org"
4
-
5
- gem "therubyracer", "~> 0.12.0", require: nil, platforms: :ruby
6
- gem "therubyrhino", "~> 2.0.2", require: nil, platforms: :jruby
7
- gem "mime-types", "~> 2.6.2", platforms: [:ruby_19, :jruby]
8
- gem "rails", "~> 4.1.0"
9
-
10
- gemspec path: "../"
@@ -1,10 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source "https://rubygems.org"
4
-
5
- gem "therubyracer", "~> 0.12.0", require: nil, platforms: :ruby
6
- gem "therubyrhino", "~> 2.0.2", require: nil, platforms: :jruby
7
- gem "mime-types", "~> 2.6.2", platforms: [:ruby_19, :jruby]
8
- gem "rails", "~> 4.2.0"
9
-
10
- gemspec path: "../"
@@ -1,11 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source "https://rubygems.org"
4
-
5
- gem "therubyracer", "~> 0.12.0", require: nil, platforms: :ruby
6
- gem "therubyrhino", "~> 2.0.2", require: nil, platforms: :jruby
7
- gem "mime-types", "~> 2.6.2", platforms: [:ruby_19, :jruby]
8
- gem "rails", "~> 4.0.0"
9
- gem "sprockets", "~> 2.0"
10
-
11
- gemspec path: "../"