sassc-embedded 1.75.1 → 1.75.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/sassc/embedded/version.rb +1 -1
- data/lib/sassc/embedded.rb +3 -11
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cf373b6b88c4dcdc3c784f85965562aa6e86ffffafd8ecb2b30513f2f52d51ae
|
4
|
+
data.tar.gz: d29bad09cafd09e2a5953c46ec546fe9674fc022bbae0b9092d399d4902b621c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c0ecd4e0d91d6890d2b9312a7f39889d46f58095299fa3160a7f133e2dc5efd51734ea0577c80271fedb0601357e9231d6beadd24dbff0e7e54a5b1a048ea74c
|
7
|
+
data.tar.gz: b58e4c56f4e3e41796f497885107f63765b91ec2fe81171cdc27b4d6d5d0a82909776a7453f723eee666f4e1cfedf1bedab35a75632517959e4e0cbe3b2ba909
|
data/lib/sassc/embedded.rb
CHANGED
@@ -135,11 +135,7 @@ module SassC
|
|
135
135
|
end
|
136
136
|
|
137
137
|
def load_paths
|
138
|
-
@load_paths ||=
|
139
|
-
(@options[:load_paths] || []) + SassC.load_paths
|
140
|
-
else
|
141
|
-
[]
|
142
|
-
end
|
138
|
+
@load_paths ||= (@options[:load_paths] || []) + SassC.load_paths
|
143
139
|
end
|
144
140
|
end
|
145
141
|
|
@@ -309,7 +305,6 @@ module SassC
|
|
309
305
|
@importer = importer
|
310
306
|
@importer_results = {}
|
311
307
|
@file_url = nil
|
312
|
-
@load_paths = (@importer.options[:load_paths] || []) + SassC.load_paths
|
313
308
|
end
|
314
309
|
|
315
310
|
def canonicalize(url, context)
|
@@ -364,11 +359,8 @@ module SassC
|
|
364
359
|
private
|
365
360
|
|
366
361
|
def resolve_file_url(path, parent_dir, from_import)
|
367
|
-
|
368
|
-
|
369
|
-
return URL.path_to_file_url(resolved) unless resolved.nil?
|
370
|
-
end
|
371
|
-
nil
|
362
|
+
resolved = FileSystemImporter.resolve_path(File.absolute_path(path, parent_dir), from_import)
|
363
|
+
URL.path_to_file_url(resolved) unless resolved.nil?
|
372
364
|
end
|
373
365
|
|
374
366
|
def syntax(path)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sassc-embedded
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.75.
|
4
|
+
version: 1.75.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- なつき
|
@@ -79,7 +79,7 @@ licenses:
|
|
79
79
|
metadata:
|
80
80
|
bug_tracker_uri: https://github.com/sass-contrib/sassc-embedded-shim-ruby/issues
|
81
81
|
documentation_uri: https://rubydoc.info/gems/sassc
|
82
|
-
source_code_uri: https://github.com/sass-contrib/sassc-embedded-shim-ruby/tree/v1.75.
|
82
|
+
source_code_uri: https://github.com/sass-contrib/sassc-embedded-shim-ruby/tree/v1.75.2
|
83
83
|
funding_uri: https://github.com/sponsors/ntkme
|
84
84
|
rubygems_mfa_required: 'true'
|
85
85
|
post_install_message:
|