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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c0c3f79381ebf1f13b2b1a3e049acc02fe092da0fd229a87095014e93347c317
4
- data.tar.gz: c99f48ee690cc56999888b6f92013a18ef6f6df3f2cc7baa9fd2080393078026
3
+ metadata.gz: 9d6968d22e46dba726fb31a708a2b58bf2ac9c43f812c85d0e03e3b2be87326c
4
+ data.tar.gz: 612860bf91158cee9dfed8d8fed1d2258c4c209f888cf3b179e308ddb0a99b16
5
5
  SHA512:
6
- metadata.gz: 2065c04a11cc220990695434439602abb7b99710463b3da0541a25a2ef451a31e64ccce15852edd4e6a0e74c9c8ae3cd2cee0fc862e51e1ed20817ddc374095a
7
- data.tar.gz: e1c3107e97173a4018676c10244cee380099d0d615283e838b2191460d0c310ee83ab15316c9525c011bf55c778bc1c58678ce6fb11babecede27de818fbb761
6
+ metadata.gz: 97e715e3d66c49dd576177dedf97956bd3af48716b9446eae3b4bac4717a14d03cd6abd84405cd6ce8b9d6f8dedc2744c4a00674d1fd6df675034792afb36c68
7
+ data.tar.gz: 6e27282d9e0d27fd427644e9c67fb220ad3d33ef1aeb4177de5aececb047ce41c6bc00439841d73a803243fd3c148310d552cf02b8a590c681dea2c6330bfad0
@@ -2,6 +2,6 @@
2
2
 
3
3
  module SassC
4
4
  module Embedded
5
- VERSION = '1.64.2'
5
+ VERSION = '1.68.0'
6
6
  end
7
7
  end
@@ -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, from_import:)
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.64.2
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-05 00:00:00.000000000 Z
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.64'
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.64'
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.64.2
58
- source_code_uri: https://github.com/ntkme/sassc-embedded-shim-ruby/tree/v1.64.2
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: []