orchestrator_client 0.7.0 → 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/.github/workflows/spec.yaml +10 -2
- data/lib/orchestrator_client/version.rb +1 -1
- data/lib/orchestrator_client.rb +6 -2
- data/orchestrator_client.gemspec +2 -2
- metadata +22 -10
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/.github/workflows/spec.yaml
CHANGED
|
@@ -9,13 +9,21 @@ jobs:
|
|
|
9
9
|
spec:
|
|
10
10
|
name: Spec test
|
|
11
11
|
runs-on: ubuntu-latest
|
|
12
|
+
strategy:
|
|
13
|
+
matrix:
|
|
14
|
+
ruby:
|
|
15
|
+
- "2.6"
|
|
16
|
+
- "2.7"
|
|
17
|
+
- "3.0"
|
|
18
|
+
- "3.1"
|
|
19
|
+
- "3.2"
|
|
12
20
|
steps:
|
|
13
21
|
- name: Checkout repository
|
|
14
|
-
uses: actions/checkout@
|
|
22
|
+
uses: actions/checkout@v4
|
|
15
23
|
- name: Setup Ruby
|
|
16
24
|
uses: ruby/setup-ruby@v1
|
|
17
25
|
with:
|
|
18
|
-
ruby-version:
|
|
26
|
+
ruby-version: ${{ matrix.ruby }}
|
|
19
27
|
bundler-cache: true
|
|
20
28
|
- name: Update gems
|
|
21
29
|
run: bundle update
|
data/lib/orchestrator_client.rb
CHANGED
|
@@ -3,6 +3,7 @@ require 'uri'
|
|
|
3
3
|
require 'json'
|
|
4
4
|
require 'openssl'
|
|
5
5
|
require 'faraday'
|
|
6
|
+
require 'faraday/net_http_persistent'
|
|
6
7
|
|
|
7
8
|
class OrchestratorClient
|
|
8
9
|
require 'orchestrator_client/error'
|
|
@@ -27,9 +28,12 @@ class OrchestratorClient
|
|
|
27
28
|
f.headers['User-Agent'] = config['User-Agent']
|
|
28
29
|
f.ssl['ca_file'] = config['cacert']
|
|
29
30
|
f.ssl['version'] = :TLSv1_2
|
|
30
|
-
#
|
|
31
|
+
# net-http-persistent does not work reliably on Windows, so fall back
|
|
32
|
+
# to net-http
|
|
31
33
|
if !!File::ALT_SEPARATOR
|
|
32
|
-
f.adapter :net_http
|
|
34
|
+
f.adapter :net_http do |http|
|
|
35
|
+
http.read_timeout = config['read-timeout'] if config['read-timeout']
|
|
36
|
+
end
|
|
33
37
|
else
|
|
34
38
|
f.adapter :net_http_persistent, pool_size: 5 do |http|
|
|
35
39
|
http.idle_timeout = 30
|
data/orchestrator_client.gemspec
CHANGED
|
@@ -15,6 +15,6 @@ Gem::Specification.new do |s|
|
|
|
15
15
|
s.license = "Apache-2.0"
|
|
16
16
|
s.require_paths = ["lib"]
|
|
17
17
|
|
|
18
|
-
s.add_dependency 'faraday', '
|
|
19
|
-
s.add_dependency '
|
|
18
|
+
s.add_dependency 'faraday', '>= 1.4', '< 3.0'
|
|
19
|
+
s.add_dependency 'faraday-net_http_persistent', '>= 1.0', '< 3.0'
|
|
20
20
|
end
|
metadata
CHANGED
|
@@ -1,43 +1,55 @@
|
|
|
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
|
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
|
16
16
|
requirements:
|
|
17
|
-
- - "
|
|
17
|
+
- - ">="
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
19
|
version: '1.4'
|
|
20
|
+
- - "<"
|
|
21
|
+
- !ruby/object:Gem::Version
|
|
22
|
+
version: '3.0'
|
|
20
23
|
type: :runtime
|
|
21
24
|
prerelease: false
|
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
|
23
26
|
requirements:
|
|
24
|
-
- - "
|
|
27
|
+
- - ">="
|
|
25
28
|
- !ruby/object:Gem::Version
|
|
26
29
|
version: '1.4'
|
|
30
|
+
- - "<"
|
|
31
|
+
- !ruby/object:Gem::Version
|
|
32
|
+
version: '3.0'
|
|
27
33
|
- !ruby/object:Gem::Dependency
|
|
28
|
-
name:
|
|
34
|
+
name: faraday-net_http_persistent
|
|
29
35
|
requirement: !ruby/object:Gem::Requirement
|
|
30
36
|
requirements:
|
|
31
|
-
- - "
|
|
37
|
+
- - ">="
|
|
32
38
|
- !ruby/object:Gem::Version
|
|
33
|
-
version: '
|
|
39
|
+
version: '1.0'
|
|
40
|
+
- - "<"
|
|
41
|
+
- !ruby/object:Gem::Version
|
|
42
|
+
version: '3.0'
|
|
34
43
|
type: :runtime
|
|
35
44
|
prerelease: false
|
|
36
45
|
version_requirements: !ruby/object:Gem::Requirement
|
|
37
46
|
requirements:
|
|
38
|
-
- - "
|
|
47
|
+
- - ">="
|
|
48
|
+
- !ruby/object:Gem::Version
|
|
49
|
+
version: '1.0'
|
|
50
|
+
- - "<"
|
|
39
51
|
- !ruby/object:Gem::Version
|
|
40
|
-
version: '
|
|
52
|
+
version: '3.0'
|
|
41
53
|
description:
|
|
42
54
|
email: info@puppetlabs.com
|
|
43
55
|
executables: []
|
|
@@ -78,7 +90,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
78
90
|
- !ruby/object:Gem::Version
|
|
79
91
|
version: '0'
|
|
80
92
|
requirements: []
|
|
81
|
-
rubygems_version: 3.
|
|
93
|
+
rubygems_version: 3.4.22
|
|
82
94
|
signing_key:
|
|
83
95
|
specification_version: 4
|
|
84
96
|
summary: Simple Ruby client library for PE Orchestration Services
|