less-rails 2.1.3 → 2.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/CHANGELOG.md +5 -0
- data/lib/less/rails/import_processor.rb +6 -4
- data/lib/less/rails/version.rb +1 -1
- metadata +6 -5
data/CHANGELOG.md
CHANGED
@@ -10,10 +10,12 @@ module Less
|
|
10
10
|
def evaluate(context, locals, &block)
|
11
11
|
import_paths = data.scan(IMPORT_SCANNER).flatten.compact.uniq
|
12
12
|
import_paths.each do |path|
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
13
|
+
pathname = begin
|
14
|
+
context.resolve(path)
|
15
|
+
rescue FileNotFound
|
16
|
+
nil
|
17
|
+
end
|
18
|
+
context.depend_on(path) if pathname && pathname.to_s.ends_with?('.less')
|
17
19
|
end
|
18
20
|
data
|
19
21
|
end
|
data/lib/less/rails/version.rb
CHANGED
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: 3
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 2
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 2.1.
|
9
|
+
- 4
|
10
|
+
version: 2.1.4
|
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-01-
|
18
|
+
date: 2012-01-31 00:00:00 Z
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
21
|
name: less
|
@@ -165,7 +165,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
165
165
|
requirements: []
|
166
166
|
|
167
167
|
rubyforge_project:
|
168
|
-
rubygems_version: 1.8.
|
168
|
+
rubygems_version: 1.8.12
|
169
169
|
signing_key:
|
170
170
|
specification_version: 3
|
171
171
|
summary: The dynamic stylesheet language for the Rails asset pipeline.
|
@@ -184,3 +184,4 @@ test_files:
|
|
184
184
|
- test/dummy_app/tmp/cache/.gitkeep
|
185
185
|
- test/dummy_app/vendor/assets/stylesheets/vendored.less
|
186
186
|
- test/spec_helper.rb
|
187
|
+
has_rdoc:
|