sass-embedded 1.86.0 → 1.86.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/ext/sass/Rakefile +5 -2
- data/ext/sass/package.json +1 -1
- data/lib/sass/embedded/version.rb +1 -1
- data/lib/sass/value/number.rb +4 -6
- 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: 6b9c82bc6001510bc783ded43ac2b2b2166d97cce21c68a1e0fc195480f72678
|
4
|
+
data.tar.gz: 932622ad743f9d08e5a95840d4ee19ee1264ed5a569058774a6c0a0139ea77b0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 52f4487d32c162f4a692d6413d4173fbed447d82d60c78eeba8947ae49aaf8d83eb811f982e532569b889d36bae86f76ed0b1bb441d88a77639e9f9bf2bbfb77
|
7
|
+
data.tar.gz: aa5c1e8fc4b2d6f46e53f287cb3cb383c2da55655f0d5f6a71859227bccb1fe26e2c466b5a8248e58ba62dfa304629eb4bac08d5c95e42fd8b58c8ae308881bd
|
data/ext/sass/Rakefile
CHANGED
@@ -50,6 +50,9 @@ file 'dart-sass/sass' do
|
|
50
50
|
end
|
51
51
|
rescue StandardError
|
52
52
|
archive = fetch(SassConfig.dart_sass)
|
53
|
+
if SassConfig.development? && system('gh', 'auth', 'status', '--hostname', 'github.com', %i[out err] => File::NULL)
|
54
|
+
sh 'gh', 'attestation', 'verify', archive, '--hostname', 'github.com', '--repo', 'sass/dart-sass'
|
55
|
+
end
|
53
56
|
unarchive archive
|
54
57
|
rm archive
|
55
58
|
end
|
@@ -442,10 +445,10 @@ module Platform
|
|
442
445
|
begin
|
443
446
|
Rake::Task['true'].invoke unless File.exist?('true')
|
444
447
|
rescue NotImplementedError
|
445
|
-
|
448
|
+
return false
|
446
449
|
end
|
447
450
|
|
448
|
-
system('./true') == true
|
451
|
+
system('./true', %i[out err] => File::NULL) == true
|
449
452
|
end
|
450
453
|
|
451
454
|
def host_os(root = compat_linux_emul_path)
|
data/ext/sass/package.json
CHANGED
data/lib/sass/value/number.rb
CHANGED
@@ -275,17 +275,15 @@ module Sass
|
|
275
275
|
name: nil,
|
276
276
|
other: nil,
|
277
277
|
other_name: nil)
|
278
|
-
|
279
|
-
|
280
|
-
|
278
|
+
unless other.nil? ||
|
279
|
+
(other.numerator_units == new_numerator_units && other.denominator_units == new_denominator_units)
|
280
|
+
raise Sass::ScriptError,
|
281
|
+
"Expected #{other} to have units #{unit_string(new_numerator_units, new_denominator_units).inspect}"
|
281
282
|
end
|
282
283
|
|
283
284
|
return value if numerator_units == new_numerator_units && denominator_units == new_denominator_units
|
284
285
|
|
285
|
-
return value if numerator_units == new_numerator_units && denominator_units == new_denominator_units
|
286
|
-
|
287
286
|
other_unitless = new_numerator_units.empty? && new_denominator_units.empty?
|
288
|
-
|
289
287
|
return value if coerce_unitless && (unitless? || other_unitless)
|
290
288
|
|
291
289
|
compatibility_error = lambda {
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sass-embedded
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.86.
|
4
|
+
version: 1.86.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- なつき
|
8
8
|
bindir: exe
|
9
9
|
cert_chain: []
|
10
|
-
date: 2025-03-
|
10
|
+
date: 2025-03-31 00:00:00.000000000 Z
|
11
11
|
dependencies:
|
12
12
|
- !ruby/object:Gem::Dependency
|
13
13
|
name: rake
|
@@ -124,8 +124,8 @@ licenses:
|
|
124
124
|
- MIT
|
125
125
|
metadata:
|
126
126
|
bug_tracker_uri: https://github.com/sass-contrib/sass-embedded-host-ruby/issues
|
127
|
-
documentation_uri: https://rubydoc.info/gems/sass-embedded/1.86.
|
128
|
-
source_code_uri: https://github.com/sass-contrib/sass-embedded-host-ruby/tree/v1.86.
|
127
|
+
documentation_uri: https://rubydoc.info/gems/sass-embedded/1.86.1
|
128
|
+
source_code_uri: https://github.com/sass-contrib/sass-embedded-host-ruby/tree/v1.86.1
|
129
129
|
funding_uri: https://github.com/sponsors/ntkme
|
130
130
|
rubygems_mfa_required: 'true'
|
131
131
|
rdoc_options: []
|