less-rails 2.3.1 → 2.3.2
Sign up to get free protection for your applications and to get access to all the features.
- data/Appraisals +1 -1
- data/CHANGELOG.md +5 -0
- data/gemfiles/rails31.gemfile.lock +8 -8
- data/gemfiles/rails32.gemfile.lock +8 -8
- data/gemfiles/rails40.gemfile +1 -1
- data/gemfiles/rails40.gemfile.lock +46 -51
- data/lib/less/rails/railtie.rb +3 -1
- data/lib/less/rails/version.rb +1 -1
- data/test/dummy_app/init.rb +1 -1
- metadata +3 -3
data/Appraisals
CHANGED
data/CHANGELOG.md
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
PATH
|
2
2
|
remote: /Users/kencollins/Repositories/less-rails
|
3
3
|
specs:
|
4
|
-
less-rails (2.
|
4
|
+
less-rails (2.3.1)
|
5
5
|
actionpack (>= 3.1)
|
6
|
-
less (~> 2.
|
6
|
+
less (~> 2.3.1)
|
7
7
|
|
8
8
|
GEM
|
9
9
|
remote: https://rubygems.org/
|
@@ -53,9 +53,9 @@ GEM
|
|
53
53
|
guard-minitest (0.5.0)
|
54
54
|
guard (>= 0.4)
|
55
55
|
hike (1.2.1)
|
56
|
-
i18n (0.6.
|
56
|
+
i18n (0.6.4)
|
57
57
|
json (1.7.7)
|
58
|
-
less (2.
|
58
|
+
less (2.3.1)
|
59
59
|
commonjs (~> 0.2.6)
|
60
60
|
libv8 (3.3.10.4)
|
61
61
|
listen (0.7.3)
|
@@ -66,7 +66,7 @@ GEM
|
|
66
66
|
treetop (~> 1.4.8)
|
67
67
|
method_source (0.8.1)
|
68
68
|
mime-types (1.21)
|
69
|
-
minitest (4.6.
|
69
|
+
minitest (4.6.2)
|
70
70
|
multi_json (1.2.0)
|
71
71
|
polyglot (0.3.3)
|
72
72
|
pry (0.9.12)
|
@@ -98,7 +98,7 @@ GEM
|
|
98
98
|
rdoc (~> 3.4)
|
99
99
|
thor (~> 0.14.6)
|
100
100
|
rake (10.0.3)
|
101
|
-
rdoc (3.12.
|
101
|
+
rdoc (3.12.2)
|
102
102
|
json (~> 1.4)
|
103
103
|
slop (3.4.3)
|
104
104
|
sprockets (2.0.4)
|
@@ -109,11 +109,11 @@ GEM
|
|
109
109
|
therubyracer (0.10.2)
|
110
110
|
libv8 (~> 3.3.10)
|
111
111
|
thor (0.14.6)
|
112
|
-
tilt (1.3.
|
112
|
+
tilt (1.3.4)
|
113
113
|
treetop (1.4.12)
|
114
114
|
polyglot
|
115
115
|
polyglot (>= 0.3.1)
|
116
|
-
tzinfo (0.3.
|
116
|
+
tzinfo (0.3.36)
|
117
117
|
|
118
118
|
PLATFORMS
|
119
119
|
ruby
|
@@ -1,9 +1,9 @@
|
|
1
1
|
PATH
|
2
2
|
remote: /Users/kencollins/Repositories/less-rails
|
3
3
|
specs:
|
4
|
-
less-rails (2.
|
4
|
+
less-rails (2.3.1)
|
5
5
|
actionpack (>= 3.1)
|
6
|
-
less (~> 2.
|
6
|
+
less (~> 2.3.1)
|
7
7
|
|
8
8
|
GEM
|
9
9
|
remote: https://rubygems.org/
|
@@ -52,10 +52,10 @@ GEM
|
|
52
52
|
guard-minitest (0.5.0)
|
53
53
|
guard (>= 0.4)
|
54
54
|
hike (1.2.1)
|
55
|
-
i18n (0.6.
|
55
|
+
i18n (0.6.4)
|
56
56
|
journey (1.0.4)
|
57
57
|
json (1.7.7)
|
58
|
-
less (2.
|
58
|
+
less (2.3.1)
|
59
59
|
commonjs (~> 0.2.6)
|
60
60
|
libv8 (3.3.10.4)
|
61
61
|
listen (0.7.3)
|
@@ -66,7 +66,7 @@ GEM
|
|
66
66
|
treetop (~> 1.4.8)
|
67
67
|
method_source (0.8.1)
|
68
68
|
mime-types (1.21)
|
69
|
-
minitest (4.6.
|
69
|
+
minitest (4.6.2)
|
70
70
|
multi_json (1.6.1)
|
71
71
|
polyglot (0.3.3)
|
72
72
|
pry (0.9.12)
|
@@ -96,7 +96,7 @@ GEM
|
|
96
96
|
rdoc (~> 3.4)
|
97
97
|
thor (>= 0.14.6, < 2.0)
|
98
98
|
rake (10.0.3)
|
99
|
-
rdoc (3.12.
|
99
|
+
rdoc (3.12.2)
|
100
100
|
json (~> 1.4)
|
101
101
|
slop (3.4.3)
|
102
102
|
sprockets (2.2.2)
|
@@ -108,11 +108,11 @@ GEM
|
|
108
108
|
therubyracer (0.10.2)
|
109
109
|
libv8 (~> 3.3.10)
|
110
110
|
thor (0.17.0)
|
111
|
-
tilt (1.3.
|
111
|
+
tilt (1.3.4)
|
112
112
|
treetop (1.4.12)
|
113
113
|
polyglot
|
114
114
|
polyglot (>= 0.3.1)
|
115
|
-
tzinfo (0.3.
|
115
|
+
tzinfo (0.3.36)
|
116
116
|
|
117
117
|
PLATFORMS
|
118
118
|
ruby
|
data/gemfiles/rails40.gemfile
CHANGED
@@ -1,60 +1,41 @@
|
|
1
|
-
|
2
|
-
remote:
|
3
|
-
|
1
|
+
PATH
|
2
|
+
remote: /Users/kencollins/Repositories/less-rails
|
3
|
+
specs:
|
4
|
+
less-rails (2.3.1)
|
5
|
+
actionpack (>= 3.1)
|
6
|
+
less (~> 2.3.1)
|
7
|
+
|
8
|
+
GEM
|
9
|
+
remote: https://rubygems.org/
|
4
10
|
specs:
|
5
|
-
actionmailer (4.0.0.
|
6
|
-
actionpack (= 4.0.0.
|
11
|
+
actionmailer (4.0.0.beta1)
|
12
|
+
actionpack (= 4.0.0.beta1)
|
7
13
|
mail (~> 2.5.3)
|
8
|
-
actionpack (4.0.0.
|
9
|
-
activesupport (= 4.0.0.
|
14
|
+
actionpack (4.0.0.beta1)
|
15
|
+
activesupport (= 4.0.0.beta1)
|
10
16
|
builder (~> 3.1.0)
|
11
17
|
erubis (~> 2.7.0)
|
12
18
|
rack (~> 1.5.2)
|
13
19
|
rack-test (~> 0.6.2)
|
14
|
-
activemodel (4.0.0.
|
15
|
-
activesupport (= 4.0.0.
|
20
|
+
activemodel (4.0.0.beta1)
|
21
|
+
activesupport (= 4.0.0.beta1)
|
16
22
|
builder (~> 3.1.0)
|
17
|
-
activerecord (4.0.0.
|
18
|
-
activemodel (= 4.0.0.
|
23
|
+
activerecord (4.0.0.beta1)
|
24
|
+
activemodel (= 4.0.0.beta1)
|
19
25
|
activerecord-deprecated_finders (~> 0.0.3)
|
20
|
-
activesupport (= 4.0.0.
|
21
|
-
arel (~>
|
22
|
-
|
23
|
-
|
26
|
+
activesupport (= 4.0.0.beta1)
|
27
|
+
arel (~> 4.0.0.beta1)
|
28
|
+
activerecord-deprecated_finders (0.0.3)
|
29
|
+
activesupport (4.0.0.beta1)
|
30
|
+
i18n (~> 0.6.2)
|
24
31
|
minitest (~> 4.2)
|
25
32
|
multi_json (~> 1.3)
|
26
33
|
thread_safe (~> 0.1)
|
27
34
|
tzinfo (~> 0.3.33)
|
28
|
-
rails (4.0.0.beta)
|
29
|
-
actionmailer (= 4.0.0.beta)
|
30
|
-
actionpack (= 4.0.0.beta)
|
31
|
-
activerecord (= 4.0.0.beta)
|
32
|
-
activesupport (= 4.0.0.beta)
|
33
|
-
bundler (>= 1.2.2, < 2.0)
|
34
|
-
railties (= 4.0.0.beta)
|
35
|
-
sprockets-rails (~> 2.0.0.rc1)
|
36
|
-
railties (4.0.0.beta)
|
37
|
-
actionpack (= 4.0.0.beta)
|
38
|
-
activesupport (= 4.0.0.beta)
|
39
|
-
rake (>= 0.8.7)
|
40
|
-
rdoc (~> 3.4)
|
41
|
-
thor (>= 0.17.0, < 2.0)
|
42
|
-
|
43
|
-
PATH
|
44
|
-
remote: /Users/kencollins/Repositories/less-rails
|
45
|
-
specs:
|
46
|
-
less-rails (2.2.6)
|
47
|
-
actionpack (>= 3.1)
|
48
|
-
less (~> 2.2.0)
|
49
|
-
|
50
|
-
GEM
|
51
|
-
remote: https://rubygems.org/
|
52
|
-
specs:
|
53
|
-
activerecord-deprecated_finders (0.0.3)
|
54
35
|
appraisal (0.5.1)
|
55
36
|
bundler
|
56
37
|
rake
|
57
|
-
arel (
|
38
|
+
arel (4.0.0.beta1)
|
58
39
|
atomic (1.0.1)
|
59
40
|
builder (3.1.4)
|
60
41
|
coderay (1.0.9)
|
@@ -69,9 +50,9 @@ GEM
|
|
69
50
|
guard-minitest (0.5.0)
|
70
51
|
guard (>= 0.4)
|
71
52
|
hike (1.2.1)
|
72
|
-
i18n (0.6.
|
53
|
+
i18n (0.6.4)
|
73
54
|
json (1.7.7)
|
74
|
-
less (2.
|
55
|
+
less (2.3.1)
|
75
56
|
commonjs (~> 0.2.6)
|
76
57
|
libv8 (3.3.10.4)
|
77
58
|
listen (0.7.3)
|
@@ -82,7 +63,7 @@ GEM
|
|
82
63
|
treetop (~> 1.4.8)
|
83
64
|
method_source (0.8.1)
|
84
65
|
mime-types (1.21)
|
85
|
-
minitest (4.6.
|
66
|
+
minitest (4.6.2)
|
86
67
|
multi_json (1.6.1)
|
87
68
|
polyglot (0.3.3)
|
88
69
|
pry (0.9.12)
|
@@ -92,16 +73,30 @@ GEM
|
|
92
73
|
rack (1.5.2)
|
93
74
|
rack-test (0.6.2)
|
94
75
|
rack (>= 1.0)
|
76
|
+
rails (4.0.0.beta1)
|
77
|
+
actionmailer (= 4.0.0.beta1)
|
78
|
+
actionpack (= 4.0.0.beta1)
|
79
|
+
activerecord (= 4.0.0.beta1)
|
80
|
+
activesupport (= 4.0.0.beta1)
|
81
|
+
bundler (>= 1.3.0, < 2.0)
|
82
|
+
railties (= 4.0.0.beta1)
|
83
|
+
sprockets-rails (~> 2.0.0.rc3)
|
84
|
+
railties (4.0.0.beta1)
|
85
|
+
actionpack (= 4.0.0.beta1)
|
86
|
+
activesupport (= 4.0.0.beta1)
|
87
|
+
rake (>= 0.8.7)
|
88
|
+
rdoc (~> 3.4)
|
89
|
+
thor (>= 0.17.0, < 2.0)
|
95
90
|
rake (10.0.3)
|
96
|
-
rdoc (3.12.
|
91
|
+
rdoc (3.12.2)
|
97
92
|
json (~> 1.4)
|
98
93
|
slop (3.4.3)
|
99
|
-
sprockets (2.
|
94
|
+
sprockets (2.9.0)
|
100
95
|
hike (~> 1.2)
|
101
96
|
multi_json (~> 1.0)
|
102
97
|
rack (~> 1.0)
|
103
98
|
tilt (~> 1.1, != 1.3.0)
|
104
|
-
sprockets-rails (2.0.0.
|
99
|
+
sprockets-rails (2.0.0.rc3)
|
105
100
|
actionpack (>= 3.0)
|
106
101
|
activesupport (>= 3.0)
|
107
102
|
sprockets (~> 2.8)
|
@@ -111,11 +106,11 @@ GEM
|
|
111
106
|
thor (0.17.0)
|
112
107
|
thread_safe (0.1.0)
|
113
108
|
atomic
|
114
|
-
tilt (1.3.
|
109
|
+
tilt (1.3.4)
|
115
110
|
treetop (1.4.12)
|
116
111
|
polyglot
|
117
112
|
polyglot (>= 0.3.1)
|
118
|
-
tzinfo (0.3.
|
113
|
+
tzinfo (0.3.36)
|
119
114
|
|
120
115
|
PLATFORMS
|
121
116
|
ruby
|
@@ -125,6 +120,6 @@ DEPENDENCIES
|
|
125
120
|
guard-minitest
|
126
121
|
less-rails!
|
127
122
|
minitest
|
128
|
-
rails
|
123
|
+
rails (~> 4.0.0.beta)
|
129
124
|
therubyracer (~> 0.10.0)
|
130
125
|
therubyrhino (~> 1.73.3)
|
data/lib/less/rails/railtie.rb
CHANGED
@@ -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
|
-
|
22
|
+
if ::Rails::VERSION::MAJOR < 4
|
23
|
+
raise 'The less-rails plugin requires the asset pipeline to be enabled.' unless app.config.assets.enabled
|
24
|
+
end
|
23
25
|
(Sprockets.respond_to?('register_preprocessor') ? Sprockets : app.assets).register_preprocessor 'text/css', ImportProcessor
|
24
26
|
end
|
25
27
|
|
data/lib/less/rails/version.rb
CHANGED
data/test/dummy_app/init.rb
CHANGED
@@ -13,7 +13,7 @@ module Dummy
|
|
13
13
|
config.consider_all_requests_local = true
|
14
14
|
config.eager_load = false
|
15
15
|
|
16
|
-
config.assets.enabled = true
|
16
|
+
config.assets.enabled = true if ::Rails::VERSION::MAJOR < 4
|
17
17
|
config.assets.cache_store = [:file_store, "#{config.root}/tmp/cache/assets/"]
|
18
18
|
|
19
19
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: less-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.3.
|
4
|
+
version: 2.3.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -170,7 +170,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
170
170
|
version: '0'
|
171
171
|
segments:
|
172
172
|
- 0
|
173
|
-
hash:
|
173
|
+
hash: -2960964217839261539
|
174
174
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
175
175
|
none: false
|
176
176
|
requirements:
|
@@ -179,7 +179,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
179
179
|
version: '0'
|
180
180
|
segments:
|
181
181
|
- 0
|
182
|
-
hash:
|
182
|
+
hash: -2960964217839261539
|
183
183
|
requirements: []
|
184
184
|
rubyforge_project:
|
185
185
|
rubygems_version: 1.8.25
|