sassc-embedded 1.63.0 → 1.64.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 +5 -4
- metadata +21 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a17b1cef768356ef3f6e43a55502adbba7ebd45da75563fc5490289262eced91
|
4
|
+
data.tar.gz: d09b3fcfa43e8f7a7a78bc188d19a5a970e9b7b468e533b0f58d49909b303182
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bfeb102dc0496cead90ca751d94d72cad51c2c132095654cdc0baad049f54909b284d928be53f248dee7d3b74452f0a1181c018b11714b965b8de53736c7f3f5
|
7
|
+
data.tar.gz: a9946e66a973528c32dd77ee778da708a62c3ea6095e9bc0a37cf661698f0add59cb69cb8f9a433380442a5a21a3d6c545a4e066d442ae0453c203d34d3d5654
|
data/lib/sassc/embedded.rb
CHANGED
@@ -317,7 +317,7 @@ module SassC
|
|
317
317
|
end
|
318
318
|
|
319
319
|
canonical_url = "#{Protocol::IMPORT}#{next_id}"
|
320
|
-
@importer_results[canonical_url] = imports_to_native(imports)
|
320
|
+
@importer_results[canonical_url] = imports_to_native(imports, from_import)
|
321
321
|
canonical_url
|
322
322
|
elsif url.start_with?(Protocol::LOADED)
|
323
323
|
canonical_url = Protocol::LOADED
|
@@ -371,7 +371,7 @@ module SassC
|
|
371
371
|
end
|
372
372
|
end
|
373
373
|
|
374
|
-
def imports_to_native(imports)
|
374
|
+
def imports_to_native(imports, from_import)
|
375
375
|
{
|
376
376
|
contents: imports.flat_map do |import|
|
377
377
|
id = next_id
|
@@ -392,9 +392,10 @@ module SassC
|
|
392
392
|
}
|
393
393
|
end
|
394
394
|
end
|
395
|
+
at_rule = from_import ? '@import' : '@forward'
|
395
396
|
[
|
396
|
-
"
|
397
|
-
"
|
397
|
+
"#{at_rule} \"#{Protocol::IMPORT}#{id}\";",
|
398
|
+
"#{at_rule} \"#{Protocol::LOADED}#{id}\";"
|
398
399
|
]
|
399
400
|
end.join("\n"),
|
400
401
|
syntax: :scss
|
metadata
CHANGED
@@ -1,15 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sassc-embedded
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.64.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- なつき
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-08-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: base64
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0.1'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0.1'
|
13
27
|
- !ruby/object:Gem::Dependency
|
14
28
|
name: sassc
|
15
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -30,14 +44,14 @@ dependencies:
|
|
30
44
|
requirements:
|
31
45
|
- - "~>"
|
32
46
|
- !ruby/object:Gem::Version
|
33
|
-
version: '1.
|
47
|
+
version: '1.64'
|
34
48
|
type: :runtime
|
35
49
|
prerelease: false
|
36
50
|
version_requirements: !ruby/object:Gem::Requirement
|
37
51
|
requirements:
|
38
52
|
- - "~>"
|
39
53
|
- !ruby/object:Gem::Version
|
40
|
-
version: '1.
|
54
|
+
version: '1.64'
|
41
55
|
description: An embedded sass shim for SassC.
|
42
56
|
email:
|
43
57
|
- i@ntk.me
|
@@ -54,8 +68,8 @@ homepage: https://github.com/ntkme/sassc-embedded-shim-ruby
|
|
54
68
|
licenses:
|
55
69
|
- MIT
|
56
70
|
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.
|
71
|
+
documentation_uri: https://rubydoc.info/gems/sassc-embedded/1.64.0
|
72
|
+
source_code_uri: https://github.com/ntkme/sassc-embedded-shim-ruby/tree/v1.64.0
|
59
73
|
funding_uri: https://github.com/sponsors/ntkme
|
60
74
|
post_install_message:
|
61
75
|
rdoc_options: []
|
@@ -65,7 +79,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
65
79
|
requirements:
|
66
80
|
- - ">="
|
67
81
|
- !ruby/object:Gem::Version
|
68
|
-
version:
|
82
|
+
version: 3.0.0
|
69
83
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
70
84
|
requirements:
|
71
85
|
- - ">="
|