sass-embedded 1.86.1 → 1.86.2
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 +11 -6
- data/ext/sass/package.json +1 -1
- 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: 0bf80d836969d228265f13d2ba7802830431c176bf130f787ba7a87c087d1b11
|
4
|
+
data.tar.gz: 9a07755706a60b33aa6aae80ae5c368c76a489925130738e1568e4e034eb2ded
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c38f21bd88814af9acece7cfb7cab6632c12b4c46e61fe44484b507fd2590a9b3796cf2fb416ad8fd2537e15ca93a90459628840282c3411cc524e648c44a4d9
|
7
|
+
data.tar.gz: 151029b0d619bb4ef9ff3ae090aff3e382117f0de1927bc7055021e5ad10f5a107d998f2bdc3d82663778ba870050c030ac51b0008c044b25cf749626374dfdd
|
data/ext/sass/Rakefile
CHANGED
@@ -45,14 +45,13 @@ rescue NotImplementedError
|
|
45
45
|
end
|
46
46
|
|
47
47
|
file 'dart-sass/sass' do
|
48
|
-
gem_install 'sass-embedded', SassConfig.gem_version, SassConfig.gem_platform do |
|
49
|
-
|
48
|
+
gem_install 'sass-embedded', SassConfig.gem_version, SassConfig.gem_platform do |installer|
|
49
|
+
gh_attestation_verify(installer.gem, repo: 'sass-contrib/sass-embedded-host-ruby')
|
50
|
+
mv File.absolute_path('ext/sass/dart-sass', installer.gem_dir), 'dart-sass'
|
50
51
|
end
|
51
52
|
rescue StandardError
|
52
53
|
archive = fetch(SassConfig.dart_sass)
|
53
|
-
|
54
|
-
sh 'gh', 'attestation', 'verify', archive, '--hostname', 'github.com', '--repo', 'sass/dart-sass'
|
55
|
-
end
|
54
|
+
gh_attestation_verify(archive, repo: 'sass/dart-sass')
|
56
55
|
unarchive archive
|
57
56
|
rm archive
|
58
57
|
end
|
@@ -424,10 +423,16 @@ module FileUtils
|
|
424
423
|
installer.install
|
425
424
|
end
|
426
425
|
|
427
|
-
yield installer
|
426
|
+
yield installer
|
428
427
|
ensure
|
429
428
|
rm_rf install_dir unless Rake::FileUtilsExt.nowrite_flag
|
430
429
|
end
|
430
|
+
|
431
|
+
def gh_attestation_verify(path, repo:, hostname: 'github.com')
|
432
|
+
if SassConfig.development? && system('gh', 'auth', 'status', '--hostname', hostname, %i[out err] => File::NULL)
|
433
|
+
sh 'gh', 'attestation', 'verify', path, '--hostname', hostname, '--repo', repo
|
434
|
+
end
|
435
|
+
end
|
431
436
|
end
|
432
437
|
|
433
438
|
# The {Platform} module.
|
data/ext/sass/package.json
CHANGED
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.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- なつき
|
8
8
|
bindir: exe
|
9
9
|
cert_chain: []
|
10
|
-
date: 2025-03
|
10
|
+
date: 2025-04-03 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.2
|
128
|
+
source_code_uri: https://github.com/sass-contrib/sass-embedded-host-ruby/tree/v1.86.2
|
129
129
|
funding_uri: https://github.com/sponsors/ntkme
|
130
130
|
rubygems_mfa_required: 'true'
|
131
131
|
rdoc_options: []
|