sassc-embedded 1.68.4 → 1.68.6

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: df137dce16ba36c3c08123bcc7640689e241b9639651336521d1a7cc2b132866
4
- data.tar.gz: 0b5a036057c957816770fcf37945e0aa7138ed1e47628a8ee25cb3361cacef99
3
+ metadata.gz: 9b6364993b6000eb430dfe38d63a8741e4408715faf19310bf427aee02c694be
4
+ data.tar.gz: c8442f00971e028dbc48c6137236c96df9d1cb72c0e97963e2d7479b5756ecb6
5
5
  SHA512:
6
- metadata.gz: 598c352f1ef7cb2c0c50462cc415b7b64b9be75b8ce207636ae308678c2fe67084461baed878d8928fe417df810908fbfa8ca60d2aa9eef6002673bb270161fa
7
- data.tar.gz: a0ad7341bbf03fb8177aa4285f1b7c6c9aa1ebf7a1193f90fc32560a02c8c4616c143f7fb122f483fd30e46b1f8636e34bf59113ec16f4b5da849f085efddeb0
6
+ metadata.gz: 0faf40a82e4496e9d8ffa9fd4117a06f30984199b061e7ad564bf7bcc66c67ea6ead4ae95275badd92a64826c8e5b553b34b70ddc6c43a756de294bdb154963c
7
+ data.tar.gz: 9e7da86f55f99a1a3daf226074e7b1926473dbe06e56280c8f138d86f6b43889c0fba2cfcc5b7573b24a3e13bb6301dd15f0469d8c0b68c57c416617a35b54b9
@@ -2,6 +2,6 @@
2
2
 
3
3
  module SassC
4
4
  module Embedded
5
- VERSION = '1.68.4'
5
+ VERSION = '1.68.6'
6
6
  end
7
7
  end
@@ -8,6 +8,10 @@ require 'uri'
8
8
 
9
9
  require_relative 'embedded/version'
10
10
 
11
+ module Sass
12
+ Compiler = Embedded unless defined?(::Sass::Compiler)
13
+ end
14
+
11
15
  module SassC
12
16
  class Engine
13
17
  def render
@@ -15,7 +19,7 @@ module SassC
15
19
 
16
20
  base_importer = import_handler.setup(nil)
17
21
 
18
- sass = ::Sass::Embedded.new
22
+ sass = ::Sass::Compiler.new
19
23
 
20
24
  result = sass.compile_string(
21
25
  @template,
@@ -592,7 +596,7 @@ module SassC
592
596
  return if path.nil?
593
597
 
594
598
  path = "/#{path}" unless path.start_with?('/')
595
- URI::File.build([nil, escape(path)]).to_s
599
+ "file://#{escape(path)}"
596
600
  end
597
601
  end
598
602
 
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
4
+ version: 1.68.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - なつき
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-11-29 00:00:00.000000000 Z
11
+ date: 2023-12-02 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.4
81
+ source_code_uri: https://github.com/ntkme/sassc-embedded-shim-ruby/tree/v1.68.6
82
82
  funding_uri: https://github.com/sponsors/ntkme
83
83
  post_install_message:
84
84
  rdoc_options: []