sass-embedded 1.64.0-arm-linux-androideabi → 1.64.1-arm-linux-androideabi

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: 7dbc8f8bc6cb5121080e27263e0c14d5428f208bc756d397fab360781d36adf3
4
- data.tar.gz: 83a1939efb38afe67f63e3b084cd9db6881df86e0145daebf3027c645785d149
3
+ metadata.gz: 2d64ba573289a74c5e468c276b4ff949ba821760d32372fd09bdb1e6fd479353
4
+ data.tar.gz: 2ad0e35147037218955b1c555d3fa435442803c6cdc51b9975f9882023dd2200
5
5
  SHA512:
6
- metadata.gz: e17821a551781b867bed676fee0de7049c227f7e69702d8f8e45d96cc696f97dc75d7c27865558eca8a7e17bc79318670caf107063950487920851cb518383da
7
- data.tar.gz: 0c2dc2cddd327adda1a2711f893af35c84790c52063a3d88a4bc77ac042fda69915bcc69aae0c9f74c1c193e7f16ce11b528c79f8a14e5570d89cad1ba9fe327
6
+ metadata.gz: 6dd096da025915d32f1dd36f9170606ba7a2f2c5e70547446998a1c38f0f7ebc790bf8ef5035c28d4f916e154a5fe08d9d9f4633585df42d2f5d998b354ea881
7
+ data.tar.gz: d32da1831ad45ad60d62c1a4ae2a0d27e263404e99dbc418119fcb91f9c8f13bcd9ecc895de0a1e2c6ada751b707c4d98d4fc62fb91f685877f9938035575784
Binary file
@@ -230,39 +230,11 @@ module Sass
230
230
  end
231
231
 
232
232
  def from_proto(obj)
233
- case obj.name
234
- when 'calc'
235
- if obj.arguments.length != 1
236
- raise Sass::ScriptError,
237
- 'Value.Calculation.arguments must have exactly one argument for calc().'
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
 
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Sass
4
4
  class Embedded
5
- VERSION = '1.64.0'
5
+ VERSION = '1.64.1'
6
6
  end
7
7
  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.64.0
4
+ version: 1.64.1
5
5
  platform: arm-linux-androideabi
6
6
  authors:
7
7
  - なつき
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-07-20 00:00:00.000000000 Z
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.0
88
- source_code_uri: https://github.com/ntkme/sass-embedded-host-ruby/tree/v1.64.0
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: []