Skip to content

Commit

Permalink
Fix old & new ruby
Browse files Browse the repository at this point in the history
  • Loading branch information
segiddins committed Apr 30, 2024
1 parent 5f02bf9 commit 00acf9e
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ source "https://rubygems.org"
# Specify your gem's dependencies in sigstore.gemspec
gemspec

gem "base64", "~> 0.2.0" # Until https://github.com/vcr/vcr/commit/5c9230b43b6a51dec78941d16bf8e2954042964c is released
gem "rake", "~> 13.0"
gem "rubocop", "~> 1.21"
gem "rubocop-rake", "~> 0.6.0"
Expand Down
3 changes: 3 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ GEM
addressable (2.8.6)
public_suffix (>= 2.0.2, < 6.0)
ast (2.4.2)
base64 (0.2.0)
bigdecimal (3.1.6)
bigdecimal (3.1.6-java)
crack (1.0.0)
Expand Down Expand Up @@ -84,6 +85,7 @@ PLATFORMS
x86_64-linux

DEPENDENCIES
base64 (~> 0.2.0)
rake (~> 13.0)
rubocop (~> 1.21)
rubocop-rake (~> 0.6.0)
Expand All @@ -97,6 +99,7 @@ DEPENDENCIES
CHECKSUMS
addressable (2.8.6) sha256=798f6af3556641a7619bad1dce04cdb6eb44b0216a991b0396ea7339276f2b47
ast (2.4.2) sha256=1e280232e6a33754cde542bc5ef85520b74db2aac73ec14acef453784447cc12
base64 (0.2.0) sha256=0f25e9b21a02a0cc0cea8ef92b2041035d39350946e8789c562b2d1a3da01507
bigdecimal (3.1.6) sha256=bcbc27d449cf8ed1b1814d21308f49c9d22ce73e33fff0d228e38799c02eab01
bigdecimal (3.1.6-java) sha256=2ef0e13a578e2411123254273f8b34c47ff9d45de91a6f64465fb217de8d5d04
crack (1.0.0) sha256=c83aefdb428cdc7b66c7f287e488c796f055c0839e6e545fec2c7047743c4a49
Expand Down
7 changes: 6 additions & 1 deletion bin/conformance-entrypoint
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,9 @@ ENV.update(
require "rubygems/gem_runner"

ARGV.unshift "sigstore_#{command.tr("-", "_")}"
Gem::GemRunner.new.run ARGV.clone
begin
Gem::GemRunner.new.run ARGV.clone
rescue Gem::SystemExitException => e
# For rubygems < 3.3.0
exit e.exit_code
end

0 comments on commit 00acf9e

Please sign in to comment.