jekyll-compass 1.1.0.pre4 → 1.1.0
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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e21f85ff7912ab4c0f0e2670835d63f0ef900d52
|
|
4
|
+
data.tar.gz: b891cfe137eac245dffa41a736cc1c63f47c1e30
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7fb412a453c6e73e13eb7ecb24e4ab49701a076e35ab76113a90371492887dd13dfe9bfab050f5053eb22c6247d931cbe5987cb5ce2303066ddb6ad76b96886a
|
|
7
|
+
data.tar.gz: b4481f3c6b87a556a5408b3e54a7365ae9ea4f3530381354209fc3f1c0679719b8c508055d93cc8c12f52f449f9a990d760a1dab668d2ba892b8502cb91c0c7e
|
|
@@ -64,6 +64,10 @@ compiled to CSS, but they can be imported into other sass stylesheets.
|
|
|
64
64
|
|
|
65
65
|
You can configure your project by editing the _data/compass.yml configuration file.
|
|
66
66
|
|
|
67
|
+
If you are using the jekyll new site template installed with `jekyll new` then
|
|
68
|
+
you may wish to move some of the files from _sass to _compass and then remove
|
|
69
|
+
this folder along with the css folder.
|
|
70
|
+
|
|
67
71
|
You must compile your Sass stylesheets into CSS when they change.
|
|
68
72
|
This can be done in one of the following ways:
|
|
69
73
|
1. To compile on demand:
|
|
@@ -22,7 +22,10 @@ module Jekyll
|
|
|
22
22
|
config = configuration(@site.source)
|
|
23
23
|
configure_compass(config)
|
|
24
24
|
|
|
25
|
-
|
|
25
|
+
unless File.exist? ::Compass.configuration.sass_path
|
|
26
|
+
puts "Unable to find a valid configuration: sass_path=#{::Compass.configuration.sass_path}"
|
|
27
|
+
return
|
|
28
|
+
end
|
|
26
29
|
puts "\rGenerating Compass: #{::Compass.configuration.sass_path}" +
|
|
27
30
|
" => #{::Compass.configuration.css_path}"
|
|
28
31
|
|
|
@@ -45,6 +48,9 @@ module Jekyll
|
|
|
45
48
|
config[:project_path] = source
|
|
46
49
|
config.extend(@site.config['compass'] || {})
|
|
47
50
|
config.extend(@site.data['compass'] || {})
|
|
51
|
+
unless config.has_key? :sass_path
|
|
52
|
+
config[:sass_path] = File.join(source, config[:sass_dir])
|
|
53
|
+
end
|
|
48
54
|
unless config.has_key? :css_path
|
|
49
55
|
config[:css_path] = File.join(real_destination, config[:css_dir])
|
|
50
56
|
end
|
metadata
CHANGED
|
@@ -1,53 +1,53 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: jekyll-compass
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.1.0
|
|
4
|
+
version: 1.1.0
|
|
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-
|
|
11
|
+
date: 2014-09-05 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: compass
|
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
|
16
16
|
requirements:
|
|
17
|
-
- -
|
|
17
|
+
- - '>='
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
|
-
version: 0.12
|
|
20
|
-
- -
|
|
19
|
+
version: '0.12'
|
|
20
|
+
- - <
|
|
21
21
|
- !ruby/object:Gem::Version
|
|
22
22
|
version: '2'
|
|
23
23
|
type: :runtime
|
|
24
24
|
prerelease: false
|
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
|
26
26
|
requirements:
|
|
27
|
-
- -
|
|
27
|
+
- - '>='
|
|
28
28
|
- !ruby/object:Gem::Version
|
|
29
|
-
version: 0.12
|
|
30
|
-
- -
|
|
29
|
+
version: '0.12'
|
|
30
|
+
- - <
|
|
31
31
|
- !ruby/object:Gem::Version
|
|
32
32
|
version: '2'
|
|
33
33
|
- !ruby/object:Gem::Dependency
|
|
34
34
|
name: jekyll
|
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
|
36
36
|
requirements:
|
|
37
|
-
- -
|
|
37
|
+
- - '>='
|
|
38
38
|
- !ruby/object:Gem::Version
|
|
39
|
-
version: 1.3
|
|
40
|
-
- -
|
|
39
|
+
version: '1.3'
|
|
40
|
+
- - <
|
|
41
41
|
- !ruby/object:Gem::Version
|
|
42
42
|
version: '3'
|
|
43
43
|
type: :runtime
|
|
44
44
|
prerelease: false
|
|
45
45
|
version_requirements: !ruby/object:Gem::Requirement
|
|
46
46
|
requirements:
|
|
47
|
-
- -
|
|
47
|
+
- - '>='
|
|
48
48
|
- !ruby/object:Gem::Version
|
|
49
|
-
version: 1.3
|
|
50
|
-
- -
|
|
49
|
+
version: '1.3'
|
|
50
|
+
- - <
|
|
51
51
|
- !ruby/object:Gem::Version
|
|
52
52
|
version: '3'
|
|
53
53
|
description: |2
|
|
@@ -77,14 +77,14 @@ require_paths:
|
|
|
77
77
|
- lib
|
|
78
78
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
79
79
|
requirements:
|
|
80
|
-
- -
|
|
80
|
+
- - '>='
|
|
81
81
|
- !ruby/object:Gem::Version
|
|
82
82
|
version: '0'
|
|
83
83
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
84
84
|
requirements:
|
|
85
|
-
- -
|
|
85
|
+
- - '>='
|
|
86
86
|
- !ruby/object:Gem::Version
|
|
87
|
-
version:
|
|
87
|
+
version: '0'
|
|
88
88
|
requirements: []
|
|
89
89
|
rubyforge_project:
|
|
90
90
|
rubygems_version: 2.0.14
|
|
@@ -92,4 +92,3 @@ signing_key:
|
|
|
92
92
|
specification_version: 4
|
|
93
93
|
summary: Jekyll generator plugin to build Compass projects during site build
|
|
94
94
|
test_files: []
|
|
95
|
-
has_rdoc:
|