bearcat 1.3.17 → 1.3.18
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/bearcat/client/file_helper.rb +2 -2
- data/lib/bearcat/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dade0838963ba54a089f6efb66af7a1b35b1c0d1
|
4
|
+
data.tar.gz: 8ec6382f3142df575338e76e81625fd54b1f5054
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 290f5f0d84710573d7edf2ecce2b8a47c21d6630a761181fe792284cf8677789ab0f3c959fc419b0ddb290253399dd481ea3d990b897a6f10a925d7be45f042b
|
7
|
+
data.tar.gz: 1f69900082c5fe0fd07a44e30786c68bba8f665cdf971b4d27ee0881160e103201d636570befd24707e6a20f3369cc3f9cca5d0a473f93a871baadb7cd1ac5f6
|
@@ -29,8 +29,8 @@ module FileHelper
|
|
29
29
|
|
30
30
|
def upload_connection
|
31
31
|
Faraday.new do |f|
|
32
|
-
f.options[:open_timeout] =
|
33
|
-
f.options[:timeout] =
|
32
|
+
f.options[:open_timeout] = ENV.fetch('FARADAY_OPEN_TIMEOUT', 60).to_i
|
33
|
+
f.options[:timeout] = ENV.fetch('FARADAY_TIMEOUT', 60).to_i
|
34
34
|
f.request :multipart
|
35
35
|
f.request :url_encoded
|
36
36
|
f.adapter :net_http
|
data/lib/bearcat/version.rb
CHANGED