iron_titan 0.2.0 → 0.2.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (37) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +5 -7
  3. data/lib/iron_titan/api/core_api.rb +1 -1
  4. data/lib/iron_titan/api/images_api.rb +1 -1
  5. data/lib/iron_titan/api/jobs_api.rb +1 -67
  6. data/lib/iron_titan/api_client.rb +1 -1
  7. data/lib/iron_titan/api_error.rb +1 -1
  8. data/lib/iron_titan/models/error.rb +1 -1
  9. data/lib/iron_titan/models/error_body.rb +1 -1
  10. data/lib/iron_titan/models/id_status.rb +1 -1
  11. data/lib/iron_titan/models/image.rb +14 -3
  12. data/lib/iron_titan/models/image_wrapper.rb +1 -1
  13. data/lib/iron_titan/models/images_wrapper.rb +1 -1
  14. data/lib/iron_titan/models/job.rb +13 -13
  15. data/lib/iron_titan/models/job_wrapper.rb +1 -1
  16. data/lib/iron_titan/models/jobs_wrapper.rb +1 -1
  17. data/lib/iron_titan/models/new_job.rb +13 -2
  18. data/lib/iron_titan/models/new_jobs_wrapper.rb +2 -2
  19. data/lib/iron_titan/models/reason.rb +1 -1
  20. data/lib/iron_titan/version.rb +2 -2
  21. data/lib/iron_titan.rb +1 -2
  22. data/spec/api/core_api_spec.rb +1 -1
  23. data/spec/api/images_api_spec.rb +1 -1
  24. data/spec/api/jobs_api_spec.rb +1 -19
  25. data/spec/models/Error_spec.rb +1 -1
  26. data/spec/models/Job_spec.rb +11 -11
  27. data/spec/models/error_body_spec.rb +1 -1
  28. data/spec/models/id_status_spec.rb +1 -1
  29. data/spec/models/image_spec.rb +11 -1
  30. data/spec/models/image_wrapper_spec.rb +1 -1
  31. data/spec/models/images_wrapper_spec.rb +1 -1
  32. data/spec/models/job_wrapper_spec.rb +1 -1
  33. data/spec/models/jobs_wrapper_spec.rb +1 -1
  34. data/spec/models/new_job_spec.rb +11 -1
  35. data/spec/models/new_jobs_wrapper_spec.rb +1 -1
  36. data/spec/models/reason_spec.rb +1 -1
  37. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 254c42c334e64d44981a5f724fd303695910946c
4
- data.tar.gz: 59c3796348174db4b8fed23cf55b9255141d5ed9
3
+ metadata.gz: 01034eed5fa27b4a2a46f0c6c37e930032050494
4
+ data.tar.gz: 01f74419c6737d41390e453a32e1541db5b2c31f
5
5
  SHA512:
6
- metadata.gz: 9d21b88cbe11d9ceb90e67a4537dae81912e0b8d3804b3d9ca61bc3f909f80620f628515f6cfa58e48fdc28e118da27c6d181129bd0675b7c1bdc0cd5b4e9309
7
- data.tar.gz: 680acef6b5b575a30c203b7407d0fbb327cf34335b2f8315f219446578253d395b641ee7fb99ce79e49b4fc085122f3280dc022a02deb394ca6287f88be2f99e
6
+ metadata.gz: 05a6b6f896ae5d5f8a4a06a59c63ba697d869cec8c7d1fcfa2ffb6026a7d9c2143a1e86ecf9e64913a9f2c0392defb68921512e2d0419d567425b96dabf0e88f
7
+ data.tar.gz: 5988a499186c25adfb6678567f1364da9bf9bd45b8f8b3a572635b6c13ba46233b69fe8220b149d8ee52e53e0b0025862c629dd2e7b9d4681879b99d2e756276
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 verion: 0.2.0
10
- - Package version: 0.2.0
11
- - Build date: 2016-03-29T20:51:39.687Z
9
+ - API verion: 0.2.6
10
+ - Package version: 0.2.6
11
+ - Build date: 2016-03-30T21:32:12.247Z
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.0.gem
27
+ gem install ./iron_titan-0.2.6.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.0'
34
+ gem 'iron_titan', '~> 0.2.6'
35
35
 
36
36
  ### Install from Git
37
37
 
@@ -90,7 +90,6 @@ Class | Method | HTTP request | Description
90
90
  *IronTitan::JobsApi* | [**job_id_touch_post**](docs/JobsApi.md#job_id_touch_post) | **POST** /job/{id}/touch | Extend job timeout.
91
91
  *IronTitan::JobsApi* | [**jobs_consume_get**](docs/JobsApi.md#jobs_consume_get) | **GET** /jobs/consume | Get next job.
92
92
  *IronTitan::JobsApi* | [**jobs_get**](docs/JobsApi.md#jobs_get) | **GET** /jobs | Peek at list of jobs.
93
- *IronTitan::JobsApi* | [**jobs_name_get**](docs/JobsApi.md#jobs_name_get) | **GET** /jobs/{name} | Get job list by name.
94
93
  *IronTitan::JobsApi* | [**jobs_post**](docs/JobsApi.md#jobs_post) | **POST** /jobs | Enqueue Job
95
94
 
96
95
 
@@ -106,7 +105,6 @@ Class | Method | HTTP request | Description
106
105
  - [IronTitan::JobWrapper](docs/JobWrapper.md)
107
106
  - [IronTitan::JobsWrapper](docs/JobsWrapper.md)
108
107
  - [IronTitan::NewJob](docs/NewJob.md)
109
- - [IronTitan::NewJobWithImage](docs/NewJobWithImage.md)
110
108
  - [IronTitan::NewJobsWrapper](docs/NewJobsWrapper.md)
111
109
  - [IronTitan::Reason](docs/Reason.md)
112
110
 
@@ -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.0
6
+ OpenAPI spec version: 0.2.6
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -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.0
6
+ OpenAPI spec version: 0.2.6
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -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.0
6
+ OpenAPI spec version: 0.2.6
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -643,72 +643,6 @@ module IronTitan
643
643
  return data, status_code, headers
644
644
  end
645
645
 
646
- # Get job list by name.
647
- # Gets the next job in the queue, ready for processing.
648
- # @param name Name of this set of jobs.
649
- # @param [Hash] opts the optional parameters
650
- # @option opts [DateTime] :created_after Will return jobs created after this time. In RFC3339 format.
651
- # @option opts [Integer] :n Number of jobs to return.
652
- # @return [JobsWrapper]
653
- def jobs_name_get(name, opts = {})
654
- data, status_code, headers = jobs_name_get_with_http_info(name, opts)
655
- return data
656
- end
657
-
658
- # Get job list by name.
659
- # Gets the next job in the queue, ready for processing.
660
- # @param name Name of this set of jobs.
661
- # @param [Hash] opts the optional parameters
662
- # @option opts [DateTime] :created_after Will return jobs created after this time. In RFC3339 format.
663
- # @option opts [Integer] :n Number of jobs to return.
664
- # @return [Array<(JobsWrapper, Fixnum, Hash)>] JobsWrapper data, response status code and response headers
665
- def jobs_name_get_with_http_info(name, opts = {})
666
- if @api_client.config.debugging
667
- @api_client.config.logger.debug "Calling API: JobsApi#jobs_name_get ..."
668
- end
669
-
670
- # verify the required parameter 'name' is set
671
- fail "Missing the required parameter 'name' when calling jobs_name_get" if name.nil?
672
-
673
- # resource path
674
- local_var_path = "/jobs/{name}".sub('{format}','json').sub('{' + 'name' + '}', name.to_s)
675
-
676
- # query parameters
677
- query_params = {}
678
- query_params[:'created_after'] = opts[:'created_after'] if opts[:'created_after']
679
- query_params[:'n'] = opts[:'n'] if opts[:'n']
680
-
681
- # header parameters
682
- header_params = {}
683
-
684
- # HTTP header 'Accept' (if needed)
685
- _header_accept = ['application/json']
686
- _header_accept_result = @api_client.select_header_accept(_header_accept) and header_params['Accept'] = _header_accept_result
687
-
688
- # HTTP header 'Content-Type'
689
- _header_content_type = ['application/json']
690
- header_params['Content-Type'] = @api_client.select_header_content_type(_header_content_type)
691
-
692
- # form parameters
693
- form_params = {}
694
-
695
- # http body (model)
696
- post_body = nil
697
-
698
- auth_names = []
699
- data, status_code, headers = @api_client.call_api(:GET, local_var_path,
700
- :header_params => header_params,
701
- :query_params => query_params,
702
- :form_params => form_params,
703
- :body => post_body,
704
- :auth_names => auth_names,
705
- :return_type => 'JobsWrapper')
706
- if @api_client.config.debugging
707
- @api_client.config.logger.debug "API called: JobsApi#jobs_name_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
708
- end
709
- return data, status_code, headers
710
- end
711
-
712
646
  # Enqueue Job
713
647
  # Enqueues job(s). If any of the jobs is invalid, none of the jobs are enqueued.
714
648
  # @param body Array of jobs to post.
@@ -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.0
6
+ OpenAPI spec version: 0.2.6
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -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.0
6
+ OpenAPI spec version: 0.2.6
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -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.0
6
+ OpenAPI spec version: 0.2.6
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -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.0
6
+ OpenAPI spec version: 0.2.6
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -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.0
6
+ OpenAPI spec version: 0.2.6
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -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.0
6
+ OpenAPI spec version: 0.2.6
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -14,7 +14,10 @@ require 'date'
14
14
 
15
15
  module IronTitan
16
16
  class Image
17
- # Docker image to use for job.
17
+ # Name of this image/package/code. Can and should be different than the image name (shoudn't include tag). TODO: Should we strip tag automatically if only image is passed in?
18
+ attr_accessor :name
19
+
20
+ # Docker image to use for job, including the tag.
18
21
  attr_accessor :image
19
22
 
20
23
  # Time when image first used/created.
@@ -24,6 +27,8 @@ module IronTitan
24
27
  def self.attribute_map
25
28
  {
26
29
 
30
+ :'name' => :'name',
31
+
27
32
  :'image' => :'image',
28
33
 
29
34
  :'created_at' => :'created_at'
@@ -34,6 +39,7 @@ module IronTitan
34
39
  # Attribute type mapping.
35
40
  def self.swagger_types
36
41
  {
42
+ :'name' => :'String',
37
43
  :'image' => :'String',
38
44
  :'created_at' => :'DateTime'
39
45
 
@@ -47,6 +53,10 @@ module IronTitan
47
53
  attributes = attributes.inject({}){|memo,(k,v)| memo[k.to_sym] = v; memo}
48
54
 
49
55
 
56
+ if attributes[:'name']
57
+ self.name = attributes[:'name']
58
+ end
59
+
50
60
  if attributes[:'image']
51
61
  self.image = attributes[:'image']
52
62
  end
@@ -61,6 +71,7 @@ module IronTitan
61
71
  def ==(o)
62
72
  return true if self.equal?(o)
63
73
  self.class == o.class &&
74
+ name == o.name &&
64
75
  image == o.image &&
65
76
  created_at == o.created_at
66
77
  end
@@ -72,7 +83,7 @@ module IronTitan
72
83
 
73
84
  # Calculate hash code according to all attributes.
74
85
  def hash
75
- [image, created_at].hash
86
+ [name, image, created_at].hash
76
87
  end
77
88
 
78
89
  # build the object from hash
@@ -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.0
6
+ OpenAPI spec version: 0.2.6
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -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.0
6
+ OpenAPI spec version: 0.2.6
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -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.0
6
+ OpenAPI spec version: 0.2.6
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -14,6 +14,9 @@ require 'date'
14
14
 
15
15
  module IronTitan
16
16
  class Job
17
+ # Name of image to use.
18
+ attr_accessor :image
19
+
17
20
  # Payload for the job. This is what you pass into each job to make it do something.
18
21
  attr_accessor :payload
19
22
 
@@ -43,9 +46,6 @@ module IronTitan
43
46
 
44
47
  attr_accessor :reason
45
48
 
46
- # Some description of the reason this Job is in current state. Used only for presentation purposes. Should be human-readable.
47
- attr_accessor :details
48
-
49
49
  # Time when job was submitted. Always in UTC.
50
50
  attr_accessor :created_at
51
51
 
@@ -62,6 +62,8 @@ module IronTitan
62
62
  def self.attribute_map
63
63
  {
64
64
 
65
+ :'image' => :'image',
66
+
65
67
  :'payload' => :'payload',
66
68
 
67
69
  :'delay' => :'delay',
@@ -82,8 +84,6 @@ module IronTitan
82
84
 
83
85
  :'reason' => :'reason',
84
86
 
85
- :'details' => :'details',
86
-
87
87
  :'created_at' => :'created_at',
88
88
 
89
89
  :'started_at' => :'started_at',
@@ -98,6 +98,7 @@ module IronTitan
98
98
  # Attribute type mapping.
99
99
  def self.swagger_types
100
100
  {
101
+ :'image' => :'String',
101
102
  :'payload' => :'String',
102
103
  :'delay' => :'Integer',
103
104
  :'timeout' => :'Integer',
@@ -108,7 +109,6 @@ module IronTitan
108
109
  :'status' => :'String',
109
110
  :'image_id' => :'String',
110
111
  :'reason' => :'Reason',
111
- :'details' => :'String',
112
112
  :'created_at' => :'DateTime',
113
113
  :'started_at' => :'DateTime',
114
114
  :'completed_at' => :'DateTime',
@@ -124,6 +124,10 @@ module IronTitan
124
124
  attributes = attributes.inject({}){|memo,(k,v)| memo[k.to_sym] = v; memo}
125
125
 
126
126
 
127
+ if attributes[:'image']
128
+ self.image = attributes[:'image']
129
+ end
130
+
127
131
  if attributes[:'payload']
128
132
  self.payload = attributes[:'payload']
129
133
  end
@@ -174,10 +178,6 @@ module IronTitan
174
178
  self.reason = attributes[:'reason']
175
179
  end
176
180
 
177
- if attributes[:'details']
178
- self.details = attributes[:'details']
179
- end
180
-
181
181
  if attributes[:'created_at']
182
182
  self.created_at = attributes[:'created_at']
183
183
  end
@@ -209,6 +209,7 @@ module IronTitan
209
209
  def ==(o)
210
210
  return true if self.equal?(o)
211
211
  self.class == o.class &&
212
+ image == o.image &&
212
213
  payload == o.payload &&
213
214
  delay == o.delay &&
214
215
  timeout == o.timeout &&
@@ -219,7 +220,6 @@ module IronTitan
219
220
  status == o.status &&
220
221
  image_id == o.image_id &&
221
222
  reason == o.reason &&
222
- details == o.details &&
223
223
  created_at == o.created_at &&
224
224
  started_at == o.started_at &&
225
225
  completed_at == o.completed_at &&
@@ -233,7 +233,7 @@ module IronTitan
233
233
 
234
234
  # Calculate hash code according to all attributes.
235
235
  def hash
236
- [payload, delay, timeout, priority, max_retries, retries_delay, id, status, image_id, reason, details, created_at, started_at, completed_at, retry_of].hash
236
+ [image, payload, delay, timeout, priority, max_retries, retries_delay, id, status, image_id, reason, created_at, started_at, completed_at, retry_of].hash
237
237
  end
238
238
 
239
239
  # build the object from hash
@@ -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.0
6
+ OpenAPI spec version: 0.2.6
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -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.0
6
+ OpenAPI spec version: 0.2.6
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -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.0
6
+ OpenAPI spec version: 0.2.6
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -14,6 +14,9 @@ require 'date'
14
14
 
15
15
  module IronTitan
16
16
  class NewJob
17
+ # Name of image to use.
18
+ attr_accessor :image
19
+
17
20
  # Payload for the job. This is what you pass into each job to make it do something.
18
21
  attr_accessor :payload
19
22
 
@@ -36,6 +39,8 @@ module IronTitan
36
39
  def self.attribute_map
37
40
  {
38
41
 
42
+ :'image' => :'image',
43
+
39
44
  :'payload' => :'payload',
40
45
 
41
46
  :'delay' => :'delay',
@@ -54,6 +59,7 @@ module IronTitan
54
59
  # Attribute type mapping.
55
60
  def self.swagger_types
56
61
  {
62
+ :'image' => :'String',
57
63
  :'payload' => :'String',
58
64
  :'delay' => :'Integer',
59
65
  :'timeout' => :'Integer',
@@ -71,6 +77,10 @@ module IronTitan
71
77
  attributes = attributes.inject({}){|memo,(k,v)| memo[k.to_sym] = v; memo}
72
78
 
73
79
 
80
+ if attributes[:'image']
81
+ self.image = attributes[:'image']
82
+ end
83
+
74
84
  if attributes[:'payload']
75
85
  self.payload = attributes[:'payload']
76
86
  end
@@ -111,6 +121,7 @@ module IronTitan
111
121
  def ==(o)
112
122
  return true if self.equal?(o)
113
123
  self.class == o.class &&
124
+ image == o.image &&
114
125
  payload == o.payload &&
115
126
  delay == o.delay &&
116
127
  timeout == o.timeout &&
@@ -126,7 +137,7 @@ module IronTitan
126
137
 
127
138
  # Calculate hash code according to all attributes.
128
139
  def hash
129
- [payload, delay, timeout, priority, max_retries, retries_delay].hash
140
+ [image, payload, delay, timeout, priority, max_retries, retries_delay].hash
130
141
  end
131
142
 
132
143
  # build the object from hash
@@ -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.0
6
+ OpenAPI spec version: 0.2.6
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -28,7 +28,7 @@ module IronTitan
28
28
  # Attribute type mapping.
29
29
  def self.swagger_types
30
30
  {
31
- :'jobs' => :'Array<NewJobWithImage>'
31
+ :'jobs' => :'Array<NewJob>'
32
32
 
33
33
  }
34
34
  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.0
6
+ OpenAPI spec version: 0.2.6
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -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.0
6
+ OpenAPI spec version: 0.2.6
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.0"
14
+ VERSION = "0.2.6"
15
15
  end
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.2.0
6
+ OpenAPI spec version: 0.2.6
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -27,7 +27,6 @@ require 'iron_titan/models/job'
27
27
  require 'iron_titan/models/job_wrapper'
28
28
  require 'iron_titan/models/jobs_wrapper'
29
29
  require 'iron_titan/models/new_job'
30
- require 'iron_titan/models/new_job_with_image'
31
30
  require 'iron_titan/models/new_jobs_wrapper'
32
31
  require 'iron_titan/models/reason'
33
32
 
@@ -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.0
6
+ OpenAPI spec version: 0.2.6
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -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.0
6
+ OpenAPI spec version: 0.2.6
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -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.0
6
+ OpenAPI spec version: 0.2.6
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -197,24 +197,6 @@ describe 'JobsApi' do
197
197
  end
198
198
  end
199
199
 
200
- # unit tests for jobs_name_get
201
- # Get job list by name.
202
- # Gets the next job in the queue, ready for processing.
203
- # @param name Name of this set of jobs.
204
- # @param [Hash] opts the optional parameters
205
- # @option opts [DateTime] :created_after Will return jobs created after this time. In RFC3339 format.
206
- # @option opts [Integer] :n Number of jobs to return.
207
- # @return [JobsWrapper]
208
- describe 'jobs_name_get test' do
209
- it "should work" do
210
- # assertion here
211
- # should be_a()
212
- # should be_nil
213
- # should ==
214
- # should_not ==
215
- end
216
- end
217
-
218
200
  # unit tests for jobs_post
219
201
  # Enqueue Job
220
202
  # Enqueues job(s). If any of the jobs is invalid, none of the jobs are enqueued.
@@ -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.0
6
+ OpenAPI spec version: 0.2.6
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -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.0
6
+ OpenAPI spec version: 0.2.6
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -32,6 +32,16 @@ describe 'Job' do
32
32
  @instance.should be_a(IronTitan::Job)
33
33
  end
34
34
  end
35
+ describe 'test attribute "image"' do
36
+ it 'should work' do
37
+ # assertion here
38
+ # should be_a()
39
+ # should be_nil
40
+ # should ==
41
+ # should_not ==
42
+ end
43
+ end
44
+
35
45
  describe 'test attribute "payload"' do
36
46
  it 'should work' do
37
47
  # assertion here
@@ -132,16 +142,6 @@ describe 'Job' do
132
142
  end
133
143
  end
134
144
 
135
- describe 'test attribute "details"' do
136
- it 'should work' do
137
- # assertion here
138
- # should be_a()
139
- # should be_nil
140
- # should ==
141
- # should_not ==
142
- end
143
- end
144
-
145
145
  describe 'test attribute "created_at"' do
146
146
  it 'should work' do
147
147
  # assertion here
@@ -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.0
6
+ OpenAPI spec version: 0.2.6
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -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.0
6
+ OpenAPI spec version: 0.2.6
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -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.0
6
+ OpenAPI spec version: 0.2.6
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -32,6 +32,16 @@ describe 'Image' do
32
32
  @instance.should be_a(IronTitan::Image)
33
33
  end
34
34
  end
35
+ describe 'test attribute "name"' do
36
+ it 'should work' do
37
+ # assertion here
38
+ # should be_a()
39
+ # should be_nil
40
+ # should ==
41
+ # should_not ==
42
+ end
43
+ end
44
+
35
45
  describe 'test attribute "image"' do
36
46
  it 'should work' do
37
47
  # assertion here
@@ -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.0
6
+ OpenAPI spec version: 0.2.6
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -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.0
6
+ OpenAPI spec version: 0.2.6
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -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.0
6
+ OpenAPI spec version: 0.2.6
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -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.0
6
+ OpenAPI spec version: 0.2.6
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -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.0
6
+ OpenAPI spec version: 0.2.6
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -32,6 +32,16 @@ describe 'NewJob' do
32
32
  @instance.should be_a(IronTitan::NewJob)
33
33
  end
34
34
  end
35
+ describe 'test attribute "image"' do
36
+ it 'should work' do
37
+ # assertion here
38
+ # should be_a()
39
+ # should be_nil
40
+ # should ==
41
+ # should_not ==
42
+ end
43
+ end
44
+
35
45
  describe 'test attribute "payload"' do
36
46
  it 'should work' do
37
47
  # assertion here
@@ -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.0
6
+ OpenAPI spec version: 0.2.6
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -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.0
6
+ OpenAPI spec version: 0.2.6
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
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.0
4
+ version: 0.2.6
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-03-29 00:00:00.000000000 Z
11
+ date: 2016-03-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus