sass-embedded 0.19.1 → 0.19.2
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/sass/embedded/legacy.rb +8 -7
- data/lib/sass/embedded/version.rb +1 -1
- 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: 827e324d735fe63938d7ddeb8d13c31577d9eec28971561bf6eae4cca7013eeb
|
|
4
|
+
data.tar.gz: b8536a68113173ca68edecca565ef7f4e13aba5a647902f0dd4d1411c2127380
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9c16c31eec049d62c380049e2b565fcb1d05c55205f3f5966b43b47fd058d1c0fffc959f178ed68b47465cbd0c152b355c8196912a3688ba01a2c5783a2b9719
|
|
7
|
+
data.tar.gz: 4d4836379db8fa44061bf92c49c2a49dcb76f0299fad42df56c8c4d59ce0babf66d8245f3c73e36b51a6f58062050e9bff8bccbfb5356a8b87b40329abcb1f41
|
data/lib/sass/embedded/legacy.rb
CHANGED
|
@@ -1,10 +1,5 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
-
require 'base64'
|
|
4
|
-
require 'json'
|
|
5
|
-
require 'pathname'
|
|
6
|
-
require 'uri'
|
|
7
|
-
|
|
8
3
|
# The Sass module.
|
|
9
4
|
#
|
|
10
5
|
# This communicates with Embedded Dart Sass using the Embedded Sass protocol.
|
|
@@ -87,10 +82,13 @@ module Sass
|
|
|
87
82
|
source_map_root: '',
|
|
88
83
|
functions: {},
|
|
89
84
|
importer: [])
|
|
90
|
-
start = now
|
|
91
|
-
|
|
92
85
|
raise ArgumentError, 'either data or file must be set' if file.nil? && data.nil?
|
|
93
86
|
|
|
87
|
+
require 'pathname'
|
|
88
|
+
require 'uri'
|
|
89
|
+
|
|
90
|
+
start = now
|
|
91
|
+
|
|
94
92
|
indent_type = parse_indent_type(indent_type)
|
|
95
93
|
indent_width = parse_indent_width(indent_width)
|
|
96
94
|
linefeed = parse_linefeed(linefeed)
|
|
@@ -217,6 +215,9 @@ module Sass
|
|
|
217
215
|
source_map_root:)
|
|
218
216
|
return if map.nil? || map.empty?
|
|
219
217
|
|
|
218
|
+
require 'base64'
|
|
219
|
+
require 'json'
|
|
220
|
+
|
|
220
221
|
map_data = JSON.parse(map)
|
|
221
222
|
|
|
222
223
|
map_data['sourceRoot'] = source_map_root
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: sass-embedded
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.19.
|
|
4
|
+
version: 0.19.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- なつき
|
|
@@ -163,8 +163,8 @@ homepage: https://github.com/ntkme/sass-embedded-host-ruby
|
|
|
163
163
|
licenses:
|
|
164
164
|
- MIT
|
|
165
165
|
metadata:
|
|
166
|
-
documentation_uri: https://www.rubydoc.info/gems/sass-embedded/0.19.
|
|
167
|
-
source_code_uri: https://github.com/ntkme/sass-embedded-host-ruby/tree/v0.19.
|
|
166
|
+
documentation_uri: https://www.rubydoc.info/gems/sass-embedded/0.19.2
|
|
167
|
+
source_code_uri: https://github.com/ntkme/sass-embedded-host-ruby/tree/v0.19.2
|
|
168
168
|
funding_uri: https://github.com/sponsors/ntkme
|
|
169
169
|
post_install_message:
|
|
170
170
|
rdoc_options: []
|