sassc-embedded 1.64.2 → 1.68.0
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 -3
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9d6968d22e46dba726fb31a708a2b58bf2ac9c43f812c85d0e03e3b2be87326c
|
4
|
+
data.tar.gz: 612860bf91158cee9dfed8d8fed1d2258c4c209f888cf3b179e308ddb0a99b16
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 97e715e3d66c49dd576177dedf97956bd3af48716b9446eae3b4bac4717a14d03cd6abd84405cd6ce8b9d6f8dedc2744c4a00674d1fd6df675034792afb36c68
|
7
|
+
data.tar.gz: 6e27282d9e0d27fd427644e9c67fb220ad3d33ef1aeb4177de5aececb047ce41c6bc00439841d73a803243fd3c148310d552cf02b8a590c681dea2c6330bfad0
|
data/lib/sassc/embedded.rb
CHANGED
@@ -298,11 +298,11 @@ module SassC
|
|
298
298
|
@parent_urls = [URL.path_to_file_url(File.absolute_path(@importer.options[:filename] || 'stdin'))]
|
299
299
|
end
|
300
300
|
|
301
|
-
def canonicalize(url,
|
301
|
+
def canonicalize(url, context)
|
302
302
|
if url.start_with?(Protocol::IMPORT)
|
303
303
|
canonical_url = @canonical_urls.delete(url.delete_prefix(Protocol::IMPORT))
|
304
304
|
unless @importer_results.key?(canonical_url)
|
305
|
-
canonical_url = resolve_file_url(canonical_url, @parent_urls.last, from_import)
|
305
|
+
canonical_url = resolve_file_url(canonical_url, @parent_urls.last, context.from_import)
|
306
306
|
end
|
307
307
|
@parent_urls.push(canonical_url)
|
308
308
|
canonical_url
|
@@ -318,7 +318,7 @@ module SassC
|
|
318
318
|
end
|
319
319
|
|
320
320
|
canonical_url = "#{Protocol::IMPORT}#{next_id}"
|
321
|
-
@importer_results[canonical_url] = imports_to_native(imports, from_import)
|
321
|
+
@importer_results[canonical_url] = imports_to_native(imports, context.from_import)
|
322
322
|
canonical_url
|
323
323
|
elsif url.start_with?(Protocol::LOADED)
|
324
324
|
canonical_url = Protocol::LOADED
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sassc-embedded
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.68.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- なつき
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-09-
|
11
|
+
date: 2023-09-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sassc
|
@@ -30,14 +30,14 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '1.
|
33
|
+
version: '1.68'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '1.
|
40
|
+
version: '1.68'
|
41
41
|
description: An embedded sass shim for SassC.
|
42
42
|
email:
|
43
43
|
- i@ntk.me
|
@@ -54,8 +54,8 @@ homepage: https://github.com/ntkme/sassc-embedded-shim-ruby
|
|
54
54
|
licenses:
|
55
55
|
- MIT
|
56
56
|
metadata:
|
57
|
-
documentation_uri: https://rubydoc.info/gems/sassc-embedded/1.
|
58
|
-
source_code_uri: https://github.com/ntkme/sassc-embedded-shim-ruby/tree/v1.
|
57
|
+
documentation_uri: https://rubydoc.info/gems/sassc-embedded/1.68.0
|
58
|
+
source_code_uri: https://github.com/ntkme/sassc-embedded-shim-ruby/tree/v1.68.0
|
59
59
|
funding_uri: https://github.com/sponsors/ntkme
|
60
60
|
post_install_message:
|
61
61
|
rdoc_options: []
|