sass-embedded 1.64.0 → 1.64.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ext/sass/Rakefile +3 -5
- data/ext/sass/package.json +1 -1
- data/lib/sass/embedded/host/value_protofier.rb +5 -33
- data/lib/sass/embedded/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a68d01ce84fe895e791cbeb7c16d1f639b2f200a03587323e1d16127c5e7aa4e
|
4
|
+
data.tar.gz: c5e2d7ab24d60cbcd7ef869e780fc3d4faa8e02b8b9e96e24b3d0c0e6d1edb5f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f9c522bdd956d144b2c663377880ae44565015b7a635a5152bd912fc3f4922a4d5774f53b80a2227fa14bb8d3322ada11fe69f1c4af58eed75254c40c8ced4c8
|
7
|
+
data.tar.gz: 79acffd39698f08ec8373a881a288f33ef209431ac19c78084daf5b4996d8743b7adc21d3365de879baffe192725e24df39c36bcfb0b24c1422218cfae205b59
|
data/ext/sass/Rakefile
CHANGED
@@ -413,10 +413,10 @@ module SassConfig
|
|
413
413
|
end
|
414
414
|
|
415
415
|
def gem_platform
|
416
|
-
platform = Gem::Platform.new("#{
|
416
|
+
platform = Gem::Platform.new("#{Platform::EMULATION || Platform::CPU}-#{RbConfig::CONFIG['host_os']}")
|
417
417
|
case Platform::OS
|
418
418
|
when 'darwin'
|
419
|
-
Gem::Platform.new([
|
419
|
+
Gem::Platform.new([RbConfig::CONFIG['host_cpu'], platform.os])
|
420
420
|
when 'linux'
|
421
421
|
if platform.version&.start_with?('gnu')
|
422
422
|
platform
|
@@ -424,11 +424,9 @@ module SassConfig
|
|
424
424
|
Gem::Platform.new([platform.cpu, platform.os, "gnu#{platform.version}"])
|
425
425
|
end
|
426
426
|
when 'windows'
|
427
|
-
case
|
427
|
+
case platform.cpu
|
428
428
|
when 'x86_64'
|
429
429
|
Gem::Platform.new('x64-mingw32')
|
430
|
-
when 'i386'
|
431
|
-
Gem::Platform.new('x86-mingw32')
|
432
430
|
else
|
433
431
|
Gem::Platform.new([platform.cpu, 'mingw32'])
|
434
432
|
end
|
data/ext/sass/package.json
CHANGED
@@ -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: ruby
|
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
|
@@ -98,8 +98,8 @@ homepage: https://github.com/ntkme/sass-embedded-host-ruby
|
|
98
98
|
licenses:
|
99
99
|
- MIT
|
100
100
|
metadata:
|
101
|
-
documentation_uri: https://rubydoc.info/gems/sass-embedded/1.64.
|
102
|
-
source_code_uri: https://github.com/ntkme/sass-embedded-host-ruby/tree/v1.64.
|
101
|
+
documentation_uri: https://rubydoc.info/gems/sass-embedded/1.64.1
|
102
|
+
source_code_uri: https://github.com/ntkme/sass-embedded-host-ruby/tree/v1.64.1
|
103
103
|
funding_uri: https://github.com/sponsors/ntkme
|
104
104
|
post_install_message:
|
105
105
|
rdoc_options: []
|