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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 32ee65ba1a116c08b27670f7927808870566b835f04f2e6306635feeab013d52
4
- data.tar.gz: e92c052e3d395c0b9fe6ca3337a8815eb752b7db09805597988f1eabf02bc40e
3
+ metadata.gz: c051522099eb9c977d893591246ad37863d0ff38feec276b8992c9f16cfa6b3b
4
+ data.tar.gz: 388b71b1d56dcde5f45b9860b28ba932291951cf2385e42560032b3c4e144c5f
5
5
  SHA512:
6
- metadata.gz: 32b9663ca870b8a92a8abad9fe6e4cc1d3367821a08c4f9d78888e0e52444cb9469844148c2ba1de364b4022d70186dbbb3ef3ea264093a6c4980e7e26cb4b99
7
- data.tar.gz: 5f2041e1f9b46900bad242431ce1a686dd8919657f0a9810c7256e93986dd7cec36f8506ebbc1a1261fb372ab56bcb230ee2645dfbe35134f7c88c5dec0b7589
6
+ metadata.gz: 0b2c4cd74ba4ee2612c92394011d98f6db389078d3668ccebe3cf96ef855c5a1a72c9dbe47057f3cc586b1dac2937379ee02356e289fdbf96869ad860e2ad1c3
7
+ data.tar.gz: 275e76080d121f8693b42d1ca46088a0328013b111c8eddc4a998baafd04990ed9ff6cad5ac7246198c79bf63aad7e3ff556a2bbe9d6ffd0a0582dc259daec68
@@ -1,6 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "fake-sass"
4
3
  require "jekyll-sass-converter/version"
5
4
  require "jekyll/converters/scss"
6
5
  require "jekyll/converters/sass"
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module JekyllSassConverter
4
- VERSION = "2.0.0.pre.beta"
4
+ VERSION = "2.0.0"
5
5
  end
@@ -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.map { |path| Dir.glob(path) }.flatten.uniq
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.pre.beta
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-04 00:00:00.000000000 Z
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: '2.0'
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: '2.0'
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: 1.3.1
118
+ version: '0'
128
119
  requirements: []
129
120
  rubygems_version: 3.0.4
130
121
  signing_key:
@@ -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