oidc-test 0.8.2 → 0.8.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/Rakefile +3 -3
- data/lib/oidc/test/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e673b0449151d7331e3357c73d31d235c185de38348bc63403cd4361ee7c0569
|
4
|
+
data.tar.gz: 8f71c7fefe9c3c7d5bbeb7b7852cc3e4432d652af2789c6076d2974828ba39a3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d144857be044f317d34fc84dc7cea0e08f625dba9075fb1f708dbff71e3a83c6b70401de870051868dfd2d8352f40ebd9d8498fc20ab61d7be7c3081dc92a632
|
7
|
+
data.tar.gz: 1aaf3120fc6f3643e0fd791c8b7c7f757d4cfc30cec467941e261d4150599acc15355e6d839acd625bf3802be9ccea62df24a2b9725c0576a3b8c4d753cd1d1d
|
data/Gemfile.lock
CHANGED
data/Rakefile
CHANGED
@@ -41,11 +41,11 @@ module Bundler
|
|
41
41
|
end
|
42
42
|
|
43
43
|
def attest
|
44
|
-
ruby "-rnet/http", "-rsigstore/signer", "-e", <<~RUBY
|
45
|
-
file =
|
44
|
+
sh [Gem.ruby, "-rbundler/setup", "-rnet/http", "-rsigstore", "-rsigstore/signer", "-e", <<~RUBY, @build_gem_path]
|
45
|
+
file = ARGV.first
|
46
46
|
jwt = Net::HTTP.get_response(
|
47
47
|
URI(ENV.fetch("ACTIONS_ID_TOKEN_REQUEST_URL") + "&audience=sigstore"),
|
48
|
-
{ "Authorization" => "bearer
|
48
|
+
{ "Authorization" => "bearer \#{ENV.fetch("ACTIONS_ID_TOKEN_REQUEST_TOKEN")}" },
|
49
49
|
&:value
|
50
50
|
).body.then { JSON.parse(_1).fetch("value") }
|
51
51
|
|
data/lib/oidc/test/version.rb
CHANGED