Permalink
Browse files

Fixed deprecation warning for Gem.source_index.search

  • Loading branch information...
1 parent 054b610 commit 25ceab536e9d414505a5ed54fd90647dc00bb055 @fabien committed Oct 13, 2008
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/minigems/script_helper.rb
@@ -29,7 +29,7 @@ def run_command(command_name, args)
class Command
def get_all_referenced_gem_specs
- get_all_gem_names.map { |name| Gem.source_index.search(name).last }.compact
+ get_all_gem_names.map { |name| Gem.source_index.find_name(name).last }.compact
end
end

0 comments on commit 25ceab5

Please sign in to comment.