sassc-embedded 1.74.0 → 1.74.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/sassc/embedded/version.rb +1 -1
- data/lib/sassc/embedded.rb +9 -2
- 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: 411e788cd6cc17fd4f63773757f4f5b57aca396fd20218a6b2f3b3f15d1a1c9a
|
|
4
|
+
data.tar.gz: df11ec77342a51c7283da1cd8f3d20f1a4b779752e09ec56baadd321e3baa974
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: fd6134bfefa373e58bc505ab03e55764a10c970d052a66d9138dc61bd46d1bf143093e3d5ca4d8279936f110d6b3d5485f679d5893035d5da630f15c87acb304
|
|
7
|
+
data.tar.gz: 7e072a1950cf8a5de7ee5e980f42fa590bc05140259315e87a0389f45b73827add28a0b9f5314c4ce7357b233b9911690d41a1e33a7cf21ac1bba2f912a48eec
|
data/lib/sassc/embedded.rb
CHANGED
|
@@ -324,6 +324,7 @@ module SassC
|
|
|
324
324
|
def initialize(importer)
|
|
325
325
|
@importer = importer
|
|
326
326
|
@canonical_urls = {}
|
|
327
|
+
@id = 0
|
|
327
328
|
@importer_results = {}
|
|
328
329
|
@load_paths = (@importer.options[:load_paths] || []) + SassC.load_paths
|
|
329
330
|
@parent_urls = [URL.path_to_file_url(File.absolute_path(@importer.options[:filename] || 'stdin'))]
|
|
@@ -437,8 +438,8 @@ module SassC
|
|
|
437
438
|
else
|
|
438
439
|
canonical_url = URL.escape(import.path)
|
|
439
440
|
end
|
|
440
|
-
import_url = "#{Protocol::IMPORT}#{
|
|
441
|
-
loaded_url = "#{Protocol::LOADED}#{
|
|
441
|
+
import_url = "#{Protocol::IMPORT}#{next_id}"
|
|
442
|
+
loaded_url = "#{Protocol::LOADED}#{next_id}"
|
|
442
443
|
@canonical_urls[import_url] = canonical_url
|
|
443
444
|
at_rule = from_import ? '@import' : '@forward'
|
|
444
445
|
<<~SCSS
|
|
@@ -449,6 +450,12 @@ module SassC
|
|
|
449
450
|
syntax: :scss
|
|
450
451
|
}
|
|
451
452
|
end
|
|
453
|
+
|
|
454
|
+
def next_id
|
|
455
|
+
id = @id
|
|
456
|
+
@id = id.next
|
|
457
|
+
id
|
|
458
|
+
end
|
|
452
459
|
end
|
|
453
460
|
|
|
454
461
|
private_constant :ImportCache
|
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.74.
|
|
4
|
+
version: 1.74.1
|
|
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.74.
|
|
82
|
+
source_code_uri: https://github.com/sass-contrib/sassc-embedded-shim-ruby/tree/v1.74.1
|
|
83
83
|
funding_uri: https://github.com/sponsors/ntkme
|
|
84
84
|
rubygems_mfa_required: 'true'
|
|
85
85
|
post_install_message:
|