sass-embedded 1.0.0 → 1.0.1
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/ext/sass/extconf.rb +7 -11
- data/lib/sass/embedded/host/function_registry.rb +1 -1
- data/lib/sass/embedded/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5f5ecc805dbe549bd19b1e5777bd16500bcd71fc56def8fe364f542c7bb731e0
|
|
4
|
+
data.tar.gz: 14c15309ebc1aff54a5b9df78cbd5a66e7321c22e4229357724945aa2a0d3647
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e4d372b8b307ff60d2f21c6b6bf1674833587c0945ff13e6435dae761fb4bfa0e75233f5dfe88aa47d97b7d4cea483ffdc55e71df92ae9d472d29a94c4eb4f21
|
|
7
|
+
data.tar.gz: 4ecd5d19ca66c2697e0a2cdbfccbb550ab0cb414829d542e71b7f28c77122973f5dc508e2aec3c214aaad777c674cc72a1a8a0b5b90b256728ef20623e16df53
|
data/ext/sass/extconf.rb
CHANGED
|
@@ -106,15 +106,15 @@ module Sass
|
|
|
106
106
|
|
|
107
107
|
def fetch(uri_s)
|
|
108
108
|
uri = URI.parse(uri_s)
|
|
109
|
-
path =
|
|
109
|
+
path = URI::DEFAULT_PARSER.unescape(uri.path)
|
|
110
|
+
dest = File.absolute_path(File.basename(path), __dir__)
|
|
110
111
|
if uri.is_a?(URI::File) || uri.instance_of?(URI::Generic)
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
FileUtils.copy_file(source, path)
|
|
112
|
+
puts "cp -- #{path} #{dest}"
|
|
113
|
+
FileUtils.copy_file(path, dest)
|
|
114
114
|
elsif uri.respond_to? :open
|
|
115
|
-
puts "curl -fsSLo #{
|
|
115
|
+
puts "curl -fsSLo #{dest} -- #{uri}"
|
|
116
116
|
uri.open do |stream|
|
|
117
|
-
File.binwrite(
|
|
117
|
+
File.binwrite(dest, stream.read)
|
|
118
118
|
end
|
|
119
119
|
else
|
|
120
120
|
raise
|
|
@@ -123,10 +123,6 @@ module Sass
|
|
|
123
123
|
raise "Failed to fetch #{uri_s}"
|
|
124
124
|
end
|
|
125
125
|
|
|
126
|
-
def uri_parser
|
|
127
|
-
@uri_parser ||= URI::Parser.new({ RESERVED: ';/?:@&=+$,' })
|
|
128
|
-
end
|
|
129
|
-
|
|
130
126
|
def default_sass_embedded
|
|
131
127
|
repo = 'sass/dart-sass-embedded'
|
|
132
128
|
|
|
@@ -214,7 +210,7 @@ module Sass
|
|
|
214
210
|
|
|
215
211
|
ext = 'zip'
|
|
216
212
|
|
|
217
|
-
"https://github.com/#{repo}/releases/download/#{tag_name}/protoc-#{tag_name
|
|
213
|
+
"https://github.com/#{repo}/releases/download/#{tag_name}/protoc-#{tag_name.delete_prefix('v')}-#{os_arch}.#{ext}"
|
|
218
214
|
end
|
|
219
215
|
|
|
220
216
|
def default_sass_embedded_protocol
|
|
@@ -49,7 +49,7 @@ module Sass
|
|
|
49
49
|
|
|
50
50
|
success = value_protofier.to_proto(get(function_call_request).call(arguments))
|
|
51
51
|
accessed_argument_lists = arguments
|
|
52
|
-
.
|
|
52
|
+
.select do |argument|
|
|
53
53
|
argument.is_a?(Sass::Value::ArgumentList) && argument.instance_eval do
|
|
54
54
|
@keywords_accessed
|
|
55
55
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: sass-embedded
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- なつき
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2022-02-
|
|
11
|
+
date: 2022-02-27 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: google-protobuf
|
|
@@ -162,8 +162,8 @@ homepage: https://github.com/ntkme/sass-embedded-host-ruby
|
|
|
162
162
|
licenses:
|
|
163
163
|
- MIT
|
|
164
164
|
metadata:
|
|
165
|
-
documentation_uri: https://www.rubydoc.info/gems/sass-embedded/1.0.
|
|
166
|
-
source_code_uri: https://github.com/ntkme/sass-embedded-host-ruby/tree/v1.0.
|
|
165
|
+
documentation_uri: https://www.rubydoc.info/gems/sass-embedded/1.0.1
|
|
166
|
+
source_code_uri: https://github.com/ntkme/sass-embedded-host-ruby/tree/v1.0.1
|
|
167
167
|
funding_uri: https://github.com/sponsors/ntkme
|
|
168
168
|
post_install_message:
|
|
169
169
|
rdoc_options: []
|