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 +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: 9b6364993b6000eb430dfe38d63a8741e4408715faf19310bf427aee02c694be
|
4
|
+
data.tar.gz: c8442f00971e028dbc48c6137236c96df9d1cb72c0e97963e2d7479b5756ecb6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0faf40a82e4496e9d8ffa9fd4117a06f30984199b061e7ad564bf7bcc66c67ea6ead4ae95275badd92a64826c8e5b553b34b70ddc6c43a756de294bdb154963c
|
7
|
+
data.tar.gz: 9e7da86f55f99a1a3daf226074e7b1926473dbe06e56280c8f138d86f6b43889c0fba2cfcc5b7573b24a3e13bb6301dd15f0469d8c0b68c57c416617a35b54b9
|
data/lib/sassc/embedded.rb
CHANGED
@@ -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::
|
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
|
-
|
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
|
+
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
|
+
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.
|
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: []
|