orchestrator_client 0.4.3 → 0.5.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: d179d85c7b1f2e913b992219e730f1fbe8af33c0
4
- data.tar.gz: ca300a02de26f8669081e5a182e87177334498d7
2
+ SHA256:
3
+ metadata.gz: 8e686e0883d0f22984bcc8f7f10f1b1f98a9824a8439c8e66ce4cb345128a0b3
4
+ data.tar.gz: 73853c08047115fa0da5792043d8469df480fd5d73e659bb627e7f08e87f5ce2
5
5
  SHA512:
6
- metadata.gz: 59fe35d43fac64ba909f69b253ec7cf446d63442e2857c203c5a7235fd4c53b5f15bba11f9096e9dfa7b2243cab833ba3886c1a574da10acdb21474f963e9d24
7
- data.tar.gz: 05f262caf8791aab7b4883180a54bcec71c2b8bd799778e57a9262ff61115de9d6145e2c2b19e30db323880f094fa16ec614c0e668871f9098c199ade6d4b261
6
+ metadata.gz: c9cb2125237818733cdc737d2a2d427b4759fc64857af085076f80a5a3965152369ea3e38329a31eec9fe73498bf3608be1daa8251a5e63cdc253aa3ff149d5b
7
+ data.tar.gz: 73546958e6d55201504a8ba6aef5ad15aae51cc40c6b9fafc519c45ea0c09dfa5e0628a9003e6ef68cc3876341409e71c15eefe240795ad5aab33b5360b2810c
data/Gemfile CHANGED
@@ -9,4 +9,6 @@ end
9
9
 
10
10
  group :development do
11
11
  gem 'pry'
12
+ gem 'pry-stack_explorer'
13
+ gem 'pry-byebug'
12
14
  end
data/README.md CHANGED
@@ -5,7 +5,8 @@ A simple client for interacting with the Orchestration Services API in Puppet En
5
5
 
6
6
  ## Compatibility
7
7
 
8
- Currently, this client supports the "V1" endpoints shipped as part of Puppet Enterprise 2016.2.
8
+ Currently, this client supports the "V1" endpoints shipped as part of Puppet Enterprise 2016.2 -
9
+ 2019.8.4.
9
10
 
10
11
  ## Installation
11
12
 
@@ -28,6 +29,7 @@ expected to be at `~/.puppetlabs/token` which is the default location used by
28
29
  * `User-Agent`- Set `User-Agent` header for HTTP requests. Defaults to `OrchestratorRubyClient/[VERSION]`
29
30
  * `job-poll-interval`- Set the default amount of time to sleep when polling in Orchestrator::Job#wait and #each\_event
30
31
  * `job-poll-timeout`- Set the default maximum amount of time to wait in Orchestrator::Job#wait
32
+ * `read-timeout` - The time to wait before raising a Timeout exception when making HTTP requests.
31
33
 
32
34
  ### Example
33
35
 
@@ -69,10 +71,6 @@ issues](https://github.com/puppetlabs/orchestrator_api-ruby/issues).
69
71
  If you are interested in contributing to this project, please see the
70
72
  [Contribution Guidelines](CONTRIBUTING.md)
71
73
 
72
- ## Authors
73
-
74
- Tom Linkin <tom@puppet.com>
75
-
76
74
  ## License
77
75
 
78
76
  See LICENSE.
@@ -33,6 +33,7 @@ class OrchestratorClient
33
33
  else
34
34
  f.adapter :net_http_persistent, pool_size: 5 do |http|
35
35
  http.idle_timeout = 30
36
+ http.read_timeout = config['read-timeout'] if config['read-timeout']
36
37
  end
37
38
  end
38
39
  end
@@ -1,3 +1,3 @@
1
1
  class OrchestratorClient
2
- VERSION = '0.4.3'.freeze
2
+ VERSION = '0.5.1'.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.4.3
4
+ version: 0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Puppet
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-09-20 00:00:00.000000000 Z
11
+ date: 2021-01-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -77,8 +77,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
77
77
  - !ruby/object:Gem::Version
78
78
  version: '0'
79
79
  requirements: []
80
- rubyforge_project:
81
- rubygems_version: 2.5.1
80
+ rubygems_version: 3.0.8
82
81
  signing_key:
83
82
  specification_version: 4
84
83
  summary: Simple Ruby client library for PE Orchestration Services