Skip to content

Commit

Permalink
port tootsuite#12831 to monsterfork: Fix Ruby 2.7 support
Browse files Browse the repository at this point in the history
- update http gem to avoid errors
- update blurhash gem to avoid shared object loading error
- update goldfinger gem so the http gem could be updated
- update json gem to avoid warnings
  • Loading branch information
ClearlyClaire authored and multiple creatures committed Feb 21, 2020
1 parent d4bad91 commit e2216a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/lib/request.rb
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def valid_url?(url)
%w(http https).include?(parsed_url.scheme) && parsed_url.host.present?
end
def http_client
HTTP.use(:auto_inflate).timeout(:per_operation, TIMEOUT.dup).follow(max_hops: 2)
HTTP.use(:auto_inflate).timeout(TIMEOUT.dup).follow(max_hops: 2)
end
end

Expand Down

0 comments on commit e2216a2

Please sign in to comment.