Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cloud_assets.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Gem::Specification.new do |s|

# specify any dependencies here; for example:
# s.add_development_dependency "rspec"
s.add_runtime_dependency "typhoeus", "~>0.4.2"
s.add_runtime_dependency "typhoeus", "~>0.5.4"
s.add_runtime_dependency "nokogiri"
s.add_runtime_dependency "dalli"
end
5 changes: 2 additions & 3 deletions lib/cloud_assets.rb
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,8 @@ def cloud_asset(path)
end
end
options = {
:follow_location => true,
:max_redirects => 3,
:cache_timeout => CloudAssets::cache_timeout_seconds
:followlocation => true,
:maxredirs => 3
}
unless CloudAssets::user.nil?
options[:username] = CloudAssets::user
Expand Down