filbunke 1.5.0 → 1.5.1
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/filbunke.gemspec +1 -1
- data/lib/filbunke/client.rb +2 -2
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.5.
|
1
|
+
1.5.1
|
data/filbunke.gemspec
CHANGED
data/lib/filbunke/client.rb
CHANGED
@@ -176,9 +176,9 @@ module Filbunke
|
|
176
176
|
def update_http_file!(file, local_file_path)
|
177
177
|
begin
|
178
178
|
async_request = if @repository.user
|
179
|
-
Typhoeus::Request.new(file.url)
|
180
|
-
else
|
181
179
|
Typhoeus::Request.new(file.url, :user => @repository.user, :password => @repository.pass)
|
180
|
+
else
|
181
|
+
Typhoeus::Request.new(file.url)
|
182
182
|
end
|
183
183
|
async_request.on_complete do |response|
|
184
184
|
success = true
|