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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 04f405f2eab5a94aa9178413897d87911dacdfa138c67ba3316fc6c6a24bd152
4
- data.tar.gz: b1a9417381fd097c046b07d68ee11a4e3c9a8c9b7edb27ff586fa6ae4b65a062
3
+ metadata.gz: 87914b95eb313fcb3d71ad0e01f43c29f18784d80f77156dfbc532f46d406ee3
4
+ data.tar.gz: 400c03b1f4647b6c25aa0ceacc9f9d16768e2e14e2474c3793c11d0da2b23a83
5
5
  SHA512:
6
- metadata.gz: 14e5d54d31e99764e6e3685b4b221a601df88dd597467a8920a6089407294a042a5a3c4dece640e9f4881f469b807309ab2564136a899438b855b3a01786a758
7
- data.tar.gz: c9b2b662e5a783f42337e6bc62e93b25a61a10aa0b862d70b733547fc4f51829a4378ad2b320f4d0d556e4d2a308c9341ed4569900f7d918dd1436dd72be6be0
6
+ metadata.gz: 4d33ce7f3bc74640cf80deee2f626d976fe8346f2f511edd143631a0fb54890c25a4e81d30a1690fe4fc68eab04f096348530c6d1acb8f5ceeca157f8b57a63b
7
+ data.tar.gz: aa803ba0b9ccb737fc52a5608092fd61a85c22b9165f2870ca3d95110f0dcecd1f918cd3f1733759b944010642cf17cb8d22e68cff0cfe353d4e9176f5961d4c
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- oidc-test (0.8.2)
4
+ oidc-test (0.8.3)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
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 = @build_gem_path
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 #{ENV.fetch("ACTIONS_ID_TOKEN_REQUEST_TOKEN")}" },
48
+ { "Authorization" => "bearer \#{ENV.fetch("ACTIONS_ID_TOKEN_REQUEST_TOKEN")}" },
49
49
  &:value
50
50
  ).body.then { JSON.parse(_1).fetch("value") }
51
51
 
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Oidc
4
4
  module Test
5
- VERSION = "0.8.2"
5
+ VERSION = "0.8.3"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: oidc-test
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.2
4
+ version: 0.8.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Giddins