iron_titan 0.1.0 → 0.1.1

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: b2733bf5718b62919a89ef1daf508b4dd0b62649
4
- data.tar.gz: 17476e9be12a4347a02983daebfc71f4115b988c
3
+ metadata.gz: 2abf37ff69c377cd77f5343af5bafc93bd9ae331
4
+ data.tar.gz: d9b2a96fa1cd0e4758230d041deb916fc0e2b4a4
5
5
  SHA512:
6
- metadata.gz: eeaaa9aa1f8cd64800d2ee1fe837ea425415832dd70692ef72cbadb0bb4f85c9e98ab9bed570eed34a52aa47c31806053d422e841d9d01c09baec6201a6a1cb3
7
- data.tar.gz: 67c166e50568e2f546d9e2cf7b8beb5da1ee07415d3e2663f97f848221ba78187e5885db4f6bda2db0597b3dfd8dae8be18f827bf752b0dc0340642a98e4bcb9
6
+ metadata.gz: 81f587a06fc30a78c5ff91907bae6acba6e95ed371b4eb67871477723c4f783507285cf7d420c1196d190e8e4e7d0f8e214ad38469da4ffd3c53efec07fa5d01
7
+ data.tar.gz: 5eb734844536527e63fbf4bf30a5c27a8b50b656892bd2c1d30ac4afd10fcb27c5bf5d9df0780166b47d0dc3a420feef98ac2b2ffedbe33e5d1300c872e13a35
@@ -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.1.0
6
+ OpenAPI spec version: 0.1.1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -20,11 +20,13 @@ require 'iron_titan/configuration'
20
20
  require 'iron_titan/models/jobs_wrapper'
21
21
  require 'iron_titan/models/error_body'
22
22
  require 'iron_titan/models/new_jobs_wrapper'
23
+ require 'iron_titan/models/image_wrapper'
23
24
  require 'iron_titan/models/log'
24
25
  require 'iron_titan/models/images_wrapper'
25
26
  require 'iron_titan/models/error'
26
27
  require 'iron_titan/models/job_wrapper'
27
28
  require 'iron_titan/models/job'
29
+ require 'iron_titan/models/image'
28
30
  require 'iron_titan/models/new_job'
29
31
 
30
32
  # APIs
@@ -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.1.0
6
+ OpenAPI spec version: 0.1.1
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.1.0
6
+ OpenAPI spec version: 0.1.1
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.1.0
6
+ OpenAPI spec version: 0.1.1
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.1.0
6
+ OpenAPI spec version: 0.1.1
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.1.0
6
+ OpenAPI spec version: 0.1.1
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.1.0
6
+ OpenAPI spec version: 0.1.1
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.1.0
6
+ OpenAPI spec version: 0.1.1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -0,0 +1,173 @@
1
+ =begin
2
+ Titan API
3
+
4
+ The ultimate, language agnostic, container based job processing framework.
5
+
6
+ OpenAPI spec version: 0.1.1
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 Image
17
+ # Docker image to use for job.
18
+ attr_accessor :name
19
+
20
+ # Time when image first used/created.
21
+ attr_accessor :created_at
22
+
23
+ # Attribute mapping from ruby-style variable name to JSON key.
24
+ def self.attribute_map
25
+ {
26
+
27
+ :'name' => :'name',
28
+
29
+ :'created_at' => :'created_at'
30
+
31
+ }
32
+ end
33
+
34
+ # Attribute type mapping.
35
+ def self.swagger_types
36
+ {
37
+ :'name' => :'String',
38
+ :'created_at' => :'DateTime'
39
+
40
+ }
41
+ end
42
+
43
+ def initialize(attributes = {})
44
+ return unless attributes.is_a?(Hash)
45
+
46
+ # convert string to symbol for hash key
47
+ attributes = attributes.inject({}){|memo,(k,v)| memo[k.to_sym] = v; memo}
48
+
49
+
50
+ if attributes[:'name']
51
+ self.name = attributes[:'name']
52
+ end
53
+
54
+ if attributes[:'created_at']
55
+ self.created_at = attributes[:'created_at']
56
+ end
57
+
58
+ end
59
+
60
+ # Check equality by comparing each attribute.
61
+ def ==(o)
62
+ return true if self.equal?(o)
63
+ self.class == o.class &&
64
+ name == o.name &&
65
+ created_at == o.created_at
66
+ end
67
+
68
+ # @see the `==` method
69
+ def eql?(o)
70
+ self == o
71
+ end
72
+
73
+ # Calculate hash code according to all attributes.
74
+ def hash
75
+ [name, created_at].hash
76
+ end
77
+
78
+ # build the object from hash
79
+ def build_from_hash(attributes)
80
+ return nil unless attributes.is_a?(Hash)
81
+ self.class.swagger_types.each_pair do |key, type|
82
+ if type =~ /^Array<(.*)>/i
83
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
84
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
85
+ else
86
+ #TODO show warning in debug mode
87
+ end
88
+ elsif !attributes[self.class.attribute_map[key]].nil?
89
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
90
+ else
91
+ # data not found in attributes(hash), not an issue as the data can be optional
92
+ end
93
+ end
94
+
95
+ self
96
+ end
97
+
98
+ def _deserialize(type, value)
99
+ case type.to_sym
100
+ when :DateTime
101
+ DateTime.parse(value)
102
+ when :Date
103
+ Date.parse(value)
104
+ when :String
105
+ value.to_s
106
+ when :Integer
107
+ value.to_i
108
+ when :Float
109
+ value.to_f
110
+ when :BOOLEAN
111
+ if value.to_s =~ /^(true|t|yes|y|1)$/i
112
+ true
113
+ else
114
+ false
115
+ end
116
+ when :Object
117
+ # generic object (usually a Hash), return directly
118
+ value
119
+ when /\AArray<(?<inner_type>.+)>\z/
120
+ inner_type = Regexp.last_match[:inner_type]
121
+ value.map { |v| _deserialize(inner_type, v) }
122
+ when /\AHash<(?<k_type>.+), (?<v_type>.+)>\z/
123
+ k_type = Regexp.last_match[:k_type]
124
+ v_type = Regexp.last_match[:v_type]
125
+ {}.tap do |hash|
126
+ value.each do |k, v|
127
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
128
+ end
129
+ end
130
+ else # model
131
+ _model = IronTitan.const_get(type).new
132
+ _model.build_from_hash(value)
133
+ end
134
+ end
135
+
136
+ def to_s
137
+ to_hash.to_s
138
+ end
139
+
140
+ # to_body is an alias to to_body (backward compatibility))
141
+ def to_body
142
+ to_hash
143
+ end
144
+
145
+ # return the object in the form of hash
146
+ def to_hash
147
+ hash = {}
148
+ self.class.attribute_map.each_pair do |attr, param|
149
+ value = self.send(attr)
150
+ next if value.nil?
151
+ hash[param] = _to_hash(value)
152
+ end
153
+ hash
154
+ end
155
+
156
+ # Method to output non-array value in the form of hash
157
+ # For object, use to_hash. Otherwise, just return the value
158
+ def _to_hash(value)
159
+ if value.is_a?(Array)
160
+ value.compact.map{ |v| _to_hash(v) }
161
+ elsif value.is_a?(Hash)
162
+ {}.tap do |hash|
163
+ value.each { |k, v| hash[k] = _to_hash(v) }
164
+ end
165
+ elsif value.respond_to? :to_hash
166
+ value.to_hash
167
+ else
168
+ value
169
+ end
170
+ end
171
+
172
+ end
173
+ end
@@ -0,0 +1,161 @@
1
+ =begin
2
+ Titan API
3
+
4
+ The ultimate, language agnostic, container based job processing framework.
5
+
6
+ OpenAPI spec version: 0.1.1
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 ImageWrapper
17
+ attr_accessor :image
18
+
19
+ # Attribute mapping from ruby-style variable name to JSON key.
20
+ def self.attribute_map
21
+ {
22
+
23
+ :'image' => :'image'
24
+
25
+ }
26
+ end
27
+
28
+ # Attribute type mapping.
29
+ def self.swagger_types
30
+ {
31
+ :'image' => :'Image'
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[:'image']
44
+ self.image = attributes[:'image']
45
+ end
46
+
47
+ end
48
+
49
+ # Check equality by comparing each attribute.
50
+ def ==(o)
51
+ return true if self.equal?(o)
52
+ self.class == o.class &&
53
+ image == o.image
54
+ end
55
+
56
+ # @see the `==` method
57
+ def eql?(o)
58
+ self == o
59
+ end
60
+
61
+ # Calculate hash code according to all attributes.
62
+ def hash
63
+ [image].hash
64
+ end
65
+
66
+ # build the object from hash
67
+ def build_from_hash(attributes)
68
+ return nil unless attributes.is_a?(Hash)
69
+ self.class.swagger_types.each_pair do |key, type|
70
+ if type =~ /^Array<(.*)>/i
71
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
72
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
73
+ else
74
+ #TODO show warning in debug mode
75
+ end
76
+ elsif !attributes[self.class.attribute_map[key]].nil?
77
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
78
+ else
79
+ # data not found in attributes(hash), not an issue as the data can be optional
80
+ end
81
+ end
82
+
83
+ self
84
+ end
85
+
86
+ def _deserialize(type, value)
87
+ case type.to_sym
88
+ when :DateTime
89
+ DateTime.parse(value)
90
+ when :Date
91
+ Date.parse(value)
92
+ when :String
93
+ value.to_s
94
+ when :Integer
95
+ value.to_i
96
+ when :Float
97
+ value.to_f
98
+ when :BOOLEAN
99
+ if value.to_s =~ /^(true|t|yes|y|1)$/i
100
+ true
101
+ else
102
+ false
103
+ end
104
+ when :Object
105
+ # generic object (usually a Hash), return directly
106
+ value
107
+ when /\AArray<(?<inner_type>.+)>\z/
108
+ inner_type = Regexp.last_match[:inner_type]
109
+ value.map { |v| _deserialize(inner_type, v) }
110
+ when /\AHash<(?<k_type>.+), (?<v_type>.+)>\z/
111
+ k_type = Regexp.last_match[:k_type]
112
+ v_type = Regexp.last_match[:v_type]
113
+ {}.tap do |hash|
114
+ value.each do |k, v|
115
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
116
+ end
117
+ end
118
+ else # model
119
+ _model = IronTitan.const_get(type).new
120
+ _model.build_from_hash(value)
121
+ end
122
+ end
123
+
124
+ def to_s
125
+ to_hash.to_s
126
+ end
127
+
128
+ # to_body is an alias to to_body (backward compatibility))
129
+ def to_body
130
+ to_hash
131
+ end
132
+
133
+ # return the object in the form of hash
134
+ def to_hash
135
+ hash = {}
136
+ self.class.attribute_map.each_pair do |attr, param|
137
+ value = self.send(attr)
138
+ next if value.nil?
139
+ hash[param] = _to_hash(value)
140
+ end
141
+ hash
142
+ end
143
+
144
+ # Method to output non-array value in the form of hash
145
+ # For object, use to_hash. Otherwise, just return the value
146
+ def _to_hash(value)
147
+ if value.is_a?(Array)
148
+ value.compact.map{ |v| _to_hash(v) }
149
+ elsif value.is_a?(Hash)
150
+ {}.tap do |hash|
151
+ value.each { |k, v| hash[k] = _to_hash(v) }
152
+ end
153
+ elsif value.respond_to? :to_hash
154
+ value.to_hash
155
+ else
156
+ value
157
+ end
158
+ end
159
+
160
+ end
161
+ 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.1.0
6
+ OpenAPI spec version: 0.1.1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -14,13 +14,13 @@ require 'date'
14
14
 
15
15
  module IronTitan
16
16
  class ImagesWrapper
17
- attr_accessor :jobs
17
+ attr_accessor :images
18
18
 
19
19
  # Attribute mapping from ruby-style variable name to JSON key.
20
20
  def self.attribute_map
21
21
  {
22
22
 
23
- :'jobs' => :'jobs'
23
+ :'images' => :'images'
24
24
 
25
25
  }
26
26
  end
@@ -28,7 +28,7 @@ module IronTitan
28
28
  # Attribute type mapping.
29
29
  def self.swagger_types
30
30
  {
31
- :'jobs' => :'Array<Job>'
31
+ :'images' => :'Array<Image>'
32
32
 
33
33
  }
34
34
  end
@@ -40,9 +40,9 @@ module IronTitan
40
40
  attributes = attributes.inject({}){|memo,(k,v)| memo[k.to_sym] = v; memo}
41
41
 
42
42
 
43
- if attributes[:'jobs']
44
- if (value = attributes[:'jobs']).is_a?(Array)
45
- self.jobs = value
43
+ if attributes[:'images']
44
+ if (value = attributes[:'images']).is_a?(Array)
45
+ self.images = value
46
46
  end
47
47
  end
48
48
 
@@ -52,7 +52,7 @@ module IronTitan
52
52
  def ==(o)
53
53
  return true if self.equal?(o)
54
54
  self.class == o.class &&
55
- jobs == o.jobs
55
+ images == o.images
56
56
  end
57
57
 
58
58
  # @see the `==` method
@@ -62,7 +62,7 @@ module IronTitan
62
62
 
63
63
  # Calculate hash code according to all attributes.
64
64
  def hash
65
- [jobs].hash
65
+ [images].hash
66
66
  end
67
67
 
68
68
  # 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.1.0
6
+ OpenAPI spec version: 0.1.1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -47,7 +47,7 @@ module IronTitan
47
47
  # Payload for the job. This is what you pass into each job to make it do something.
48
48
  attr_accessor :payload
49
49
 
50
- # Docker image to use for job. Default is 'image'
50
+ # Docker image to use for job. Default is the same as the 'image' parameter.
51
51
  attr_accessor :name
52
52
 
53
53
  # Time when job started execution.
@@ -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.1.0
6
+ OpenAPI spec version: 0.1.1
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.1.0
6
+ OpenAPI spec version: 0.1.1
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.1.0
6
+ OpenAPI spec version: 0.1.1
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.1.0
6
+ OpenAPI spec version: 0.1.1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -14,7 +14,7 @@ require 'date'
14
14
 
15
15
  module IronTitan
16
16
  class NewJob
17
- # Docker image to use for job. Default is 'image'
17
+ # Docker image to use for job. Default is the same as the 'image' parameter.
18
18
  attr_accessor :name
19
19
 
20
20
  # Docker image to use for job.
@@ -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.1.0
6
+ OpenAPI spec version: 0.1.1
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.1.0
6
+ OpenAPI spec version: 0.1.1
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.1.0"
14
+ VERSION = "0.1.1"
15
15
  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.1.0
6
+ OpenAPI spec version: 0.1.1
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.1.0
6
+ OpenAPI spec version: 0.1.1
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.1.0
6
+ OpenAPI spec version: 0.1.1
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.1.0
6
+ OpenAPI spec version: 0.1.1
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.1.0
6
+ OpenAPI spec version: 0.1.1
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.1.0
6
+ OpenAPI spec version: 0.1.1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -0,0 +1,56 @@
1
+ =begin
2
+ Titan API
3
+
4
+ The ultimate, language agnostic, container based job processing framework.
5
+
6
+ OpenAPI spec version: 0.1.1
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 'Image' do
21
+ before do
22
+ # run before each test
23
+ @instance = IronTitan::Image.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of Image' do
31
+ it 'should create an instact of Image' do
32
+ @instance.should be_a(IronTitan::Image)
33
+ end
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
+
45
+ describe 'test attribute "created_at"' do
46
+ it 'should work' do
47
+ # assertion here
48
+ # should be_a()
49
+ # should be_nil
50
+ # should ==
51
+ # should_not ==
52
+ end
53
+ end
54
+
55
+ end
56
+
@@ -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.1.1
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 'ImageWrapper' do
21
+ before do
22
+ # run before each test
23
+ @instance = IronTitan::ImageWrapper.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of ImageWrapper' do
31
+ it 'should create an instact of ImageWrapper' do
32
+ @instance.should be_a(IronTitan::ImageWrapper)
33
+ end
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
+
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.1.0
6
+ OpenAPI spec version: 0.1.1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -32,7 +32,7 @@ describe 'ImagesWrapper' do
32
32
  @instance.should be_a(IronTitan::ImagesWrapper)
33
33
  end
34
34
  end
35
- describe 'test attribute "jobs"' do
35
+ describe 'test attribute "images"' do
36
36
  it 'should work' do
37
37
  # assertion here
38
38
  # should be_a()
@@ -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.1.0
6
+ OpenAPI spec version: 0.1.1
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.1.0
6
+ OpenAPI spec version: 0.1.1
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.1.0
6
+ OpenAPI spec version: 0.1.1
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.1.0
6
+ OpenAPI spec version: 0.1.1
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.1.0
6
+ OpenAPI spec version: 0.1.1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: iron_titan
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Travis Reeder
@@ -207,6 +207,8 @@ files:
207
207
  - lib/iron_titan/configuration.rb
208
208
  - lib/iron_titan/models/error.rb
209
209
  - lib/iron_titan/models/error_body.rb
210
+ - lib/iron_titan/models/image.rb
211
+ - lib/iron_titan/models/image_wrapper.rb
210
212
  - lib/iron_titan/models/images_wrapper.rb
211
213
  - lib/iron_titan/models/job.rb
212
214
  - lib/iron_titan/models/job_array.rb
@@ -230,6 +232,8 @@ files:
230
232
  - spec/models/NewJobArray_spec.rb
231
233
  - spec/models/NewJob_spec.rb
232
234
  - spec/models/error_body_spec.rb
235
+ - spec/models/image_spec.rb
236
+ - spec/models/image_wrapper_spec.rb
233
237
  - spec/models/images_wrapper_spec.rb
234
238
  - spec/models/job_array_spec.rb
235
239
  - spec/models/job_wrapper_spec.rb
@@ -271,6 +275,8 @@ test_files:
271
275
  - spec/models/error_body_spec.rb
272
276
  - spec/models/Error_spec.rb
273
277
  - spec/models/ErrorBody_spec.rb
278
+ - spec/models/image_spec.rb
279
+ - spec/models/image_wrapper_spec.rb
274
280
  - spec/models/images_wrapper_spec.rb
275
281
  - spec/models/job_array_spec.rb
276
282
  - spec/models/Job_spec.rb