katello_api 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/MIT-LICENSE +1 -1
- data/doc/KatelloApi/Base.html +2 -2
- data/doc/KatelloApi/Generator/Base.html +1 -1
- data/doc/KatelloApi/Generator.html +1 -1
- data/doc/KatelloApi/Resources/About.html +1 -1
- data/doc/KatelloApi/Resources/ActivationKey.html +1 -1
- data/doc/KatelloApi/Resources/Architecture.html +1 -1
- data/doc/KatelloApi/Resources/Changeset.html +1 -1
- data/doc/KatelloApi/Resources/ChangesetsContent.html +1 -1
- data/doc/KatelloApi/Resources/ComputeResource.html +1 -1
- data/doc/KatelloApi/Resources/ConfigTemplate.html +1 -1
- data/doc/KatelloApi/Resources/ContentUpload.html +1 -1
- data/doc/KatelloApi/Resources/ContentView.html +1 -1
- data/doc/KatelloApi/Resources/ContentViewDefinition.html +1 -1
- data/doc/KatelloApi/Resources/Crl.html +1 -1
- data/doc/KatelloApi/Resources/CustomInfo.html +1 -1
- data/doc/KatelloApi/Resources/Distribution.html +1 -1
- data/doc/KatelloApi/Resources/Distributor.html +1 -1
- data/doc/KatelloApi/Resources/Domain.html +1 -1
- data/doc/KatelloApi/Resources/Environment.html +1 -1
- data/doc/KatelloApi/Resources/Erratum.html +1 -1
- data/doc/KatelloApi/Resources/Filter.html +1 -1
- data/doc/KatelloApi/Resources/FilterRule.html +1 -1
- data/doc/KatelloApi/Resources/GpgKey.html +1 -1
- data/doc/KatelloApi/Resources/HardwareModel.html +1 -1
- data/doc/KatelloApi/Resources/Organization.html +2 -2
- data/doc/KatelloApi/Resources/OrganizationDefaultInfo.html +1 -1
- data/doc/KatelloApi/Resources/Package.html +1 -1
- data/doc/KatelloApi/Resources/Permission.html +1 -1
- data/doc/KatelloApi/Resources/Ping.html +1 -1
- data/doc/KatelloApi/Resources/Product.html +35 -22
- data/doc/KatelloApi/Resources/Provider.html +67 -41
- data/doc/KatelloApi/Resources/PuppetModule.html +1 -1
- data/doc/KatelloApi/Resources/Repository.html +1 -1
- data/doc/KatelloApi/Resources/RepositorySet.html +1 -1
- data/doc/KatelloApi/Resources/Role.html +1 -1
- data/doc/KatelloApi/Resources/RoleLdapGroup.html +1 -1
- data/doc/KatelloApi/Resources/SmartProxy.html +1 -1
- data/doc/KatelloApi/Resources/Statu.html +1 -1
- data/doc/KatelloApi/Resources/Status.html +1 -1
- data/doc/KatelloApi/Resources/Subnet.html +1 -1
- data/doc/KatelloApi/Resources/Subscription.html +21 -34
- data/doc/KatelloApi/Resources/Sync.html +1 -1
- data/doc/KatelloApi/Resources/SyncPlan.html +1 -1
- data/doc/KatelloApi/Resources/System.html +1 -1
- data/doc/KatelloApi/Resources/SystemErratum.html +1 -1
- data/doc/KatelloApi/Resources/SystemGroup.html +1 -1
- data/doc/KatelloApi/Resources/SystemGroupErratum.html +1 -1
- data/doc/KatelloApi/Resources/SystemGroupPackage.html +1 -1
- data/doc/KatelloApi/Resources/SystemPackage.html +1 -1
- data/doc/KatelloApi/Resources/SystemsBulkAction.html +1 -1
- data/doc/KatelloApi/Resources/Task.html +1 -1
- data/doc/KatelloApi/Resources/Template.html +1 -1
- data/doc/KatelloApi/Resources/TemplatesContent.html +1 -1
- data/doc/KatelloApi/Resources/Uebercert.html +1 -1
- data/doc/KatelloApi/Resources/User.html +1 -1
- data/doc/KatelloApi/Resources.html +1 -1
- data/doc/KatelloApi.html +1 -1
- data/doc/_index.html +1 -1
- data/doc/file.README.html +1 -1
- data/doc/index.html +1 -1
- data/doc/top-level-namespace.html +1 -1
- data/katello_api.gemspec +7 -6
- data/lib/katello_api/base.rb +1 -1
- data/lib/katello_api/documentation.json +1 -1
- data/lib/katello_api/resources/organization.rb +1 -1
- data/lib/katello_api/resources/product.rb +1 -0
- data/lib/katello_api/resources/provider.rb +5 -3
- data/lib/katello_api/resources/subscription.rb +1 -2
- data/lib/katello_api/version.rb +1 -1
- metadata +17 -17
- data/Rakefile +0 -1
@@ -44,7 +44,7 @@ module KatelloApi
|
|
44
44
|
# @param [Hash] params a hash of params to be passed to the service
|
45
45
|
# @option params [Object] id Part of +/api/organizations/:id+ path
|
46
46
|
# @option params [String] description description
|
47
|
-
# @option params [Hash] resource
|
47
|
+
# @option params [Hash, nil] resource
|
48
48
|
# allowed keys are:
|
49
49
|
# * name [String]
|
50
50
|
#
|
@@ -20,6 +20,7 @@ module KatelloApi
|
|
20
20
|
# @param [Hash] params a hash of params to be passed to the service
|
21
21
|
# @option params [String] gpg_key_id identifier of the gpg key
|
22
22
|
# @option params [String] provider_id provider the product belongs to
|
23
|
+
# @option params [String, nil] sync_plan_id plan numeric identifier
|
23
24
|
# @option params [String] description product description
|
24
25
|
# @option params [String] label
|
25
26
|
# @option params [String] name
|
@@ -24,7 +24,7 @@ module KatelloApi
|
|
24
24
|
end
|
25
25
|
|
26
26
|
# @param [Hash] params a hash of params to be passed to the service
|
27
|
-
# @option params [String] id
|
27
|
+
# @option params [String] id id of provider
|
28
28
|
#
|
29
29
|
# @param [Hash] headers additional http headers
|
30
30
|
# @return [Array] First item: parsed data; second item: raw body
|
@@ -45,8 +45,10 @@ module KatelloApi
|
|
45
45
|
end
|
46
46
|
|
47
47
|
# @param [Hash] params a hash of params to be passed to the service
|
48
|
-
# @option params [String] id provider identifier
|
49
|
-
# @option params [String]
|
48
|
+
# @option params [String] id provider numeric identifier
|
49
|
+
# @option params [String] description description of the provider
|
50
|
+
# @option params [String] name name of the provider
|
51
|
+
# @option params [String] provider_type the type of the provider
|
50
52
|
#
|
51
53
|
# @param [Hash] headers additional http headers
|
52
54
|
# @return [Array] First item: parsed data; second item: raw body
|
@@ -18,7 +18,6 @@ module KatelloApi
|
|
18
18
|
# @param [Hash] params a hash of params to be passed to the service
|
19
19
|
# @option params [String] id subscription identifier
|
20
20
|
# @option params [String] organization_id organization identifier
|
21
|
-
# @option params [String] system_id system uuid
|
22
21
|
#
|
23
22
|
# @param [Hash] headers additional http headers
|
24
23
|
# @return [Array] First item: parsed data; second item: raw body
|
@@ -72,7 +71,7 @@ module KatelloApi
|
|
72
71
|
|
73
72
|
# @param [Hash] params a hash of params to be passed to the service
|
74
73
|
# @option params [String] organization_id organization id
|
75
|
-
# @option params [String]
|
74
|
+
# @option params [String] content subscription manifest file
|
76
75
|
#
|
77
76
|
# @param [Hash] headers additional http headers
|
78
77
|
# @return [Array] First item: parsed data; second item: raw body
|
data/lib/katello_api/version.rb
CHANGED
metadata
CHANGED
@@ -1,60 +1,60 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: katello_api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Katello
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-01-
|
11
|
+
date: 2014-01-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - ~>
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
19
|
+
version: '1.8'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- -
|
24
|
+
- - ~>
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '
|
26
|
+
version: '1.8'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rest-client
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- -
|
31
|
+
- - ~>
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 1.6
|
33
|
+
version: '1.6'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- -
|
38
|
+
- - ~>
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 1.6
|
40
|
+
version: '1.6'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: oauth
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- -
|
45
|
+
- - ~>
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: '0'
|
47
|
+
version: '0.4'
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- -
|
52
|
+
- - ~>
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: '0'
|
54
|
+
version: '0.4'
|
55
55
|
description: Helps you to use Katello's API calls from your app
|
56
56
|
email:
|
57
|
-
- katello
|
57
|
+
- katello@lists.fedorahosted.org
|
58
58
|
executables: []
|
59
59
|
extensions: []
|
60
60
|
extra_rdoc_files: []
|
@@ -63,7 +63,6 @@ files:
|
|
63
63
|
- Gemfile
|
64
64
|
- MIT-LICENSE
|
65
65
|
- README.rdoc
|
66
|
-
- Rakefile
|
67
66
|
- doc/KatelloApi.html
|
68
67
|
- doc/KatelloApi/Base.html
|
69
68
|
- doc/KatelloApi/Generator.html
|
@@ -195,7 +194,8 @@ files:
|
|
195
194
|
- lib/katello_api/rest_client_oauth.rb
|
196
195
|
- lib/katello_api/version.rb
|
197
196
|
homepage: http://github.com/katello/katello_api
|
198
|
-
licenses:
|
197
|
+
licenses:
|
198
|
+
- MIT
|
199
199
|
metadata: {}
|
200
200
|
post_install_message:
|
201
201
|
rdoc_options: []
|
data/Rakefile
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
require "bundler/gem_tasks"
|