Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #6 from cpatuzzo/master

Optional options
  • Loading branch information...
commit f2ecd72c04ea585ca6d4a3e8dc2c71a7b962b03e 2 parents a4bad9b + 3b22544
@grosser authored
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
Please sign in to comment.
Something went wrong with that request. Please try again.