summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEllen Marie Dash <[email protected]>2024-01-30 22:05:56 -0500
committergit <[email protected]>2024-03-29 08:03:38 +0000
commita28087affc5cef24376643507f7cb17c5f9c0110 ()
tree9f8cd94c1a2fa2021dc68c387337293248c857ac
parentcd12dfd38888cc3d3f4696146d154da15412bc93 (diff)
[rubygems/rubygems] [rebuild_command] Add --diff flag to try using diffoscope.
https://.com/rubygems/rubygems/commit/3e9545193a
-rw-r--r--lib/rubygems/commands/rebuild_command.rb12
1 files changed, 12 insertions, 0 deletions
@@ -11,6 +11,10 @@ class Gem::Commands::RebuildCommand < Gem::Command
def initialize
super "rebuild", "Attempt to reproduce a build of a gem."
add_option "--force", "Skip validation of the spec." do |_value, options|
options[:force] = true
end
@@ -150,6 +154,14 @@ An example of reproducing a gem build:
say "SUCCESS - original and rebuild hashes matched"
else
say "FAILURE - original and rebuild hashes did not match"
terminate_interaction 1
end
end