less-rails 2.1.6 → 2.1.7

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  CHANGELOG
2
2
  =========
3
3
 
4
+ 2.1.7 - 03/07/2012
5
+
6
+ * More defensive railtie when examing asset paths. Fixes #30.
7
+
8
+
4
9
  2.1.6 - 02/16/2012
5
10
 
6
11
  * Nested imports recursively declare sprockets dependencies. Fixes #26.
@@ -29,7 +29,7 @@ module Less
29
29
  end
30
30
 
31
31
  initializer 'less-rails.after.append_assets_path', :after => :append_assets_path, :group => :all do |app|
32
- assets_stylesheet_paths = app.config.assets.paths.select { |p| p.ends_with?('stylesheets') }
32
+ assets_stylesheet_paths = app.config.assets.paths.select { |p| p && p.to_s.ends_with?('stylesheets') }
33
33
  app.config.less.paths.unshift(*assets_stylesheet_paths)
34
34
  end
35
35
 
@@ -1,5 +1,5 @@
1
1
  module Less
2
2
  module Rails
3
- VERSION = "2.1.6"
3
+ VERSION = "2.1.7"
4
4
  end
5
5
  end
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: 7
4
+ hash: 5
5
5
  prerelease:
6
6
  segments:
7
7
  - 2
8
8
  - 1
9
- - 6
10
- version: 2.1.6
9
+ - 7
10
+ version: 2.1.7
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: 2012-02-16 00:00:00 Z
18
+ date: 2012-03-07 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: less
@@ -166,7 +166,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
166
166
  requirements: []
167
167
 
168
168
  rubyforge_project:
169
- rubygems_version: 1.8.15
169
+ rubygems_version: 1.8.17
170
170
  signing_key:
171
171
  specification_version: 3
172
172
  summary: The dynamic stylesheet language for the Rails asset pipeline.