[rubygems/rubygems] Drop support for 'gem env packageversion'

be962ca0c4
This commit is contained in:
bronzdoc 2019-07-10 07:16:57 -06:00 committed by Hiroshi SHIBATA
parent 62e2b2e66f
commit a51661d378
No known key found for this signature in database
GPG key ID: F9CF13417264FAC2
3 changed files with 0 additions and 54 deletions

View file

@ -9,7 +9,6 @@ class Gem::Commands::EnvironmentCommand < Gem::Command
def arguments # :nodoc:
args = <<-EOF
packageversion display the package version
gemdir display the path where gems are installed
gempath display path used to search for gems
version display the gem format version
@ -76,8 +75,6 @@ lib/rubygems/defaults/operating_system.rb
arg = options[:args][0]
out <<
case arg
when /^packageversion/ then
Gem::RubyGemsPackageVersion
when /^version/ then
Gem::VERSION
when /^gemdir/, /^gemhome/, /^home/, /^GEM_HOME/ then