ridley 4.4.3 → 4.5.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
  SHA1:
3
- metadata.gz: a089093efb8d2e78c6c726cc97256c69776f0636
4
- data.tar.gz: 012d9c141b6c36960868462736f09c62675c3bfe
3
+ metadata.gz: cbb2fb90b80fa9b068ca5a5e90e8268aedfc254f
4
+ data.tar.gz: f5e1dee0ac3228d73f0daae9415f12e3f9c43fb1
5
5
  SHA512:
6
- metadata.gz: f3e2a1947e7c42973411f1a051017088dc081a2b2d88f4b7584906e7a3437eac7d7d51746e3cc2a9e353db17aeda8e6e74b32640cba3ecdeca680ae070535904
7
- data.tar.gz: 2ae11aadf21d46cde2f5487d485300280fea61e36dd0b604a4a3dfc334e2978dced458a5c4fe287f080b108c8e4f8d970ef97690e7dbebb07b2bdc4c5ee389dd
6
+ metadata.gz: c844f53dedd4b07e5d4b220b4b714ca32cc04c223be9f804dad9d1759bf2a25fb6f394ab9909bea95546ad7c645919295cdcd54a6490d4a5e5102c7baf573743
7
+ data.tar.gz: b9e0752f9070cab371ff752e764a8952dfc8558bb3ccf35b2b9dd137047de05fb61b144d3236c039c1cee098e9638cbda82005a7c705c3e3a1bc65c9e2e6ed3c
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ # 4.5.0
2
+ * Enhancements
3
+ * Add support for chef server universe endpoint
4
+
1
5
  # 4.4.3
2
6
  * updating httpclient version dep to ~> 2.7
3
7
 
data/README.md CHANGED
@@ -431,3 +431,4 @@ Authors and Contributors
431
431
  - Kyle Allan (<kallan@riotgames.com>)
432
432
 
433
433
  Thank you to all of our [Contributors](https://github.com/reset/ridley/graphs/contributors), testers, and users.
434
+
data/lib/ridley/client.rb CHANGED
@@ -248,6 +248,12 @@ module Ridley
248
248
  @resources_registry[:search_resource].partial(index, query, Array(attributes), @resources_registry, options)
249
249
  end
250
250
 
251
+ def universe
252
+ connection.send(:get, "universe").body
253
+ rescue Errors::HTTPError, Errors::ClientError => ex
254
+ abort(ex)
255
+ end
256
+
251
257
  # The encrypted data bag secret for this connection.
252
258
  #
253
259
  # @raise [Ridley::Errors::EncryptedDataBagSecretNotFound]
@@ -1,3 +1,3 @@
1
1
  module Ridley
2
- VERSION = "4.4.3"
2
+ VERSION = "4.5.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ridley
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.4.3
4
+ version: 4.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jamie Winsor
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2016-02-19 00:00:00.000000000 Z
12
+ date: 2016-03-08 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: addressable
@@ -429,7 +429,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
429
429
  version: '0'
430
430
  requirements: []
431
431
  rubyforge_project:
432
- rubygems_version: 2.5.2
432
+ rubygems_version: 2.4.5.1
433
433
  signing_key:
434
434
  specification_version: 4
435
435
  summary: A reliable Chef API client with a clean syntax