orchestrator_client 0.7.1 → 0.7.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/orchestrator_client/version.rb +1 -1
- data/lib/orchestrator_client.rb +5 -2
- 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: 245cf0d5b8e284a19021ca8265f4c1a4f621ff7144350ab25c265b2a73426109
|
4
|
+
data.tar.gz: 44805a3157ed5afa973a2341c062ae3a7fc4f4a15d633d252b7c526c4c2b25ce
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ddadd4ad77a58d4b6256c198109858b803849672442f509ff3fcbf0d622bacae677bc814948d65963d8d20a1720487003b101bba568a6e359354c69ce834d792
|
7
|
+
data.tar.gz: af36fb01b7374a8debcaf5d518fc2b62e7adae2349cefeb44ceca460e4f73ba66294825bb08115a9f768334a99f89c56da88b5eb8c31f9521f4cee7b7076196c
|
data/lib/orchestrator_client.rb
CHANGED
@@ -28,9 +28,12 @@ class OrchestratorClient
|
|
28
28
|
f.headers['User-Agent'] = config['User-Agent']
|
29
29
|
f.ssl['ca_file'] = config['cacert']
|
30
30
|
f.ssl['version'] = :TLSv1_2
|
31
|
-
#
|
31
|
+
# net-http-persistent does not work reliably on Windows, so fall back
|
32
|
+
# to net-http
|
32
33
|
if !!File::ALT_SEPARATOR
|
33
|
-
f.adapter :net_http
|
34
|
+
f.adapter :net_http do |http|
|
35
|
+
http.read_timeout = config['read-timeout'] if config['read-timeout']
|
36
|
+
end
|
34
37
|
else
|
35
38
|
f.adapter :net_http_persistent, pool_size: 5 do |http|
|
36
39
|
http.idle_timeout = 30
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: orchestrator_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Puppet
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2025-10-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|