sass-embedded 1.64.0-aarch64-linux-android → 1.64.1-aarch64-linux-android

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: f91d273889a61f1273c73989dd9939758d7d70b4010013079bf60c3ec4d9c7ff
4
- data.tar.gz: 1d668f8b5828358086c782da95d9f717945e8415a73cbd67f0c2b58e18d87ffd
3
+ metadata.gz: 6885e6e4503d7e6dbddb2bdfc6e94a2edf6084d35a7fe95a2d6de8983b6333b9
4
+ data.tar.gz: 1c4335034a379fd521e156d38a3c4796faf59838d56e2e88671eb2d5f18def18
5
5
  SHA512:
6
- metadata.gz: d7c9d6fe54755c690eda0e8d7ce5e319192e48aad70b92a431dad0bfc52470904ea0aff7c9692ce5d167878a004b2c017b5b053bd00021ba24119b3a81035879
7
- data.tar.gz: dddeae655210ad2f2ee265333ac0ec6ffe1f239c2f452af5979cfebc8d127f0bd7920cdd79c551d3d29fe01b69bd1c3ae489528412e908af3c353a564c251017
6
+ metadata.gz: 8681fc8baabf49e2743faa55fddc1225c4e13577d24d7707bed167d2e3518867a6e73dc5c9443661f4dc5ea8172eb7e14626560498daa9d4f7a58d4811d13121
7
+ data.tar.gz: 4964a72dd5f2134567e345a42ee9bbde9c1157b687588605a7d38d8585b86ee1422c6eb6ca9a9e04ef24fbbeed716a375acd7222d62a056e627e591dc9e61b75
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: aarch64-linux-android
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: []