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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e684ab897a2ac3d7aa5a9987842659cd3641db47
4
- data.tar.gz: a08ff6d01e0b704becd0c94ef8582fdc6c82ae1b
3
+ metadata.gz: dade0838963ba54a089f6efb66af7a1b35b1c0d1
4
+ data.tar.gz: 8ec6382f3142df575338e76e81625fd54b1f5054
5
5
  SHA512:
6
- metadata.gz: da71d3a98bce41bdb04471ccc4e6018f7cb2fb2933aa27d5c354217932c15ca835f95587b7e4a2876827d3339947e993978651d3b2fb477f5a58cfffdff8bd8d
7
- data.tar.gz: 17fe179340fc965197781dcbddb689188d5c55acaf968672a87c23439ae989519bf3e22ecc36189beb20dd3c6f09200511ae0553af69a15b7326247ee4c13e22
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] = 100
33
- f.options[:timeout] = 100
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
@@ -1,3 +1,3 @@
1
1
  module Bearcat
2
- VERSION = '1.3.17' unless defined?(Bearcat::VERSION)
2
+ VERSION = '1.3.18' unless defined?(Bearcat::VERSION)
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bearcat
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.17
4
+ version: 1.3.18
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nathan Mills, Jake Sorce