less-rails 2.1.2 → 2.1.3
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +10 -0
- data/Gemfile.rails-3.2 +1 -1
- data/less-rails.gemspec +1 -1
- data/lib/less/rails/version.rb +1 -1
- data/test/cases/basics_spec.rb +4 -0
- data/test/dummy_app/app/assets/stylesheets/basics.css.less +4 -0
- data/test/dummy_app/vendor/assets/stylesheets/vendored.less +4 -0
- metadata +8 -6
data/CHANGELOG.md
CHANGED
data/Gemfile.rails-3.2
CHANGED
data/less-rails.gemspec
CHANGED
@@ -18,5 +18,5 @@ Gem::Specification.new do |s|
|
|
18
18
|
s.add_runtime_dependency 'actionpack', '>= 3.1'
|
19
19
|
s.add_development_dependency 'minitest'
|
20
20
|
s.add_development_dependency 'guard-minitest'
|
21
|
-
s.add_development_dependency 'rails', '
|
21
|
+
s.add_development_dependency 'rails', '~> 3.1'
|
22
22
|
end
|
data/lib/less/rails/version.rb
CHANGED
data/test/cases/basics_spec.rb
CHANGED
@@ -9,6 +9,10 @@ class BasicsSpec < Less::Rails::Spec
|
|
9
9
|
it 'must render mixins' do
|
10
10
|
basics.must_match %r{#test-mixin span\{border:1px solid black;\}}
|
11
11
|
end
|
12
|
+
|
13
|
+
it 'must be able to use vendored less files' do
|
14
|
+
basics.must_match %r{#test-vendored\{border-radius:10px;\}}
|
15
|
+
end
|
12
16
|
|
13
17
|
it 'must hook into less import so that imported paths are declared as sprocket dependencies of the source file' do
|
14
18
|
basics.must_match %r{#test-radiused\{border-radius:5px;\}}, 'default is 5px'
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: less-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 13
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 2
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 2.1.
|
9
|
+
- 3
|
10
|
+
version: 2.1.3
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Ken Collins
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date:
|
18
|
+
date: 2012-01-23 00:00:00 Z
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
21
|
name: less
|
@@ -82,7 +82,7 @@ dependencies:
|
|
82
82
|
requirement: &id005 !ruby/object:Gem::Requirement
|
83
83
|
none: false
|
84
84
|
requirements:
|
85
|
-
- -
|
85
|
+
- - ~>
|
86
86
|
- !ruby/object:Gem::Version
|
87
87
|
hash: 5
|
88
88
|
segments:
|
@@ -134,6 +134,7 @@ files:
|
|
134
134
|
- test/dummy_app/init.rb
|
135
135
|
- test/dummy_app/tmp/.gitkeep
|
136
136
|
- test/dummy_app/tmp/cache/.gitkeep
|
137
|
+
- test/dummy_app/vendor/assets/stylesheets/vendored.less
|
137
138
|
- test/spec_helper.rb
|
138
139
|
homepage: http://github.com/metaskills/less-rails
|
139
140
|
licenses: []
|
@@ -164,7 +165,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
164
165
|
requirements: []
|
165
166
|
|
166
167
|
rubyforge_project:
|
167
|
-
rubygems_version: 1.8.
|
168
|
+
rubygems_version: 1.8.15
|
168
169
|
signing_key:
|
169
170
|
specification_version: 3
|
170
171
|
summary: The dynamic stylesheet language for the Rails asset pipeline.
|
@@ -181,4 +182,5 @@ test_files:
|
|
181
182
|
- test/dummy_app/init.rb
|
182
183
|
- test/dummy_app/tmp/.gitkeep
|
183
184
|
- test/dummy_app/tmp/cache/.gitkeep
|
185
|
+
- test/dummy_app/vendor/assets/stylesheets/vendored.less
|
184
186
|
- test/spec_helper.rb
|