orchestrator_client 0.6.1 → 0.7.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '04962ed66fe3174c87843180c34e2ca3f7b95207382bfac0ba9f9053d1f78be0'
4
- data.tar.gz: 44b00102740291d8cc15afb8b9c4ab9a1725b9dfa796fff26e7047e40840d0b0
3
+ metadata.gz: 9c46d477009b481d6af625e9e6f44d22b2e2db4da6ba034e189d6280d10884a3
4
+ data.tar.gz: 37c28f11927ff38817e29fa1e8e49a72f0d8f4773fb89e3d13060e58d5893083
5
5
  SHA512:
6
- metadata.gz: 7ce1d990c063318b10382e2fe5f7820a78685566fb8880aacf4bb01ed7dcccb15bb7b1eeb092ffb0c10171b14a45758de503a0079e671fb129dd03115464c09c
7
- data.tar.gz: 79f608ca344d2b17b324ef7218bd944e90dad9fb21b899d8f2a98f9ddc661c9be4a48834c14fe92ddb66026c9fd54884f7f15aff21f2ab337c49653563020461
6
+ metadata.gz: 879ad490b425569a2383eb67eae24c0dc452a10d0d1221fc2fcd652dbcedf8ef788e6a6980d23a04cd7bf5a6142c8be452ac4e76001047866fce98a6b3be1724
7
+ data.tar.gz: 28697f8333ecc1ddda85df3d79bf915ad5e11fbdb2eccb8a9a60314ae296d74004627c6e076d81e45ddec91ade8a7e608a5e0f79012ac7f147ff09a4323264f1
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/orchestrator/v1',
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.exists?(global_conf) && File.readable?(global_conf)
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.exists?(user_conf) && File.readable?(user_conf)
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
@@ -1,3 +1,3 @@
1
1
  class OrchestratorClient
2
- VERSION = '0.6.1'.freeze
2
+ VERSION = '0.7.0'.freeze
3
3
  end
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.6.1
4
+ version: 0.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Puppet
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-06-13 00:00:00.000000000 Z
11
+ date: 2023-04-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday