oidc-test 0.8.2 → 0.8.3
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: 87914b95eb313fcb3d71ad0e01f43c29f18784d80f77156dfbc532f46d406ee3
|
4
|
+
data.tar.gz: 400c03b1f4647b6c25aa0ceacc9f9d16768e2e14e2474c3793c11d0da2b23a83
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4d33ce7f3bc74640cf80deee2f626d976fe8346f2f511edd143631a0fb54890c25a4e81d30a1690fe4fc68eab04f096348530c6d1acb8f5ceeca157f8b57a63b
|
7
|
+
data.tar.gz: aa803ba0b9ccb737fc52a5608092fd61a85c22b9165f2870ca3d95110f0dcecd1f918cd3f1733759b944010642cf17cb8d22e68cff0cfe353d4e9176f5961d4c
|
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, "-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