getaround_utils 0.1.14 → 0.1.15
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/getaround_utils/utils/http_reporter.rb +3 -0
- data/lib/getaround_utils/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b8671aa5df0cff6fcdd61c14f485cb0a2779227101e47987fae561cd229f93e8
|
4
|
+
data.tar.gz: 39056e8a4fbeaa4578ff043c18f35c4cceb7847b1f2db4c9d5bd717e991681b1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 26caccab4e1d5a6d9d8dfc907ad6c594ddccb66c63080a0cd990626b9848a82bc8087b2db919e6144d6ee7ab96dfbcc6902811bfc8b514dae90568c3e89bdcfb
|
7
|
+
data.tar.gz: a32eada5a97eab675390304b20c721f57265ca381d73b1fd78aaaf0b2cc6efa8ee1c06b44ebff7d10d60471174351c31f3e79f3c7e1139baad56b54d0291061e
|
data/Gemfile.lock
CHANGED
@@ -1,10 +1,13 @@
|
|
1
1
|
require 'json'
|
2
2
|
require 'faraday'
|
3
|
+
require 'getaround_utils/utils/async_queue'
|
3
4
|
|
4
5
|
class GetaroundUtils::Utils::HttpReporter
|
5
6
|
class AsyncQueue < GetaroundUtils::Utils::AsyncQueue
|
6
7
|
def self.perform(url:, params: {}, headers: {}, body: nil)
|
7
8
|
Faraday.post(url) do |req|
|
9
|
+
req.options[:open_timeout] = 1
|
10
|
+
req.options[:timeout] = 1
|
8
11
|
req.params = params
|
9
12
|
req.headers = headers
|
10
13
|
req.body = body
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: getaround_utils
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.15
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Drivy
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2020-01-
|
12
|
+
date: 2020-01-10 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|