jekyll-sass-converter 2.0.0.pre.beta → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/jekyll-sass-converter.rb +0 -1
- data/lib/jekyll-sass-converter/version.rb +1 -1
- data/lib/jekyll/converters/scss.rb +2 -4
- metadata +14 -23
- data/lib/fake-sass.rb +0 -33
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c051522099eb9c977d893591246ad37863d0ff38feec276b8992c9f16cfa6b3b
|
4
|
+
data.tar.gz: 388b71b1d56dcde5f45b9860b28ba932291951cf2385e42560032b3c4e144c5f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0b2c4cd74ba4ee2612c92394011d98f6db389078d3668ccebe3cf96ef855c5a1a72c9dbe47057f3cc586b1dac2937379ee02356e289fdbf96869ad860e2ad1c3
|
7
|
+
data.tar.gz: 275e76080d121f8693b42d1ca46088a0328013b111c8eddc4a998baafd04990ed9ff6cad5ac7246198c79bf63aad7e3ff556a2bbe9d6ffd0a0582dc259daec68
|
@@ -124,9 +124,7 @@ module Jekyll
|
|
124
124
|
|
125
125
|
# rubocop:disable Metrics/AbcSize
|
126
126
|
def sass_load_paths
|
127
|
-
paths = user_sass_load_paths +
|
128
|
-
[sass_dir_relative_to_site_source] +
|
129
|
-
Array(::Sass.load_paths)
|
127
|
+
paths = user_sass_load_paths + [sass_dir_relative_to_site_source]
|
130
128
|
paths << site.theme.sass_path if site.theme&.sass_path
|
131
129
|
|
132
130
|
if safe?
|
@@ -136,7 +134,7 @@ module Jekyll
|
|
136
134
|
|
137
135
|
# Expand file globs (e.g. `node_modules/*/node_modules` )
|
138
136
|
Dir.chdir(site_source) do
|
139
|
-
paths = paths.
|
137
|
+
paths = paths.flat_map { |path| Dir.glob(path) }.uniq
|
140
138
|
|
141
139
|
paths.map! do |path|
|
142
140
|
if safe?
|
metadata
CHANGED
@@ -1,29 +1,35 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-sass-converter
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.0
|
4
|
+
version: 2.0.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: 2019-08-
|
11
|
+
date: 2019-08-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sassc
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 2.0.1
|
20
|
+
- - "<"
|
18
21
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
22
|
+
version: '3.0'
|
20
23
|
type: :runtime
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
23
26
|
requirements:
|
24
|
-
- - "
|
27
|
+
- - ">"
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: 2.0.1
|
30
|
+
- - "<"
|
25
31
|
- !ruby/object:Gem::Version
|
26
|
-
version: '
|
32
|
+
version: '3.0'
|
27
33
|
- !ruby/object:Gem::Dependency
|
28
34
|
name: bundler
|
29
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -38,20 +44,6 @@ dependencies:
|
|
38
44
|
- - ">="
|
39
45
|
- !ruby/object:Gem::Version
|
40
46
|
version: '0'
|
41
|
-
- !ruby/object:Gem::Dependency
|
42
|
-
name: jekyll
|
43
|
-
requirement: !ruby/object:Gem::Requirement
|
44
|
-
requirements:
|
45
|
-
- - "~>"
|
46
|
-
- !ruby/object:Gem::Version
|
47
|
-
version: '3.0'
|
48
|
-
type: :development
|
49
|
-
prerelease: false
|
50
|
-
version_requirements: !ruby/object:Gem::Requirement
|
51
|
-
requirements:
|
52
|
-
- - "~>"
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
version: '3.0'
|
55
47
|
- !ruby/object:Gem::Dependency
|
56
48
|
name: rake
|
57
49
|
requirement: !ruby/object:Gem::Requirement
|
@@ -101,7 +93,6 @@ executables: []
|
|
101
93
|
extensions: []
|
102
94
|
extra_rdoc_files: []
|
103
95
|
files:
|
104
|
-
- lib/fake-sass.rb
|
105
96
|
- lib/jekyll-sass-converter.rb
|
106
97
|
- lib/jekyll-sass-converter/version.rb
|
107
98
|
- lib/jekyll/converters/sass.rb
|
@@ -122,9 +113,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
122
113
|
version: 2.4.0
|
123
114
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
124
115
|
requirements:
|
125
|
-
- - "
|
116
|
+
- - ">="
|
126
117
|
- !ruby/object:Gem::Version
|
127
|
-
version:
|
118
|
+
version: '0'
|
128
119
|
requirements: []
|
129
120
|
rubygems_version: 3.0.4
|
130
121
|
signing_key:
|
data/lib/fake-sass.rb
DELETED
@@ -1,33 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
# This module helps to get rid of the now deprecated
|
4
|
-
# [ruby-sass](https://github.com/sass/ruby-sass).
|
5
|
-
#
|
6
|
-
# Some modules used in jekyll depend on the function `Sass.load_paths`
|
7
|
-
# from ruby-sass. (see for example `Jekyll::Theme.configure_sass`).
|
8
|
-
#
|
9
|
-
# This module provides a workaround when ruby-sass is not installed
|
10
|
-
# by faking this functionality...
|
11
|
-
#
|
12
|
-
# Please note that this module should never be installed __together__ with ruby-sass.
|
13
|
-
module Sass
|
14
|
-
# The global load paths for Sass files. This is meant for plugins and libraries to register
|
15
|
-
# the paths to their Sass stylesheets to that they may be `@imported`. This load path is used
|
16
|
-
# by every instance of {Sass::Engine}.
|
17
|
-
# They are lower-precedence than any load paths passed in via the
|
18
|
-
# {file:SASS_REFERENCE.md#load_paths-option `:load_paths` option}.
|
19
|
-
#
|
20
|
-
# If the `SASS_PATH` environment variable is set, the initial value of `load_paths` will be
|
21
|
-
# initialized based on that. The variable should be a colon-separated list of path names
|
22
|
-
# (semicolon-separated on Windows).
|
23
|
-
#
|
24
|
-
# Note that files on the global load path are never compiled to CSS themselves, even if they
|
25
|
-
# aren't partials. They exist only to be imported.
|
26
|
-
#
|
27
|
-
# @example
|
28
|
-
# Sass.load_paths << File.dirname(__FILE__ + '/sass')
|
29
|
-
# @return [Array<String, Pathname, Sass::Importers::Base>]
|
30
|
-
def self.load_paths
|
31
|
-
@load_paths ||= ENV["SASS_PATH"].to_s.split(File::PATH_SEPARATOR)
|
32
|
-
end
|
33
|
-
end
|