allq_rest 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (62) hide show
  1. checksums.yaml +7 -0
  2. data/Gemfile +7 -0
  3. data/Gemfile.lock +69 -0
  4. data/README.md +111 -0
  5. data/Rakefile +8 -0
  6. data/allq_client-1.2.0.gem +0 -0
  7. data/allq_client.gemspec +46 -0
  8. data/allq_rest.gemspec +34 -0
  9. data/deploy.sh +3 -0
  10. data/docs/ActionsApi.md +544 -0
  11. data/docs/AdminApi.md +98 -0
  12. data/docs/BasicPayload.md +11 -0
  13. data/docs/BasicResponse.md +8 -0
  14. data/docs/JobRef.md +8 -0
  15. data/docs/JobResponse.md +12 -0
  16. data/docs/NewJob.md +13 -0
  17. data/docs/NewParentJob.md +16 -0
  18. data/docs/StatsInfo.md +9 -0
  19. data/docs/StatsResults.md +10 -0
  20. data/docs/StatsTube.md +14 -0
  21. data/docs/Throttle.md +9 -0
  22. data/docs/TubeRef.md +8 -0
  23. data/git_push.sh +55 -0
  24. data/lib/.DS_Store +0 -0
  25. data/lib/allq_client.rb +53 -0
  26. data/lib/allq_client/.DS_Store +0 -0
  27. data/lib/allq_client/api/actions_api.rb +702 -0
  28. data/lib/allq_client/api/admin_api.rb +181 -0
  29. data/lib/allq_client/api_client.rb +388 -0
  30. data/lib/allq_client/api_error.rb +38 -0
  31. data/lib/allq_client/configuration.rb +202 -0
  32. data/lib/allq_client/models/basic_payload.rb +218 -0
  33. data/lib/allq_client/models/basic_response.rb +188 -0
  34. data/lib/allq_client/models/job_ref.rb +190 -0
  35. data/lib/allq_client/models/job_response.rb +249 -0
  36. data/lib/allq_client/models/multiple_job_response.rb +187 -0
  37. data/lib/allq_client/models/new_job.rb +270 -0
  38. data/lib/allq_client/models/new_parent_job.rb +302 -0
  39. data/lib/allq_client/models/stats_info.rb +204 -0
  40. data/lib/allq_client/models/stats_results.rb +253 -0
  41. data/lib/allq_client/models/stats_tube.rb +285 -0
  42. data/lib/allq_client/models/throttle.rb +209 -0
  43. data/lib/allq_client/models/tube_ref.rb +190 -0
  44. data/lib/allq_client/version.rb +15 -0
  45. data/spec/.DS_Store +0 -0
  46. data/spec/api/actions_api_spec.rb +575 -0
  47. data/spec/api/admin_api_spec.rb +58 -0
  48. data/spec/api_client_spec.rb +226 -0
  49. data/spec/configuration_spec.rb +42 -0
  50. data/spec/models/basic_payload_spec.rb +60 -0
  51. data/spec/models/basic_response_spec.rb +42 -0
  52. data/spec/models/job_ref_spec.rb +42 -0
  53. data/spec/models/job_response_spec.rb +66 -0
  54. data/spec/models/new_job_spec.rb +72 -0
  55. data/spec/models/new_parent_job_spec.rb +90 -0
  56. data/spec/models/stats_info_spec.rb +48 -0
  57. data/spec/models/stats_results_spec.rb +54 -0
  58. data/spec/models/stats_tube_spec.rb +78 -0
  59. data/spec/models/throttle_spec.rb +48 -0
  60. data/spec/models/tube_ref_spec.rb +42 -0
  61. data/spec/spec_helper.rb +111 -0
  62. metadata +299 -0
@@ -0,0 +1,42 @@
1
+ =begin
2
+ #AllQ
3
+
4
+ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
5
+
6
+ OpenAPI spec version: 1.0
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 Allq::TubeRef
18
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
+ # Please update as you see appropriate
20
+ describe 'TubeRef' do
21
+ before do
22
+ # run before each test
23
+ @instance = Allq::TubeRef.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of TubeRef' do
31
+ it 'should create an instance of TubeRef' do
32
+ expect(@instance).to be_instance_of(Allq::TubeRef)
33
+ end
34
+ end
35
+ describe 'test attribute "tube"' 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
+ end
42
+
@@ -0,0 +1,111 @@
1
+ =begin
2
+ #AllQ
3
+
4
+ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
5
+
6
+ OpenAPI spec version: 1.0
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 'allq_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,299 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: allq_rest
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.2.0
5
+ platform: ruby
6
+ authors:
7
+ - support@blitline.com
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2020-09-05 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.0
40
+ - - "~>"
41
+ - !ruby/object:Gem::Version
42
+ version: '2.1'
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.0
50
+ - - "~>"
51
+ - !ruby/object:Gem::Version
52
+ version: '2.1'
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.0
60
+ - - "~>"
61
+ - !ruby/object:Gem::Version
62
+ version: '3.6'
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.0
70
+ - - "~>"
71
+ - !ruby/object:Gem::Version
72
+ version: '3.6'
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: Allq API Client
194
+ email:
195
+ - support@blitline.com
196
+ executables: []
197
+ extensions: []
198
+ extra_rdoc_files: []
199
+ files:
200
+ - Gemfile
201
+ - Gemfile.lock
202
+ - README.md
203
+ - Rakefile
204
+ - allq_client-1.2.0.gem
205
+ - allq_client.gemspec
206
+ - allq_rest.gemspec
207
+ - deploy.sh
208
+ - docs/ActionsApi.md
209
+ - docs/AdminApi.md
210
+ - docs/BasicPayload.md
211
+ - docs/BasicResponse.md
212
+ - docs/JobRef.md
213
+ - docs/JobResponse.md
214
+ - docs/NewJob.md
215
+ - docs/NewParentJob.md
216
+ - docs/StatsInfo.md
217
+ - docs/StatsResults.md
218
+ - docs/StatsTube.md
219
+ - docs/Throttle.md
220
+ - docs/TubeRef.md
221
+ - git_push.sh
222
+ - lib/.DS_Store
223
+ - lib/allq_client.rb
224
+ - lib/allq_client/.DS_Store
225
+ - lib/allq_client/api/actions_api.rb
226
+ - lib/allq_client/api/admin_api.rb
227
+ - lib/allq_client/api_client.rb
228
+ - lib/allq_client/api_error.rb
229
+ - lib/allq_client/configuration.rb
230
+ - lib/allq_client/models/basic_payload.rb
231
+ - lib/allq_client/models/basic_response.rb
232
+ - lib/allq_client/models/job_ref.rb
233
+ - lib/allq_client/models/job_response.rb
234
+ - lib/allq_client/models/multiple_job_response.rb
235
+ - lib/allq_client/models/new_job.rb
236
+ - lib/allq_client/models/new_parent_job.rb
237
+ - lib/allq_client/models/stats_info.rb
238
+ - lib/allq_client/models/stats_results.rb
239
+ - lib/allq_client/models/stats_tube.rb
240
+ - lib/allq_client/models/throttle.rb
241
+ - lib/allq_client/models/tube_ref.rb
242
+ - lib/allq_client/version.rb
243
+ - spec/.DS_Store
244
+ - spec/api/actions_api_spec.rb
245
+ - spec/api/admin_api_spec.rb
246
+ - spec/api_client_spec.rb
247
+ - spec/configuration_spec.rb
248
+ - spec/models/basic_payload_spec.rb
249
+ - spec/models/basic_response_spec.rb
250
+ - spec/models/job_ref_spec.rb
251
+ - spec/models/job_response_spec.rb
252
+ - spec/models/new_job_spec.rb
253
+ - spec/models/new_parent_job_spec.rb
254
+ - spec/models/stats_info_spec.rb
255
+ - spec/models/stats_results_spec.rb
256
+ - spec/models/stats_tube_spec.rb
257
+ - spec/models/throttle_spec.rb
258
+ - spec/models/tube_ref_spec.rb
259
+ - spec/spec_helper.rb
260
+ homepage: http://www.blitline.com
261
+ licenses: []
262
+ metadata: {}
263
+ post_install_message:
264
+ rdoc_options: []
265
+ require_paths:
266
+ - lib
267
+ required_ruby_version: !ruby/object:Gem::Requirement
268
+ requirements:
269
+ - - ">"
270
+ - !ruby/object:Gem::Version
271
+ version: '2.3'
272
+ required_rubygems_version: !ruby/object:Gem::Requirement
273
+ requirements:
274
+ - - ">="
275
+ - !ruby/object:Gem::Version
276
+ version: '0'
277
+ requirements: []
278
+ rubyforge_project:
279
+ rubygems_version: 2.7.9
280
+ signing_key:
281
+ specification_version: 4
282
+ summary: Ruby REST client for Allq platform
283
+ test_files:
284
+ - spec/api/actions_api_spec.rb
285
+ - spec/api/admin_api_spec.rb
286
+ - spec/api_client_spec.rb
287
+ - spec/configuration_spec.rb
288
+ - spec/models/basic_payload_spec.rb
289
+ - spec/models/stats_info_spec.rb
290
+ - spec/models/job_ref_spec.rb
291
+ - spec/models/job_response_spec.rb
292
+ - spec/models/tube_ref_spec.rb
293
+ - spec/models/new_parent_job_spec.rb
294
+ - spec/models/basic_response_spec.rb
295
+ - spec/models/throttle_spec.rb
296
+ - spec/models/stats_tube_spec.rb
297
+ - spec/models/stats_results_spec.rb
298
+ - spec/models/new_job_spec.rb
299
+ - spec/spec_helper.rb