sassc-embedded 1.68.3 → 1.68.5
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 +6 -2
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 535cc6e2ea596f2cc432e3b35b2343275a3b7834c70247d6f73f3e63ca6f81d3
|
|
4
|
+
data.tar.gz: e2dde36180d8dd2b65917c8f1ff6f012ba7d121abebd439a3108d8bffe1783cb
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 86ffffad006834ae4d0e4bbeec35c644416bb36d68575ddc317f4145d2cbb01841f6bfd80f860bd7f7745601f6b94fab119ea0ee8f7b8d70fa0616539dc15e29
|
|
7
|
+
data.tar.gz: 8a3c341f113349b604ca034108754f9d875a2e0a54bd2e9173b29cd6b24d881ddf2ad51208fd36ddfa765656ce7c2cbac38a2f64bf807b9422634eb64ad1d16f
|
data/lib/sassc/embedded.rb
CHANGED
|
@@ -15,7 +15,9 @@ module SassC
|
|
|
15
15
|
|
|
16
16
|
base_importer = import_handler.setup(nil)
|
|
17
17
|
|
|
18
|
-
|
|
18
|
+
sass = ::Sass::Embedded.new
|
|
19
|
+
|
|
20
|
+
result = sass.compile_string(
|
|
19
21
|
@template,
|
|
20
22
|
importer: base_importer,
|
|
21
23
|
load_paths: load_paths,
|
|
@@ -64,6 +66,8 @@ module SassC
|
|
|
64
66
|
URL.file_urls_to_relative_path(url, URL.path_to_file_url("#{Dir.pwd}/"))
|
|
65
67
|
end
|
|
66
68
|
raise SyntaxError.new(e.full_message, filename: path, line: line)
|
|
69
|
+
ensure
|
|
70
|
+
sass&.close
|
|
67
71
|
end
|
|
68
72
|
|
|
69
73
|
def dependencies
|
|
@@ -588,7 +592,7 @@ module SassC
|
|
|
588
592
|
return if path.nil?
|
|
589
593
|
|
|
590
594
|
path = "/#{path}" unless path.start_with?('/')
|
|
591
|
-
|
|
595
|
+
"file://#{escape(path)}"
|
|
592
596
|
end
|
|
593
597
|
end
|
|
594
598
|
|
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.68.
|
|
4
|
+
version: 1.68.5
|
|
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-11-30 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: sass-embedded
|
|
@@ -78,7 +78,7 @@ licenses:
|
|
|
78
78
|
- MIT
|
|
79
79
|
metadata:
|
|
80
80
|
documentation_uri: https://rubydoc.info/gems/sassc
|
|
81
|
-
source_code_uri: https://github.com/ntkme/sassc-embedded-shim-ruby/tree/v1.68.
|
|
81
|
+
source_code_uri: https://github.com/ntkme/sassc-embedded-shim-ruby/tree/v1.68.5
|
|
82
82
|
funding_uri: https://github.com/sponsors/ntkme
|
|
83
83
|
post_install_message:
|
|
84
84
|
rdoc_options: []
|