zest 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Gemfile +7 -0
- data/README.md +185 -0
- data/Rakefile +8 -0
- data/api.json +1 -0
- data/config.json +6 -0
- data/docs/Artifact.md +17 -0
- data/docs/AsyncOperationResponse.md +8 -0
- data/docs/Distribution.md +16 -0
- data/docs/FileContent.md +12 -0
- data/docs/FilePublisher.md +14 -0
- data/docs/FileRemote.md +23 -0
- data/docs/InlineResponse200.md +11 -0
- data/docs/InlineResponse2001.md +11 -0
- data/docs/InlineResponse20010.md +11 -0
- data/docs/InlineResponse2002.md +11 -0
- data/docs/InlineResponse2003.md +11 -0
- data/docs/InlineResponse2004.md +11 -0
- data/docs/InlineResponse2005.md +11 -0
- data/docs/InlineResponse2006.md +11 -0
- data/docs/InlineResponse2007.md +11 -0
- data/docs/InlineResponse2008.md +11 -0
- data/docs/InlineResponse2009.md +11 -0
- data/docs/ProgressReport.md +13 -0
- data/docs/Publication.md +13 -0
- data/docs/PulpApi.md +3056 -0
- data/docs/Repository.md +13 -0
- data/docs/RepositoryPublishURL.md +9 -0
- data/docs/RepositorySyncURL.md +9 -0
- data/docs/RepositoryVersion.md +17 -0
- data/docs/RepositoryVersionCreate.md +10 -0
- data/docs/Task.md +21 -0
- data/docs/User.md +11 -0
- data/docs/Worker.md +13 -0
- data/git_push.sh +55 -0
- data/katello_pulp_api-0.0.1.gem +0 -0
- data/katello_pulp_api.gemspec +46 -0
- data/lib/katello_pulp_api.rb +67 -0
- data/lib/katello_pulp_api/api/pulp_api.rb +3277 -0
- data/lib/katello_pulp_api/api_client.rb +389 -0
- data/lib/katello_pulp_api/api_error.rb +38 -0
- data/lib/katello_pulp_api/configuration.rb +209 -0
- data/lib/katello_pulp_api/models/artifact.rb +278 -0
- data/lib/katello_pulp_api/models/async_operation_response.rb +194 -0
- data/lib/katello_pulp_api/models/distribution.rb +350 -0
- data/lib/katello_pulp_api/models/file_content.rb +272 -0
- data/lib/katello_pulp_api/models/file_publisher.rb +306 -0
- data/lib/katello_pulp_api/models/file_remote.rb +452 -0
- data/lib/katello_pulp_api/models/inline_response_200.rb +227 -0
- data/lib/katello_pulp_api/models/inline_response_200_1.rb +227 -0
- data/lib/katello_pulp_api/models/inline_response_200_10.rb +227 -0
- data/lib/katello_pulp_api/models/inline_response_200_2.rb +227 -0
- data/lib/katello_pulp_api/models/inline_response_200_3.rb +227 -0
- data/lib/katello_pulp_api/models/inline_response_200_4.rb +227 -0
- data/lib/katello_pulp_api/models/inline_response_200_5.rb +227 -0
- data/lib/katello_pulp_api/models/inline_response_200_6.rb +227 -0
- data/lib/katello_pulp_api/models/inline_response_200_7.rb +227 -0
- data/lib/katello_pulp_api/models/inline_response_200_8.rb +227 -0
- data/lib/katello_pulp_api/models/inline_response_200_9.rb +227 -0
- data/lib/katello_pulp_api/models/progress_report.rb +271 -0
- data/lib/katello_pulp_api/models/publication.rb +249 -0
- data/lib/katello_pulp_api/models/repository.rb +260 -0
- data/lib/katello_pulp_api/models/repository_publish_url.rb +199 -0
- data/lib/katello_pulp_api/models/repository_sync_url.rb +206 -0
- data/lib/katello_pulp_api/models/repository_version.rb +277 -0
- data/lib/katello_pulp_api/models/repository_version_create.rb +223 -0
- data/lib/katello_pulp_api/models/task.rb +363 -0
- data/lib/katello_pulp_api/models/user.rb +284 -0
- data/lib/katello_pulp_api/models/worker.rb +254 -0
- data/lib/katello_pulp_api/version.rb +15 -0
- data/lib/zest.rb +67 -0
- data/lib/zest/api/pulp_api.rb +3277 -0
- data/lib/zest/api_client.rb +389 -0
- data/lib/zest/api_error.rb +38 -0
- data/lib/zest/configuration.rb +209 -0
- data/lib/zest/models/artifact.rb +278 -0
- data/lib/zest/models/async_operation_response.rb +194 -0
- data/lib/zest/models/distribution.rb +350 -0
- data/lib/zest/models/file_content.rb +272 -0
- data/lib/zest/models/file_publisher.rb +306 -0
- data/lib/zest/models/file_remote.rb +452 -0
- data/lib/zest/models/inline_response_200.rb +227 -0
- data/lib/zest/models/inline_response_200_1.rb +227 -0
- data/lib/zest/models/inline_response_200_10.rb +227 -0
- data/lib/zest/models/inline_response_200_2.rb +227 -0
- data/lib/zest/models/inline_response_200_3.rb +227 -0
- data/lib/zest/models/inline_response_200_4.rb +227 -0
- data/lib/zest/models/inline_response_200_5.rb +227 -0
- data/lib/zest/models/inline_response_200_6.rb +227 -0
- data/lib/zest/models/inline_response_200_7.rb +227 -0
- data/lib/zest/models/inline_response_200_8.rb +227 -0
- data/lib/zest/models/inline_response_200_9.rb +227 -0
- data/lib/zest/models/progress_report.rb +271 -0
- data/lib/zest/models/publication.rb +249 -0
- data/lib/zest/models/repository.rb +260 -0
- data/lib/zest/models/repository_publish_url.rb +199 -0
- data/lib/zest/models/repository_sync_url.rb +206 -0
- data/lib/zest/models/repository_version.rb +277 -0
- data/lib/zest/models/repository_version_create.rb +223 -0
- data/lib/zest/models/task.rb +363 -0
- data/lib/zest/models/user.rb +284 -0
- data/lib/zest/models/worker.rb +254 -0
- data/lib/zest/version.rb +15 -0
- data/spec/api/pulp_api_spec.rb +784 -0
- data/spec/api_client_spec.rb +226 -0
- data/spec/configuration_spec.rb +42 -0
- data/spec/models/artifact_spec.rb +96 -0
- data/spec/models/async_operation_response_spec.rb +42 -0
- data/spec/models/distribution_spec.rb +90 -0
- data/spec/models/file_content_spec.rb +66 -0
- data/spec/models/file_publisher_spec.rb +78 -0
- data/spec/models/file_remote_spec.rb +136 -0
- data/spec/models/inline_response_200_10_spec.rb +60 -0
- data/spec/models/inline_response_200_1_spec.rb +60 -0
- data/spec/models/inline_response_200_2_spec.rb +60 -0
- data/spec/models/inline_response_200_3_spec.rb +60 -0
- data/spec/models/inline_response_200_4_spec.rb +60 -0
- data/spec/models/inline_response_200_5_spec.rb +60 -0
- data/spec/models/inline_response_200_6_spec.rb +60 -0
- data/spec/models/inline_response_200_7_spec.rb +60 -0
- data/spec/models/inline_response_200_8_spec.rb +60 -0
- data/spec/models/inline_response_200_9_spec.rb +60 -0
- data/spec/models/inline_response_200_spec.rb +60 -0
- data/spec/models/progress_report_spec.rb +72 -0
- data/spec/models/publication_spec.rb +72 -0
- data/spec/models/repository_publish_url_spec.rb +48 -0
- data/spec/models/repository_spec.rb +72 -0
- data/spec/models/repository_sync_url_spec.rb +48 -0
- data/spec/models/repository_version_create_spec.rb +54 -0
- data/spec/models/repository_version_spec.rb +96 -0
- data/spec/models/task_spec.rb +120 -0
- data/spec/models/user_spec.rb +60 -0
- data/spec/models/worker_spec.rb +72 -0
- data/spec/spec_helper.rb +111 -0
- data/zest.gemspec +46 -0
- metadata +391 -0
@@ -0,0 +1,120 @@
|
|
1
|
+
=begin
|
2
|
+
#Pulp3 API
|
3
|
+
|
4
|
+
#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
5
|
+
|
6
|
+
OpenAPI spec version: v3
|
7
|
+
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.3.1
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for KatelloPulpApi::Task
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'Task' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = KatelloPulpApi::Task.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of Task' do
|
31
|
+
it 'should create an instance of Task' do
|
32
|
+
expect(@instance).to be_instance_of(KatelloPulpApi::Task)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "_href"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
describe 'test attribute "_created"' do
|
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 "job_id"' 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 "state"' do
|
54
|
+
it 'should work' do
|
55
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
59
|
+
describe 'test attribute "name"' do
|
60
|
+
it 'should work' do
|
61
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
62
|
+
end
|
63
|
+
end
|
64
|
+
|
65
|
+
describe 'test attribute "started_at"' do
|
66
|
+
it 'should work' do
|
67
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
68
|
+
end
|
69
|
+
end
|
70
|
+
|
71
|
+
describe 'test attribute "finished_at"' do
|
72
|
+
it 'should work' do
|
73
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
74
|
+
end
|
75
|
+
end
|
76
|
+
|
77
|
+
describe 'test attribute "non_fatal_errors"' do
|
78
|
+
it 'should work' do
|
79
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
80
|
+
end
|
81
|
+
end
|
82
|
+
|
83
|
+
describe 'test attribute "error"' do
|
84
|
+
it 'should work' do
|
85
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
86
|
+
end
|
87
|
+
end
|
88
|
+
|
89
|
+
describe 'test attribute "worker"' do
|
90
|
+
it 'should work' do
|
91
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
92
|
+
end
|
93
|
+
end
|
94
|
+
|
95
|
+
describe 'test attribute "parent"' do
|
96
|
+
it 'should work' do
|
97
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
98
|
+
end
|
99
|
+
end
|
100
|
+
|
101
|
+
describe 'test attribute "spawned_tasks"' do
|
102
|
+
it 'should work' do
|
103
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
104
|
+
end
|
105
|
+
end
|
106
|
+
|
107
|
+
describe 'test attribute "progress_reports"' do
|
108
|
+
it 'should work' do
|
109
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
110
|
+
end
|
111
|
+
end
|
112
|
+
|
113
|
+
describe 'test attribute "created_resources"' do
|
114
|
+
it 'should work' do
|
115
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
116
|
+
end
|
117
|
+
end
|
118
|
+
|
119
|
+
end
|
120
|
+
|
@@ -0,0 +1,60 @@
|
|
1
|
+
=begin
|
2
|
+
#Pulp3 API
|
3
|
+
|
4
|
+
#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
5
|
+
|
6
|
+
OpenAPI spec version: v3
|
7
|
+
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.3.1
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for KatelloPulpApi::User
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'User' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = KatelloPulpApi::User.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of User' do
|
31
|
+
it 'should create an instance of User' do
|
32
|
+
expect(@instance).to be_instance_of(KatelloPulpApi::User)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "_href"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
describe 'test attribute "_created"' do
|
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 "username"' 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 "password"' do
|
54
|
+
it 'should work' do
|
55
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
59
|
+
end
|
60
|
+
|
@@ -0,0 +1,72 @@
|
|
1
|
+
=begin
|
2
|
+
#Pulp3 API
|
3
|
+
|
4
|
+
#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
5
|
+
|
6
|
+
OpenAPI spec version: v3
|
7
|
+
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.3.1
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for KatelloPulpApi::Worker
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'Worker' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = KatelloPulpApi::Worker.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of Worker' do
|
31
|
+
it 'should create an instance of Worker' do
|
32
|
+
expect(@instance).to be_instance_of(KatelloPulpApi::Worker)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "_href"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
describe 'test attribute "_created"' do
|
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 "name"' 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 "last_heartbeat"' do
|
54
|
+
it 'should work' do
|
55
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
59
|
+
describe 'test attribute "online"' do
|
60
|
+
it 'should work' do
|
61
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
62
|
+
end
|
63
|
+
end
|
64
|
+
|
65
|
+
describe 'test attribute "missing"' do
|
66
|
+
it 'should work' do
|
67
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
68
|
+
end
|
69
|
+
end
|
70
|
+
|
71
|
+
end
|
72
|
+
|
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,111 @@
|
|
1
|
+
=begin
|
2
|
+
#Pulp3 API
|
3
|
+
|
4
|
+
#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
5
|
+
|
6
|
+
OpenAPI spec version: v3
|
7
|
+
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.3.1
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
# load the gem
|
14
|
+
require 'katello_pulp_api'
|
15
|
+
|
16
|
+
# The following was generated by the `rspec --init` command. Conventionally, all
|
17
|
+
# specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
|
18
|
+
# The generated `.rspec` file contains `--require spec_helper` which will cause
|
19
|
+
# this file to always be loaded, without a need to explicitly require it in any
|
20
|
+
# files.
|
21
|
+
#
|
22
|
+
# Given that it is always loaded, you are encouraged to keep this file as
|
23
|
+
# light-weight as possible. Requiring heavyweight dependencies from this file
|
24
|
+
# will add to the boot time of your test suite on EVERY test run, even for an
|
25
|
+
# individual file that may not need all of that loaded. Instead, consider making
|
26
|
+
# a separate helper file that requires the additional dependencies and performs
|
27
|
+
# the additional setup, and require it from the spec files that actually need
|
28
|
+
# it.
|
29
|
+
#
|
30
|
+
# The `.rspec` file also contains a few flags that are not defaults but that
|
31
|
+
# users commonly want.
|
32
|
+
#
|
33
|
+
# See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
|
34
|
+
RSpec.configure do |config|
|
35
|
+
# rspec-expectations config goes here. You can use an alternate
|
36
|
+
# assertion/expectation library such as wrong or the stdlib/minitest
|
37
|
+
# assertions if you prefer.
|
38
|
+
config.expect_with :rspec do |expectations|
|
39
|
+
# This option will default to `true` in RSpec 4. It makes the `description`
|
40
|
+
# and `failure_message` of custom matchers include text for helper methods
|
41
|
+
# defined using `chain`, e.g.:
|
42
|
+
# be_bigger_than(2).and_smaller_than(4).description
|
43
|
+
# # => "be bigger than 2 and smaller than 4"
|
44
|
+
# ...rather than:
|
45
|
+
# # => "be bigger than 2"
|
46
|
+
expectations.include_chain_clauses_in_custom_matcher_descriptions = true
|
47
|
+
end
|
48
|
+
|
49
|
+
# rspec-mocks config goes here. You can use an alternate test double
|
50
|
+
# library (such as bogus or mocha) by changing the `mock_with` option here.
|
51
|
+
config.mock_with :rspec do |mocks|
|
52
|
+
# Prevents you from mocking or stubbing a method that does not exist on
|
53
|
+
# a real object. This is generally recommended, and will default to
|
54
|
+
# `true` in RSpec 4.
|
55
|
+
mocks.verify_partial_doubles = true
|
56
|
+
end
|
57
|
+
|
58
|
+
# The settings below are suggested to provide a good initial experience
|
59
|
+
# with RSpec, but feel free to customize to your heart's content.
|
60
|
+
=begin
|
61
|
+
# These two settings work together to allow you to limit a spec run
|
62
|
+
# to individual examples or groups you care about by tagging them with
|
63
|
+
# `:focus` metadata. When nothing is tagged with `:focus`, all examples
|
64
|
+
# get run.
|
65
|
+
config.filter_run :focus
|
66
|
+
config.run_all_when_everything_filtered = true
|
67
|
+
|
68
|
+
# Allows RSpec to persist some state between runs in order to support
|
69
|
+
# the `--only-failures` and `--next-failure` CLI options. We recommend
|
70
|
+
# you configure your source control system to ignore this file.
|
71
|
+
config.example_status_persistence_file_path = "spec/examples.txt"
|
72
|
+
|
73
|
+
# Limits the available syntax to the non-monkey patched syntax that is
|
74
|
+
# recommended. For more details, see:
|
75
|
+
# - http://rspec.info/blog/2012/06/rspecs-new-expectation-syntax/
|
76
|
+
# - http://www.teaisaweso.me/blog/2013/05/27/rspecs-new-message-expectation-syntax/
|
77
|
+
# - http://rspec.info/blog/2014/05/notable-changes-in-rspec-3/#zero-monkey-patching-mode
|
78
|
+
config.disable_monkey_patching!
|
79
|
+
|
80
|
+
# This setting enables warnings. It's recommended, but in some cases may
|
81
|
+
# be too noisy due to issues in dependencies.
|
82
|
+
config.warnings = true
|
83
|
+
|
84
|
+
# Many RSpec users commonly either run the entire suite or an individual
|
85
|
+
# file, and it's useful to allow more verbose output when running an
|
86
|
+
# individual spec file.
|
87
|
+
if config.files_to_run.one?
|
88
|
+
# Use the documentation formatter for detailed output,
|
89
|
+
# unless a formatter has already been configured
|
90
|
+
# (e.g. via a command-line flag).
|
91
|
+
config.default_formatter = 'doc'
|
92
|
+
end
|
93
|
+
|
94
|
+
# Print the 10 slowest examples and example groups at the
|
95
|
+
# end of the spec run, to help surface which specs are running
|
96
|
+
# particularly slow.
|
97
|
+
config.profile_examples = 10
|
98
|
+
|
99
|
+
# Run specs in random order to surface order dependencies. If you find an
|
100
|
+
# order dependency and want to debug it, you can fix the order by providing
|
101
|
+
# the seed, which is printed after each run.
|
102
|
+
# --seed 1234
|
103
|
+
config.order = :random
|
104
|
+
|
105
|
+
# Seed global randomization in this process using the `--seed` CLI option.
|
106
|
+
# Setting this allows you to use `--seed` to deterministically reproduce
|
107
|
+
# test failures related to randomization by passing the same `--seed` value
|
108
|
+
# as the one that triggered the failure.
|
109
|
+
Kernel.srand config.seed
|
110
|
+
=end
|
111
|
+
end
|
data/zest.gemspec
ADDED
@@ -0,0 +1,46 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
#
|
3
|
+
=begin
|
4
|
+
#Pulp3 API
|
5
|
+
|
6
|
+
#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
7
|
+
|
8
|
+
OpenAPI spec version: v3
|
9
|
+
|
10
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
11
|
+
Swagger Codegen version: 2.3.1
|
12
|
+
|
13
|
+
=end
|
14
|
+
|
15
|
+
$:.push File.expand_path("../lib", __FILE__)
|
16
|
+
require "zest/version"
|
17
|
+
|
18
|
+
Gem::Specification.new do |s|
|
19
|
+
s.name = "zest"
|
20
|
+
s.version = Zest::VERSION
|
21
|
+
s.platform = Gem::Platform::RUBY
|
22
|
+
s.authors = ["Swagger-Codegen"]
|
23
|
+
s.email = [""]
|
24
|
+
s.homepage = "https://github.com/swagger-api/swagger-codegen"
|
25
|
+
s.summary = "Pulp3 API Ruby Gem"
|
26
|
+
s.description = "Api bindings for pulp3, built with the following components: , p, u, l, p, c, o, r, e, -, 3, ., 0, ., 0, b, 2, 1, , , p, u, l, p, c, o, r, e, -, p, l, u, g, i, n, -, 0, ., 1, ., 0, b, 1, 9, , , p, u, l, p, _, f, i, l, e, -, 0, ., 0, ., 1, b, 8, "
|
27
|
+
# TODO uncommnet and update below with a proper license
|
28
|
+
#s.license = "Apache 2.0"
|
29
|
+
s.required_ruby_version = ">= 1.9"
|
30
|
+
|
31
|
+
s.add_runtime_dependency 'typhoeus', '~> 1.0', '>= 1.0.1'
|
32
|
+
s.add_runtime_dependency 'json', '~> 2.1', '>= 2.1.0'
|
33
|
+
|
34
|
+
s.add_development_dependency 'rspec', '~> 3.6', '>= 3.6.0'
|
35
|
+
s.add_development_dependency 'vcr', '~> 3.0', '>= 3.0.1'
|
36
|
+
s.add_development_dependency 'webmock', '~> 1.24', '>= 1.24.3'
|
37
|
+
s.add_development_dependency 'autotest', '~> 4.4', '>= 4.4.6'
|
38
|
+
s.add_development_dependency 'autotest-rails-pure', '~> 4.1', '>= 4.1.2'
|
39
|
+
s.add_development_dependency 'autotest-growl', '~> 0.2', '>= 0.2.16'
|
40
|
+
s.add_development_dependency 'autotest-fsevent', '~> 0.2', '>= 0.2.12'
|
41
|
+
|
42
|
+
s.files = `find *`.split("\n").uniq.sort.select{|f| !f.empty? }
|
43
|
+
s.test_files = `find spec/*`.split("\n")
|
44
|
+
s.executables = []
|
45
|
+
s.require_paths = ["lib"]
|
46
|
+
end
|
metadata
ADDED
@@ -0,0 +1,391 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: zest
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Swagger-Codegen
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2019-02-15 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: typhoeus
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ~>
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.0'
|
20
|
+
- - '>='
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 1.0.1
|
23
|
+
type: :runtime
|
24
|
+
prerelease: false
|
25
|
+
version_requirements: !ruby/object:Gem::Requirement
|
26
|
+
requirements:
|
27
|
+
- - ~>
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '1.0'
|
30
|
+
- - '>='
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: 1.0.1
|
33
|
+
- !ruby/object:Gem::Dependency
|
34
|
+
name: json
|
35
|
+
requirement: !ruby/object:Gem::Requirement
|
36
|
+
requirements:
|
37
|
+
- - ~>
|
38
|
+
- !ruby/object:Gem::Version
|
39
|
+
version: '2.1'
|
40
|
+
- - '>='
|
41
|
+
- !ruby/object:Gem::Version
|
42
|
+
version: 2.1.0
|
43
|
+
type: :runtime
|
44
|
+
prerelease: false
|
45
|
+
version_requirements: !ruby/object:Gem::Requirement
|
46
|
+
requirements:
|
47
|
+
- - ~>
|
48
|
+
- !ruby/object:Gem::Version
|
49
|
+
version: '2.1'
|
50
|
+
- - '>='
|
51
|
+
- !ruby/object:Gem::Version
|
52
|
+
version: 2.1.0
|
53
|
+
- !ruby/object:Gem::Dependency
|
54
|
+
name: rspec
|
55
|
+
requirement: !ruby/object:Gem::Requirement
|
56
|
+
requirements:
|
57
|
+
- - ~>
|
58
|
+
- !ruby/object:Gem::Version
|
59
|
+
version: '3.6'
|
60
|
+
- - '>='
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
version: 3.6.0
|
63
|
+
type: :development
|
64
|
+
prerelease: false
|
65
|
+
version_requirements: !ruby/object:Gem::Requirement
|
66
|
+
requirements:
|
67
|
+
- - ~>
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: '3.6'
|
70
|
+
- - '>='
|
71
|
+
- !ruby/object:Gem::Version
|
72
|
+
version: 3.6.0
|
73
|
+
- !ruby/object:Gem::Dependency
|
74
|
+
name: vcr
|
75
|
+
requirement: !ruby/object:Gem::Requirement
|
76
|
+
requirements:
|
77
|
+
- - ~>
|
78
|
+
- !ruby/object:Gem::Version
|
79
|
+
version: '3.0'
|
80
|
+
- - '>='
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: 3.0.1
|
83
|
+
type: :development
|
84
|
+
prerelease: false
|
85
|
+
version_requirements: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ~>
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '3.0'
|
90
|
+
- - '>='
|
91
|
+
- !ruby/object:Gem::Version
|
92
|
+
version: 3.0.1
|
93
|
+
- !ruby/object:Gem::Dependency
|
94
|
+
name: webmock
|
95
|
+
requirement: !ruby/object:Gem::Requirement
|
96
|
+
requirements:
|
97
|
+
- - ~>
|
98
|
+
- !ruby/object:Gem::Version
|
99
|
+
version: '1.24'
|
100
|
+
- - '>='
|
101
|
+
- !ruby/object:Gem::Version
|
102
|
+
version: 1.24.3
|
103
|
+
type: :development
|
104
|
+
prerelease: false
|
105
|
+
version_requirements: !ruby/object:Gem::Requirement
|
106
|
+
requirements:
|
107
|
+
- - ~>
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: '1.24'
|
110
|
+
- - '>='
|
111
|
+
- !ruby/object:Gem::Version
|
112
|
+
version: 1.24.3
|
113
|
+
- !ruby/object:Gem::Dependency
|
114
|
+
name: autotest
|
115
|
+
requirement: !ruby/object:Gem::Requirement
|
116
|
+
requirements:
|
117
|
+
- - ~>
|
118
|
+
- !ruby/object:Gem::Version
|
119
|
+
version: '4.4'
|
120
|
+
- - '>='
|
121
|
+
- !ruby/object:Gem::Version
|
122
|
+
version: 4.4.6
|
123
|
+
type: :development
|
124
|
+
prerelease: false
|
125
|
+
version_requirements: !ruby/object:Gem::Requirement
|
126
|
+
requirements:
|
127
|
+
- - ~>
|
128
|
+
- !ruby/object:Gem::Version
|
129
|
+
version: '4.4'
|
130
|
+
- - '>='
|
131
|
+
- !ruby/object:Gem::Version
|
132
|
+
version: 4.4.6
|
133
|
+
- !ruby/object:Gem::Dependency
|
134
|
+
name: autotest-rails-pure
|
135
|
+
requirement: !ruby/object:Gem::Requirement
|
136
|
+
requirements:
|
137
|
+
- - ~>
|
138
|
+
- !ruby/object:Gem::Version
|
139
|
+
version: '4.1'
|
140
|
+
- - '>='
|
141
|
+
- !ruby/object:Gem::Version
|
142
|
+
version: 4.1.2
|
143
|
+
type: :development
|
144
|
+
prerelease: false
|
145
|
+
version_requirements: !ruby/object:Gem::Requirement
|
146
|
+
requirements:
|
147
|
+
- - ~>
|
148
|
+
- !ruby/object:Gem::Version
|
149
|
+
version: '4.1'
|
150
|
+
- - '>='
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: 4.1.2
|
153
|
+
- !ruby/object:Gem::Dependency
|
154
|
+
name: autotest-growl
|
155
|
+
requirement: !ruby/object:Gem::Requirement
|
156
|
+
requirements:
|
157
|
+
- - ~>
|
158
|
+
- !ruby/object:Gem::Version
|
159
|
+
version: '0.2'
|
160
|
+
- - '>='
|
161
|
+
- !ruby/object:Gem::Version
|
162
|
+
version: 0.2.16
|
163
|
+
type: :development
|
164
|
+
prerelease: false
|
165
|
+
version_requirements: !ruby/object:Gem::Requirement
|
166
|
+
requirements:
|
167
|
+
- - ~>
|
168
|
+
- !ruby/object:Gem::Version
|
169
|
+
version: '0.2'
|
170
|
+
- - '>='
|
171
|
+
- !ruby/object:Gem::Version
|
172
|
+
version: 0.2.16
|
173
|
+
- !ruby/object:Gem::Dependency
|
174
|
+
name: autotest-fsevent
|
175
|
+
requirement: !ruby/object:Gem::Requirement
|
176
|
+
requirements:
|
177
|
+
- - ~>
|
178
|
+
- !ruby/object:Gem::Version
|
179
|
+
version: '0.2'
|
180
|
+
- - '>='
|
181
|
+
- !ruby/object:Gem::Version
|
182
|
+
version: 0.2.12
|
183
|
+
type: :development
|
184
|
+
prerelease: false
|
185
|
+
version_requirements: !ruby/object:Gem::Requirement
|
186
|
+
requirements:
|
187
|
+
- - ~>
|
188
|
+
- !ruby/object:Gem::Version
|
189
|
+
version: '0.2'
|
190
|
+
- - '>='
|
191
|
+
- !ruby/object:Gem::Version
|
192
|
+
version: 0.2.12
|
193
|
+
description: 'Api bindings for pulp3, built with the following components: , p, u,
|
194
|
+
l, p, c, o, r, e, -, 3, ., 0, ., 0, b, 2, 1, , , p, u, l, p, c, o, r, e, -, p,
|
195
|
+
l, u, g, i, n, -, 0, ., 1, ., 0, b, 1, 9, , , p, u, l, p, _, f, i, l, e, -, 0,
|
196
|
+
., 0, ., 1, b, 8, '
|
197
|
+
email:
|
198
|
+
- ''
|
199
|
+
executables: []
|
200
|
+
extensions: []
|
201
|
+
extra_rdoc_files: []
|
202
|
+
files:
|
203
|
+
- Gemfile
|
204
|
+
- README.md
|
205
|
+
- Rakefile
|
206
|
+
- api.json
|
207
|
+
- config.json
|
208
|
+
- docs/Artifact.md
|
209
|
+
- docs/AsyncOperationResponse.md
|
210
|
+
- docs/Distribution.md
|
211
|
+
- docs/FileContent.md
|
212
|
+
- docs/FilePublisher.md
|
213
|
+
- docs/FileRemote.md
|
214
|
+
- docs/InlineResponse200.md
|
215
|
+
- docs/InlineResponse2001.md
|
216
|
+
- docs/InlineResponse20010.md
|
217
|
+
- docs/InlineResponse2002.md
|
218
|
+
- docs/InlineResponse2003.md
|
219
|
+
- docs/InlineResponse2004.md
|
220
|
+
- docs/InlineResponse2005.md
|
221
|
+
- docs/InlineResponse2006.md
|
222
|
+
- docs/InlineResponse2007.md
|
223
|
+
- docs/InlineResponse2008.md
|
224
|
+
- docs/InlineResponse2009.md
|
225
|
+
- docs/ProgressReport.md
|
226
|
+
- docs/Publication.md
|
227
|
+
- docs/PulpApi.md
|
228
|
+
- docs/Repository.md
|
229
|
+
- docs/RepositoryPublishURL.md
|
230
|
+
- docs/RepositorySyncURL.md
|
231
|
+
- docs/RepositoryVersion.md
|
232
|
+
- docs/RepositoryVersionCreate.md
|
233
|
+
- docs/Task.md
|
234
|
+
- docs/User.md
|
235
|
+
- docs/Worker.md
|
236
|
+
- git_push.sh
|
237
|
+
- katello_pulp_api-0.0.1.gem
|
238
|
+
- katello_pulp_api.gemspec
|
239
|
+
- lib/katello_pulp_api.rb
|
240
|
+
- lib/katello_pulp_api/api/pulp_api.rb
|
241
|
+
- lib/katello_pulp_api/api_client.rb
|
242
|
+
- lib/katello_pulp_api/api_error.rb
|
243
|
+
- lib/katello_pulp_api/configuration.rb
|
244
|
+
- lib/katello_pulp_api/models/artifact.rb
|
245
|
+
- lib/katello_pulp_api/models/async_operation_response.rb
|
246
|
+
- lib/katello_pulp_api/models/distribution.rb
|
247
|
+
- lib/katello_pulp_api/models/file_content.rb
|
248
|
+
- lib/katello_pulp_api/models/file_publisher.rb
|
249
|
+
- lib/katello_pulp_api/models/file_remote.rb
|
250
|
+
- lib/katello_pulp_api/models/inline_response_200.rb
|
251
|
+
- lib/katello_pulp_api/models/inline_response_200_1.rb
|
252
|
+
- lib/katello_pulp_api/models/inline_response_200_10.rb
|
253
|
+
- lib/katello_pulp_api/models/inline_response_200_2.rb
|
254
|
+
- lib/katello_pulp_api/models/inline_response_200_3.rb
|
255
|
+
- lib/katello_pulp_api/models/inline_response_200_4.rb
|
256
|
+
- lib/katello_pulp_api/models/inline_response_200_5.rb
|
257
|
+
- lib/katello_pulp_api/models/inline_response_200_6.rb
|
258
|
+
- lib/katello_pulp_api/models/inline_response_200_7.rb
|
259
|
+
- lib/katello_pulp_api/models/inline_response_200_8.rb
|
260
|
+
- lib/katello_pulp_api/models/inline_response_200_9.rb
|
261
|
+
- lib/katello_pulp_api/models/progress_report.rb
|
262
|
+
- lib/katello_pulp_api/models/publication.rb
|
263
|
+
- lib/katello_pulp_api/models/repository.rb
|
264
|
+
- lib/katello_pulp_api/models/repository_publish_url.rb
|
265
|
+
- lib/katello_pulp_api/models/repository_sync_url.rb
|
266
|
+
- lib/katello_pulp_api/models/repository_version.rb
|
267
|
+
- lib/katello_pulp_api/models/repository_version_create.rb
|
268
|
+
- lib/katello_pulp_api/models/task.rb
|
269
|
+
- lib/katello_pulp_api/models/user.rb
|
270
|
+
- lib/katello_pulp_api/models/worker.rb
|
271
|
+
- lib/katello_pulp_api/version.rb
|
272
|
+
- lib/zest.rb
|
273
|
+
- lib/zest/api/pulp_api.rb
|
274
|
+
- lib/zest/api_client.rb
|
275
|
+
- lib/zest/api_error.rb
|
276
|
+
- lib/zest/configuration.rb
|
277
|
+
- lib/zest/models/artifact.rb
|
278
|
+
- lib/zest/models/async_operation_response.rb
|
279
|
+
- lib/zest/models/distribution.rb
|
280
|
+
- lib/zest/models/file_content.rb
|
281
|
+
- lib/zest/models/file_publisher.rb
|
282
|
+
- lib/zest/models/file_remote.rb
|
283
|
+
- lib/zest/models/inline_response_200.rb
|
284
|
+
- lib/zest/models/inline_response_200_1.rb
|
285
|
+
- lib/zest/models/inline_response_200_10.rb
|
286
|
+
- lib/zest/models/inline_response_200_2.rb
|
287
|
+
- lib/zest/models/inline_response_200_3.rb
|
288
|
+
- lib/zest/models/inline_response_200_4.rb
|
289
|
+
- lib/zest/models/inline_response_200_5.rb
|
290
|
+
- lib/zest/models/inline_response_200_6.rb
|
291
|
+
- lib/zest/models/inline_response_200_7.rb
|
292
|
+
- lib/zest/models/inline_response_200_8.rb
|
293
|
+
- lib/zest/models/inline_response_200_9.rb
|
294
|
+
- lib/zest/models/progress_report.rb
|
295
|
+
- lib/zest/models/publication.rb
|
296
|
+
- lib/zest/models/repository.rb
|
297
|
+
- lib/zest/models/repository_publish_url.rb
|
298
|
+
- lib/zest/models/repository_sync_url.rb
|
299
|
+
- lib/zest/models/repository_version.rb
|
300
|
+
- lib/zest/models/repository_version_create.rb
|
301
|
+
- lib/zest/models/task.rb
|
302
|
+
- lib/zest/models/user.rb
|
303
|
+
- lib/zest/models/worker.rb
|
304
|
+
- lib/zest/version.rb
|
305
|
+
- spec/api/pulp_api_spec.rb
|
306
|
+
- spec/api_client_spec.rb
|
307
|
+
- spec/configuration_spec.rb
|
308
|
+
- spec/models/artifact_spec.rb
|
309
|
+
- spec/models/async_operation_response_spec.rb
|
310
|
+
- spec/models/distribution_spec.rb
|
311
|
+
- spec/models/file_content_spec.rb
|
312
|
+
- spec/models/file_publisher_spec.rb
|
313
|
+
- spec/models/file_remote_spec.rb
|
314
|
+
- spec/models/inline_response_200_10_spec.rb
|
315
|
+
- spec/models/inline_response_200_1_spec.rb
|
316
|
+
- spec/models/inline_response_200_2_spec.rb
|
317
|
+
- spec/models/inline_response_200_3_spec.rb
|
318
|
+
- spec/models/inline_response_200_4_spec.rb
|
319
|
+
- spec/models/inline_response_200_5_spec.rb
|
320
|
+
- spec/models/inline_response_200_6_spec.rb
|
321
|
+
- spec/models/inline_response_200_7_spec.rb
|
322
|
+
- spec/models/inline_response_200_8_spec.rb
|
323
|
+
- spec/models/inline_response_200_9_spec.rb
|
324
|
+
- spec/models/inline_response_200_spec.rb
|
325
|
+
- spec/models/progress_report_spec.rb
|
326
|
+
- spec/models/publication_spec.rb
|
327
|
+
- spec/models/repository_publish_url_spec.rb
|
328
|
+
- spec/models/repository_spec.rb
|
329
|
+
- spec/models/repository_sync_url_spec.rb
|
330
|
+
- spec/models/repository_version_create_spec.rb
|
331
|
+
- spec/models/repository_version_spec.rb
|
332
|
+
- spec/models/task_spec.rb
|
333
|
+
- spec/models/user_spec.rb
|
334
|
+
- spec/models/worker_spec.rb
|
335
|
+
- spec/spec_helper.rb
|
336
|
+
- zest.gemspec
|
337
|
+
homepage: https://github.com/swagger-api/swagger-codegen
|
338
|
+
licenses: []
|
339
|
+
metadata: {}
|
340
|
+
post_install_message:
|
341
|
+
rdoc_options: []
|
342
|
+
require_paths:
|
343
|
+
- lib
|
344
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
345
|
+
requirements:
|
346
|
+
- - '>='
|
347
|
+
- !ruby/object:Gem::Version
|
348
|
+
version: '1.9'
|
349
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
350
|
+
requirements:
|
351
|
+
- - '>='
|
352
|
+
- !ruby/object:Gem::Version
|
353
|
+
version: '0'
|
354
|
+
requirements: []
|
355
|
+
rubyforge_project:
|
356
|
+
rubygems_version: 2.0.14.1
|
357
|
+
signing_key:
|
358
|
+
specification_version: 4
|
359
|
+
summary: Pulp3 API Ruby Gem
|
360
|
+
test_files:
|
361
|
+
- spec/api/pulp_api_spec.rb
|
362
|
+
- spec/api_client_spec.rb
|
363
|
+
- spec/configuration_spec.rb
|
364
|
+
- spec/models/inline_response_200_2_spec.rb
|
365
|
+
- spec/models/worker_spec.rb
|
366
|
+
- spec/models/repository_version_spec.rb
|
367
|
+
- spec/models/file_publisher_spec.rb
|
368
|
+
- spec/models/user_spec.rb
|
369
|
+
- spec/models/file_remote_spec.rb
|
370
|
+
- spec/models/repository_sync_url_spec.rb
|
371
|
+
- spec/models/inline_response_200_1_spec.rb
|
372
|
+
- spec/models/artifact_spec.rb
|
373
|
+
- spec/models/progress_report_spec.rb
|
374
|
+
- spec/models/async_operation_response_spec.rb
|
375
|
+
- spec/models/repository_version_create_spec.rb
|
376
|
+
- spec/models/inline_response_200_3_spec.rb
|
377
|
+
- spec/models/inline_response_200_9_spec.rb
|
378
|
+
- spec/models/inline_response_200_5_spec.rb
|
379
|
+
- spec/models/publication_spec.rb
|
380
|
+
- spec/models/file_content_spec.rb
|
381
|
+
- spec/models/distribution_spec.rb
|
382
|
+
- spec/models/inline_response_200_spec.rb
|
383
|
+
- spec/models/inline_response_200_10_spec.rb
|
384
|
+
- spec/models/inline_response_200_6_spec.rb
|
385
|
+
- spec/models/inline_response_200_8_spec.rb
|
386
|
+
- spec/models/task_spec.rb
|
387
|
+
- spec/models/repository_publish_url_spec.rb
|
388
|
+
- spec/models/inline_response_200_7_spec.rb
|
389
|
+
- spec/models/inline_response_200_4_spec.rb
|
390
|
+
- spec/models/repository_spec.rb
|
391
|
+
- spec/spec_helper.rb
|