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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 34031aeea257c96619288ac2e9922e05d4de708c27e0e100ba40b9249ada2645
4
- data.tar.gz: 906c7e379a79de64501d5cf159931c088c6130257a101fa3f5eaf0f2491adf43
3
+ metadata.gz: 6b9c82bc6001510bc783ded43ac2b2b2166d97cce21c68a1e0fc195480f72678
4
+ data.tar.gz: 932622ad743f9d08e5a95840d4ee19ee1264ed5a569058774a6c0a0139ea77b0
5
5
  SHA512:
6
- metadata.gz: fab702e18c1d12c8c4dfdc775b853245bc6cae7b69af711f8de1d928614bead139ba1917f92e875e9f6df4d13fe0e741ca62e15872a50b738e6d901f141c2484
7
- data.tar.gz: c56c8f8b18b0c4caa01aafaf945704d0ef34199bf1f919512a36b5ba0b0362d8818e44c12aa9b9aa8f333d72bbec2e46d4b8ffd58716f5c81cee5c8dad93a1c1
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
- # do nothing
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)
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "dependencies": {
3
- "sass": "1.86.0"
3
+ "sass": "1.86.1"
4
4
  }
5
5
  }
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Sass
4
4
  module Embedded
5
- VERSION = '1.86.0'
5
+ VERSION = '1.86.1'
6
6
  end
7
7
  end
@@ -275,17 +275,15 @@ module Sass
275
275
  name: nil,
276
276
  other: nil,
277
277
  other_name: nil)
278
- if other && (other.numerator_units != new_denominator_units && other.denominator_units != new_denominator_units)
279
- raise Sass::ScriptError, "Expected #{other} to have units #{unit_string(new_numerator_units,
280
- new_denominator_units).inspect}"
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.0
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-17 00:00:00.000000000 Z
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.0
128
- source_code_uri: https://github.com/sass-contrib/sass-embedded-host-ruby/tree/v1.86.0
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: []