megam_api 0.29 → 0.31

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d452269009012990f2739a8c82d92c6d5f567362
4
- data.tar.gz: 45dd6909502f0c98a47aab0bababa2901d3196ba
3
+ metadata.gz: 9353fc93a84fdbeb056085b318205e88d8153669
4
+ data.tar.gz: 790d5c3e3db92a51f3e392064793ef0c215cb4cc
5
5
  SHA512:
6
- metadata.gz: cefc172c14f3c48ecd722f971def7e6337dfe5b96ebc5e03bf88ed53c90d02938b835689a22c46f8331164ce4d8aac52d715fb772bb58f2791dd6a444c97890c
7
- data.tar.gz: ab6ea0704f33eec9c4b132238dd052e652ae3a85008cb0f666046e9b50fc710e5c0fe00b0fb3d14913eefd6dd7a913bfb46340f1a4e4337ee483e81b5ad83492
6
+ metadata.gz: 55bcc91409b20ff987b7404e461944f6ff654df5422c2e0f4d11ffd7defe463eca527fd25b7a3d9ab0f76729163cb2a9df6c58d4a355edefb4c01e81f26eba08
7
+ data.tar.gz: c5160c2d7449d08bf4fef4093bfeed29a3ebd8f0cda3ec8b598059c70c5f97447d341242a01705869fd9122a42d2340f4a08a9b82906c3686aec560ef8e1b950
@@ -1,5 +1,5 @@
1
1
  module Megam
2
2
  class API
3
- VERSION = "0.29"
3
+ VERSION = "0.31"
4
4
  end
5
5
  end
@@ -24,6 +24,7 @@ module Megam
24
24
  @inputs = {}
25
25
  @operations = nil
26
26
  @outputs = []
27
+ @status = nil
27
28
  @created_at = nil
28
29
  super(email, api_key)
29
30
  end
@@ -88,6 +89,13 @@ module Megam
88
89
  end
89
90
  end
90
91
 
92
+ def status(arg=nil)
93
+ if arg != nil
94
+ @status = arg
95
+ else
96
+ @status
97
+ end
98
+ end
91
99
 
92
100
  def created_at(arg=nil)
93
101
  if arg != nil
@@ -112,6 +120,7 @@ module Megam
112
120
  index_hash["inputs"] = inputs
113
121
  index_hash["operations"] = operations
114
122
  index_hash["outputs"] = outputs
123
+ index_hash["status"] = status
115
124
  index_hash["created_at"] = created_at
116
125
  index_hash
117
126
  end
@@ -131,6 +140,7 @@ module Megam
131
140
  "inputs" => inputs,
132
141
  "operations" => operations,
133
142
  "outputs" => outputs,
143
+ "status" => status,
134
144
  "created_at" => created_at
135
145
  }
136
146
 
@@ -146,6 +156,7 @@ module Megam
146
156
  asm.inputs(o["inputs"]) if o.has_key?("inputs")
147
157
  asm.operations(o["operations"]) if o.has_key?("operations")
148
158
  asm.outputs(o["outputs"]) if o.has_key?("outputs")
159
+ asm.status(o["status"]) if o.has_key?("status")
149
160
  asm.created_at(o["created_at"]) if o.has_key?("created_at")
150
161
  asm
151
162
  end
@@ -164,6 +175,7 @@ module Megam
164
175
  @inputs = o["inputs"] if o.has_key?("inputs")
165
176
  @operations = o["operations"] if o.has_key?("operations")
166
177
  @outputs = o["outputs"] if o.has_key?("outputs")
178
+ @status = o["status"] if o.has_key?("status")
167
179
  @created_at = o["created_at"] if o.has_key?("created_at")
168
180
  self
169
181
  end
@@ -20,6 +20,7 @@ class TestApps < MiniTest::Unit::TestCase
20
20
  "inputs" => "",
21
21
  "operations" => "",
22
22
  "output" => [],
23
+ "status" => "Launching",
23
24
  "created_at" => "2014-10-29 13:24:06 +0000"
24
25
  }
25
26
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: megam_api
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.29'
4
+ version: '0.31'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rajthilak, Kishorekumar Neelamegam, Thomas Alrin, Yeshwanth Kumar, Subash Sethurajan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-11-24 00:00:00.000000000 Z
11
+ date: 2014-12-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: excon
@@ -224,7 +224,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
224
224
  version: '0'
225
225
  requirements: []
226
226
  rubyforge_project:
227
- rubygems_version: 2.4.3
227
+ rubygems_version: 2.4.4
228
228
  signing_key:
229
229
  specification_version: 4
230
230
  summary: Ruby Client for the Megam