less-rails 2.3.2 → 2.3.3

Sign up to get free protection for your applications and to get access to all the features.
data/.gitignore CHANGED
@@ -1,6 +1,6 @@
1
1
  *.gem
2
2
  .bundle
3
- Gemfile.lock
3
+ *.lock
4
4
  pkg/*
5
5
  *.log
6
6
  tmp/*
data/.travis.yml CHANGED
@@ -8,6 +8,9 @@ gemfile:
8
8
  - gemfiles/rails31.gemfile
9
9
  - gemfiles/rails32.gemfile
10
10
  - gemfiles/rails40.gemfile
11
+ before_install:
12
+ - gem install bundler
13
+ - bundle --version
11
14
  matrix:
12
15
  exclude:
13
16
  - rvm: 1.8.7
data/CHANGELOG.md CHANGED
@@ -1,17 +1,22 @@
1
1
  CHANGELOG
2
2
  =========
3
3
 
4
- 2.3.2 - 03/06/2012
4
+ 2.3.3 - 04/16/2013
5
+
6
+ * Implement dumpLineNumbers functionality. Thanks @matthew342.
7
+
8
+
9
+ 2.3.2 - 03/06/2013
5
10
 
6
11
  * Rails 4 compatability. Thanks @zhengjia.
7
12
 
8
13
 
9
- 2.3.1 - 03/06/2012
14
+ 2.3.1 - 03/06/2013
10
15
 
11
16
  * Update to less gem 2.3.1 which really uses less v1.3.3
12
17
 
13
18
 
14
- 2.3.0 - 03/06/2012
19
+ 2.3.0 - 03/06/2013
15
20
 
16
21
  * Update to less gem 2.3.0 thanks @leifcr
17
22
 
data/Gemfile CHANGED
@@ -1,6 +1,6 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
3
  gemspec
4
-
4
+ gem 'less', :git => 'https://github.com/BlackBoxAviation/less.rb.git', :ref => '1a3e8d21fc9bc6e37b8e3540366a7d7b509d8951', :submodules => true
5
5
  gem "therubyracer", "~> 0.10.0", :require => nil, :platforms => :ruby
6
- gem "therubyrhino", "~> 1.73.3", :require => nil, :platforms => :jruby
6
+ gem "therubyrhino", "~> 2.0.2", :require => nil, :platforms => :jruby
@@ -2,8 +2,9 @@
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
5
6
  gem "therubyracer", "~> 0.10.0", :require=>nil, :platforms=>:ruby
6
- gem "therubyrhino", "~> 1.73.3", :require=>nil, :platforms=>:jruby
7
+ gem "therubyrhino", "~> 2.0.2", :require=>nil, :platforms=>:jruby
7
8
  gem "rails", "~> 3.1.0"
8
9
 
9
10
  gemspec :path=>"../"
@@ -2,8 +2,9 @@
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
5
6
  gem "therubyracer", "~> 0.10.0", :require=>nil, :platforms=>:ruby
6
- gem "therubyrhino", "~> 1.73.3", :require=>nil, :platforms=>:jruby
7
+ gem "therubyrhino", "~> 2.0.2", :require=>nil, :platforms=>:jruby
7
8
  gem "rails", "~> 3.2.0"
8
9
 
9
10
  gemspec :path=>"../"
@@ -2,8 +2,9 @@
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
5
6
  gem "therubyracer", "~> 0.10.0", :require=>nil, :platforms=>:ruby
6
- gem "therubyrhino", "~> 1.73.3", :require=>nil, :platforms=>:jruby
7
+ gem "therubyrhino", "~> 2.0.2", :require=>nil, :platforms=>:jruby
7
8
  gem "rails", "~> 4.0.0.beta"
8
9
 
9
10
  gemspec :path=>"../"
@@ -24,7 +24,7 @@ module Less
24
24
 
25
25
  def config_to_less_parser_options(scope)
26
26
  paths = config_paths(scope) + scope.environment.paths
27
- {:filename => eval_file, :line => line, :paths => paths}
27
+ {:filename => eval_file, :line => line, :paths => paths, :dumpLineNumbers => config_from_rails(scope).line_numbers}
28
28
  end
29
29
 
30
30
  def config_to_css_options(scope)
@@ -1,5 +1,5 @@
1
1
  module Less
2
2
  module Rails
3
- VERSION = "2.3.2"
3
+ VERSION = "2.3.3"
4
4
  end
5
5
  end
@@ -19,6 +19,11 @@ class RailtieSpec < Less::Rails::Spec
19
19
  reset_caches
20
20
  dummy_config.less.compress = false
21
21
  dummy_asset('basics').wont_match basic_compressed_match
22
+ reset_caches
23
+ dummy_config.less.line_numbers = 'mediaquery'
24
+ dummy_asset('basics').wont_match basic_compressed_match
25
+ basic_sourcemap_match = /@media -sass-debug-info{filename{font-family:file/
26
+ dummy_asset('basics').must_match basic_sourcemap_match
22
27
  end
23
28
 
24
29
  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.2
4
+ version: 2.3.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-03-06 00:00:00.000000000 Z
12
+ date: 2013-04-16 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: less
@@ -125,11 +125,8 @@ files:
125
125
  - README.md
126
126
  - Rakefile
127
127
  - gemfiles/rails31.gemfile
128
- - gemfiles/rails31.gemfile.lock
129
128
  - gemfiles/rails32.gemfile
130
- - gemfiles/rails32.gemfile.lock
131
129
  - gemfiles/rails40.gemfile
132
- - gemfiles/rails40.gemfile.lock
133
130
  - less-rails.gemspec
134
131
  - lib/less-rails.rb
135
132
  - lib/less/rails.rb
@@ -170,7 +167,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
170
167
  version: '0'
171
168
  segments:
172
169
  - 0
173
- hash: -2960964217839261539
170
+ hash: -209653800015475081
174
171
  required_rubygems_version: !ruby/object:Gem::Requirement
175
172
  none: false
176
173
  requirements:
@@ -179,7 +176,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
179
176
  version: '0'
180
177
  segments:
181
178
  - 0
182
- hash: -2960964217839261539
179
+ hash: -209653800015475081
183
180
  requirements: []
184
181
  rubyforge_project:
185
182
  rubygems_version: 1.8.25
@@ -1,128 +0,0 @@
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/
10
- specs:
11
- actionmailer (3.1.10)
12
- actionpack (= 3.1.10)
13
- mail (~> 2.3.3)
14
- actionpack (3.1.10)
15
- activemodel (= 3.1.10)
16
- activesupport (= 3.1.10)
17
- builder (~> 3.0.0)
18
- erubis (~> 2.7.0)
19
- i18n (~> 0.6)
20
- rack (~> 1.3.6)
21
- rack-cache (~> 1.2)
22
- rack-mount (~> 0.8.2)
23
- rack-test (~> 0.6.1)
24
- sprockets (~> 2.0.4)
25
- activemodel (3.1.10)
26
- activesupport (= 3.1.10)
27
- builder (~> 3.0.0)
28
- i18n (~> 0.6)
29
- activerecord (3.1.10)
30
- activemodel (= 3.1.10)
31
- activesupport (= 3.1.10)
32
- arel (~> 2.2.3)
33
- tzinfo (~> 0.3.29)
34
- activeresource (3.1.10)
35
- activemodel (= 3.1.10)
36
- activesupport (= 3.1.10)
37
- activesupport (3.1.10)
38
- multi_json (>= 1.0, < 1.3)
39
- appraisal (0.5.1)
40
- bundler
41
- rake
42
- arel (2.2.3)
43
- builder (3.0.4)
44
- coderay (1.0.9)
45
- commonjs (0.2.6)
46
- erubis (2.7.0)
47
- guard (1.6.2)
48
- listen (>= 0.6.0)
49
- lumberjack (>= 1.0.2)
50
- pry (>= 0.9.10)
51
- terminal-table (>= 1.4.3)
52
- thor (>= 0.14.6)
53
- guard-minitest (0.5.0)
54
- guard (>= 0.4)
55
- hike (1.2.1)
56
- i18n (0.6.4)
57
- json (1.7.7)
58
- less (2.3.1)
59
- commonjs (~> 0.2.6)
60
- libv8 (3.3.10.4)
61
- listen (0.7.3)
62
- lumberjack (1.0.2)
63
- mail (2.3.3)
64
- i18n (>= 0.4.0)
65
- mime-types (~> 1.16)
66
- treetop (~> 1.4.8)
67
- method_source (0.8.1)
68
- mime-types (1.21)
69
- minitest (4.6.2)
70
- multi_json (1.2.0)
71
- polyglot (0.3.3)
72
- pry (0.9.12)
73
- coderay (~> 1.0.5)
74
- method_source (~> 0.8)
75
- slop (~> 3.4)
76
- rack (1.3.9)
77
- rack-cache (1.2)
78
- rack (>= 0.4)
79
- rack-mount (0.8.3)
80
- rack (>= 1.0.0)
81
- rack-ssl (1.3.3)
82
- rack
83
- rack-test (0.6.2)
84
- rack (>= 1.0)
85
- rails (3.1.10)
86
- actionmailer (= 3.1.10)
87
- actionpack (= 3.1.10)
88
- activerecord (= 3.1.10)
89
- activeresource (= 3.1.10)
90
- activesupport (= 3.1.10)
91
- bundler (~> 1.0)
92
- railties (= 3.1.10)
93
- railties (3.1.10)
94
- actionpack (= 3.1.10)
95
- activesupport (= 3.1.10)
96
- rack-ssl (~> 1.3.2)
97
- rake (>= 0.8.7)
98
- rdoc (~> 3.4)
99
- thor (~> 0.14.6)
100
- rake (10.0.3)
101
- rdoc (3.12.2)
102
- json (~> 1.4)
103
- slop (3.4.3)
104
- sprockets (2.0.4)
105
- hike (~> 1.2)
106
- rack (~> 1.0)
107
- tilt (~> 1.1, != 1.3.0)
108
- terminal-table (1.4.5)
109
- therubyracer (0.10.2)
110
- libv8 (~> 3.3.10)
111
- thor (0.14.6)
112
- tilt (1.3.4)
113
- treetop (1.4.12)
114
- polyglot
115
- polyglot (>= 0.3.1)
116
- tzinfo (0.3.36)
117
-
118
- PLATFORMS
119
- ruby
120
-
121
- DEPENDENCIES
122
- appraisal
123
- guard-minitest
124
- less-rails!
125
- minitest
126
- rails (~> 3.1.0)
127
- therubyracer (~> 0.10.0)
128
- therubyrhino (~> 1.73.3)
@@ -1,127 +0,0 @@
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/
10
- specs:
11
- actionmailer (3.2.12)
12
- actionpack (= 3.2.12)
13
- mail (~> 2.4.4)
14
- actionpack (3.2.12)
15
- activemodel (= 3.2.12)
16
- activesupport (= 3.2.12)
17
- builder (~> 3.0.0)
18
- erubis (~> 2.7.0)
19
- journey (~> 1.0.4)
20
- rack (~> 1.4.5)
21
- rack-cache (~> 1.2)
22
- rack-test (~> 0.6.1)
23
- sprockets (~> 2.2.1)
24
- activemodel (3.2.12)
25
- activesupport (= 3.2.12)
26
- builder (~> 3.0.0)
27
- activerecord (3.2.12)
28
- activemodel (= 3.2.12)
29
- activesupport (= 3.2.12)
30
- arel (~> 3.0.2)
31
- tzinfo (~> 0.3.29)
32
- activeresource (3.2.12)
33
- activemodel (= 3.2.12)
34
- activesupport (= 3.2.12)
35
- activesupport (3.2.12)
36
- i18n (~> 0.6)
37
- multi_json (~> 1.0)
38
- appraisal (0.5.1)
39
- bundler
40
- rake
41
- arel (3.0.2)
42
- builder (3.0.4)
43
- coderay (1.0.9)
44
- commonjs (0.2.6)
45
- erubis (2.7.0)
46
- guard (1.6.2)
47
- listen (>= 0.6.0)
48
- lumberjack (>= 1.0.2)
49
- pry (>= 0.9.10)
50
- terminal-table (>= 1.4.3)
51
- thor (>= 0.14.6)
52
- guard-minitest (0.5.0)
53
- guard (>= 0.4)
54
- hike (1.2.1)
55
- i18n (0.6.4)
56
- journey (1.0.4)
57
- json (1.7.7)
58
- less (2.3.1)
59
- commonjs (~> 0.2.6)
60
- libv8 (3.3.10.4)
61
- listen (0.7.3)
62
- lumberjack (1.0.2)
63
- mail (2.4.4)
64
- i18n (>= 0.4.0)
65
- mime-types (~> 1.16)
66
- treetop (~> 1.4.8)
67
- method_source (0.8.1)
68
- mime-types (1.21)
69
- minitest (4.6.2)
70
- multi_json (1.6.1)
71
- polyglot (0.3.3)
72
- pry (0.9.12)
73
- coderay (~> 1.0.5)
74
- method_source (~> 0.8)
75
- slop (~> 3.4)
76
- rack (1.4.5)
77
- rack-cache (1.2)
78
- rack (>= 0.4)
79
- rack-ssl (1.3.3)
80
- rack
81
- rack-test (0.6.2)
82
- rack (>= 1.0)
83
- rails (3.2.12)
84
- actionmailer (= 3.2.12)
85
- actionpack (= 3.2.12)
86
- activerecord (= 3.2.12)
87
- activeresource (= 3.2.12)
88
- activesupport (= 3.2.12)
89
- bundler (~> 1.0)
90
- railties (= 3.2.12)
91
- railties (3.2.12)
92
- actionpack (= 3.2.12)
93
- activesupport (= 3.2.12)
94
- rack-ssl (~> 1.3.2)
95
- rake (>= 0.8.7)
96
- rdoc (~> 3.4)
97
- thor (>= 0.14.6, < 2.0)
98
- rake (10.0.3)
99
- rdoc (3.12.2)
100
- json (~> 1.4)
101
- slop (3.4.3)
102
- sprockets (2.2.2)
103
- hike (~> 1.2)
104
- multi_json (~> 1.0)
105
- rack (~> 1.0)
106
- tilt (~> 1.1, != 1.3.0)
107
- terminal-table (1.4.5)
108
- therubyracer (0.10.2)
109
- libv8 (~> 3.3.10)
110
- thor (0.17.0)
111
- tilt (1.3.4)
112
- treetop (1.4.12)
113
- polyglot
114
- polyglot (>= 0.3.1)
115
- tzinfo (0.3.36)
116
-
117
- PLATFORMS
118
- ruby
119
-
120
- DEPENDENCIES
121
- appraisal
122
- guard-minitest
123
- less-rails!
124
- minitest
125
- rails (~> 3.2.0)
126
- therubyracer (~> 0.10.0)
127
- therubyrhino (~> 1.73.3)
@@ -1,125 +0,0 @@
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/
10
- specs:
11
- actionmailer (4.0.0.beta1)
12
- actionpack (= 4.0.0.beta1)
13
- mail (~> 2.5.3)
14
- actionpack (4.0.0.beta1)
15
- activesupport (= 4.0.0.beta1)
16
- builder (~> 3.1.0)
17
- erubis (~> 2.7.0)
18
- rack (~> 1.5.2)
19
- rack-test (~> 0.6.2)
20
- activemodel (4.0.0.beta1)
21
- activesupport (= 4.0.0.beta1)
22
- builder (~> 3.1.0)
23
- activerecord (4.0.0.beta1)
24
- activemodel (= 4.0.0.beta1)
25
- activerecord-deprecated_finders (~> 0.0.3)
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)
31
- minitest (~> 4.2)
32
- multi_json (~> 1.3)
33
- thread_safe (~> 0.1)
34
- tzinfo (~> 0.3.33)
35
- appraisal (0.5.1)
36
- bundler
37
- rake
38
- arel (4.0.0.beta1)
39
- atomic (1.0.1)
40
- builder (3.1.4)
41
- coderay (1.0.9)
42
- commonjs (0.2.6)
43
- erubis (2.7.0)
44
- guard (1.6.2)
45
- listen (>= 0.6.0)
46
- lumberjack (>= 1.0.2)
47
- pry (>= 0.9.10)
48
- terminal-table (>= 1.4.3)
49
- thor (>= 0.14.6)
50
- guard-minitest (0.5.0)
51
- guard (>= 0.4)
52
- hike (1.2.1)
53
- i18n (0.6.4)
54
- json (1.7.7)
55
- less (2.3.1)
56
- commonjs (~> 0.2.6)
57
- libv8 (3.3.10.4)
58
- listen (0.7.3)
59
- lumberjack (1.0.2)
60
- mail (2.5.3)
61
- i18n (>= 0.4.0)
62
- mime-types (~> 1.16)
63
- treetop (~> 1.4.8)
64
- method_source (0.8.1)
65
- mime-types (1.21)
66
- minitest (4.6.2)
67
- multi_json (1.6.1)
68
- polyglot (0.3.3)
69
- pry (0.9.12)
70
- coderay (~> 1.0.5)
71
- method_source (~> 0.8)
72
- slop (~> 3.4)
73
- rack (1.5.2)
74
- rack-test (0.6.2)
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)
90
- rake (10.0.3)
91
- rdoc (3.12.2)
92
- json (~> 1.4)
93
- slop (3.4.3)
94
- sprockets (2.9.0)
95
- hike (~> 1.2)
96
- multi_json (~> 1.0)
97
- rack (~> 1.0)
98
- tilt (~> 1.1, != 1.3.0)
99
- sprockets-rails (2.0.0.rc3)
100
- actionpack (>= 3.0)
101
- activesupport (>= 3.0)
102
- sprockets (~> 2.8)
103
- terminal-table (1.4.5)
104
- therubyracer (0.10.2)
105
- libv8 (~> 3.3.10)
106
- thor (0.17.0)
107
- thread_safe (0.1.0)
108
- atomic
109
- tilt (1.3.4)
110
- treetop (1.4.12)
111
- polyglot
112
- polyglot (>= 0.3.1)
113
- tzinfo (0.3.36)
114
-
115
- PLATFORMS
116
- ruby
117
-
118
- DEPENDENCIES
119
- appraisal
120
- guard-minitest
121
- less-rails!
122
- minitest
123
- rails (~> 4.0.0.beta)
124
- therubyracer (~> 0.10.0)
125
- therubyrhino (~> 1.73.3)