runcible 1.6.0 → 1.7.0
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/README.md +1 -1
- data/lib/runcible/extensions/repository.rb +20 -0
- data/lib/runcible/models/puppet_distributor.rb +1 -0
- data/lib/runcible/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: df76d4f3825b5d9756597e9884f76e5f723fbdf9
|
|
4
|
+
data.tar.gz: 0d3f2362cf58348a8f22d4cd076a590eafa20d05
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 608cf20eedfaf737fcf10a8d48960d7dcbbbbb1b44b037118209a7b6cb404ced9d5f7daa67d0d3301908fc89e0014a81eab2dc20e13e9c28bd95b9c6dabfd095
|
|
7
|
+
data.tar.gz: 3846d13597991f7deb0243baec3ca7c477e2424c8614a7b620cd7ba1fcd9478ca9ece028c4b34a9976c3690d6e953a94b840d5ac57d2ccc1a301973d52016950
|
data/README.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
Exposing Pulp's juiciest parts. http://www.pulpproject.org/
|
|
6
6
|
|
|
7
|
-
Latest Live Tested Version: **pulp-server-2.8.0-0.
|
|
7
|
+
Latest Live Tested Version: **pulp-server-2.8.0-0.7.beta.el7.noarch**
|
|
8
8
|
|
|
9
9
|
Current stable Runcible: https://github.com/Katello/runcible/tree/0.3
|
|
10
10
|
|
|
@@ -240,6 +240,26 @@ module Runcible
|
|
|
240
240
|
unit_search(id, criteria).map { |i| i['metadata'].with_indifferent_access }
|
|
241
241
|
end
|
|
242
242
|
|
|
243
|
+
# Retrieves the ostree branch IDs for a single repository
|
|
244
|
+
#
|
|
245
|
+
# @param [String] id the ID of the repository
|
|
246
|
+
# @return [RestClient::Response] the set of repository ostree branch IDs
|
|
247
|
+
def ostree_branch_ids(id)
|
|
248
|
+
criteria = {:type_ids => [Runcible::Extensions::OstreeBranch.content_type],
|
|
249
|
+
:fields => {:unit => [], :association => ['unit_id']}}
|
|
250
|
+
|
|
251
|
+
unit_search(id, criteria).map { |i| i['unit_id'] }
|
|
252
|
+
end
|
|
253
|
+
|
|
254
|
+
# Retrieves the ostree branches for a single repository
|
|
255
|
+
#
|
|
256
|
+
# @param [String] id the ID of the repository
|
|
257
|
+
# @return [RestClient::Response] the set of repository ostree branches
|
|
258
|
+
def ostree_branches(id)
|
|
259
|
+
criteria = {:type_ids => [Runcible::Extensions::OstreeBranch.content_type]}
|
|
260
|
+
unit_search(id, criteria).map { |i| i['metadata'].with_indifferent_access }
|
|
261
|
+
end
|
|
262
|
+
|
|
243
263
|
# Retrieves the docker manifest IDs for a single repository
|
|
244
264
|
#
|
|
245
265
|
# @param [String] id the ID of the repository
|
data/lib/runcible/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: runcible
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.7.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Eric D Helms, Justin Sherrill
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-
|
|
11
|
+
date: 2016-03-07 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: json
|