grant-olson / rubygems-openpgp

This allows you to cryptographically sign ruby gems, so that a user can later verify that they've downloaded a copy that hasn't been tampered with or hacked.
http://www.rubygems-openpgp-ca.org
Other
32 stars 4 forks source link

Replace 'gem verify' and 'gem vinstall' with 'gem install --verify' #9

Closed grant-olson closed 11 years ago

grant-olson commented 11 years ago

We should have a less clunky interface. We should deprecate these two commands and incorporate the functionality into the existing install command.

Now that I'm digging into the rubygems code, it seems I can add command line parameters to existing options and hook in via Gem::CommandManager.instance[:install].add_option and hopefully hook into a pre-install hook.

grant-olson commented 11 years ago

Actually, the vinstall command never got implemented so that doesn't need to go.

And it probably makes sense to keep the stand-alone verify command.