sassc-embedded 1.68.3 → 1.68.4

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ebda8193661d3e610338c37843843a7437ba861a3bc75e44a83b0f2fc6490248
4
- data.tar.gz: fd67e61a4b5ddceb37c96f6c7793c9d2d6322612267f183fe09bd7fe71d278ab
3
+ metadata.gz: df137dce16ba36c3c08123bcc7640689e241b9639651336521d1a7cc2b132866
4
+ data.tar.gz: 0b5a036057c957816770fcf37945e0aa7138ed1e47628a8ee25cb3361cacef99
5
5
  SHA512:
6
- metadata.gz: 84d93ee23538b49add2e6ef11446cda4db188f974d742eb4982fb476daef8625471f679032c59195a4c894facc5394b4c04bcd16b7de82ea788516c71929ad9b
7
- data.tar.gz: 8b776a2fd9357e6b4b0e9b515903c0fbde759574058ef8cb88c7a98e146520fbf5e784b2561bd9d90c382c3ff7dc07d3bb852e5931f100b02648610aea5e84a2
6
+ metadata.gz: 598c352f1ef7cb2c0c50462cc415b7b64b9be75b8ce207636ae308678c2fe67084461baed878d8928fe417df810908fbfa8ca60d2aa9eef6002673bb270161fa
7
+ data.tar.gz: a0ad7341bbf03fb8177aa4285f1b7c6c9aa1ebf7a1193f90fc32560a02c8c4616c143f7fb122f483fd30e46b1f8636e34bf59113ec16f4b5da849f085efddeb0
@@ -2,6 +2,6 @@
2
2
 
3
3
  module SassC
4
4
  module Embedded
5
- VERSION = '1.68.3'
5
+ VERSION = '1.68.4'
6
6
  end
7
7
  end
@@ -15,7 +15,9 @@ module SassC
15
15
 
16
16
  base_importer = import_handler.setup(nil)
17
17
 
18
- result = ::Sass.compile_string(
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
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.3
4
+ version: 1.68.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - なつき
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-09-22 00:00:00.000000000 Z
11
+ date: 2023-11-29 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.3
81
+ source_code_uri: https://github.com/ntkme/sassc-embedded-shim-ruby/tree/v1.68.4
82
82
  funding_uri: https://github.com/sponsors/ntkme
83
83
  post_install_message:
84
84
  rdoc_options: []