jekyll-compass 1.0.1 → 1.0.2

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d43c3f9bd54d201651db82eb3fb2d6f772a3e79c
4
- data.tar.gz: 771d73f6d579755f59a9377f8e0316fa01c2510c
3
+ metadata.gz: 716e70a8bd4b1686d016e40988691feed8e4c85b
4
+ data.tar.gz: 7e74bab234992a3b636ee7bafd1fbfaea14f5ce1
5
5
  SHA512:
6
- metadata.gz: 89ac6f9aecb7bdeab7eeee0cc6a32ab4ce15ed271af3574d41975cd3a2402f476f97f5b224fc524593b90b931219cf1c1a5aa140071fcb707075d89b8e0fc9ae
7
- data.tar.gz: d98782e7a56dde8e2303d4c1a8f33f70b263460cebc3fe12a5fa6925e48fc076ea1dab48bbf3bb7f88a9575fa79b159060cb48f73d5709600529cb3400e32e77
6
+ metadata.gz: 8f08b47a6ca42c67fc428cebe7e7648720277cf569c2414fe51316f7d712d4f98de5052b07c6a1505a9d72ee15b2add505f018a06621014eb5e8b5e7280bb891
7
+ data.tar.gz: 8316427d618657bdcc765fbe78b89c56d5f1b0a909295b82a01383aebe7d13dd24080627d2ca7850aff0bb243963b7701939fdaeb01f0720998cc058b16f7cbf
data/README.md CHANGED
@@ -81,6 +81,11 @@ In order to use other plugins for compass, add them to the `require` key in your
81
81
  require:
82
82
  - zurb-foundation
83
83
 
84
+ There is also a `import_paths` key which is analogous to the `add_import_path` line in `config.rb`.
85
+
86
+ import_paths:
87
+ - assets/foundation/scss
88
+
84
89
  [license]: https://raw.github.com/mscharley/jekyll-compass/master/LICENSE
85
90
  [gh-contrib]: https://github.com/mscharley/jekyll-compass/graphs/contributors
86
91
  [gh-issues]: https://github.com/mscharley/jekyll-compass/issues
@@ -45,6 +45,7 @@ module Jekyll
45
45
  required = @data.delete(:require) || []
46
46
  load = @data.delete(:load) || []
47
47
  discover = @data.delete(:discover) || []
48
+ include_paths = @data.delete(:include_paths) || []
48
49
 
49
50
  config = ::Compass::Configuration::Data.new(CONFIGURATION_NAME, @data)
50
51
  required.each do |name|
@@ -56,6 +57,9 @@ module Jekyll
56
57
  discover.each do |name|
57
58
  config.discover(name)
58
59
  end
60
+ include_paths.each do |path|
61
+ config.add_import_path(path)
62
+ end
59
63
 
60
64
  config
61
65
  end
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.1
4
+ version: 1.0.2
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-05 00:00:00.000000000 Z
11
+ date: 2014-03-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: compass