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 CHANGED
@@ -1,6 +1,16 @@
1
1
  CHANGELOG
2
2
  =========
3
3
 
4
+ 2.1.3 - 01/23/2012
5
+
6
+ * Make sure vendor/assets/stylesheets .less files work.
7
+
8
+
9
+ 2.1.2 - 12/20/2011
10
+
11
+ * No notes.
12
+
13
+
4
14
  2.1.1 - 11/24/2011
5
15
  ------------------
6
16
 
data/Gemfile.rails-3.2 CHANGED
@@ -6,4 +6,4 @@ deps = spec.dependencies.map { |dep| {:name => dep.name, :version => dep.require
6
6
  deps.reject! { |dep| dep[:name] =~ /actionpack|rails/ }
7
7
  deps.each { |dep| gem dep[:name], dep[:version] }
8
8
 
9
- gem 'rails', '3.2.0.rc1'
9
+ gem 'rails', '3.2.0'
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', '>= 3.1'
21
+ s.add_development_dependency 'rails', '~> 3.1'
22
22
  end
@@ -1,5 +1,5 @@
1
1
  module Less
2
2
  module Rails
3
- VERSION = "2.1.2"
3
+ VERSION = "2.1.3"
4
4
  end
5
5
  end
@@ -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'
@@ -12,3 +12,7 @@
12
12
  // Frameworks
13
13
  @import "frameworks/bootstrap/mixins";
14
14
  #test-radiused { .radiused; }
15
+
16
+ // Vendored
17
+ @import "vendored";
18
+ #test-vendored { .vendored; }
@@ -0,0 +1,4 @@
1
+
2
+ .vendored(@radius: 10px) {
3
+ border-radius: @radius;
4
+ }
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: 15
4
+ hash: 13
5
5
  prerelease:
6
6
  segments:
7
7
  - 2
8
8
  - 1
9
- - 2
10
- version: 2.1.2
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: 2011-12-20 00:00:00 Z
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.12
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