pulp_cookbook_client 0.1.0b9 → 0.1.0b10.dev1674790537
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.
Potentially problematic release.
This version of pulp_cookbook_client might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/README.md +9 -8
- data/docs/ContentCookbooksApi.md +16 -14
- data/docs/CookbookCookbookDistribution.md +1 -1
- data/docs/CookbookCookbookDistributionResponse.md +1 -1
- data/docs/CookbookCookbookPackageContent.md +6 -4
- data/docs/CookbookCookbookPackageContentResponse.md +3 -3
- data/docs/CookbookCookbookRemote.md +3 -3
- data/docs/CookbookCookbookRemoteResponse.md +3 -1
- data/docs/CookbookCookbookRemoteResponseHiddenFields.md +19 -0
- data/docs/CookbookCookbookRepository.md +1 -1
- data/docs/CookbookCookbookRepositoryResponse.md +1 -1
- data/docs/DistributionsCookbookApi.md +20 -14
- data/docs/PatchedcookbookCookbookDistribution.md +1 -1
- data/docs/PatchedcookbookCookbookRemote.md +3 -3
- data/docs/PatchedcookbookCookbookRepository.md +1 -1
- data/docs/PublicationsCookbookApi.md +14 -12
- data/docs/RemotesCookbookApi.md +14 -14
- data/docs/Repair.md +17 -0
- data/docs/RepositoriesCookbookApi.md +14 -12
- data/docs/RepositoriesCookbookVersionsApi.md +18 -18
- data/lib/pulp_cookbook_client/api/content_cookbooks_api.rb +28 -21
- data/lib/pulp_cookbook_client/api/distributions_cookbook_api.rb +32 -19
- data/lib/pulp_cookbook_client/api/publications_cookbook_api.rb +24 -17
- data/lib/pulp_cookbook_client/api/remotes_cookbook_api.rb +23 -19
- data/lib/pulp_cookbook_client/api/repositories_cookbook_api.rb +24 -17
- data/lib/pulp_cookbook_client/api/repositories_cookbook_versions_api.rb +32 -28
- data/lib/pulp_cookbook_client/api_client.rb +2 -5
- data/lib/pulp_cookbook_client/configuration.rb +1 -0
- data/lib/pulp_cookbook_client/models/cookbook_cookbook_distribution.rb +4 -2
- data/lib/pulp_cookbook_client/models/cookbook_cookbook_distribution_response.rb +4 -2
- data/lib/pulp_cookbook_client/models/cookbook_cookbook_package_content.rb +25 -15
- data/lib/pulp_cookbook_client/models/cookbook_cookbook_package_content_response.rb +11 -11
- data/lib/pulp_cookbook_client/models/cookbook_cookbook_remote.rb +6 -4
- data/lib/pulp_cookbook_client/models/cookbook_cookbook_remote_response.rb +17 -3
- data/lib/pulp_cookbook_client/models/{repository_version.rb → cookbook_cookbook_remote_response_hidden_fields.rb} +19 -12
- data/lib/pulp_cookbook_client/models/cookbook_cookbook_repository.rb +4 -2
- data/lib/pulp_cookbook_client/models/cookbook_cookbook_repository_response.rb +4 -2
- data/lib/pulp_cookbook_client/models/patchedcookbook_cookbook_distribution.rb +4 -2
- data/lib/pulp_cookbook_client/models/patchedcookbook_cookbook_remote.rb +6 -4
- data/lib/pulp_cookbook_client/models/patchedcookbook_cookbook_repository.rb +4 -2
- data/lib/pulp_cookbook_client/models/{content_summary.rb → repair.rb} +13 -50
- data/lib/pulp_cookbook_client/version.rb +1 -1
- data/lib/pulp_cookbook_client.rb +2 -2
- data/pulp_cookbook_client.gemspec +3 -3
- data/spec/api/content_cookbooks_api_spec.rb +8 -7
- data/spec/api/distributions_cookbook_api_spec.rb +10 -7
- data/spec/api/publications_cookbook_api_spec.rb +7 -6
- data/spec/api/remotes_cookbook_api_spec.rb +7 -7
- data/spec/api/repositories_cookbook_api_spec.rb +7 -6
- data/spec/api/repositories_cookbook_versions_api_spec.rb +8 -8
- data/spec/models/cookbook_cookbook_package_content_response_spec.rb +2 -2
- data/spec/models/cookbook_cookbook_package_content_spec.rb +8 -2
- data/spec/models/{content_summary_spec.rb → cookbook_cookbook_remote_response_hidden_fields_spec.rb} +8 -14
- data/spec/models/cookbook_cookbook_remote_response_spec.rb +6 -0
- data/spec/models/{repository_version_spec.rb → repair_spec.rb} +7 -7
- metadata +37 -38
- data/docs/ContentSummary.md +0 -21
- data/docs/RepositoryVersion.md +0 -17
- data/git_push.sh +0 -58
@@ -64,16 +64,17 @@ describe 'PublicationsCookbookApi' do
|
|
64
64
|
# @option opts [String] :content__in Content Unit referenced by HREF
|
65
65
|
# @option opts [Integer] :limit Number of results to return per page.
|
66
66
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
67
|
-
# @option opts [String] :ordering
|
68
|
-
# @option opts [DateTime] :pulp_created
|
67
|
+
# @option opts [Array<String>] :ordering Ordering
|
68
|
+
# @option opts [DateTime] :pulp_created Filter results where pulp_created matches value
|
69
69
|
# @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
|
70
70
|
# @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
|
71
71
|
# @option opts [DateTime] :pulp_created__lt Filter results where pulp_created is less than value
|
72
72
|
# @option opts [DateTime] :pulp_created__lte Filter results where pulp_created is less than or equal to value
|
73
73
|
# @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
74
|
+
# @option opts [String] :repository Repository referenced by HREF
|
74
75
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
75
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
76
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
76
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
77
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
77
78
|
# @return [PaginatedcookbookCookbookPublicationResponseList]
|
78
79
|
describe 'list test' do
|
79
80
|
it 'should work' do
|
@@ -86,8 +87,8 @@ describe 'PublicationsCookbookApi' do
|
|
86
87
|
# File Publication Endpoint. A CookbookPublication contains metadata about all the Cookbook Content in a particular Cookbook Repository Version. Once a CookbookPublication has been created, it can be hosted using the Cookbook Distribution API.
|
87
88
|
# @param cookbook_cookbook_publication_href
|
88
89
|
# @param [Hash] opts the optional parameters
|
89
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
90
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
90
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
91
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
91
92
|
# @return [CookbookCookbookPublicationResponse]
|
92
93
|
describe 'read test' do
|
93
94
|
it 'should work' do
|
@@ -61,22 +61,22 @@ describe 'RemotesCookbookApi' do
|
|
61
61
|
# Cookbook Remote Endpoint. CookbookRemote represents an external source of Cookbook Content. The target url of a CookbookRemote must point to a universe API endpont.
|
62
62
|
# @param [Hash] opts the optional parameters
|
63
63
|
# @option opts [Integer] :limit Number of results to return per page.
|
64
|
-
# @option opts [String] :name
|
64
|
+
# @option opts [String] :name Filter results where name matches value
|
65
65
|
# @option opts [String] :name__contains Filter results where name contains value
|
66
66
|
# @option opts [String] :name__icontains Filter results where name contains value
|
67
67
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
68
68
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
69
69
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
70
|
-
# @option opts [String] :ordering
|
70
|
+
# @option opts [Array<String>] :ordering Ordering
|
71
71
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
72
|
-
# @option opts [DateTime] :pulp_last_updated
|
72
|
+
# @option opts [DateTime] :pulp_last_updated Filter results where pulp_last_updated matches value
|
73
73
|
# @option opts [DateTime] :pulp_last_updated__gt Filter results where pulp_last_updated is greater than value
|
74
74
|
# @option opts [DateTime] :pulp_last_updated__gte Filter results where pulp_last_updated is greater than or equal to value
|
75
75
|
# @option opts [DateTime] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
|
76
76
|
# @option opts [DateTime] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
|
77
77
|
# @option opts [Array<DateTime>] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
|
78
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
79
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
78
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
79
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
80
80
|
# @return [PaginatedcookbookCookbookRemoteResponseList]
|
81
81
|
describe 'list test' do
|
82
82
|
it 'should work' do
|
@@ -102,8 +102,8 @@ describe 'RemotesCookbookApi' do
|
|
102
102
|
# Cookbook Remote Endpoint. CookbookRemote represents an external source of Cookbook Content. The target url of a CookbookRemote must point to a universe API endpont.
|
103
103
|
# @param cookbook_cookbook_remote_href
|
104
104
|
# @param [Hash] opts the optional parameters
|
105
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
106
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
105
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
106
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
107
107
|
# @return [CookbookCookbookRemoteResponse]
|
108
108
|
describe 'read test' do
|
109
109
|
it 'should work' do
|
@@ -61,16 +61,17 @@ describe 'RepositoriesCookbookApi' do
|
|
61
61
|
# Cookbook Repository Endpoint. CookbookRepository represents a single cookbook repository, to which content can be synced, added, or removed.
|
62
62
|
# @param [Hash] opts the optional parameters
|
63
63
|
# @option opts [Integer] :limit Number of results to return per page.
|
64
|
-
# @option opts [String] :name
|
64
|
+
# @option opts [String] :name Filter results where name matches value
|
65
65
|
# @option opts [String] :name__contains Filter results where name contains value
|
66
66
|
# @option opts [String] :name__icontains Filter results where name contains value
|
67
67
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
68
68
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
69
69
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
70
|
-
# @option opts [String] :ordering
|
70
|
+
# @option opts [Array<String>] :ordering Ordering
|
71
71
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
72
|
-
# @option opts [String] :
|
73
|
-
# @option opts [String] :
|
72
|
+
# @option opts [String] :remote Foreign Key referenced by HREF
|
73
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
74
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
74
75
|
# @return [PaginatedcookbookCookbookRepositoryResponseList]
|
75
76
|
describe 'list test' do
|
76
77
|
it 'should work' do
|
@@ -109,8 +110,8 @@ describe 'RepositoriesCookbookApi' do
|
|
109
110
|
# Cookbook Repository Endpoint. CookbookRepository represents a single cookbook repository, to which content can be synced, added, or removed.
|
110
111
|
# @param cookbook_cookbook_repository_href
|
111
112
|
# @param [Hash] opts the optional parameters
|
112
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
113
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
113
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
114
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
114
115
|
# @return [CookbookCookbookRepositoryResponse]
|
115
116
|
describe 'read test' do
|
116
117
|
it 'should work' do
|
@@ -52,22 +52,22 @@ describe 'RepositoriesCookbookVersionsApi' do
|
|
52
52
|
# @option opts [String] :content Content Unit referenced by HREF
|
53
53
|
# @option opts [String] :content__in Content Unit referenced by HREF
|
54
54
|
# @option opts [Integer] :limit Number of results to return per page.
|
55
|
-
# @option opts [Integer] :number
|
55
|
+
# @option opts [Integer] :number Filter results where number matches value
|
56
56
|
# @option opts [Integer] :number__gt Filter results where number is greater than value
|
57
57
|
# @option opts [Integer] :number__gte Filter results where number is greater than or equal to value
|
58
58
|
# @option opts [Integer] :number__lt Filter results where number is less than value
|
59
59
|
# @option opts [Integer] :number__lte Filter results where number is less than or equal to value
|
60
60
|
# @option opts [Array<Integer>] :number__range Filter results where number is between two comma separated values
|
61
61
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
62
|
-
# @option opts [String] :ordering
|
63
|
-
# @option opts [DateTime] :pulp_created
|
62
|
+
# @option opts [Array<String>] :ordering Ordering
|
63
|
+
# @option opts [DateTime] :pulp_created Filter results where pulp_created matches value
|
64
64
|
# @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
|
65
65
|
# @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
|
66
66
|
# @option opts [DateTime] :pulp_created__lt Filter results where pulp_created is less than value
|
67
67
|
# @option opts [DateTime] :pulp_created__lte Filter results where pulp_created is less than or equal to value
|
68
68
|
# @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
69
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
70
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
69
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
70
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
71
71
|
# @return [PaginatedRepositoryVersionResponseList]
|
72
72
|
describe 'list test' do
|
73
73
|
it 'should work' do
|
@@ -80,8 +80,8 @@ describe 'RepositoriesCookbookVersionsApi' do
|
|
80
80
|
# Cookbook Repository Version Endpoint. CookbookRepositoryVersion represents a single cookbook repository version.
|
81
81
|
# @param cookbook_cookbook_repository_version_href
|
82
82
|
# @param [Hash] opts the optional parameters
|
83
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
84
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
83
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
84
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
85
85
|
# @return [RepositoryVersionResponse]
|
86
86
|
describe 'read test' do
|
87
87
|
it 'should work' do
|
@@ -92,7 +92,7 @@ describe 'RepositoriesCookbookVersionsApi' do
|
|
92
92
|
# unit tests for repair
|
93
93
|
# Trigger an asynchronous task to repair a repository version.
|
94
94
|
# @param cookbook_cookbook_repository_version_href
|
95
|
-
# @param
|
95
|
+
# @param repair
|
96
96
|
# @param [Hash] opts the optional parameters
|
97
97
|
# @return [AsyncOperationResponse]
|
98
98
|
describe 'repair test' do
|
@@ -32,13 +32,13 @@ describe 'CookbookCookbookPackageContentResponse' do
|
|
32
32
|
expect(@instance).to be_instance_of(PulpCookbookClient::CookbookCookbookPackageContentResponse)
|
33
33
|
end
|
34
34
|
end
|
35
|
-
describe 'test attribute "
|
35
|
+
describe 'test attribute "pulp_created"' do
|
36
36
|
it 'should work' do
|
37
37
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
38
|
end
|
39
39
|
end
|
40
40
|
|
41
|
-
describe 'test attribute "
|
41
|
+
describe 'test attribute "artifact"' do
|
42
42
|
it 'should work' do
|
43
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
44
|
end
|
@@ -32,7 +32,7 @@ describe 'CookbookCookbookPackageContent' do
|
|
32
32
|
expect(@instance).to be_instance_of(PulpCookbookClient::CookbookCookbookPackageContent)
|
33
33
|
end
|
34
34
|
end
|
35
|
-
describe 'test attribute "
|
35
|
+
describe 'test attribute "repository"' do
|
36
36
|
it 'should work' do
|
37
37
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
38
|
end
|
@@ -44,7 +44,13 @@ describe 'CookbookCookbookPackageContent' do
|
|
44
44
|
end
|
45
45
|
end
|
46
46
|
|
47
|
-
describe 'test attribute "
|
47
|
+
describe 'test attribute "artifact"' do
|
48
|
+
it 'should work' do
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
53
|
+
describe 'test attribute "upload"' do
|
48
54
|
it 'should work' do
|
49
55
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
56
|
end
|
data/spec/models/{content_summary_spec.rb → cookbook_cookbook_remote_response_hidden_fields_spec.rb}
RENAMED
@@ -14,37 +14,31 @@ require 'spec_helper'
|
|
14
14
|
require 'json'
|
15
15
|
require 'date'
|
16
16
|
|
17
|
-
# Unit tests for PulpCookbookClient::
|
17
|
+
# Unit tests for PulpCookbookClient::CookbookCookbookRemoteResponseHiddenFields
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
19
|
# Please update as you see appropriate
|
20
|
-
describe '
|
20
|
+
describe 'CookbookCookbookRemoteResponseHiddenFields' do
|
21
21
|
before do
|
22
22
|
# run before each test
|
23
|
-
@instance = PulpCookbookClient::
|
23
|
+
@instance = PulpCookbookClient::CookbookCookbookRemoteResponseHiddenFields.new
|
24
24
|
end
|
25
25
|
|
26
26
|
after do
|
27
27
|
# run after each test
|
28
28
|
end
|
29
29
|
|
30
|
-
describe 'test an instance of
|
31
|
-
it 'should create an instance of
|
32
|
-
expect(@instance).to be_instance_of(PulpCookbookClient::
|
30
|
+
describe 'test an instance of CookbookCookbookRemoteResponseHiddenFields' do
|
31
|
+
it 'should create an instance of CookbookCookbookRemoteResponseHiddenFields' do
|
32
|
+
expect(@instance).to be_instance_of(PulpCookbookClient::CookbookCookbookRemoteResponseHiddenFields)
|
33
33
|
end
|
34
34
|
end
|
35
|
-
describe 'test attribute "
|
35
|
+
describe 'test attribute "name"' do
|
36
36
|
it 'should work' do
|
37
37
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
38
|
end
|
39
39
|
end
|
40
40
|
|
41
|
-
describe 'test attribute "
|
42
|
-
it 'should work' do
|
43
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
-
end
|
45
|
-
end
|
46
|
-
|
47
|
-
describe 'test attribute "present"' do
|
41
|
+
describe 'test attribute "is_set"' do
|
48
42
|
it 'should work' do
|
49
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
44
|
end
|
@@ -146,6 +146,12 @@ describe 'CookbookCookbookRemoteResponse' do
|
|
146
146
|
end
|
147
147
|
end
|
148
148
|
|
149
|
+
describe 'test attribute "hidden_fields"' do
|
150
|
+
it 'should work' do
|
151
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
152
|
+
end
|
153
|
+
end
|
154
|
+
|
149
155
|
describe 'test attribute "cookbooks"' do
|
150
156
|
it 'should work' do
|
151
157
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -14,25 +14,25 @@ require 'spec_helper'
|
|
14
14
|
require 'json'
|
15
15
|
require 'date'
|
16
16
|
|
17
|
-
# Unit tests for PulpCookbookClient::
|
17
|
+
# Unit tests for PulpCookbookClient::Repair
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
19
|
# Please update as you see appropriate
|
20
|
-
describe '
|
20
|
+
describe 'Repair' do
|
21
21
|
before do
|
22
22
|
# run before each test
|
23
|
-
@instance = PulpCookbookClient::
|
23
|
+
@instance = PulpCookbookClient::Repair.new
|
24
24
|
end
|
25
25
|
|
26
26
|
after do
|
27
27
|
# run after each test
|
28
28
|
end
|
29
29
|
|
30
|
-
describe 'test an instance of
|
31
|
-
it 'should create an instance of
|
32
|
-
expect(@instance).to be_instance_of(PulpCookbookClient::
|
30
|
+
describe 'test an instance of Repair' do
|
31
|
+
it 'should create an instance of Repair' do
|
32
|
+
expect(@instance).to be_instance_of(PulpCookbookClient::Repair)
|
33
33
|
end
|
34
34
|
end
|
35
|
-
describe 'test attribute "
|
35
|
+
describe 'test attribute "verify_checksums"' do
|
36
36
|
it 'should work' do
|
37
37
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
38
|
end
|
metadata
CHANGED
@@ -1,35 +1,35 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pulp_cookbook_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.0b10.dev1674790537
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- OpenAPI-Generator
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-01-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 1.0.1
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version:
|
22
|
+
version: '2.0'
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
26
26
|
requirements:
|
27
|
-
- - "
|
27
|
+
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version:
|
29
|
+
version: 1.0.1
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version:
|
32
|
+
version: '2.0'
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: json
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -82,7 +82,6 @@ files:
|
|
82
82
|
- Rakefile
|
83
83
|
- docs/AsyncOperationResponse.md
|
84
84
|
- docs/ContentCookbooksApi.md
|
85
|
-
- docs/ContentSummary.md
|
86
85
|
- docs/ContentSummaryResponse.md
|
87
86
|
- docs/CookbookCookbookDistribution.md
|
88
87
|
- docs/CookbookCookbookDistributionResponse.md
|
@@ -92,6 +91,7 @@ files:
|
|
92
91
|
- docs/CookbookCookbookPublicationResponse.md
|
93
92
|
- docs/CookbookCookbookRemote.md
|
94
93
|
- docs/CookbookCookbookRemoteResponse.md
|
94
|
+
- docs/CookbookCookbookRemoteResponseHiddenFields.md
|
95
95
|
- docs/CookbookCookbookRepository.md
|
96
96
|
- docs/CookbookCookbookRepositoryResponse.md
|
97
97
|
- docs/DistributionsCookbookApi.md
|
@@ -107,13 +107,12 @@ files:
|
|
107
107
|
- docs/PolicyEnum.md
|
108
108
|
- docs/PublicationsCookbookApi.md
|
109
109
|
- docs/RemotesCookbookApi.md
|
110
|
+
- docs/Repair.md
|
110
111
|
- docs/RepositoriesCookbookApi.md
|
111
112
|
- docs/RepositoriesCookbookVersionsApi.md
|
112
113
|
- docs/RepositoryAddRemoveContent.md
|
113
114
|
- docs/RepositorySyncURL.md
|
114
|
-
- docs/RepositoryVersion.md
|
115
115
|
- docs/RepositoryVersionResponse.md
|
116
|
-
- git_push.sh
|
117
116
|
- lib/pulp_cookbook_client.rb
|
118
117
|
- lib/pulp_cookbook_client/api/content_cookbooks_api.rb
|
119
118
|
- lib/pulp_cookbook_client/api/distributions_cookbook_api.rb
|
@@ -125,7 +124,6 @@ files:
|
|
125
124
|
- lib/pulp_cookbook_client/api_error.rb
|
126
125
|
- lib/pulp_cookbook_client/configuration.rb
|
127
126
|
- lib/pulp_cookbook_client/models/async_operation_response.rb
|
128
|
-
- lib/pulp_cookbook_client/models/content_summary.rb
|
129
127
|
- lib/pulp_cookbook_client/models/content_summary_response.rb
|
130
128
|
- lib/pulp_cookbook_client/models/cookbook_cookbook_distribution.rb
|
131
129
|
- lib/pulp_cookbook_client/models/cookbook_cookbook_distribution_response.rb
|
@@ -135,6 +133,7 @@ files:
|
|
135
133
|
- lib/pulp_cookbook_client/models/cookbook_cookbook_publication_response.rb
|
136
134
|
- lib/pulp_cookbook_client/models/cookbook_cookbook_remote.rb
|
137
135
|
- lib/pulp_cookbook_client/models/cookbook_cookbook_remote_response.rb
|
136
|
+
- lib/pulp_cookbook_client/models/cookbook_cookbook_remote_response_hidden_fields.rb
|
138
137
|
- lib/pulp_cookbook_client/models/cookbook_cookbook_repository.rb
|
139
138
|
- lib/pulp_cookbook_client/models/cookbook_cookbook_repository_response.rb
|
140
139
|
- lib/pulp_cookbook_client/models/paginated_repository_version_response_list.rb
|
@@ -147,9 +146,9 @@ files:
|
|
147
146
|
- lib/pulp_cookbook_client/models/patchedcookbook_cookbook_remote.rb
|
148
147
|
- lib/pulp_cookbook_client/models/patchedcookbook_cookbook_repository.rb
|
149
148
|
- lib/pulp_cookbook_client/models/policy_enum.rb
|
149
|
+
- lib/pulp_cookbook_client/models/repair.rb
|
150
150
|
- lib/pulp_cookbook_client/models/repository_add_remove_content.rb
|
151
151
|
- lib/pulp_cookbook_client/models/repository_sync_url.rb
|
152
|
-
- lib/pulp_cookbook_client/models/repository_version.rb
|
153
152
|
- lib/pulp_cookbook_client/models/repository_version_response.rb
|
154
153
|
- lib/pulp_cookbook_client/version.rb
|
155
154
|
- pulp_cookbook_client.gemspec
|
@@ -163,13 +162,13 @@ files:
|
|
163
162
|
- spec/configuration_spec.rb
|
164
163
|
- spec/models/async_operation_response_spec.rb
|
165
164
|
- spec/models/content_summary_response_spec.rb
|
166
|
-
- spec/models/content_summary_spec.rb
|
167
165
|
- spec/models/cookbook_cookbook_distribution_response_spec.rb
|
168
166
|
- spec/models/cookbook_cookbook_distribution_spec.rb
|
169
167
|
- spec/models/cookbook_cookbook_package_content_response_spec.rb
|
170
168
|
- spec/models/cookbook_cookbook_package_content_spec.rb
|
171
169
|
- spec/models/cookbook_cookbook_publication_response_spec.rb
|
172
170
|
- spec/models/cookbook_cookbook_publication_spec.rb
|
171
|
+
- spec/models/cookbook_cookbook_remote_response_hidden_fields_spec.rb
|
173
172
|
- spec/models/cookbook_cookbook_remote_response_spec.rb
|
174
173
|
- spec/models/cookbook_cookbook_remote_spec.rb
|
175
174
|
- spec/models/cookbook_cookbook_repository_response_spec.rb
|
@@ -184,14 +183,14 @@ files:
|
|
184
183
|
- spec/models/patchedcookbook_cookbook_remote_spec.rb
|
185
184
|
- spec/models/patchedcookbook_cookbook_repository_spec.rb
|
186
185
|
- spec/models/policy_enum_spec.rb
|
186
|
+
- spec/models/repair_spec.rb
|
187
187
|
- spec/models/repository_add_remove_content_spec.rb
|
188
188
|
- spec/models/repository_sync_url_spec.rb
|
189
189
|
- spec/models/repository_version_response_spec.rb
|
190
|
-
- spec/models/repository_version_spec.rb
|
191
190
|
- spec/spec_helper.rb
|
192
|
-
homepage: https://
|
191
|
+
homepage: https://github.com/pulp/pulp_cookbook
|
193
192
|
licenses:
|
194
|
-
-
|
193
|
+
- GPLv2+
|
195
194
|
metadata: {}
|
196
195
|
post_install_message:
|
197
196
|
rdoc_options: []
|
@@ -214,38 +213,38 @@ specification_version: 4
|
|
214
213
|
summary: Pulp 3 API Ruby Gem
|
215
214
|
test_files:
|
216
215
|
- spec/api/repositories_cookbook_versions_api_spec.rb
|
217
|
-
- spec/api/content_cookbooks_api_spec.rb
|
218
|
-
- spec/api/publications_cookbook_api_spec.rb
|
219
216
|
- spec/api/repositories_cookbook_api_spec.rb
|
220
217
|
- spec/api/remotes_cookbook_api_spec.rb
|
221
218
|
- spec/api/distributions_cookbook_api_spec.rb
|
219
|
+
- spec/api/publications_cookbook_api_spec.rb
|
220
|
+
- spec/api/content_cookbooks_api_spec.rb
|
222
221
|
- spec/api_client_spec.rb
|
223
222
|
- spec/configuration_spec.rb
|
224
|
-
- spec/models/
|
225
|
-
- spec/models/patchedcookbook_cookbook_distribution_spec.rb
|
226
|
-
- spec/models/async_operation_response_spec.rb
|
227
|
-
- spec/models/paginatedcookbook_cookbook_repository_response_list_spec.rb
|
223
|
+
- spec/models/cookbook_cookbook_remote_response_spec.rb
|
228
224
|
- spec/models/cookbook_cookbook_distribution_spec.rb
|
229
225
|
- spec/models/paginated_repository_version_response_list_spec.rb
|
226
|
+
- spec/models/cookbook_cookbook_remote_response_hidden_fields_spec.rb
|
227
|
+
- spec/models/paginatedcookbook_cookbook_repository_response_list_spec.rb
|
228
|
+
- spec/models/paginatedcookbook_cookbook_package_content_response_list_spec.rb
|
229
|
+
- spec/models/paginatedcookbook_cookbook_remote_response_list_spec.rb
|
230
|
+
- spec/models/paginatedcookbook_cookbook_publication_response_list_spec.rb
|
231
|
+
- spec/models/patchedcookbook_cookbook_distribution_spec.rb
|
232
|
+
- spec/models/repair_spec.rb
|
233
|
+
- spec/models/patchedcookbook_cookbook_repository_spec.rb
|
230
234
|
- spec/models/cookbook_cookbook_package_content_response_spec.rb
|
231
|
-
- spec/models/
|
232
|
-
- spec/models/
|
235
|
+
- spec/models/repository_sync_url_spec.rb
|
236
|
+
- spec/models/repository_add_remove_content_spec.rb
|
237
|
+
- spec/models/repository_version_response_spec.rb
|
238
|
+
- spec/models/async_operation_response_spec.rb
|
239
|
+
- spec/models/cookbook_cookbook_distribution_response_spec.rb
|
233
240
|
- spec/models/cookbook_cookbook_publication_response_spec.rb
|
241
|
+
- spec/models/content_summary_response_spec.rb
|
234
242
|
- spec/models/cookbook_cookbook_package_content_spec.rb
|
235
|
-
- spec/models/paginatedcookbook_cookbook_remote_response_list_spec.rb
|
236
|
-
- spec/models/patchedcookbook_cookbook_repository_spec.rb
|
237
243
|
- spec/models/policy_enum_spec.rb
|
238
|
-
- spec/models/
|
239
|
-
- spec/models/
|
240
|
-
- spec/models/
|
241
|
-
- spec/models/content_summary_spec.rb
|
242
|
-
- spec/models/paginatedcookbook_cookbook_package_content_response_list_spec.rb
|
243
|
-
- spec/models/cookbook_cookbook_remote_response_spec.rb
|
244
|
+
- spec/models/cookbook_cookbook_remote_spec.rb
|
245
|
+
- spec/models/cookbook_cookbook_repository_spec.rb
|
246
|
+
- spec/models/patchedcookbook_cookbook_remote_spec.rb
|
244
247
|
- spec/models/paginatedcookbook_cookbook_distribution_response_list_spec.rb
|
245
|
-
- spec/models/repository_version_spec.rb
|
246
248
|
- spec/models/cookbook_cookbook_publication_spec.rb
|
247
|
-
- spec/models/
|
248
|
-
- spec/models/cookbook_cookbook_repository_spec.rb
|
249
|
-
- spec/models/repository_add_remove_content_spec.rb
|
250
|
-
- spec/models/repository_sync_url_spec.rb
|
249
|
+
- spec/models/cookbook_cookbook_repository_response_spec.rb
|
251
250
|
- spec/spec_helper.rb
|
data/docs/ContentSummary.md
DELETED
@@ -1,21 +0,0 @@
|
|
1
|
-
# PulpCookbookClient::ContentSummary
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
|
5
|
-
Name | Type | Description | Notes
|
6
|
-
------------ | ------------- | ------------- | -------------
|
7
|
-
**added** | **Hash<String, Object>** | |
|
8
|
-
**removed** | **Hash<String, Object>** | |
|
9
|
-
**present** | **Hash<String, Object>** | |
|
10
|
-
|
11
|
-
## Code Sample
|
12
|
-
|
13
|
-
```ruby
|
14
|
-
require 'PulpCookbookClient'
|
15
|
-
|
16
|
-
instance = PulpCookbookClient::ContentSummary.new(added: null,
|
17
|
-
removed: null,
|
18
|
-
present: null)
|
19
|
-
```
|
20
|
-
|
21
|
-
|
data/docs/RepositoryVersion.md
DELETED
@@ -1,17 +0,0 @@
|
|
1
|
-
# PulpCookbookClient::RepositoryVersion
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
|
5
|
-
Name | Type | Description | Notes
|
6
|
-
------------ | ------------- | ------------- | -------------
|
7
|
-
**base_version** | **String** | A repository version whose content was used as the initial set of content for this repository version | [optional]
|
8
|
-
|
9
|
-
## Code Sample
|
10
|
-
|
11
|
-
```ruby
|
12
|
-
require 'PulpCookbookClient'
|
13
|
-
|
14
|
-
instance = PulpCookbookClient::RepositoryVersion.new(base_version: null)
|
15
|
-
```
|
16
|
-
|
17
|
-
|
data/git_push.sh
DELETED
@@ -1,58 +0,0 @@
|
|
1
|
-
#!/bin/sh
|
2
|
-
# ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/
|
3
|
-
#
|
4
|
-
# Usage example: /bin/sh ./git_push.sh wing328 openapi-pestore-perl "minor update" "gitlab.com"
|
5
|
-
|
6
|
-
git_user_id=$1
|
7
|
-
git_repo_id=$2
|
8
|
-
release_note=$3
|
9
|
-
git_host=$4
|
10
|
-
|
11
|
-
if [ "$git_host" = "" ]; then
|
12
|
-
git_host="github.com"
|
13
|
-
echo "[INFO] No command line input provided. Set \$git_host to $git_host"
|
14
|
-
fi
|
15
|
-
|
16
|
-
if [ "$git_user_id" = "" ]; then
|
17
|
-
git_user_id="GIT_USER_ID"
|
18
|
-
echo "[INFO] No command line input provided. Set \$git_user_id to $git_user_id"
|
19
|
-
fi
|
20
|
-
|
21
|
-
if [ "$git_repo_id" = "" ]; then
|
22
|
-
git_repo_id="GIT_REPO_ID"
|
23
|
-
echo "[INFO] No command line input provided. Set \$git_repo_id to $git_repo_id"
|
24
|
-
fi
|
25
|
-
|
26
|
-
if [ "$release_note" = "" ]; then
|
27
|
-
release_note="Minor update"
|
28
|
-
echo "[INFO] No command line input provided. Set \$release_note to $release_note"
|
29
|
-
fi
|
30
|
-
|
31
|
-
# Initialize the local directory as a Git repository
|
32
|
-
git init
|
33
|
-
|
34
|
-
# Adds the files in the local repository and stages them for commit.
|
35
|
-
git add .
|
36
|
-
|
37
|
-
# Commits the tracked changes and prepares them to be pushed to a remote repository.
|
38
|
-
git commit -m "$release_note"
|
39
|
-
|
40
|
-
# Sets the new remote
|
41
|
-
git_remote=`git remote`
|
42
|
-
if [ "$git_remote" = "" ]; then # git remote not defined
|
43
|
-
|
44
|
-
if [ "$GIT_TOKEN" = "" ]; then
|
45
|
-
echo "[INFO] \$GIT_TOKEN (environment variable) is not set. Using the git credential in your environment."
|
46
|
-
git remote add origin https://${git_host}/${git_user_id}/${git_repo_id}.git
|
47
|
-
else
|
48
|
-
git remote add origin https://${git_user_id}:${GIT_TOKEN}@${git_host}/${git_user_id}/${git_repo_id}.git
|
49
|
-
fi
|
50
|
-
|
51
|
-
fi
|
52
|
-
|
53
|
-
git pull origin master
|
54
|
-
|
55
|
-
# Pushes (Forces) the changes in the local repository up to the remote repository
|
56
|
-
echo "Git pushing to https://${git_host}/${git_user_id}/${git_repo_id}.git"
|
57
|
-
git push origin master 2>&1 | grep -v 'To https'
|
58
|
-
|