mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05: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
|
@ -35,7 +35,7 @@ class Gem::Dependency
|
|||
if Regexp === name then
|
||||
msg = ["NOTE: Dependency.new w/ a regexp is deprecated.",
|
||||
"Dependency.new called from #{Gem.location_of_caller.join(":")}"]
|
||||
warn msg.join("\n") unless Deprecate.skip
|
||||
warn msg.join("\n") unless Gem::Deprecate.skip
|
||||
end
|
||||
|
||||
type = Symbol === requirements.last ? requirements.pop : :runtime
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue