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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 54867b5c660c3d66d0949156914370734f52fdc5
4
- data.tar.gz: b5698cd2be8f79059e66d0ddb30d753bc39f796a
3
+ metadata.gz: 991b44490647b3bc643a59696942b001ace53ec7
4
+ data.tar.gz: 2dc501f7609d300e337afa91f13d7eb3a21203db
5
5
  SHA512:
6
- metadata.gz: 13fef6c7e190e0540f88c59f6a1deb4f216fa35fa8d8aa30682dc6679b09069bf89e6b97486d9035e6adae38b94230f38014e59a840b76d53260d3d1b654c6da
7
- data.tar.gz: 4d1643a721edd72c12a7e035b0f4391aa102f71fb62c65c2d49b4a4b3319fb2ab089453f22d7f64b5b461f977796f025265f026de59a936c4f689a043ec9f7d9
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.3
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-06 00:00:00.000000000 Z
11
+ date: 2014-03-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: compass