zaikio-client-helpers 0.3.0 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -1
- data/lib/zaikio/client/helpers/version.rb +1 -1
- data/lib/zaikio/client.rb +2 -0
- 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: d266642334866842da555510bf6da0a789a31a23a02ba39d33e72115d22752ef
|
4
|
+
data.tar.gz: 80db7cb3b8f18f4631382cef21bf60e7181a5a5c4e7a8538c9e30298353bf6c5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9e125c503402d5b156be59ab0af6a0739db65588996a194c539b00a06578ee771db6e6d46caa2ba36390c1a56cfbdb694b2a4d3a438089160b23a6b1be9b310f
|
7
|
+
data.tar.gz: 7ba458d96f9f1fc0f5fa9030c39b5d06fe1d30352075e54cc79bd60631917606ae78157ec6aec788dbec20cdb4a9010f25ed721a749924d02fda565f2d3e0cc5
|
data/CHANGELOG.md
CHANGED
data/lib/zaikio/client.rb
CHANGED
@@ -18,6 +18,8 @@ module Zaikio
|
|
18
18
|
def create_connection(configuration)
|
19
19
|
Faraday.new(url: configuration.host,
|
20
20
|
ssl: { verify: configuration.environment != :test }) do |c|
|
21
|
+
c.options.read_timeout = 5
|
22
|
+
c.options.open_timeout = 1
|
21
23
|
c.request :json
|
22
24
|
c.response :logger, configuration&.logger, headers: false
|
23
25
|
c.use Zaikio::Client::Helpers::Pagination::FaradayMiddleware
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: zaikio-client-helpers
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Zaikio GMBH
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-02-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|