jekyll-compass 1.0.3 → 1.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/jekyll/compass/generator.rb +12 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 991b44490647b3bc643a59696942b001ace53ec7
|
4
|
+
data.tar.gz: 2dc501f7609d300e337afa91f13d7eb3a21203db
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 26fbd86a0871d3b8153b5554d8fe204dc380dcb18c39bbee0a9564c8ba1a751466057e07b2f34d29856b1fe5b9b299a02740a89c22d9626b5ade2b798b67f1b1
|
7
|
+
data.tar.gz: 62b91303d69e84effefbdb8cbbb2111e6ec01a02d3090ee7cee0ea6ca70857cce36bd5138d249153537f8bb9254b0b21027ea6f97c37554aebe2fe1418485f47
|
@@ -45,7 +45,6 @@ module Jekyll
|
|
45
45
|
def configuration(source)
|
46
46
|
config = CompassConfiguration.default_configuration
|
47
47
|
config[:project_path] = source
|
48
|
-
config[:force] = true
|
49
48
|
config.extend(@site.config['compass'] || {})
|
50
49
|
config.extend(@site.data['compass'] || {})
|
51
50
|
config[:css_path] = File.join(@site.config['destination'], config[:css_dir]) unless config.has_key? :css_path
|
@@ -69,6 +68,18 @@ module Jekyll
|
|
69
68
|
::Compass.configuration.on_sprite_removed(
|
70
69
|
&method(:on_sprite_removed)
|
71
70
|
)
|
71
|
+
|
72
|
+
Dir["#{::Compass.configuration.css_path}/**/*"].each do |path|
|
73
|
+
source = @site.config['destination']
|
74
|
+
@site.static_files <<
|
75
|
+
CompassFile.new(
|
76
|
+
@site,
|
77
|
+
source,
|
78
|
+
File.dirname(path)[source.length..-1],
|
79
|
+
File.basename(path)
|
80
|
+
)
|
81
|
+
end
|
82
|
+
|
72
83
|
nil
|
73
84
|
end
|
74
85
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-compass
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matthew Scharley
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-03-
|
11
|
+
date: 2014-03-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: compass
|