diff options
author | drbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-10-25 22:58:43 +0000 |
---|---|---|
committer | drbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-10-25 22:58:43 +0000 |
commit | b61d8b6045497a5b2185bf8cb61a381f179d3ecd (patch) | |
tree | 0b7980dd65f71136db50a788d5e5a052efdf66ed /lib/rubygems/source_index.rb | |
parent | 17358af75b80343f7861907b9288607e67a08f61 (diff) |
Update to RubyGems 1.3.1 r1909.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19941 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rubygems/source_index.rb')
-rw-r--r-- | lib/rubygems/source_index.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/rubygems/source_index.rb b/lib/rubygems/source_index.rb index c6499ed2a8..8a8db2ef0d 100644 --- a/lib/rubygems/source_index.rb +++ b/lib/rubygems/source_index.rb @@ -257,8 +257,7 @@ class Gem::SourceIndex # TODO - Remove support and warning for legacy arguments after 2008/11 unless Gem::Dependency === gem_pattern - warn "Gem::SourceIndex#search support for #{gem_pattern.class} patterns is deprecated" - warn "#{caller[0]} is outdated" + warn "#{Gem.location_of_caller.join ':'}:Warning: Gem::SourceIndex#search support for #{gem_pattern.class} patterns is deprecated" end case gem_pattern |