sass-embedded 1.64.0-x86_64-linux-musl → 1.64.1-x86_64-linux-musl
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b09565ec659aedeff4d8b769ce03985cd35723eddb2874b3861895e2df25c5a6
|
4
|
+
data.tar.gz: 47da25016bb314568a1ca8dec2ec0d38d13d94bd1f50bfecc80f562ad6888f4e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fc1a74a0e0d68ae5f13336902256a0385e0489cb4d789f3ffd0c18ffc8a9d4de94d7d6c7141a99509856b2a802c8dbbffbf1923aabf8a7c6222bee035fff3d9b
|
7
|
+
data.tar.gz: 1b852d3fc36e80fb5c82f14f7d7144553c0fa3aa795ea9a149b3674c6997026990dd7316ea1c2591a1b4a45223fba3020d41160bb7d6bfc7a29d8903778d6ad4
|
Binary file
|
@@ -230,39 +230,11 @@ module Sass
|
|
230
230
|
end
|
231
231
|
|
232
232
|
def from_proto(obj)
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
end
|
239
|
-
|
240
|
-
Sass::Value::Calculation.calc(*obj.arguments.map { |argument| CalculationValue.from_proto(argument) })
|
241
|
-
when 'clamp'
|
242
|
-
if obj.arguments.length != 3
|
243
|
-
raise Sass::ScriptError,
|
244
|
-
'Value.Calculation.arguments must have exactly 3 arguments for clamp().'
|
245
|
-
end
|
246
|
-
|
247
|
-
Sass::Value::Calculation.clamp(*obj.arguments.map { |argument| CalculationValue.from_proto(argument) })
|
248
|
-
when 'min'
|
249
|
-
if obj.arguments.empty?
|
250
|
-
raise Sass::ScriptError,
|
251
|
-
'Value.Calculation.arguments must have at least 1 argument for min().'
|
252
|
-
end
|
253
|
-
|
254
|
-
Sass::Value::Calculation.min(obj.arguments.map { |argument| CalculationValue.from_proto(argument) })
|
255
|
-
when 'max'
|
256
|
-
if obj.arguments.empty?
|
257
|
-
raise Sass::ScriptError,
|
258
|
-
'Value.Calculation.arguments must have at least 1 argument for max().'
|
259
|
-
end
|
260
|
-
|
261
|
-
Sass::Value::Calculation.max(obj.arguments.map { |argument| CalculationValue.from_proto(argument) })
|
262
|
-
else
|
263
|
-
raise Sass::ScriptError,
|
264
|
-
"Value.Calculation.name #{calculation.name.inspect} is not a recognized calculation type."
|
265
|
-
end
|
233
|
+
Sass::Value::Calculation.send(
|
234
|
+
:new,
|
235
|
+
obj.name,
|
236
|
+
obj.arguments.map { |argument| CalculationValue.from_proto(argument) }
|
237
|
+
)
|
266
238
|
end
|
267
239
|
end
|
268
240
|
|
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.64.
|
4
|
+
version: 1.64.1
|
5
5
|
platform: x86_64-linux-musl
|
6
6
|
authors:
|
7
7
|
- なつき
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-07-
|
11
|
+
date: 2023-07-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-protobuf
|
@@ -84,8 +84,8 @@ homepage: https://github.com/ntkme/sass-embedded-host-ruby
|
|
84
84
|
licenses:
|
85
85
|
- MIT
|
86
86
|
metadata:
|
87
|
-
documentation_uri: https://rubydoc.info/gems/sass-embedded/1.64.
|
88
|
-
source_code_uri: https://github.com/ntkme/sass-embedded-host-ruby/tree/v1.64.
|
87
|
+
documentation_uri: https://rubydoc.info/gems/sass-embedded/1.64.1
|
88
|
+
source_code_uri: https://github.com/ntkme/sass-embedded-host-ruby/tree/v1.64.1
|
89
89
|
funding_uri: https://github.com/sponsors/ntkme
|
90
90
|
post_install_message:
|
91
91
|
rdoc_options: []
|