iron_titan 0.2.9 → 0.2.15
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +5 -5
- data/lib/iron_titan/api/core_api.rb +1 -1
- data/lib/iron_titan/api/images_api.rb +1 -1
- data/lib/iron_titan/api/jobs_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/models/error.rb +1 -1
- data/lib/iron_titan/models/error_body.rb +1 -1
- data/lib/iron_titan/models/id_status.rb +3 -3
- data/lib/iron_titan/models/image.rb +1 -1
- data/lib/iron_titan/models/image_wrapper.rb +1 -1
- data/lib/iron_titan/models/images_wrapper.rb +1 -1
- data/lib/iron_titan/models/job.rb +3 -3
- data/lib/iron_titan/models/job_wrapper.rb +1 -1
- data/lib/iron_titan/models/jobs_wrapper.rb +1 -1
- 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/reason.rb +1 -1
- data/lib/iron_titan/version.rb +2 -2
- data/lib/iron_titan.rb +1 -1
- data/spec/api/core_api_spec.rb +1 -1
- data/spec/api/images_api_spec.rb +1 -1
- data/spec/api/jobs_api_spec.rb +1 -1
- data/spec/models/Error_spec.rb +1 -1
- data/spec/models/Job_spec.rb +1 -1
- data/spec/models/error_body_spec.rb +1 -1
- data/spec/models/id_status_spec.rb +1 -1
- data/spec/models/image_spec.rb +1 -1
- data/spec/models/image_wrapper_spec.rb +1 -1
- data/spec/models/images_wrapper_spec.rb +1 -1
- data/spec/models/job_wrapper_spec.rb +1 -1
- data/spec/models/jobs_wrapper_spec.rb +1 -1
- data/spec/models/new_job_spec.rb +1 -1
- data/spec/models/new_jobs_wrapper_spec.rb +1 -1
- data/spec/models/reason_spec.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: 472a0198f3150defb879a01b8740ac9b7d988fb7
|
4
|
+
data.tar.gz: 80eb2cfdabc8062503e0e864a7dbb82069b1d9a6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 21c47c9380c3000864bcd72691894660bc54b9d61563160c3a95d48c9d0e652882c0639b6609bdf503ae2f2f9939aa3929e69b9ce7cef01451fd295953e6f551
|
7
|
+
data.tar.gz: 1e54befcd47352d5e7c184b0ecb6f4360236108fb7b8c14f2b3ee08ea8e850004219c4515370e0478793e8e4bf8a266c651f8c3365953e59316df07a1bebccc9
|
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.2.
|
10
|
-
- Package version: 0.2.
|
11
|
-
- Build date: 2016-
|
9
|
+
- API version: 0.2.15
|
10
|
+
- Package version: 0.2.15
|
11
|
+
- Build date: 2016-04-01T00:48:31.251Z
|
12
12
|
- Build package: class io.swagger.codegen.languages.RubyClientCodegen
|
13
13
|
|
14
14
|
## Installation
|
@@ -24,14 +24,14 @@ gem build iron_titan.gemspec
|
|
24
24
|
Then either install the gem locally:
|
25
25
|
|
26
26
|
```shell
|
27
|
-
gem install ./iron_titan-0.2.
|
27
|
+
gem install ./iron_titan-0.2.15.gem
|
28
28
|
```
|
29
29
|
|
30
30
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
31
31
|
|
32
32
|
Finally add this to the Gemfile:
|
33
33
|
|
34
|
-
gem 'iron_titan', '~> 0.2.
|
34
|
+
gem 'iron_titan', '~> 0.2.15'
|
35
35
|
|
36
36
|
### Install from Git
|
37
37
|
|
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.2.
|
6
|
+
OpenAPI spec version: 0.2.15
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
9
|
|
@@ -17,7 +17,7 @@ module IronTitan
|
|
17
17
|
# Unique identifier representing a specific job.
|
18
18
|
attr_accessor :id
|
19
19
|
|
20
|
-
# States and valid transitions.\n\n +---------+\n +---------> delayed <----------------+\n +----+----+ |\n | |\n | |\n +----v----+ |\n +---------> queued <----------------+\n +----+----+ *\n | *\n | retry * creates new job\n +----v----+ *\n | running | *\n +--+-+-+--+ |\n +---------|-|-|-----+-------------+\n +---|---------+ | +-----|---------+ |\n | | | | | |\n+-----v---^-+ +--v-------^+ +--v---^-+\n|
|
20
|
+
# States and valid transitions.\n\n +---------+\n +---------> delayed <----------------+\n +----+----+ |\n | |\n | |\n +----v----+ |\n +---------> queued <----------------+\n +----+----+ *\n | *\n | retry * creates new job\n +----v----+ *\n | running | *\n +--+-+-+--+ |\n +---------|-|-|-----+-------------+\n +---|---------+ | +-----|---------+ |\n | | | | | |\n+-----v---^-+ +--v-------^+ +--v---^-+\n| success | | cancelled | | error |\n+-----------+ +-----------+ +--------+\n\n* delayed - has a delay.\n* queued - Ready to be consumed when it's turn comes.\n* running - Currently consumed by a runner which will attempt to process it.\n* success - (or complete? success/error is common javascript terminology)\n* error - Something went wrong. In this case more information can be obtained\n by inspecting the \"reason\" field.\n - timeout\n - killed - forcibly killed by worker due to resource restrictions or access\n violations.\n - bad_exit - exited with non-zero status due to program termination/crash.\n* cancelled - cancelled via API. More information in the reason field.\n - client_request - Request was cancelled by a client. See \"details\" for any\n details.
|
21
21
|
attr_accessor :status
|
22
22
|
|
23
23
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -59,7 +59,7 @@ module IronTitan
|
|
59
59
|
|
60
60
|
# Custom attribute writer method checking allowed values (enum).
|
61
61
|
def status=(status)
|
62
|
-
allowed_values = ["delayed", "queued", "running", "
|
62
|
+
allowed_values = ["delayed", "queued", "running", "success", "error", "cancelled"]
|
63
63
|
if status && !allowed_values.include?(status)
|
64
64
|
fail "invalid value for 'status', must be one of #{allowed_values}"
|
65
65
|
end
|
@@ -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.2.
|
6
|
+
OpenAPI spec version: 0.2.15
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
9
|
|
@@ -38,7 +38,7 @@ module IronTitan
|
|
38
38
|
# Unique identifier representing a specific job.
|
39
39
|
attr_accessor :id
|
40
40
|
|
41
|
-
# States and valid transitions.\n\n +---------+\n +---------> delayed <----------------+\n +----+----+ |\n | |\n | |\n +----v----+ |\n +---------> queued <----------------+\n +----+----+ *\n | *\n | retry * creates new job\n +----v----+ *\n | running | *\n +--+-+-+--+ |\n +---------|-|-|-----+-------------+\n +---|---------+ | +-----|---------+ |\n | | | | | |\n+-----v---^-+ +--v-------^+ +--v---^-+\n|
|
41
|
+
# States and valid transitions.\n\n +---------+\n +---------> delayed <----------------+\n +----+----+ |\n | |\n | |\n +----v----+ |\n +---------> queued <----------------+\n +----+----+ *\n | *\n | retry * creates new job\n +----v----+ *\n | running | *\n +--+-+-+--+ |\n +---------|-|-|-----+-------------+\n +---|---------+ | +-----|---------+ |\n | | | | | |\n+-----v---^-+ +--v-------^+ +--v---^-+\n| success | | cancelled | | error |\n+-----------+ +-----------+ +--------+\n\n* delayed - has a delay.\n* queued - Ready to be consumed when it's turn comes.\n* running - Currently consumed by a runner which will attempt to process it.\n* success - (or complete? success/error is common javascript terminology)\n* error - Something went wrong. In this case more information can be obtained\n by inspecting the \"reason\" field.\n - timeout\n - killed - forcibly killed by worker due to resource restrictions or access\n violations.\n - bad_exit - exited with non-zero status due to program termination/crash.\n* cancelled - cancelled via API. More information in the reason field.\n - client_request - Request was cancelled by a client. See \"details\" for any\n details.
|
42
42
|
attr_accessor :status
|
43
43
|
|
44
44
|
# Image to execute to run this Job. Get details via the /image/{id} endpoint.
|
@@ -198,7 +198,7 @@ module IronTitan
|
|
198
198
|
|
199
199
|
# Custom attribute writer method checking allowed values (enum).
|
200
200
|
def status=(status)
|
201
|
-
allowed_values = ["delayed", "queued", "running", "
|
201
|
+
allowed_values = ["delayed", "queued", "running", "success", "error", "cancelled"]
|
202
202
|
if status && !allowed_values.include?(status)
|
203
203
|
fail "invalid value for 'status', must be one of #{allowed_values}"
|
204
204
|
end
|
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.2.
|
6
|
+
OpenAPI spec version: 0.2.15
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
9
|
|
@@ -11,5 +11,5 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
11
11
|
=end
|
12
12
|
|
13
13
|
module IronTitan
|
14
|
-
VERSION = "0.2.
|
14
|
+
VERSION = "0.2.15"
|
15
15
|
end
|
data/lib/iron_titan.rb
CHANGED
data/spec/api/core_api_spec.rb
CHANGED
data/spec/api/images_api_spec.rb
CHANGED
data/spec/api/jobs_api_spec.rb
CHANGED
data/spec/models/Error_spec.rb
CHANGED
data/spec/models/Job_spec.rb
CHANGED
data/spec/models/image_spec.rb
CHANGED
data/spec/models/new_job_spec.rb
CHANGED
data/spec/models/reason_spec.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.2.
|
4
|
+
version: 0.2.15
|
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-
|
11
|
+
date: 2016-04-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|