iron_titan 0.0.9 → 0.0.10

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f5bfe7603f33a81662fc0179641328b4e322b3f0
4
- data.tar.gz: 2c54ee04cd8394f309bad2a1e64b026d610a5f25
3
+ metadata.gz: 3e60d690eb82c7998b599b5faccb2d8af69d973d
4
+ data.tar.gz: 2ceb019325319f0968ebbdad3bab88801f88df90
5
5
  SHA512:
6
- metadata.gz: 8fe61b4d4391a5d7306eea2d57ce82ea1a85c3d953f6dd218881becd755c958aae29609a2212c327afd95aa58269da72211ae2856ceda33fe6830b8be7403209
7
- data.tar.gz: 5c243ccbbcb6e055ac50b8abfb745c5175cf0a760bfa5cff5319df4bbb93fe06b34e839f00969f4a85abdb8559135eabf2610c66ab537813403e69e6e200ab9a
6
+ metadata.gz: 336cfc452ae8312bd25f4cdc84e6cc41047c85b7c9fa0423126ff0491bec1639c1635ae7c26827279a3314622439e8640acde9572e01be6bb97b38b8c78d2e35
7
+ data.tar.gz: d441d7067d1751d7ffa570275798083a80dc403a36e7a07819dd170201d8d84edee691dec0d1a8ed54e9fc39098badd8a9e28e60a74a2a75267df5b0f1caa244
@@ -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.0.9
6
+ OpenAPI spec version: 0.0.10
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -84,7 +84,7 @@ module IronTitan
84
84
  # Gets the next job in the queue, ready for processing.
85
85
  # @param [Hash] opts the optional parameters
86
86
  # @option opts [Integer] :n Number of jobs to return.
87
- # @return [JobArray]
87
+ # @return [JobsWrapper]
88
88
  def jobs_get(opts = {})
89
89
  data, status_code, headers = jobs_get_with_http_info(opts)
90
90
  return data
@@ -94,7 +94,7 @@ module IronTitan
94
94
  # Gets the next job in the queue, ready for processing.
95
95
  # @param [Hash] opts the optional parameters
96
96
  # @option opts [Integer] :n Number of jobs to return.
97
- # @return [Array<(JobArray, Fixnum, Hash)>] JobArray data, response status code and response headers
97
+ # @return [Array<(JobsWrapper, Fixnum, Hash)>] JobsWrapper data, response status code and response headers
98
98
  def jobs_get_with_http_info(opts = {})
99
99
  if @api_client.config.debugging
100
100
  @api_client.config.logger.debug "Calling API: CoreApi#jobs_get ..."
@@ -131,7 +131,7 @@ module IronTitan
131
131
  :form_params => form_params,
132
132
  :body => post_body,
133
133
  :auth_names => auth_names,
134
- :return_type => 'JobArray')
134
+ :return_type => 'JobsWrapper')
135
135
  if @api_client.config.debugging
136
136
  @api_client.config.logger.debug "API called: CoreApi#jobs_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
137
137
  end
@@ -142,7 +142,7 @@ module IronTitan
142
142
  # Enqueues a job.
143
143
  # @param body Array of jobs to post.
144
144
  # @param [Hash] opts the optional parameters
145
- # @return [JobArray]
145
+ # @return [JobsWrapper]
146
146
  def jobs_post(body, opts = {})
147
147
  data, status_code, headers = jobs_post_with_http_info(body, opts)
148
148
  return data
@@ -152,7 +152,7 @@ module IronTitan
152
152
  # Enqueues a job.
153
153
  # @param body Array of jobs to post.
154
154
  # @param [Hash] opts the optional parameters
155
- # @return [Array<(JobArray, Fixnum, Hash)>] JobArray data, response status code and response headers
155
+ # @return [Array<(JobsWrapper, Fixnum, Hash)>] JobsWrapper data, response status code and response headers
156
156
  def jobs_post_with_http_info(body, opts = {})
157
157
  if @api_client.config.debugging
158
158
  @api_client.config.logger.debug "Calling API: CoreApi#jobs_post ..."
@@ -191,7 +191,7 @@ module IronTitan
191
191
  :form_params => form_params,
192
192
  :body => post_body,
193
193
  :auth_names => auth_names,
194
- :return_type => 'JobArray')
194
+ :return_type => 'JobsWrapper')
195
195
  if @api_client.config.debugging
196
196
  @api_client.config.logger.debug "API called: CoreApi#jobs_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
197
197
  end
@@ -0,0 +1,83 @@
1
+ =begin
2
+ Titan API
3
+
4
+ The ultimate, language agnostic, container based job processing framework.
5
+
6
+ OpenAPI spec version: 0.0.10
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+
10
+
11
+ =end
12
+
13
+ require "uri"
14
+
15
+ module IronTitan
16
+ class ImagesApi
17
+ attr_accessor :api_client
18
+
19
+ def initialize(api_client = ApiClient.default)
20
+ @api_client = api_client
21
+ end
22
+
23
+ # Get images by name.
24
+ # TODO: Using images for lack of a better term. See https://github.com/iron-io/titan/issues/43 for discussion.
25
+ # @param name Name of the image.
26
+ # @param [Hash] opts the optional parameters
27
+ # @return [ImagesWrapper]
28
+ def images_name_get(name, opts = {})
29
+ data, status_code, headers = images_name_get_with_http_info(name, opts)
30
+ return data
31
+ end
32
+
33
+ # Get images by name.
34
+ # TODO: Using images for lack of a better term. See https://github.com/iron-io/titan/issues/43 for discussion.
35
+ # @param name Name of the image.
36
+ # @param [Hash] opts the optional parameters
37
+ # @return [Array<(ImagesWrapper, Fixnum, Hash)>] ImagesWrapper data, response status code and response headers
38
+ def images_name_get_with_http_info(name, opts = {})
39
+ if @api_client.config.debugging
40
+ @api_client.config.logger.debug "Calling API: ImagesApi#images_name_get ..."
41
+ end
42
+
43
+ # verify the required parameter 'name' is set
44
+ fail "Missing the required parameter 'name' when calling images_name_get" if name.nil?
45
+
46
+ # resource path
47
+ local_var_path = "/images/{name}".sub('{format}','json').sub('{' + 'name' + '}', name.to_s)
48
+
49
+ # query parameters
50
+ query_params = {}
51
+
52
+ # header parameters
53
+ header_params = {}
54
+
55
+ # HTTP header 'Accept' (if needed)
56
+ _header_accept = ['application/json']
57
+ _header_accept_result = @api_client.select_header_accept(_header_accept) and header_params['Accept'] = _header_accept_result
58
+
59
+ # HTTP header 'Content-Type'
60
+ _header_content_type = ['application/json']
61
+ header_params['Content-Type'] = @api_client.select_header_content_type(_header_content_type)
62
+
63
+ # form parameters
64
+ form_params = {}
65
+
66
+ # http body (model)
67
+ post_body = nil
68
+
69
+ auth_names = []
70
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
71
+ :header_params => header_params,
72
+ :query_params => query_params,
73
+ :form_params => form_params,
74
+ :body => post_body,
75
+ :auth_names => auth_names,
76
+ :return_type => 'ImagesWrapper')
77
+ if @api_client.config.debugging
78
+ @api_client.config.logger.debug "API called: ImagesApi#images_name_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
79
+ end
80
+ return data, status_code, headers
81
+ end
82
+ end
83
+ 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.0.9
6
+ OpenAPI spec version: 0.0.10
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -329,7 +329,7 @@ module IronTitan
329
329
  # Gets the next job in the queue, ready for processing.
330
330
  # @param [Hash] opts the optional parameters
331
331
  # @option opts [Integer] :n Number of jobs to return.
332
- # @return [JobArray]
332
+ # @return [JobsWrapper]
333
333
  def jobs_get(opts = {})
334
334
  data, status_code, headers = jobs_get_with_http_info(opts)
335
335
  return data
@@ -339,7 +339,7 @@ module IronTitan
339
339
  # Gets the next job in the queue, ready for processing.
340
340
  # @param [Hash] opts the optional parameters
341
341
  # @option opts [Integer] :n Number of jobs to return.
342
- # @return [Array<(JobArray, Fixnum, Hash)>] JobArray data, response status code and response headers
342
+ # @return [Array<(JobsWrapper, Fixnum, Hash)>] JobsWrapper data, response status code and response headers
343
343
  def jobs_get_with_http_info(opts = {})
344
344
  if @api_client.config.debugging
345
345
  @api_client.config.logger.debug "Calling API: JobsApi#jobs_get ..."
@@ -376,7 +376,7 @@ module IronTitan
376
376
  :form_params => form_params,
377
377
  :body => post_body,
378
378
  :auth_names => auth_names,
379
- :return_type => 'JobArray')
379
+ :return_type => 'JobsWrapper')
380
380
  if @api_client.config.debugging
381
381
  @api_client.config.logger.debug "API called: JobsApi#jobs_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
382
382
  end
@@ -387,7 +387,7 @@ module IronTitan
387
387
  # Enqueues a job.
388
388
  # @param body Array of jobs to post.
389
389
  # @param [Hash] opts the optional parameters
390
- # @return [JobArray]
390
+ # @return [JobsWrapper]
391
391
  def jobs_post(body, opts = {})
392
392
  data, status_code, headers = jobs_post_with_http_info(body, opts)
393
393
  return data
@@ -397,7 +397,7 @@ module IronTitan
397
397
  # Enqueues a job.
398
398
  # @param body Array of jobs to post.
399
399
  # @param [Hash] opts the optional parameters
400
- # @return [Array<(JobArray, Fixnum, Hash)>] JobArray data, response status code and response headers
400
+ # @return [Array<(JobsWrapper, Fixnum, Hash)>] JobsWrapper data, response status code and response headers
401
401
  def jobs_post_with_http_info(body, opts = {})
402
402
  if @api_client.config.debugging
403
403
  @api_client.config.logger.debug "Calling API: JobsApi#jobs_post ..."
@@ -436,7 +436,7 @@ module IronTitan
436
436
  :form_params => form_params,
437
437
  :body => post_body,
438
438
  :auth_names => auth_names,
439
- :return_type => 'JobArray')
439
+ :return_type => 'JobsWrapper')
440
440
  if @api_client.config.debugging
441
441
  @api_client.config.logger.debug "API called: JobsApi#jobs_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
442
442
  end
@@ -449,7 +449,7 @@ module IronTitan
449
449
  # @param [Hash] opts the optional parameters
450
450
  # @option opts [DateTime] :created_after Will return jobs created after this time. In RFC3339 format.
451
451
  # @option opts [Integer] :n Number of jobs to return.
452
- # @return [JobArray]
452
+ # @return [JobsWrapper]
453
453
  def jobs_name_get(name, opts = {})
454
454
  data, status_code, headers = jobs_name_get_with_http_info(name, opts)
455
455
  return data
@@ -461,7 +461,7 @@ module IronTitan
461
461
  # @param [Hash] opts the optional parameters
462
462
  # @option opts [DateTime] :created_after Will return jobs created after this time. In RFC3339 format.
463
463
  # @option opts [Integer] :n Number of jobs to return.
464
- # @return [Array<(JobArray, Fixnum, Hash)>] JobArray data, response status code and response headers
464
+ # @return [Array<(JobsWrapper, Fixnum, Hash)>] JobsWrapper data, response status code and response headers
465
465
  def jobs_name_get_with_http_info(name, opts = {})
466
466
  if @api_client.config.debugging
467
467
  @api_client.config.logger.debug "Calling API: JobsApi#jobs_name_get ..."
@@ -502,7 +502,7 @@ module IronTitan
502
502
  :form_params => form_params,
503
503
  :body => post_body,
504
504
  :auth_names => auth_names,
505
- :return_type => 'JobArray')
505
+ :return_type => 'JobsWrapper')
506
506
  if @api_client.config.debugging
507
507
  @api_client.config.logger.debug "API called: JobsApi#jobs_name_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
508
508
  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.0.9
6
+ OpenAPI spec version: 0.0.10
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -160,7 +160,7 @@ module IronTitan
160
160
  # parse date time (expecting ISO 8601 format)
161
161
  Date.parse data
162
162
  when 'Object'
163
- # generic object, return directly
163
+ # generic object (usually a Hash), return directly
164
164
  data
165
165
  when /\AArray<(.+)>\z/
166
166
  # e.g. Array<Pet>
@@ -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.0.9
6
+ OpenAPI spec version: 0.0.10
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.0.9
6
+ OpenAPI spec version: 0.0.10
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -101,6 +101,9 @@ module IronTitan
101
101
  else
102
102
  false
103
103
  end
104
+ when :Object
105
+ # generic object (usually a Hash), return directly
106
+ value
104
107
  when /\AArray<(?<inner_type>.+)>\z/
105
108
  inner_type = Regexp.last_match[:inner_type]
106
109
  value.map { |v| _deserialize(inner_type, v) }
@@ -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.0.9
6
+ OpenAPI spec version: 0.0.10
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -111,6 +111,9 @@ module IronTitan
111
111
  else
112
112
  false
113
113
  end
114
+ when :Object
115
+ # generic object (usually a Hash), return directly
116
+ value
114
117
  when /\AArray<(?<inner_type>.+)>\z/
115
118
  inner_type = Regexp.last_match[:inner_type]
116
119
  value.map { |v| _deserialize(inner_type, v) }
@@ -0,0 +1,163 @@
1
+ =begin
2
+ Titan API
3
+
4
+ The ultimate, language agnostic, container based job processing framework.
5
+
6
+ OpenAPI spec version: 0.0.10
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+
10
+
11
+ =end
12
+
13
+ require 'date'
14
+
15
+ module IronTitan
16
+ class ImagesWrapper
17
+ attr_accessor :jobs
18
+
19
+ # Attribute mapping from ruby-style variable name to JSON key.
20
+ def self.attribute_map
21
+ {
22
+
23
+ :'jobs' => :'jobs'
24
+
25
+ }
26
+ end
27
+
28
+ # Attribute type mapping.
29
+ def self.swagger_types
30
+ {
31
+ :'jobs' => :'Array<Job>'
32
+
33
+ }
34
+ end
35
+
36
+ def initialize(attributes = {})
37
+ return unless attributes.is_a?(Hash)
38
+
39
+ # convert string to symbol for hash key
40
+ attributes = attributes.inject({}){|memo,(k,v)| memo[k.to_sym] = v; memo}
41
+
42
+
43
+ if attributes[:'jobs']
44
+ if (value = attributes[:'jobs']).is_a?(Array)
45
+ self.jobs = value
46
+ end
47
+ end
48
+
49
+ end
50
+
51
+ # Check equality by comparing each attribute.
52
+ def ==(o)
53
+ return true if self.equal?(o)
54
+ self.class == o.class &&
55
+ jobs == o.jobs
56
+ end
57
+
58
+ # @see the `==` method
59
+ def eql?(o)
60
+ self == o
61
+ end
62
+
63
+ # Calculate hash code according to all attributes.
64
+ def hash
65
+ [jobs].hash
66
+ end
67
+
68
+ # build the object from hash
69
+ def build_from_hash(attributes)
70
+ return nil unless attributes.is_a?(Hash)
71
+ self.class.swagger_types.each_pair do |key, type|
72
+ if type =~ /^Array<(.*)>/i
73
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
74
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
75
+ else
76
+ #TODO show warning in debug mode
77
+ end
78
+ elsif !attributes[self.class.attribute_map[key]].nil?
79
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
80
+ else
81
+ # data not found in attributes(hash), not an issue as the data can be optional
82
+ end
83
+ end
84
+
85
+ self
86
+ end
87
+
88
+ def _deserialize(type, value)
89
+ case type.to_sym
90
+ when :DateTime
91
+ DateTime.parse(value)
92
+ when :Date
93
+ Date.parse(value)
94
+ when :String
95
+ value.to_s
96
+ when :Integer
97
+ value.to_i
98
+ when :Float
99
+ value.to_f
100
+ when :BOOLEAN
101
+ if value.to_s =~ /^(true|t|yes|y|1)$/i
102
+ true
103
+ else
104
+ false
105
+ end
106
+ when :Object
107
+ # generic object (usually a Hash), return directly
108
+ value
109
+ when /\AArray<(?<inner_type>.+)>\z/
110
+ inner_type = Regexp.last_match[:inner_type]
111
+ value.map { |v| _deserialize(inner_type, v) }
112
+ when /\AHash<(?<k_type>.+), (?<v_type>.+)>\z/
113
+ k_type = Regexp.last_match[:k_type]
114
+ v_type = Regexp.last_match[:v_type]
115
+ {}.tap do |hash|
116
+ value.each do |k, v|
117
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
118
+ end
119
+ end
120
+ else # model
121
+ _model = IronTitan.const_get(type).new
122
+ _model.build_from_hash(value)
123
+ end
124
+ end
125
+
126
+ def to_s
127
+ to_hash.to_s
128
+ end
129
+
130
+ # to_body is an alias to to_body (backward compatibility))
131
+ def to_body
132
+ to_hash
133
+ end
134
+
135
+ # return the object in the form of hash
136
+ def to_hash
137
+ hash = {}
138
+ self.class.attribute_map.each_pair do |attr, param|
139
+ value = self.send(attr)
140
+ next if value.nil?
141
+ hash[param] = _to_hash(value)
142
+ end
143
+ hash
144
+ end
145
+
146
+ # Method to output non-array value in the form of hash
147
+ # For object, use to_hash. Otherwise, just return the value
148
+ def _to_hash(value)
149
+ if value.is_a?(Array)
150
+ value.compact.map{ |v| _to_hash(v) }
151
+ elsif value.is_a?(Hash)
152
+ {}.tap do |hash|
153
+ value.each { |k, v| hash[k] = _to_hash(v) }
154
+ end
155
+ elsif value.respond_to? :to_hash
156
+ value.to_hash
157
+ else
158
+ value
159
+ end
160
+ end
161
+
162
+ end
163
+ 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.0.9
6
+ OpenAPI spec version: 0.0.10
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -267,6 +267,9 @@ module IronTitan
267
267
  else
268
268
  false
269
269
  end
270
+ when :Object
271
+ # generic object (usually a Hash), return directly
272
+ value
270
273
  when /\AArray<(?<inner_type>.+)>\z/
271
274
  inner_type = Regexp.last_match[:inner_type]
272
275
  value.map { |v| _deserialize(inner_type, v) }
@@ -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.0.9
6
+ OpenAPI spec version: 0.0.10
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -101,6 +101,9 @@ module IronTitan
101
101
  else
102
102
  false
103
103
  end
104
+ when :Object
105
+ # generic object (usually a Hash), return directly
106
+ value
104
107
  when /\AArray<(?<inner_type>.+)>\z/
105
108
  inner_type = Regexp.last_match[:inner_type]
106
109
  value.map { |v| _deserialize(inner_type, v) }
@@ -0,0 +1,163 @@
1
+ =begin
2
+ Titan API
3
+
4
+ The ultimate, language agnostic, container based job processing framework.
5
+
6
+ OpenAPI spec version: 0.0.10
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+
10
+
11
+ =end
12
+
13
+ require 'date'
14
+
15
+ module IronTitan
16
+ class JobsWrapper
17
+ attr_accessor :jobs
18
+
19
+ # Attribute mapping from ruby-style variable name to JSON key.
20
+ def self.attribute_map
21
+ {
22
+
23
+ :'jobs' => :'jobs'
24
+
25
+ }
26
+ end
27
+
28
+ # Attribute type mapping.
29
+ def self.swagger_types
30
+ {
31
+ :'jobs' => :'Array<Job>'
32
+
33
+ }
34
+ end
35
+
36
+ def initialize(attributes = {})
37
+ return unless attributes.is_a?(Hash)
38
+
39
+ # convert string to symbol for hash key
40
+ attributes = attributes.inject({}){|memo,(k,v)| memo[k.to_sym] = v; memo}
41
+
42
+
43
+ if attributes[:'jobs']
44
+ if (value = attributes[:'jobs']).is_a?(Array)
45
+ self.jobs = value
46
+ end
47
+ end
48
+
49
+ end
50
+
51
+ # Check equality by comparing each attribute.
52
+ def ==(o)
53
+ return true if self.equal?(o)
54
+ self.class == o.class &&
55
+ jobs == o.jobs
56
+ end
57
+
58
+ # @see the `==` method
59
+ def eql?(o)
60
+ self == o
61
+ end
62
+
63
+ # Calculate hash code according to all attributes.
64
+ def hash
65
+ [jobs].hash
66
+ end
67
+
68
+ # build the object from hash
69
+ def build_from_hash(attributes)
70
+ return nil unless attributes.is_a?(Hash)
71
+ self.class.swagger_types.each_pair do |key, type|
72
+ if type =~ /^Array<(.*)>/i
73
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
74
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
75
+ else
76
+ #TODO show warning in debug mode
77
+ end
78
+ elsif !attributes[self.class.attribute_map[key]].nil?
79
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
80
+ else
81
+ # data not found in attributes(hash), not an issue as the data can be optional
82
+ end
83
+ end
84
+
85
+ self
86
+ end
87
+
88
+ def _deserialize(type, value)
89
+ case type.to_sym
90
+ when :DateTime
91
+ DateTime.parse(value)
92
+ when :Date
93
+ Date.parse(value)
94
+ when :String
95
+ value.to_s
96
+ when :Integer
97
+ value.to_i
98
+ when :Float
99
+ value.to_f
100
+ when :BOOLEAN
101
+ if value.to_s =~ /^(true|t|yes|y|1)$/i
102
+ true
103
+ else
104
+ false
105
+ end
106
+ when :Object
107
+ # generic object (usually a Hash), return directly
108
+ value
109
+ when /\AArray<(?<inner_type>.+)>\z/
110
+ inner_type = Regexp.last_match[:inner_type]
111
+ value.map { |v| _deserialize(inner_type, v) }
112
+ when /\AHash<(?<k_type>.+), (?<v_type>.+)>\z/
113
+ k_type = Regexp.last_match[:k_type]
114
+ v_type = Regexp.last_match[:v_type]
115
+ {}.tap do |hash|
116
+ value.each do |k, v|
117
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
118
+ end
119
+ end
120
+ else # model
121
+ _model = IronTitan.const_get(type).new
122
+ _model.build_from_hash(value)
123
+ end
124
+ end
125
+
126
+ def to_s
127
+ to_hash.to_s
128
+ end
129
+
130
+ # to_body is an alias to to_body (backward compatibility))
131
+ def to_body
132
+ to_hash
133
+ end
134
+
135
+ # return the object in the form of hash
136
+ def to_hash
137
+ hash = {}
138
+ self.class.attribute_map.each_pair do |attr, param|
139
+ value = self.send(attr)
140
+ next if value.nil?
141
+ hash[param] = _to_hash(value)
142
+ end
143
+ hash
144
+ end
145
+
146
+ # Method to output non-array value in the form of hash
147
+ # For object, use to_hash. Otherwise, just return the value
148
+ def _to_hash(value)
149
+ if value.is_a?(Array)
150
+ value.compact.map{ |v| _to_hash(v) }
151
+ elsif value.is_a?(Hash)
152
+ {}.tap do |hash|
153
+ value.each { |k, v| hash[k] = _to_hash(v) }
154
+ end
155
+ elsif value.respond_to? :to_hash
156
+ value.to_hash
157
+ else
158
+ value
159
+ end
160
+ end
161
+
162
+ end
163
+ 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.0.9
6
+ OpenAPI spec version: 0.0.10
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -101,6 +101,9 @@ module IronTitan
101
101
  else
102
102
  false
103
103
  end
104
+ when :Object
105
+ # generic object (usually a Hash), return directly
106
+ value
104
107
  when /\AArray<(?<inner_type>.+)>\z/
105
108
  inner_type = Regexp.last_match[:inner_type]
106
109
  value.map { |v| _deserialize(inner_type, v) }
@@ -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.0.9
6
+ OpenAPI spec version: 0.0.10
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -190,6 +190,9 @@ module IronTitan
190
190
  else
191
191
  false
192
192
  end
193
+ when :Object
194
+ # generic object (usually a Hash), return directly
195
+ value
193
196
  when /\AArray<(?<inner_type>.+)>\z/
194
197
  inner_type = Regexp.last_match[:inner_type]
195
198
  value.map { |v| _deserialize(inner_type, v) }
@@ -0,0 +1,163 @@
1
+ =begin
2
+ Titan API
3
+
4
+ The ultimate, language agnostic, container based job processing framework.
5
+
6
+ OpenAPI spec version: 0.0.10
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+
10
+
11
+ =end
12
+
13
+ require 'date'
14
+
15
+ module IronTitan
16
+ class NewJobsWrapper
17
+ attr_accessor :jobs
18
+
19
+ # Attribute mapping from ruby-style variable name to JSON key.
20
+ def self.attribute_map
21
+ {
22
+
23
+ :'jobs' => :'jobs'
24
+
25
+ }
26
+ end
27
+
28
+ # Attribute type mapping.
29
+ def self.swagger_types
30
+ {
31
+ :'jobs' => :'Array<NewJob>'
32
+
33
+ }
34
+ end
35
+
36
+ def initialize(attributes = {})
37
+ return unless attributes.is_a?(Hash)
38
+
39
+ # convert string to symbol for hash key
40
+ attributes = attributes.inject({}){|memo,(k,v)| memo[k.to_sym] = v; memo}
41
+
42
+
43
+ if attributes[:'jobs']
44
+ if (value = attributes[:'jobs']).is_a?(Array)
45
+ self.jobs = value
46
+ end
47
+ end
48
+
49
+ end
50
+
51
+ # Check equality by comparing each attribute.
52
+ def ==(o)
53
+ return true if self.equal?(o)
54
+ self.class == o.class &&
55
+ jobs == o.jobs
56
+ end
57
+
58
+ # @see the `==` method
59
+ def eql?(o)
60
+ self == o
61
+ end
62
+
63
+ # Calculate hash code according to all attributes.
64
+ def hash
65
+ [jobs].hash
66
+ end
67
+
68
+ # build the object from hash
69
+ def build_from_hash(attributes)
70
+ return nil unless attributes.is_a?(Hash)
71
+ self.class.swagger_types.each_pair do |key, type|
72
+ if type =~ /^Array<(.*)>/i
73
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
74
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
75
+ else
76
+ #TODO show warning in debug mode
77
+ end
78
+ elsif !attributes[self.class.attribute_map[key]].nil?
79
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
80
+ else
81
+ # data not found in attributes(hash), not an issue as the data can be optional
82
+ end
83
+ end
84
+
85
+ self
86
+ end
87
+
88
+ def _deserialize(type, value)
89
+ case type.to_sym
90
+ when :DateTime
91
+ DateTime.parse(value)
92
+ when :Date
93
+ Date.parse(value)
94
+ when :String
95
+ value.to_s
96
+ when :Integer
97
+ value.to_i
98
+ when :Float
99
+ value.to_f
100
+ when :BOOLEAN
101
+ if value.to_s =~ /^(true|t|yes|y|1)$/i
102
+ true
103
+ else
104
+ false
105
+ end
106
+ when :Object
107
+ # generic object (usually a Hash), return directly
108
+ value
109
+ when /\AArray<(?<inner_type>.+)>\z/
110
+ inner_type = Regexp.last_match[:inner_type]
111
+ value.map { |v| _deserialize(inner_type, v) }
112
+ when /\AHash<(?<k_type>.+), (?<v_type>.+)>\z/
113
+ k_type = Regexp.last_match[:k_type]
114
+ v_type = Regexp.last_match[:v_type]
115
+ {}.tap do |hash|
116
+ value.each do |k, v|
117
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
118
+ end
119
+ end
120
+ else # model
121
+ _model = IronTitan.const_get(type).new
122
+ _model.build_from_hash(value)
123
+ end
124
+ end
125
+
126
+ def to_s
127
+ to_hash.to_s
128
+ end
129
+
130
+ # to_body is an alias to to_body (backward compatibility))
131
+ def to_body
132
+ to_hash
133
+ end
134
+
135
+ # return the object in the form of hash
136
+ def to_hash
137
+ hash = {}
138
+ self.class.attribute_map.each_pair do |attr, param|
139
+ value = self.send(attr)
140
+ next if value.nil?
141
+ hash[param] = _to_hash(value)
142
+ end
143
+ hash
144
+ end
145
+
146
+ # Method to output non-array value in the form of hash
147
+ # For object, use to_hash. Otherwise, just return the value
148
+ def _to_hash(value)
149
+ if value.is_a?(Array)
150
+ value.compact.map{ |v| _to_hash(v) }
151
+ elsif value.is_a?(Hash)
152
+ {}.tap do |hash|
153
+ value.each { |k, v| hash[k] = _to_hash(v) }
154
+ end
155
+ elsif value.respond_to? :to_hash
156
+ value.to_hash
157
+ else
158
+ value
159
+ end
160
+ end
161
+
162
+ end
163
+ 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.0.9
6
+ OpenAPI spec version: 0.0.10
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.0.9"
14
+ VERSION = "0.0.10"
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.0.9
6
+ OpenAPI spec version: 0.0.10
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -17,17 +17,19 @@ require 'iron_titan/version'
17
17
  require 'iron_titan/configuration'
18
18
 
19
19
  # Models
20
- require 'iron_titan/models/job_array'
20
+ require 'iron_titan/models/jobs_wrapper'
21
21
  require 'iron_titan/models/error_body'
22
+ require 'iron_titan/models/new_jobs_wrapper'
22
23
  require 'iron_titan/models/log'
24
+ require 'iron_titan/models/images_wrapper'
23
25
  require 'iron_titan/models/error'
24
- require 'iron_titan/models/new_job_array'
25
26
  require 'iron_titan/models/job_wrapper'
26
27
  require 'iron_titan/models/job'
27
28
  require 'iron_titan/models/new_job'
28
29
 
29
30
  # APIs
30
31
  require 'iron_titan/api/jobs_api'
32
+ require 'iron_titan/api/images_api'
31
33
  require 'iron_titan/api/core_api'
32
34
 
33
35
  module IronTitan
@@ -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.0.9
6
+ OpenAPI spec version: 0.0.10
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -53,7 +53,7 @@ describe 'CoreApi' do
53
53
  # Gets the next job in the queue, ready for processing.
54
54
  # @param [Hash] opts the optional parameters
55
55
  # @option opts [Integer] :n Number of jobs to return.
56
- # @return [JobArray]
56
+ # @return [JobsWrapper]
57
57
  describe 'jobs_get test' do
58
58
  it "should work" do
59
59
  # assertion here
@@ -69,7 +69,7 @@ describe 'CoreApi' do
69
69
  # Enqueues a job.
70
70
  # @param body Array of jobs to post.
71
71
  # @param [Hash] opts the optional parameters
72
- # @return [JobArray]
72
+ # @return [JobsWrapper]
73
73
  describe 'jobs_post test' do
74
74
  it "should work" do
75
75
  # assertion here
@@ -0,0 +1,51 @@
1
+ =begin
2
+ Titan API
3
+
4
+ The ultimate, language agnostic, container based job processing framework.
5
+
6
+ OpenAPI spec version: 0.0.10
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for IronTitan::ImagesApi
17
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
18
+ # Please update as you see appropriate
19
+ describe 'ImagesApi' do
20
+ before do
21
+ # run before each test
22
+ @instance = IronTitan::ImagesApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of ImagesApi' do
30
+ it 'should create an instact of ImagesApi' do
31
+ @instance.should be_a(IronTitan::ImagesApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for images_name_get
36
+ # Get images by name.
37
+ # TODO: Using images for lack of a better term. See https://github.com/iron-io/titan/issues/43 for discussion.
38
+ # @param name Name of the image.
39
+ # @param [Hash] opts the optional parameters
40
+ # @return [ImagesWrapper]
41
+ describe 'images_name_get test' do
42
+ it "should work" do
43
+ # assertion here
44
+ # should be_a()
45
+ # should be_nil
46
+ # should ==
47
+ # should_not ==
48
+ end
49
+ end
50
+
51
+ 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.0.9
6
+ OpenAPI spec version: 0.0.10
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -118,7 +118,7 @@ describe 'JobsApi' do
118
118
  # Gets the next job in the queue, ready for processing.
119
119
  # @param [Hash] opts the optional parameters
120
120
  # @option opts [Integer] :n Number of jobs to return.
121
- # @return [JobArray]
121
+ # @return [JobsWrapper]
122
122
  describe 'jobs_get test' do
123
123
  it "should work" do
124
124
  # assertion here
@@ -134,7 +134,7 @@ describe 'JobsApi' do
134
134
  # Enqueues a job.
135
135
  # @param body Array of jobs to post.
136
136
  # @param [Hash] opts the optional parameters
137
- # @return [JobArray]
137
+ # @return [JobsWrapper]
138
138
  describe 'jobs_post test' do
139
139
  it "should work" do
140
140
  # assertion here
@@ -152,7 +152,7 @@ describe 'JobsApi' do
152
152
  # @param [Hash] opts the optional parameters
153
153
  # @option opts [DateTime] :created_after Will return jobs created after this time. In RFC3339 format.
154
154
  # @option opts [Integer] :n Number of jobs to return.
155
- # @return [JobArray]
155
+ # @return [JobsWrapper]
156
156
  describe 'jobs_name_get test' do
157
157
  it "should work" do
158
158
  # 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.0.9
6
+ OpenAPI spec version: 0.0.10
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.0.9
6
+ OpenAPI spec version: 0.0.10
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.0.9
6
+ OpenAPI spec version: 0.0.10
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -0,0 +1,46 @@
1
+ =begin
2
+ Titan API
3
+
4
+ The ultimate, language agnostic, container based job processing framework.
5
+
6
+ OpenAPI spec version: 0.0.10
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for IronTitan::
18
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
+ # Please update as you see appropriate
20
+ describe 'ImagesWrapper' do
21
+ before do
22
+ # run before each test
23
+ @instance = IronTitan::ImagesWrapper.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of ImagesWrapper' do
31
+ it 'should create an instact of ImagesWrapper' do
32
+ @instance.should be_a(IronTitan::ImagesWrapper)
33
+ end
34
+ end
35
+ describe 'test attribute "jobs"' 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
+
45
+ end
46
+
@@ -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.0.9
6
+ OpenAPI spec version: 0.0.10
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -0,0 +1,46 @@
1
+ =begin
2
+ Titan API
3
+
4
+ The ultimate, language agnostic, container based job processing framework.
5
+
6
+ OpenAPI spec version: 0.0.10
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for IronTitan::
18
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
+ # Please update as you see appropriate
20
+ describe 'JobsWrapper' do
21
+ before do
22
+ # run before each test
23
+ @instance = IronTitan::JobsWrapper.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of JobsWrapper' do
31
+ it 'should create an instact of JobsWrapper' do
32
+ @instance.should be_a(IronTitan::JobsWrapper)
33
+ end
34
+ end
35
+ describe 'test attribute "jobs"' 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
+
45
+ end
46
+
@@ -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.0.9
6
+ OpenAPI spec version: 0.0.10
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.0.9
6
+ OpenAPI spec version: 0.0.10
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -0,0 +1,46 @@
1
+ =begin
2
+ Titan API
3
+
4
+ The ultimate, language agnostic, container based job processing framework.
5
+
6
+ OpenAPI spec version: 0.0.10
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for IronTitan::
18
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
+ # Please update as you see appropriate
20
+ describe 'NewJobsWrapper' do
21
+ before do
22
+ # run before each test
23
+ @instance = IronTitan::NewJobsWrapper.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of NewJobsWrapper' do
31
+ it 'should create an instact of NewJobsWrapper' do
32
+ @instance.should be_a(IronTitan::NewJobsWrapper)
33
+ end
34
+ end
35
+ describe 'test attribute "jobs"' 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
+
45
+ end
46
+
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.0.9
4
+ version: 0.0.10
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-08 00:00:00.000000000 Z
11
+ date: 2016-03-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -200,22 +200,27 @@ files:
200
200
  - README.md
201
201
  - lib/iron_titan.rb
202
202
  - lib/iron_titan/api/core_api.rb
203
+ - lib/iron_titan/api/images_api.rb
203
204
  - lib/iron_titan/api/jobs_api.rb
204
205
  - lib/iron_titan/api_client.rb
205
206
  - lib/iron_titan/api_error.rb
206
207
  - lib/iron_titan/configuration.rb
207
208
  - lib/iron_titan/models/error.rb
208
209
  - lib/iron_titan/models/error_body.rb
210
+ - lib/iron_titan/models/images_wrapper.rb
209
211
  - lib/iron_titan/models/job.rb
210
212
  - lib/iron_titan/models/job_array.rb
211
213
  - lib/iron_titan/models/job_wrapper.rb
214
+ - lib/iron_titan/models/jobs_wrapper.rb
212
215
  - lib/iron_titan/models/log.rb
213
216
  - lib/iron_titan/models/new_job.rb
214
217
  - lib/iron_titan/models/new_job_array.rb
218
+ - lib/iron_titan/models/new_jobs_wrapper.rb
215
219
  - lib/iron_titan/version.rb
216
220
  - spec/api/CoreApi_spec.rb
217
221
  - spec/api/JobsApi_spec.rb
218
222
  - spec/api/core_api_spec.rb
223
+ - spec/api/images_api_spec.rb
219
224
  - spec/api/jobs_api_spec.rb
220
225
  - spec/models/ErrorBody_spec.rb
221
226
  - spec/models/Error_spec.rb
@@ -225,11 +230,14 @@ files:
225
230
  - spec/models/NewJobArray_spec.rb
226
231
  - spec/models/NewJob_spec.rb
227
232
  - spec/models/error_body_spec.rb
233
+ - spec/models/images_wrapper_spec.rb
228
234
  - spec/models/job_array_spec.rb
229
235
  - spec/models/job_wrapper_spec.rb
236
+ - spec/models/jobs_wrapper_spec.rb
230
237
  - spec/models/log_spec.rb
231
238
  - spec/models/new_job_array_spec.rb
232
239
  - spec/models/new_job_spec.rb
240
+ - spec/models/new_jobs_wrapper_spec.rb
233
241
  homepage: https://github.com/iron-io/titan_ruby
234
242
  licenses:
235
243
  - Apache 2.0
@@ -257,18 +265,22 @@ summary: ''
257
265
  test_files:
258
266
  - spec/api/core_api_spec.rb
259
267
  - spec/api/CoreApi_spec.rb
268
+ - spec/api/images_api_spec.rb
260
269
  - spec/api/jobs_api_spec.rb
261
270
  - spec/api/JobsApi_spec.rb
262
271
  - spec/models/error_body_spec.rb
263
272
  - spec/models/Error_spec.rb
264
273
  - spec/models/ErrorBody_spec.rb
274
+ - spec/models/images_wrapper_spec.rb
265
275
  - spec/models/job_array_spec.rb
266
276
  - spec/models/Job_spec.rb
267
277
  - spec/models/job_wrapper_spec.rb
268
278
  - spec/models/JobArray_spec.rb
279
+ - spec/models/jobs_wrapper_spec.rb
269
280
  - spec/models/JobWrapper_spec.rb
270
281
  - spec/models/log_spec.rb
271
282
  - spec/models/new_job_array_spec.rb
272
283
  - spec/models/new_job_spec.rb
284
+ - spec/models/new_jobs_wrapper_spec.rb
273
285
  - spec/models/NewJob_spec.rb
274
286
  - spec/models/NewJobArray_spec.rb