iron_titan 0.4.6 → 0.4.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +6 -6
- data/lib/iron_titan.rb +1 -1
- data/lib/iron_titan/api/groups_api.rb +1 -1
- data/lib/iron_titan/api/jobs_api.rb +6 -3
- data/lib/iron_titan/api/runner_api.rb +1 -1
- data/lib/iron_titan/api_client.rb +1 -1
- data/lib/iron_titan/api_error.rb +1 -1
- data/lib/iron_titan/configuration.rb +1 -1
- data/lib/iron_titan/models/complete.rb +1 -1
- data/lib/iron_titan/models/error.rb +1 -1
- data/lib/iron_titan/models/error_body.rb +1 -1
- data/lib/iron_titan/models/group.rb +1 -1
- data/lib/iron_titan/models/group_wrapper.rb +1 -1
- data/lib/iron_titan/models/groups_wrapper.rb +1 -1
- data/lib/iron_titan/models/id_status.rb +1 -1
- data/lib/iron_titan/models/job.rb +1 -1
- data/lib/iron_titan/models/job_wrapper.rb +1 -1
- data/lib/iron_titan/models/jobs_wrapper.rb +12 -2
- data/lib/iron_titan/models/new_job.rb +1 -1
- data/lib/iron_titan/models/new_jobs_wrapper.rb +1 -1
- data/lib/iron_titan/models/start.rb +1 -1
- data/lib/iron_titan/version.rb +2 -2
- data/spec/api/groups_api_spec.rb +1 -1
- data/spec/api/jobs_api_spec.rb +3 -2
- data/spec/api/runner_api_spec.rb +1 -1
- data/spec/api_client_spec.rb +1 -1
- data/spec/configuration_spec.rb +1 -1
- data/spec/models/complete_spec.rb +1 -1
- data/spec/models/error_body_spec.rb +1 -1
- data/spec/models/error_spec.rb +1 -1
- data/spec/models/group_spec.rb +1 -1
- data/spec/models/group_wrapper_spec.rb +1 -1
- data/spec/models/groups_wrapper_spec.rb +1 -1
- data/spec/models/id_status_spec.rb +1 -1
- data/spec/models/job_spec.rb +1 -1
- data/spec/models/job_wrapper_spec.rb +1 -1
- data/spec/models/jobs_wrapper_spec.rb +7 -1
- data/spec/models/new_job_spec.rb +1 -1
- data/spec/models/new_jobs_wrapper_spec.rb +1 -1
- data/spec/models/start_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fb82a10dba1319cd821a078eec5bb0ecb3cc52c0
|
4
|
+
data.tar.gz: 908c75e634415b1a0d6011e6031cd5e8840a02ab
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ea99b60f5b43b004a3786e3692b8a06a6d13e7d36e13d197cf996cc5d9a209d301862f7d977d167eb6a0899ccfa147ee742d0c8ac99e3f6df99fc089c994fcfa
|
7
|
+
data.tar.gz: cf03780dd48afec90657d1875cd704edad29ed7f249734ff2e5e2aed97118d3fdf9d62c7cbaca24456df254657928400e7a4c7c0ccb4f2f24950d1d9521af2c8
|
data/README.md
CHANGED
@@ -6,9 +6,9 @@ The ultimate, language agnostic, container based job processing framework.
|
|
6
6
|
|
7
7
|
This SDK is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
|
8
8
|
|
9
|
-
- API version: 0.4.
|
10
|
-
- Package version: 0.4.
|
11
|
-
- Build date: 2016-06-
|
9
|
+
- API version: 0.4.9
|
10
|
+
- Package version: 0.4.9
|
11
|
+
- Build date: 2016-06-21T18:33:27.665Z
|
12
12
|
- Build package: class io.swagger.codegen.languages.RubyClientCodegen
|
13
13
|
|
14
14
|
## Installation
|
@@ -24,15 +24,15 @@ gem build iron_titan.gemspec
|
|
24
24
|
Then either install the gem locally:
|
25
25
|
|
26
26
|
```shell
|
27
|
-
gem install ./iron_titan-0.4.
|
27
|
+
gem install ./iron_titan-0.4.9.gem
|
28
28
|
```
|
29
|
-
(for development, run `gem install --dev ./iron_titan-0.4.
|
29
|
+
(for development, run `gem install --dev ./iron_titan-0.4.9.gem` to install the development dependencies)
|
30
30
|
|
31
31
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
32
32
|
|
33
33
|
Finally add this to the Gemfile:
|
34
34
|
|
35
|
-
gem 'iron_titan', '~> 0.4.
|
35
|
+
gem 'iron_titan', '~> 0.4.9'
|
36
36
|
|
37
37
|
### Install from Git
|
38
38
|
|
data/lib/iron_titan.rb
CHANGED
@@ -3,7 +3,7 @@ Titan API
|
|
3
3
|
|
4
4
|
The ultimate, language agnostic, container based job processing framework.
|
5
5
|
|
6
|
-
OpenAPI spec version: 0.4.
|
6
|
+
OpenAPI spec version: 0.4.9
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
9
|
|
@@ -36,7 +36,8 @@ module IronTitan
|
|
36
36
|
# @param name Name of group for this set of jobs.
|
37
37
|
# @param [Hash] opts the optional parameters
|
38
38
|
# @option opts [DateTime] :created_after Will return jobs created after this time. In RFC3339 format.
|
39
|
-
# @option opts [Integer] :n Number of jobs to return.
|
39
|
+
# @option opts [Integer] :n Number of jobs to return per page. Default is 50. Max is 1000.
|
40
|
+
# @option opts [String] :cursor Pass this in from a previous query to paginate results.
|
40
41
|
# @return [JobsWrapper]
|
41
42
|
def groups_name_jobs_get(name, opts = {})
|
42
43
|
data, _status_code, _headers = groups_name_jobs_get_with_http_info(name, opts)
|
@@ -48,7 +49,8 @@ module IronTitan
|
|
48
49
|
# @param name Name of group for this set of jobs.
|
49
50
|
# @param [Hash] opts the optional parameters
|
50
51
|
# @option opts [DateTime] :created_after Will return jobs created after this time. In RFC3339 format.
|
51
|
-
# @option opts [Integer] :n Number of jobs to return.
|
52
|
+
# @option opts [Integer] :n Number of jobs to return per page. Default is 50. Max is 1000.
|
53
|
+
# @option opts [String] :cursor Pass this in from a previous query to paginate results.
|
52
54
|
# @return [Array<(JobsWrapper, Fixnum, Hash)>] JobsWrapper data, response status code and response headers
|
53
55
|
def groups_name_jobs_get_with_http_info(name, opts = {})
|
54
56
|
if @api_client.config.debugging
|
@@ -63,6 +65,7 @@ module IronTitan
|
|
63
65
|
query_params = {}
|
64
66
|
query_params[:'created_after'] = opts[:'created_after'] if opts[:'created_after']
|
65
67
|
query_params[:'n'] = opts[:'n'] if opts[:'n']
|
68
|
+
query_params[:'cursor'] = opts[:'cursor'] if opts[:'cursor']
|
66
69
|
|
67
70
|
# header parameters
|
68
71
|
header_params = {}
|
data/lib/iron_titan/api_error.rb
CHANGED
@@ -3,7 +3,7 @@ Titan API
|
|
3
3
|
|
4
4
|
The ultimate, language agnostic, container based job processing framework.
|
5
5
|
|
6
|
-
OpenAPI spec version: 0.4.
|
6
|
+
OpenAPI spec version: 0.4.9
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
9
|
|
@@ -28,6 +28,9 @@ module IronTitan
|
|
28
28
|
class JobsWrapper
|
29
29
|
attr_accessor :jobs
|
30
30
|
|
31
|
+
# Used to paginate results. If this is returned, pass it into the same query again to get more results.
|
32
|
+
attr_accessor :cursor
|
33
|
+
|
31
34
|
attr_accessor :error
|
32
35
|
|
33
36
|
|
@@ -35,6 +38,7 @@ module IronTitan
|
|
35
38
|
def self.attribute_map
|
36
39
|
{
|
37
40
|
:'jobs' => :'jobs',
|
41
|
+
:'cursor' => :'cursor',
|
38
42
|
:'error' => :'error'
|
39
43
|
}
|
40
44
|
end
|
@@ -43,6 +47,7 @@ module IronTitan
|
|
43
47
|
def self.swagger_types
|
44
48
|
{
|
45
49
|
:'jobs' => :'Array<Job>',
|
50
|
+
:'cursor' => :'String',
|
46
51
|
:'error' => :'ErrorBody'
|
47
52
|
}
|
48
53
|
end
|
@@ -61,6 +66,10 @@ module IronTitan
|
|
61
66
|
end
|
62
67
|
end
|
63
68
|
|
69
|
+
if attributes.has_key?(:'cursor')
|
70
|
+
self.cursor = attributes[:'cursor']
|
71
|
+
end
|
72
|
+
|
64
73
|
if attributes.has_key?(:'error')
|
65
74
|
self.error = attributes[:'error']
|
66
75
|
end
|
@@ -87,6 +96,7 @@ module IronTitan
|
|
87
96
|
return true if self.equal?(o)
|
88
97
|
self.class == o.class &&
|
89
98
|
jobs == o.jobs &&
|
99
|
+
cursor == o.cursor &&
|
90
100
|
error == o.error
|
91
101
|
end
|
92
102
|
|
@@ -99,7 +109,7 @@ module IronTitan
|
|
99
109
|
# Calculates hash code according to all attributes.
|
100
110
|
# @return [Fixnum] Hash code
|
101
111
|
def hash
|
102
|
-
[jobs, error].hash
|
112
|
+
[jobs, cursor, error].hash
|
103
113
|
end
|
104
114
|
|
105
115
|
# Builds the object from hash
|
data/lib/iron_titan/version.rb
CHANGED
@@ -3,7 +3,7 @@ Titan API
|
|
3
3
|
|
4
4
|
The ultimate, language agnostic, container based job processing framework.
|
5
5
|
|
6
|
-
OpenAPI spec version: 0.4.
|
6
|
+
OpenAPI spec version: 0.4.9
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
9
|
|
@@ -22,5 +22,5 @@ limitations under the License.
|
|
22
22
|
=end
|
23
23
|
|
24
24
|
module IronTitan
|
25
|
-
VERSION = "0.4.
|
25
|
+
VERSION = "0.4.9"
|
26
26
|
end
|
data/spec/api/groups_api_spec.rb
CHANGED
data/spec/api/jobs_api_spec.rb
CHANGED
@@ -3,7 +3,7 @@ Titan API
|
|
3
3
|
|
4
4
|
The ultimate, language agnostic, container based job processing framework.
|
5
5
|
|
6
|
-
OpenAPI spec version: 0.4.
|
6
|
+
OpenAPI spec version: 0.4.9
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
9
|
|
@@ -49,7 +49,8 @@ describe 'JobsApi' do
|
|
49
49
|
# @param name Name of group for this set of jobs.
|
50
50
|
# @param [Hash] opts the optional parameters
|
51
51
|
# @option opts [DateTime] :created_after Will return jobs created after this time. In RFC3339 format.
|
52
|
-
# @option opts [Integer] :n Number of jobs to return.
|
52
|
+
# @option opts [Integer] :n Number of jobs to return per page. Default is 50. Max is 1000.
|
53
|
+
# @option opts [String] :cursor Pass this in from a previous query to paginate results.
|
53
54
|
# @return [JobsWrapper]
|
54
55
|
describe 'groups_name_jobs_get test' do
|
55
56
|
it "should work" do
|
data/spec/api/runner_api_spec.rb
CHANGED
data/spec/api_client_spec.rb
CHANGED
data/spec/configuration_spec.rb
CHANGED
data/spec/models/error_spec.rb
CHANGED
data/spec/models/group_spec.rb
CHANGED
data/spec/models/job_spec.rb
CHANGED
@@ -3,7 +3,7 @@ Titan API
|
|
3
3
|
|
4
4
|
The ultimate, language agnostic, container based job processing framework.
|
5
5
|
|
6
|
-
OpenAPI spec version: 0.4.
|
6
|
+
OpenAPI spec version: 0.4.9
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
9
|
|
@@ -49,6 +49,12 @@ describe 'JobsWrapper' do
|
|
49
49
|
end
|
50
50
|
end
|
51
51
|
|
52
|
+
describe 'test attribute "cursor"' do
|
53
|
+
it 'should work' do
|
54
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
55
|
+
end
|
56
|
+
end
|
57
|
+
|
52
58
|
describe 'test attribute "error"' do
|
53
59
|
it 'should work' do
|
54
60
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
data/spec/models/new_job_spec.rb
CHANGED
data/spec/models/start_spec.rb
CHANGED
data/spec/spec_helper.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: iron_titan
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Travis Reeder
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-06-
|
11
|
+
date: 2016-06-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|