oidc-test 0.8.8 → 0.8.10

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 496337da2ce673d73e4841abccb1925eb7ea60eee5ffe62dec4f5486b9671ea4
4
- data.tar.gz: d33a7d33ae31ed6f882e44a2881a11572b0b05b4695d10cc01debed60ad39ef0
3
+ metadata.gz: 40ac5ec0e13d820a231b1c1bf56721406b590e4ca981dac0993e1777abee57a9
4
+ data.tar.gz: fddda91ad0a07e2c55e7f9520e731067bc431057ae27826f66ceda0376990a26
5
5
  SHA512:
6
- metadata.gz: 48aec50b7c7fe8e8d67e39936fae494b69ff33ccb4ee1a0889f4107615408c04e31425f5e0f24d930cf7ff77929c76d118f185a9a638b5b3a08c209514b14b05
7
- data.tar.gz: 9977499099bba918f31ca31f3b7c10051e9d5cfb8deb527fd7c106cf16d6bed74c0c7987098a5fa082ce2f4451af715d1cfe2f7b02771fcb21b96aceb13e0860
6
+ metadata.gz: b9f95248d0a7f73f6d2e3829d754e08c48df164ae967a93d0465e81d13c5e365a09d8c44b4ea372b0a40140a3d63835cd81109a4c6632b79fbc7986917f95b86
7
+ data.tar.gz: 4fb02ee7bce2f6fae43d447496703d841b40c13fe6e7c3415901afd17eb36bec9df17e21c26e7ba4cf9b0e646ed28df03d0448cdeeab412d9f29d2aaba12c2b3
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- oidc-test (0.8.8)
4
+ oidc-test (0.8.10)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
data/Rakefile CHANGED
@@ -9,6 +9,7 @@ module Bundler
9
9
  super
10
10
 
11
11
  task "release:attest" => "build" do
12
+ Bundler.ui.confirm "Attesting? #{attest?}"
12
13
  attest if attest?
13
14
  end
14
15
 
@@ -39,6 +40,7 @@ module Bundler
39
40
  end
40
41
 
41
42
  def attest
43
+ Bundler.ui.confirm "Signing #{@build_gem_path}..."
42
44
  sh [Gem.ruby, "-S", "gem", "install", "sigstore"]
43
45
  sh [Gem.ruby, "-rnet/http", "-rsigstore", "-rsigstore/signer", "-e", <<~RUBY, @build_gem_path]
44
46
  file = ARGV.first
@@ -51,7 +53,9 @@ module Bundler
51
53
  contents = File.binread(file)
52
54
  bundle = Sigstore::Signer.new(jwt:, trusted_root: Sigstore::TrustedRoot.production).sign(contents)
53
55
 
54
- File.binwrite("#{file}.sigstore.json", bundle.to_json)
56
+ json = "\#{file}.sigstore.json"
57
+ File.binwrite(file, bundle.to_json)
58
+ puts "Signed \#{file}, wrote \#{json}"
55
59
  RUBY
56
60
  end
57
61
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Oidc
4
4
  module Test
5
- VERSION = "0.8.8"
5
+ VERSION = "0.8.10"
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.8
4
+ version: 0.8.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Giddins