pulp_file_client 0.1.0b1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (58) hide show
  1. checksums.yaml +7 -0
  2. data/Gemfile +9 -0
  3. data/Gemfile.lock +79 -0
  4. data/README.md +127 -0
  5. data/Rakefile +10 -0
  6. data/docs/AsyncOperationResponse.md +17 -0
  7. data/docs/ContentFilesApi.md +184 -0
  8. data/docs/DistributionsFileApi.md +352 -0
  9. data/docs/FileContent.md +37 -0
  10. data/docs/FileDistribution.md +29 -0
  11. data/docs/FilePublication.md +31 -0
  12. data/docs/FileRemote.md +45 -0
  13. data/docs/InlineResponse200.md +23 -0
  14. data/docs/InlineResponse2001.md +23 -0
  15. data/docs/InlineResponse2002.md +23 -0
  16. data/docs/InlineResponse2003.md +23 -0
  17. data/docs/PublicationsFileApi.md +229 -0
  18. data/docs/RemotesFileApi.md +411 -0
  19. data/docs/RepositorySyncURL.md +19 -0
  20. data/git_push.sh +55 -0
  21. data/lib/pulp_file_client/api/content_files_api.rb +225 -0
  22. data/lib/pulp_file_client/api/distributions_file_api.rb +430 -0
  23. data/lib/pulp_file_client/api/publications_file_api.rb +273 -0
  24. data/lib/pulp_file_client/api/remotes_file_api.rb +504 -0
  25. data/lib/pulp_file_client/api_client.rb +387 -0
  26. data/lib/pulp_file_client/api_error.rb +57 -0
  27. data/lib/pulp_file_client/configuration.rb +251 -0
  28. data/lib/pulp_file_client/models/async_operation_response.rb +202 -0
  29. data/lib/pulp_file_client/models/file_content.rb +429 -0
  30. data/lib/pulp_file_client/models/file_distribution.rb +337 -0
  31. data/lib/pulp_file_client/models/file_publication.rb +297 -0
  32. data/lib/pulp_file_client/models/file_remote.rb +539 -0
  33. data/lib/pulp_file_client/models/inline_response200.rb +235 -0
  34. data/lib/pulp_file_client/models/inline_response2001.rb +235 -0
  35. data/lib/pulp_file_client/models/inline_response2002.rb +235 -0
  36. data/lib/pulp_file_client/models/inline_response2003.rb +235 -0
  37. data/lib/pulp_file_client/models/repository_sync_url.rb +214 -0
  38. data/lib/pulp_file_client/version.rb +15 -0
  39. data/lib/pulp_file_client.rb +53 -0
  40. data/pulp_file_client.gemspec +45 -0
  41. data/spec/api/content_files_api_spec.rb +77 -0
  42. data/spec/api/distributions_file_api_spec.rb +116 -0
  43. data/spec/api/publications_file_api_spec.rb +85 -0
  44. data/spec/api/remotes_file_api_spec.rb +130 -0
  45. data/spec/api_client_spec.rb +226 -0
  46. data/spec/configuration_spec.rb +42 -0
  47. data/spec/models/async_operation_response_spec.rb +41 -0
  48. data/spec/models/file_content_spec.rb +101 -0
  49. data/spec/models/file_distribution_spec.rb +77 -0
  50. data/spec/models/file_publication_spec.rb +83 -0
  51. data/spec/models/file_remote_spec.rb +129 -0
  52. data/spec/models/inline_response2001_spec.rb +59 -0
  53. data/spec/models/inline_response2002_spec.rb +59 -0
  54. data/spec/models/inline_response2003_spec.rb +59 -0
  55. data/spec/models/inline_response200_spec.rb +59 -0
  56. data/spec/models/repository_sync_url_spec.rb +47 -0
  57. data/spec/spec_helper.rb +111 -0
  58. metadata +297 -0
@@ -0,0 +1,111 @@
1
+ =begin
2
+ #Pulp 3 API
3
+
4
+ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
+
6
+ The version of the OpenAPI document: v3
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 4.0.0
10
+
11
+ =end
12
+
13
+ # load the gem
14
+ require 'pulp_file_client'
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
metadata ADDED
@@ -0,0 +1,297 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: pulp_file_client
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0b1
5
+ platform: ruby
6
+ authors:
7
+ - OpenAPI-Generator
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2019-07-09 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: No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
194
+ email:
195
+ - ''
196
+ executables: []
197
+ extensions: []
198
+ extra_rdoc_files: []
199
+ files:
200
+ - Gemfile
201
+ - Gemfile.lock
202
+ - README.md
203
+ - Rakefile
204
+ - docs/AsyncOperationResponse.md
205
+ - docs/ContentFilesApi.md
206
+ - docs/DistributionsFileApi.md
207
+ - docs/FileContent.md
208
+ - docs/FileDistribution.md
209
+ - docs/FilePublication.md
210
+ - docs/FileRemote.md
211
+ - docs/InlineResponse200.md
212
+ - docs/InlineResponse2001.md
213
+ - docs/InlineResponse2002.md
214
+ - docs/InlineResponse2003.md
215
+ - docs/PublicationsFileApi.md
216
+ - docs/RemotesFileApi.md
217
+ - docs/RepositorySyncURL.md
218
+ - git_push.sh
219
+ - lib/pulp_file_client.rb
220
+ - lib/pulp_file_client/api/content_files_api.rb
221
+ - lib/pulp_file_client/api/distributions_file_api.rb
222
+ - lib/pulp_file_client/api/publications_file_api.rb
223
+ - lib/pulp_file_client/api/remotes_file_api.rb
224
+ - lib/pulp_file_client/api_client.rb
225
+ - lib/pulp_file_client/api_error.rb
226
+ - lib/pulp_file_client/configuration.rb
227
+ - lib/pulp_file_client/models/async_operation_response.rb
228
+ - lib/pulp_file_client/models/file_content.rb
229
+ - lib/pulp_file_client/models/file_distribution.rb
230
+ - lib/pulp_file_client/models/file_publication.rb
231
+ - lib/pulp_file_client/models/file_remote.rb
232
+ - lib/pulp_file_client/models/inline_response200.rb
233
+ - lib/pulp_file_client/models/inline_response2001.rb
234
+ - lib/pulp_file_client/models/inline_response2002.rb
235
+ - lib/pulp_file_client/models/inline_response2003.rb
236
+ - lib/pulp_file_client/models/repository_sync_url.rb
237
+ - lib/pulp_file_client/version.rb
238
+ - pulp_file_client.gemspec
239
+ - spec/api/content_files_api_spec.rb
240
+ - spec/api/distributions_file_api_spec.rb
241
+ - spec/api/publications_file_api_spec.rb
242
+ - spec/api/remotes_file_api_spec.rb
243
+ - spec/api_client_spec.rb
244
+ - spec/configuration_spec.rb
245
+ - spec/models/async_operation_response_spec.rb
246
+ - spec/models/file_content_spec.rb
247
+ - spec/models/file_distribution_spec.rb
248
+ - spec/models/file_publication_spec.rb
249
+ - spec/models/file_remote_spec.rb
250
+ - spec/models/inline_response2001_spec.rb
251
+ - spec/models/inline_response2002_spec.rb
252
+ - spec/models/inline_response2003_spec.rb
253
+ - spec/models/inline_response200_spec.rb
254
+ - spec/models/repository_sync_url_spec.rb
255
+ - spec/spec_helper.rb
256
+ homepage: https://openapi-generator.tech
257
+ licenses:
258
+ - GPLv2
259
+ metadata: {}
260
+ post_install_message:
261
+ rdoc_options: []
262
+ require_paths:
263
+ - lib
264
+ required_ruby_version: !ruby/object:Gem::Requirement
265
+ requirements:
266
+ - - ">="
267
+ - !ruby/object:Gem::Version
268
+ version: '1.9'
269
+ required_rubygems_version: !ruby/object:Gem::Requirement
270
+ requirements:
271
+ - - ">"
272
+ - !ruby/object:Gem::Version
273
+ version: 1.3.1
274
+ requirements: []
275
+ rubyforge_project:
276
+ rubygems_version: 2.7.7
277
+ signing_key:
278
+ specification_version: 4
279
+ summary: Pulp 3 API Ruby Gem
280
+ test_files:
281
+ - spec/api/content_files_api_spec.rb
282
+ - spec/api/remotes_file_api_spec.rb
283
+ - spec/api/distributions_file_api_spec.rb
284
+ - spec/api/publications_file_api_spec.rb
285
+ - spec/api_client_spec.rb
286
+ - spec/configuration_spec.rb
287
+ - spec/models/inline_response2003_spec.rb
288
+ - spec/models/file_publication_spec.rb
289
+ - spec/models/inline_response2001_spec.rb
290
+ - spec/models/inline_response2002_spec.rb
291
+ - spec/models/async_operation_response_spec.rb
292
+ - spec/models/file_remote_spec.rb
293
+ - spec/models/file_distribution_spec.rb
294
+ - spec/models/repository_sync_url_spec.rb
295
+ - spec/models/file_content_spec.rb
296
+ - spec/models/inline_response200_spec.rb
297
+ - spec/spec_helper.rb