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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 04f405f2eab5a94aa9178413897d87911dacdfa138c67ba3316fc6c6a24bd152
4
- data.tar.gz: b1a9417381fd097c046b07d68ee11a4e3c9a8c9b7edb27ff586fa6ae4b65a062
3
+ metadata.gz: e673b0449151d7331e3357c73d31d235c185de38348bc63403cd4361ee7c0569
4
+ data.tar.gz: 8f71c7fefe9c3c7d5bbeb7b7852cc3e4432d652af2789c6076d2974828ba39a3
5
5
  SHA512:
6
- metadata.gz: 14e5d54d31e99764e6e3685b4b221a601df88dd597467a8920a6089407294a042a5a3c4dece640e9f4881f469b807309ab2564136a899438b855b3a01786a758
7
- data.tar.gz: c9b2b662e5a783f42337e6bc62e93b25a61a10aa0b862d70b733547fc4f51829a4378ad2b320f4d0d556e4d2a308c9341ed4569900f7d918dd1436dd72be6be0
6
+ metadata.gz: d144857be044f317d34fc84dc7cea0e08f625dba9075fb1f708dbff71e3a83c6b70401de870051868dfd2d8352f40ebd9d8498fc20ab61d7be7c3081dc92a632
7
+ data.tar.gz: 1aaf3120fc6f3643e0fd791c8b7c7f757d4cfc30cec467941e261d4150599acc15355e6d839acd625bf3802be9ccea62df24a2b9725c0576a3b8c4d753cd1d1d
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.4)
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, "-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 #{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.4"
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.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Giddins