runcible 1.9.2 → 1.9.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 +4 -4
- data/lib/runcible/resources/consumer.rb +1 -1
- data/lib/runcible/resources/consumer_group.rb +1 -1
- data/lib/runcible/resources/content.rb +1 -1
- data/lib/runcible/resources/event_notifier.rb +1 -1
- data/lib/runcible/resources/repository.rb +10 -1
- data/lib/runcible/resources/repository_group.rb +1 -1
- data/lib/runcible/resources/repository_schedule.rb +1 -1
- data/lib/runcible/resources/role.rb +1 -1
- data/lib/runcible/resources/task.rb +1 -1
- data/lib/runcible/resources/task_group.rb +1 -1
- data/lib/runcible/resources/unit.rb +1 -1
- data/lib/runcible/resources/user.rb +1 -1
- data/lib/runcible/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 76157976f6e304d3dfe616b27c0654c7c741f1fe
|
4
|
+
data.tar.gz: '07728f8c0121e8249f477cea4d9feedaf9f425f7'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 371df3fdc1f5fbe101d8bbc4e0edb7d2547ffbadd0b7065b3a69d60b130a53d5361abcc9bca218aedec0c8f508fe8a5613bd917a6f7ec4bb7909e716f5733c3e
|
7
|
+
data.tar.gz: b3a2c50a5fbdc2517b136b704ed3d6112aec65185212f995e9a1d43a1a7fc0cce34308acff8d673e012cc6f7d3dd5b8cb16242ccc28da6afda923d69c632ee7e
|
@@ -1,6 +1,6 @@
|
|
1
1
|
module Runcible
|
2
2
|
module Resources
|
3
|
-
# @see https://
|
3
|
+
# @see https://docs.pulpproject.org/dev-guide/integration/rest-api/consumer/index.html
|
4
4
|
class Consumer < Runcible::Base
|
5
5
|
# Generates the API path for Consumers
|
6
6
|
#
|
@@ -2,7 +2,7 @@ require 'active_support/core_ext/hash'
|
|
2
2
|
|
3
3
|
module Runcible
|
4
4
|
module Resources
|
5
|
-
# @see https://
|
5
|
+
# @see https://docs.pulpproject.org/dev-guide/integration/rest-api/consumer/group/index.html
|
6
6
|
class ConsumerGroup < Runcible::Base
|
7
7
|
# Generates the API path for Consumer Groups
|
8
8
|
#
|
@@ -2,7 +2,7 @@ require 'active_support/core_ext/hash'
|
|
2
2
|
|
3
3
|
module Runcible
|
4
4
|
module Resources
|
5
|
-
# @see https://
|
5
|
+
# @see https://docs.pulpproject.org/dev-guide/integration/rest-api/content/index.html
|
6
6
|
class Content < Runcible::Base
|
7
7
|
# Generates the API path for Contents
|
8
8
|
#
|
@@ -1,6 +1,6 @@
|
|
1
1
|
module Runcible
|
2
2
|
module Resources
|
3
|
-
# @see https://
|
3
|
+
# @see https://docs.pulpproject.org/dev-guide/integration/events/index.html
|
4
4
|
class EventNotifier < Runcible::Base
|
5
5
|
class EventTypes
|
6
6
|
REPO_SYNC_COMPLETE = 'repo.sync.finish'.freeze
|
@@ -2,7 +2,7 @@ require 'active_support/core_ext/hash'
|
|
2
2
|
|
3
3
|
module Runcible
|
4
4
|
module Resources
|
5
|
-
# @see https://
|
5
|
+
# @see https://docs.pulpproject.org/dev-guide/integration/rest-api/repo/index.html
|
6
6
|
class Repository < Runcible::Base
|
7
7
|
# Generates the API path for Repositories
|
8
8
|
#
|
@@ -98,6 +98,15 @@ module Runcible
|
|
98
98
|
call(:post, "#{path(id)}actions/sync/", :payload => { :optional => optional })
|
99
99
|
end
|
100
100
|
|
101
|
+
# Downloads all units in a repository (useful in the case of on_demand repositories)
|
102
|
+
#
|
103
|
+
# @param [String] id the id of the repository
|
104
|
+
# @param [Hash] optional container for all optional parameters
|
105
|
+
# @return [RestClient::Response]
|
106
|
+
def download(id, optional = {})
|
107
|
+
call(:post, "#{path(id)}actions/download/", :payload => { :optional => optional })
|
108
|
+
end
|
109
|
+
|
101
110
|
# History of all sync actions on a repository
|
102
111
|
#
|
103
112
|
# @param [String] id the id of the repository
|
@@ -2,7 +2,7 @@ require 'active_support/core_ext/hash'
|
|
2
2
|
|
3
3
|
module Runcible
|
4
4
|
module Resources
|
5
|
-
# @see https://
|
5
|
+
# @see https://docs.pulpproject.org/dev-guide/integration/integration/rest-api/repo/groups/
|
6
6
|
class RepositoryGroup < Runcible::Base
|
7
7
|
# Generates the API path for Repository Groups
|
8
8
|
#
|
@@ -2,7 +2,7 @@ require 'active_support/core_ext/hash'
|
|
2
2
|
|
3
3
|
module Runcible
|
4
4
|
module Resources
|
5
|
-
# @see https://
|
5
|
+
# @see https://docs.pulpproject.org/dev-guide/integration/rest-api/repo/sync.html#scheduling-a-sync
|
6
6
|
class RepositorySchedule < Runcible::Base
|
7
7
|
# Generates the API path for Repository Schedules
|
8
8
|
#
|
@@ -1,6 +1,6 @@
|
|
1
1
|
module Runcible
|
2
2
|
module Resources
|
3
|
-
# @see https://
|
3
|
+
# @see https://docs.pulpproject.org/dev-guide/integration/rest-api/role/index.html
|
4
4
|
class Role < Runcible::Base
|
5
5
|
# Generates the API path for Roles
|
6
6
|
#
|
@@ -1,6 +1,6 @@
|
|
1
1
|
module Runcible
|
2
2
|
module Resources
|
3
|
-
# @see https://
|
3
|
+
# @see https://docs.pulpproject.org/dev-guide/integration/rest-api/dispatch/index.html
|
4
4
|
class Task < Runcible::Base
|
5
5
|
# Generates the API path for Tasks
|
6
6
|
#
|
@@ -1,6 +1,6 @@
|
|
1
1
|
module Runcible
|
2
2
|
module Resources
|
3
|
-
# @see https://
|
3
|
+
# @see https://docs.pulpproject.org/dev-guide/integration/rest-api/dispatch/index.html
|
4
4
|
class TaskGroup < Runcible::Base
|
5
5
|
# Generates the API path for Tasks
|
6
6
|
#
|
@@ -1,6 +1,6 @@
|
|
1
1
|
module Runcible
|
2
2
|
module Resources
|
3
|
-
# @see https://
|
3
|
+
# @see https://docs.pulpproject.org/dev-guide/integration/rest-api/content/index.html
|
4
4
|
class Unit < Runcible::Base
|
5
5
|
# Generates the API path for Units
|
6
6
|
#
|
@@ -1,6 +1,6 @@
|
|
1
1
|
module Runcible
|
2
2
|
module Resources
|
3
|
-
# @see https://
|
3
|
+
# @see https://docs.pulpproject.org/dev-guide/integration/rest-api/user/index.html
|
4
4
|
class User < Runcible::Base
|
5
5
|
# Generates the API path for Users
|
6
6
|
#
|
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.9.
|
4
|
+
version: 1.9.3
|
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: 2017-02-
|
11
|
+
date: 2017-02-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json
|
@@ -197,7 +197,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
197
197
|
version: '0'
|
198
198
|
requirements: []
|
199
199
|
rubyforge_project:
|
200
|
-
rubygems_version: 2.5.
|
200
|
+
rubygems_version: 2.5.2
|
201
201
|
signing_key:
|
202
202
|
specification_version: 4
|
203
203
|
summary: ''
|