orchestrator_client 0.6.1 → 0.7.1
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/README.md +1 -1
- data/lib/orchestrator_client/config.rb +2 -2
- data/lib/orchestrator_client/version.rb +1 -1
- data/lib/orchestrator_client.rb +1 -0
- 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: 595a826f92eb54c6e80c6844bfb1bda62d0cde923ebbdfeb9a2e7623bdecd745
|
4
|
+
data.tar.gz: 88921a4af1633fe0f2abf81f45b49827e4fbf4b1f446c3ed65b687a727ea6ef6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e5ad6cd63c52f54dcf518e27552dea85de6dac7f221676ef5f234e98085fbf5bd16bf656e43772c5d1186e82951437b8dcdfec32c3900a1d4f5720595c1a69b1
|
7
|
+
data.tar.gz: 4bc264f9ed1bc6e4967c671be93447294eb49c7be6d9993459dbd235abf580c9c11f952707f9e7d41b1dad608efb3a049b2a90e486a1be853d1738c6a7e9256f
|
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/README.md
CHANGED
@@ -40,7 +40,7 @@ require 'orchestrator_client'
|
|
40
40
|
# Requires at least a server name and path to the CA certificate
|
41
41
|
|
42
42
|
client = OrchestratorClient.new({
|
43
|
-
'service-url' => 'https://orchestrator.example.lan:8143
|
43
|
+
'service-url' => 'https://orchestrator.example.lan:8143',
|
44
44
|
'cacert' => '/path/to/cert'
|
45
45
|
})
|
46
46
|
|
@@ -44,13 +44,13 @@ class OrchestratorClient::Config
|
|
44
44
|
def load_config
|
45
45
|
config = defaults
|
46
46
|
if @load_files
|
47
|
-
if File.
|
47
|
+
if File.exist?(global_conf) && File.readable?(global_conf)
|
48
48
|
config = config.merge(load_file(global_conf))
|
49
49
|
end
|
50
50
|
|
51
51
|
if @overrides['config-file']
|
52
52
|
config = config.merge(load_file(@overrides['config-file']))
|
53
|
-
elsif File.
|
53
|
+
elsif File.exist?(user_conf) && File.readable?(user_conf)
|
54
54
|
config = config.merge(load_file(user_conf))
|
55
55
|
end
|
56
56
|
end
|
data/lib/orchestrator_client.rb
CHANGED
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.
|
4
|
+
version: 0.7.1
|
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: 2024-11-08 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
|