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 CHANGED
@@ -8,5 +8,5 @@ appraise 'rails32' do
8
8
  end
9
9
 
10
10
  appraise 'rails40' do
11
- gem 'rails', :github => 'rails/rails'
11
+ gem 'rails', '~> 4.0.0.beta'
12
12
  end
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  CHANGELOG
2
2
  =========
3
3
 
4
+ 2.3.2 - 03/06/2012
5
+
6
+ * Rails 4 compatability. Thanks @zhengjia.
7
+
8
+
4
9
  2.3.1 - 03/06/2012
5
10
 
6
11
  * Update to less gem 2.3.1 which really uses less v1.3.3
@@ -1,9 +1,9 @@
1
1
  PATH
2
2
  remote: /Users/kencollins/Repositories/less-rails
3
3
  specs:
4
- less-rails (2.2.6)
4
+ less-rails (2.3.1)
5
5
  actionpack (>= 3.1)
6
- less (~> 2.2.0)
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.1)
56
+ i18n (0.6.4)
57
57
  json (1.7.7)
58
- less (2.2.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.1)
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.1)
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.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.35)
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.2.6)
4
+ less-rails (2.3.1)
5
5
  actionpack (>= 3.1)
6
- less (~> 2.2.0)
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.1)
55
+ i18n (0.6.4)
56
56
  journey (1.0.4)
57
57
  json (1.7.7)
58
- less (2.2.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.1)
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.1)
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.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.35)
115
+ tzinfo (0.3.36)
116
116
 
117
117
  PLATFORMS
118
118
  ruby
@@ -4,6 +4,6 @@ source "https://rubygems.org"
4
4
 
5
5
  gem "therubyracer", "~> 0.10.0", :require=>nil, :platforms=>:ruby
6
6
  gem "therubyrhino", "~> 1.73.3", :require=>nil, :platforms=>:jruby
7
- gem "rails", :github=>"rails/rails"
7
+ gem "rails", "~> 4.0.0.beta"
8
8
 
9
9
  gemspec :path=>"../"
@@ -1,60 +1,41 @@
1
- GIT
2
- remote: git://github.com/rails/rails.git
3
- revision: fb40358f4f3d0028bbcd1a8f1fc74b1453e2014a
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.beta)
6
- actionpack (= 4.0.0.beta)
11
+ actionmailer (4.0.0.beta1)
12
+ actionpack (= 4.0.0.beta1)
7
13
  mail (~> 2.5.3)
8
- actionpack (4.0.0.beta)
9
- activesupport (= 4.0.0.beta)
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.beta)
15
- activesupport (= 4.0.0.beta)
20
+ activemodel (4.0.0.beta1)
21
+ activesupport (= 4.0.0.beta1)
16
22
  builder (~> 3.1.0)
17
- activerecord (4.0.0.beta)
18
- activemodel (= 4.0.0.beta)
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.beta)
21
- arel (~> 3.0.2)
22
- activesupport (4.0.0.beta)
23
- i18n (~> 0.6)
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 (3.0.2)
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.1)
53
+ i18n (0.6.4)
73
54
  json (1.7.7)
74
- less (2.2.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.1)
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.1)
91
+ rdoc (3.12.2)
97
92
  json (~> 1.4)
98
93
  slop (3.4.3)
99
- sprockets (2.8.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.rc2)
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.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.35)
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)
@@ -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
- raise 'The less-rails plugin requires the asset pipeline to be enabled.' unless app.config.assets.enabled
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
 
@@ -1,5 +1,5 @@
1
1
  module Less
2
2
  module Rails
3
- VERSION = "2.3.1"
3
+ VERSION = "2.3.2"
4
4
  end
5
5
  end
@@ -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.1
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: 1662287954737879652
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: 1662287954737879652
182
+ hash: -2960964217839261539
183
183
  requirements: []
184
184
  rubyforge_project:
185
185
  rubygems_version: 1.8.25