mirror of
https://github.com/ruby/ruby.git
synced 2025-08-23 21:14:23 +02:00
* lib/rubygems: Update to RubyGems 1.8.11. Move Deprecate into the
Gem namespace. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33386 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
9167328359
commit
90dfc8f99e
21 changed files with 112 additions and 105 deletions
|
@ -59,7 +59,7 @@ class Gem::Commands::DependencyCommand < Gem::Command
|
|||
end
|
||||
|
||||
# TODO: deprecate for real damnit
|
||||
dependency = Deprecate.skip_during {
|
||||
dependency = Gem::Deprecate.skip_during {
|
||||
Gem::Dependency.new pattern, options[:version]
|
||||
}
|
||||
dependency.prerelease = options[:prerelease]
|
||||
|
|
|
@ -79,7 +79,7 @@ class Gem::Commands::QueryCommand < Gem::Command
|
|||
|
||||
req = Gem::Requirement.default
|
||||
# TODO: deprecate for real
|
||||
dep = Deprecate.skip_during { Gem::Dependency.new name, req }
|
||||
dep = Gem::Deprecate.skip_during { Gem::Dependency.new name, req }
|
||||
|
||||
if local? then
|
||||
if prerelease and not both? then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue