Browse files

Merge pull request #6 from cpatuzzo/master

Optional options
  • Loading branch information...
2 parents a4bad9b + 3b22544 commit f2ecd72c04ea585ca6d4a3e8dc2c71a7b962b03e @grosser committed May 26, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/rubygems/dependent.rb
View
4 lib/rubygems/dependent.rb
@@ -28,7 +28,7 @@ def self.find(gem, options={})
private
- def self.fetch_all_dependencies(specs_and_sources, options)
+ def self.fetch_all_dependencies(specs_and_sources, options={})
parallel = (options[:parallel] || 15)
Gem::Dependent::Parallel.map(specs_and_sources, :in_processes => parallel) do |spec, source|
yield if block_given?
@@ -38,7 +38,7 @@ def self.fetch_all_dependencies(specs_and_sources, options)
end
end
- def self.fetch_dependencies(spec, source, options)
+ def self.fetch_dependencies(spec, source, options={})
begin
fetcher = Gem::SpecFetcher.fetcher
fetcher.fetch_spec(spec, URI.parse(source)).dependencies

0 comments on commit f2ecd72

Please sign in to comment.