summaryrefslogtreecommitdiff
path: root/lib/bundler/cli.rb
diff options
context:
space:
mode:
authorJosef Šimánek <josef.simanek@gmail.com>2021-12-06 01:42:43 +0100
committergit <svn-admin@ruby-lang.org>2021-12-06 18:03:54 +0900
commit25423f0918eb31477a9ef72a4c14b0c5c5b78bc6 (patch)
treecb4bf1eae2f37a2756b0b493d8b4e3245ebb6cad /lib/bundler/cli.rb
parent5ce3272e513e0dafedcc40f121e2d71bef3a3688 (diff)
[rubygems/rubygems] Add --version parameter to bundle info command.
https://github.com/rubygems/rubygems/commit/7d9fdd908d
Diffstat (limited to 'lib/bundler/cli.rb')
-rw-r--r--lib/bundler/cli.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/bundler/cli.rb b/lib/bundler/cli.rb
index f178560938..d271086b25 100644
--- a/lib/bundler/cli.rb
+++ b/lib/bundler/cli.rb
@@ -331,6 +331,7 @@ module Bundler
desc "info GEM [OPTIONS]", "Show information for the given gem"
method_option "path", :type => :boolean, :banner => "Print full path to gem"
+ method_option "version", :type => :boolean, :banner => "Print gem version"
def info(gem_name)
require_relative "cli/info"
Info.new(options, gem_name).run