sass-embedded 1.64.0-x64-mingw-ucrt → 1.64.1-x64-mingw-ucrt

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: 0bc9be21a1257087009158740ae8cc47e5fd04c30470f7c933a17e72580f56cc
4
- data.tar.gz: 49e2e2202b83821b994ce863b81d3a3ada14bb85f610651dbf110825e97e7fc8
3
+ metadata.gz: 59264d58e971e464a3f796e620f82463483c102dbecbe96da6acfe1de59cddb9
4
+ data.tar.gz: ddc642b3dd90dc24e42f6755d31742b22c703c4cc04b24ce81c396f0d0817c25
5
5
  SHA512:
6
- metadata.gz: d123de28db975878ebb8f7e6d5524d42b76cdd8dc9a11b2ef2426a66df6fda9c212745d4ccb4bf28629a125640ad39e8fedca35f2b3bc297468c7f40a1cfc694
7
- data.tar.gz: 8e03e1e346cc95aae958a797b9a4c49ae6787059e17a5ddbe5b9a41054159f98501fb734512c18b5c2e7be371cfb87d335e6d52c259b5d893bd24b39a42b0c7e
6
+ metadata.gz: e896542adb52352f259daab192c1e1c75d861cd166101d585079881320e1559b580d45ed660ba05ec34d3034b65ab379b9465307a1c5f8a60550dc7b4298c5d0
7
+ data.tar.gz: 81ee813678cd3b26a60d6cd428b81e3b5e5d2afb81d34d4311904200c180119d1de294df2539efed0d6f6b46005a7c3d6ec1ca8aa2eaaf4e5a900557a65a229c
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: x64-mingw-ucrt
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: []