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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 595a826f92eb54c6e80c6844bfb1bda62d0cde923ebbdfeb9a2e7623bdecd745
4
- data.tar.gz: 88921a4af1633fe0f2abf81f45b49827e4fbf4b1f446c3ed65b687a727ea6ef6
3
+ metadata.gz: 245cf0d5b8e284a19021ca8265f4c1a4f621ff7144350ab25c265b2a73426109
4
+ data.tar.gz: 44805a3157ed5afa973a2341c062ae3a7fc4f4a15d633d252b7c526c4c2b25ce
5
5
  SHA512:
6
- metadata.gz: e5ad6cd63c52f54dcf518e27552dea85de6dac7f221676ef5f234e98085fbf5bd16bf656e43772c5d1186e82951437b8dcdfec32c3900a1d4f5720595c1a69b1
7
- data.tar.gz: 4bc264f9ed1bc6e4967c671be93447294eb49c7be6d9993459dbd235abf580c9c11f952707f9e7d41b1dad608efb3a049b2a90e486a1be853d1738c6a7e9256f
6
+ metadata.gz: ddadd4ad77a58d4b6256c198109858b803849672442f509ff3fcbf0d622bacae677bc814948d65963d8d20a1720487003b101bba568a6e359354c69ce834d792
7
+ data.tar.gz: af36fb01b7374a8debcaf5d518fc2b62e7adae2349cefeb44ceca460e4f73ba66294825bb08115a9f768334a99f89c56da88b5eb8c31f9521f4cee7b7076196c
@@ -1,3 +1,3 @@
1
1
  class OrchestratorClient
2
- VERSION = '0.7.1'.freeze
2
+ VERSION = '0.7.2'.freeze
3
3
  end
@@ -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
- # Do not use net-http-persistent on windows
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.1
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: 2024-11-08 00:00:00.000000000 Z
11
+ date: 2025-10-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday