diff options
author | Andre Arko <andre@arko.net> | 2014-07-23 18:05:47 -0700 |
---|---|---|
committer | Andre Arko <andre@arko.net> | 2014-07-23 18:05:47 -0700 |
commit | beede80b804d883790675f06be648443f3eb1eef (patch) | |
tree | d671be84894f8ab46c1bac9f10619ed289db8805 | |
parent | 4870340132878c30d49a5d5fc27257e2abe46e7e (diff) | |
download | bundler-beede80b804d883790675f06be648443f3eb1eef.tar.gz |
mild Fetcher#initialize cleanup
-rw-r--r-- | lib/bundler/fetcher.rb | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/lib/bundler/fetcher.rb b/lib/bundler/fetcher.rb index 5df8e9f337..c55e37a0cc 100644 --- a/lib/bundler/fetcher.rb +++ b/lib/bundler/fetcher.rb @@ -91,13 +91,9 @@ module Bundler end def initialize(remote_uri) - - # How many redirects to allew in one request - @redirect_limit = 5 - # How long to wait for each gemcutter API call - @api_timeout = 10 - # How many retries for the gemcutter API call - @max_retries = 3 + @redirect_limit = 5 # How many redirects to allow in one request + @api_timeout = 10 # How long to wait for each API call + @max_retries = 3 # How many retries for the API call @remote_uri = Bundler::Source.mirror_for(remote_uri) @public_uri = @remote_uri.dup |