orchestrator_client 0.2.2 → 0.2.3

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
  SHA1:
3
- metadata.gz: 0aa62a917df436d71d863216a77ee7d35cef34ad
4
- data.tar.gz: f381eea8a83cd6538ec70bfdb2dbae59748af9e5
3
+ metadata.gz: e125b670d73a1d5b36e3e76116e5efbc18032689
4
+ data.tar.gz: c6f9a1f1b9446392ecb09063b4ff45058064618d
5
5
  SHA512:
6
- metadata.gz: e5c21ccf0b5645f103b4fbcba80c2243dfad7f5732f25dd7719cf1baa95b0e38ac66e9c90aded4ba9f0fc46e070c1b3fad73346fce8ad6cf7c582dd71d9f357f
7
- data.tar.gz: ac34dd89e10bfe8c7a27a7dd78869553dd9a916d114297999040e6ad376e23749bc6e925bdb94497ef744892df5c12d9d7eba02924b4fd6f36216739a2d1da86
6
+ metadata.gz: 17453772de464fd1ff1a2fb7b420d00a8092ccd6d4597b7db2bb1e7c4b425653a31fe9cb08b9dcd862eed07db9b6dce5fb02cf090e9fe934ffaab6504cc674af
7
+ data.tar.gz: 24ff1604ae222e4e1532ee5b06da095c0b6c9084f0ab0214bae1aed4772c6b5cee97173c0d481a20bbe31a5d7f43e27faf2c391ea902c3d20c14c3e59271d459
data/Gemfile CHANGED
@@ -2,7 +2,11 @@ source 'https://rubygems.org'
2
2
 
3
3
  gemspec
4
4
 
5
- gem 'rspec'
6
- gem 'webmock'
5
+ group :test do
6
+ gem 'rspec'
7
+ gem 'webmock'
8
+ end
7
9
 
8
- gem 'pry'
10
+ group :development do
11
+ gem 'pry'
12
+ end
@@ -3,11 +3,11 @@ class OrchestratorClient::ConfigError < RuntimeError
3
3
  end
4
4
 
5
5
  class OrchestratorClient::ApiError < RuntimeError
6
+ attr_reader :data, :code
6
7
 
7
8
  def initialize(data,code)
8
9
  @code = code
9
- @kind = data['kind']
10
- @details = data['details']
10
+ @data = data
11
11
  super(data['msg'])
12
12
  end
13
13
 
@@ -1,3 +1,3 @@
1
1
  class OrchestratorClient
2
- VERSION = '0.2.2'.freeze
2
+ VERSION = '0.2.3'.freeze
3
3
  end
@@ -11,7 +11,7 @@ Gem::Specification.new do |s|
11
11
  s.files = `git ls-files -z`.split("\x0").reject do |f|
12
12
  f.match(%r{^(spec|scripts)/})
13
13
  end
14
- s.homepage = 'https://github.com/puppetlabs/ruby-orchestrator_api'
14
+ s.homepage = 'https://github.com/puppetlabs/orchestrator_client-ruby'
15
15
  s.license = "Apache-2.0"
16
16
  s.require_paths = ["lib"]
17
17
  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.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Puppet
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-10-06 00:00:00.000000000 Z
11
+ date: 2018-02-23 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description:
14
14
  email: info@puppetlabs.com
@@ -29,7 +29,7 @@ files:
29
29
  - lib/orchestrator_client/jobs.rb
30
30
  - lib/orchestrator_client/version.rb
31
31
  - orchestrator_client.gemspec
32
- homepage: https://github.com/puppetlabs/ruby-orchestrator_api
32
+ homepage: https://github.com/puppetlabs/orchestrator_client-ruby
33
33
  licenses:
34
34
  - Apache-2.0
35
35
  metadata: {}
@@ -49,7 +49,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
49
49
  version: '0'
50
50
  requirements: []
51
51
  rubyforge_project:
52
- rubygems_version: 2.6.12
52
+ rubygems_version: 2.5.1
53
53
  signing_key:
54
54
  specification_version: 4
55
55
  summary: Simple Ruby client library for PE Orchestration Services