jekyll-less 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/jekyll-less.rb +1 -1
- data/lib/jekyll-less/version.rb +1 -1
- metadata +5 -5
data/lib/jekyll-less.rb
CHANGED
@@ -27,7 +27,7 @@ module Jekyll
|
|
27
27
|
FileUtils.mkdir_p(File.dirname(dest_path))
|
28
28
|
begin
|
29
29
|
content = File.read(path)
|
30
|
-
content = ::Less::Parser.new().parse(content).to_css
|
30
|
+
content = ::Less::Parser.new({:paths => [File.dirname(path)]}).parse(content).to_css
|
31
31
|
File.open(dest_path, 'w') do |f|
|
32
32
|
f.write(content)
|
33
33
|
end
|
data/lib/jekyll-less/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-less
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -13,7 +13,7 @@ date: 2011-12-04 00:00:00.000000000Z
|
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: jekyll
|
16
|
-
requirement: &
|
16
|
+
requirement: &70291880532540 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: 0.10.0
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *70291880532540
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: less
|
27
|
-
requirement: &
|
27
|
+
requirement: &70291880532020 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ! '>='
|
@@ -32,7 +32,7 @@ dependencies:
|
|
32
32
|
version: 2.0.5
|
33
33
|
type: :runtime
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *70291880532020
|
36
36
|
description: Convert Less CSS files to standard CSS files as part of your Jekyll build.
|
37
37
|
email:
|
38
38
|
- roger@zroger.com
|