aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bundler/fetcher.rb
diff options
context:
space:
mode:
authorAndre Arko <andre@arko.net>2015-03-28 17:05:13 +0000
committerAndre Arko <andre@arko.net>2015-03-28 17:11:16 +0000
commitcdf0cfb40790e37d2470b09d6193dc5789c9376b (patch)
treec852b25bbe1e3f78cc8a2ec542713d3613660981 /lib/bundler/fetcher.rb
parent5c9223dfd9e4ff2bf42aaada58b274c6238c20e8 (diff)
downloadbundler-cdf0cfb40790e37d2470b09d6193dc5789c9376b.tar.gz
stop accessing a class-global
Diffstat (limited to 'lib/bundler/fetcher.rb')
-rw-r--r--lib/bundler/fetcher.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/fetcher.rb b/lib/bundler/fetcher.rb
index 5dbc0d3b..08227a7e 100644
--- a/lib/bundler/fetcher.rb
+++ b/lib/bundler/fetcher.rb
@@ -272,7 +272,7 @@ module Bundler
end
def downloader
- @downloader ||= Downloader.new(connection)
+ @downloader ||= Downloader.new(connection, self.class.redirect_limit)
end
end