megam_api 0.29 → 0.31
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/megam/api/version.rb +1 -1
- data/lib/megam/core/assembly.rb +12 -0
- data/test/test_assembly.rb +1 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9353fc93a84fdbeb056085b318205e88d8153669
|
4
|
+
data.tar.gz: 790d5c3e3db92a51f3e392064793ef0c215cb4cc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 55bcc91409b20ff987b7404e461944f6ff654df5422c2e0f4d11ffd7defe463eca527fd25b7a3d9ab0f76729163cb2a9df6c58d4a355edefb4c01e81f26eba08
|
7
|
+
data.tar.gz: c5160c2d7449d08bf4fef4093bfeed29a3ebd8f0cda3ec8b598059c70c5f97447d341242a01705869fd9122a42d2340f4a08a9b82906c3686aec560ef8e1b950
|
data/lib/megam/api/version.rb
CHANGED
data/lib/megam/core/assembly.rb
CHANGED
@@ -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
|
data/test/test_assembly.rb
CHANGED
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.
|
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
|
+
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.
|
227
|
+
rubygems_version: 2.4.4
|
228
228
|
signing_key:
|
229
229
|
specification_version: 4
|
230
230
|
summary: Ruby Client for the Megam
|