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

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: 5b645011499848eb6e705840e626ac06cb905065ca6e3da57e3bcf7dd5e9668a
4
- data.tar.gz: 99e905cc87446ddac3bd91856713e1a7d1d940f0dd8c55aa67687df44c7fd675
3
+ metadata.gz: c839195fe644f92d896813657012e24af67c9a28cf440b3ba5f299566414cbac
4
+ data.tar.gz: 0566bf664065ae3c52674e2f6aed4d8b693fcc3c64a507b2a243c26ac8fb3037
5
5
  SHA512:
6
- metadata.gz: fe3cd34c50ca127bedc0a6fde5a587bd950c8458af2d1c4d367fa82f855e66fde71568d2f72c0b8580f9c0591dbc4b54b7700484dae702a1356b7442351fba67
7
- data.tar.gz: d903c927406e5ba9581c19e936ee1d57d3e7a1fbe1e4498845c646dad296250ee8734c38ad050aea2b45359ac5ca707c1ba15676325d6308567d6cd066fd352f
6
+ metadata.gz: 54ae967769a2d98d2d4a000f505f33ccb9028448ae36d976608cbd37d48abe06d85aa2a0e18ba3d2cd47c14a90c6bded572a310a1a4c83fcb5e7a5235dc4ba44
7
+ data.tar.gz: 920fef415f45b8356eef40208d3f1a0f45b799934ce827b37fae666970faf594b92a588f01bf834f6ce1703977c2bf5fc98865d078378cdd88f2cfdcd7093ec2
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-gnueabihf
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: []