aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/bundler/fetcher.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/bundler/fetcher.rb b/lib/bundler/fetcher.rb
index 44495f19..b29e8dfb 100644
--- a/lib/bundler/fetcher.rb
+++ b/lib/bundler/fetcher.rb
@@ -56,12 +56,12 @@ module Bundler
class << self
attr_accessor :disable_endpoint, :api_timeout, :redirect_limit, :max_retries
-
- Fetcher.redirect_limit = 5 # How many redirects to allow in one request
- Fetcher.api_timeout = 10 # How long to wait for each API call
- Fetcher.max_retries = 3 # How many retries for the API call
end
+ self.redirect_limit = 5 # How many redirects to allow in one request
+ self.api_timeout = 10 # How long to wait for each API call
+ self.max_retries = 3 # How many retries for the API call
+
def initialize(remote)
@remote = remote