jekyll-sass-converter 2.0.1 → 2.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 +4 -4
- data/lib/jekyll-sass-converter/version.rb +1 -1
- data/lib/jekyll/converters/scss.rb +5 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ca94d9c890d30769bc4e8f02c40c36204492b3756d812832545811de2f9adbe2
|
4
|
+
data.tar.gz: ca4c611652bb77f15c0ddedfef1c49c5921b323a97c097fb8a9e6bbb906258ab
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 34cbbcef544e99bed2b8373ce339cf8040e123e2428beec54f0affb6895bfc2a4d47b4549d0c73d131719afaa375a109da07da51ab0b05abcbef7add1ac77ebd
|
7
|
+
data.tar.gz: 4d877c97804a9a59ef2febe1298c34bf9fa9a80199b6c664792aa5937c1c2a0844f6b49bb6bdf13fb6022355bdb0c79eb1321e1225cd5464e0fff9c2d3f9babd
|
@@ -123,7 +123,9 @@ module Jekyll
|
|
123
123
|
end
|
124
124
|
|
125
125
|
def sass_dir_relative_to_site_source
|
126
|
-
|
126
|
+
@sass_dir_relative_to_site_source ||= begin
|
127
|
+
Jekyll.sanitized_path(site_source, sass_dir).sub(site.source + "/", "")
|
128
|
+
end
|
127
129
|
end
|
128
130
|
|
129
131
|
# rubocop:disable Metrics/AbcSize
|
@@ -137,7 +139,7 @@ module Jekyll
|
|
137
139
|
|
138
140
|
# Expand file globs (e.g. `node_modules/*/node_modules` )
|
139
141
|
Dir.chdir(site_source) do
|
140
|
-
paths = paths.flat_map { |path| Dir.glob(path) }
|
142
|
+
paths = paths.flat_map { |path| Dir.glob(path) }
|
141
143
|
|
142
144
|
paths.map! do |path|
|
143
145
|
if safe?
|
@@ -149,6 +151,7 @@ module Jekyll
|
|
149
151
|
end
|
150
152
|
end
|
151
153
|
|
154
|
+
paths.uniq!
|
152
155
|
paths << site.theme.sass_path if site.theme&.sass_path
|
153
156
|
paths.select { |path| File.directory?(path) }
|
154
157
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-sass-converter
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0
|
4
|
+
version: 2.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Parker Moore
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-02-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sassc
|
@@ -117,7 +117,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
117
117
|
- !ruby/object:Gem::Version
|
118
118
|
version: '0'
|
119
119
|
requirements: []
|
120
|
-
rubygems_version: 3.0.
|
120
|
+
rubygems_version: 3.0.6
|
121
121
|
signing_key:
|
122
122
|
specification_version: 4
|
123
123
|
summary: A basic Sass converter for Jekyll.
|