argos-ruby 1.2.5 → 1.2.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +72 -0
- data/argos-ruby-1.2.5.gem +0 -0
- data/argos-ruby.gemspec +2 -1
- data/doc/Argos.html +227 -0
- data/doc/Argos/Ascii.html +906 -0
- data/doc/Argos/Command.html +299 -0
- data/doc/Argos/Diag.html +2141 -0
- data/doc/Argos/Download.html +383 -0
- data/doc/Argos/Ds.html +2604 -0
- data/doc/Argos/Exception.html +127 -0
- data/doc/Argos/NodataException.html +139 -0
- data/doc/Argos/Soap.html +2960 -0
- data/doc/Argos/SoapCommand.html +1037 -0
- data/doc/Argos/SoapException.html +135 -0
- data/doc/Argos/SoapFault.html +139 -0
- data/doc/_index.html +227 -0
- data/doc/class_list.html +58 -0
- data/doc/css/common.css +1 -0
- data/doc/css/full_list.css +57 -0
- data/doc/css/style.css +339 -0
- data/doc/file.README.html +129 -0
- data/doc/file_list.html +60 -0
- data/doc/frames.html +26 -0
- data/doc/index.html +129 -0
- data/doc/js/app.js +219 -0
- data/doc/js/full_list.js +181 -0
- data/doc/js/jquery.js +4 -0
- data/doc/method_list.html +669 -0
- data/doc/top-level-namespace.html +112 -0
- data/lib/argos/soap.rb +20 -3
- data/lib/argos/version.rb +1 -1
- metadata +30 -2
@@ -0,0 +1,112 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
2
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
3
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
4
|
+
<head>
|
5
|
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
6
|
+
<title>
|
7
|
+
Top Level Namespace
|
8
|
+
|
9
|
+
— Documentation by YARD 0.8.7.6
|
10
|
+
|
11
|
+
</title>
|
12
|
+
|
13
|
+
<link rel="stylesheet" href="css/style.css" type="text/css" charset="utf-8" />
|
14
|
+
|
15
|
+
<link rel="stylesheet" href="css/common.css" type="text/css" charset="utf-8" />
|
16
|
+
|
17
|
+
<script type="text/javascript" charset="utf-8">
|
18
|
+
hasFrames = window.top.frames.main ? true : false;
|
19
|
+
relpath = '';
|
20
|
+
framesUrl = "frames.html#!top-level-namespace.html";
|
21
|
+
</script>
|
22
|
+
|
23
|
+
|
24
|
+
<script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
|
25
|
+
|
26
|
+
<script type="text/javascript" charset="utf-8" src="js/app.js"></script>
|
27
|
+
|
28
|
+
|
29
|
+
</head>
|
30
|
+
<body>
|
31
|
+
<div id="header">
|
32
|
+
<div id="menu">
|
33
|
+
|
34
|
+
<a href="_index.html">Index</a> »
|
35
|
+
|
36
|
+
|
37
|
+
<span class="title">Top Level Namespace</span>
|
38
|
+
|
39
|
+
|
40
|
+
<div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
|
41
|
+
</div>
|
42
|
+
|
43
|
+
<div id="search">
|
44
|
+
|
45
|
+
<a class="full_list_link" id="class_list_link"
|
46
|
+
href="class_list.html">
|
47
|
+
Class List
|
48
|
+
</a>
|
49
|
+
|
50
|
+
<a class="full_list_link" id="method_list_link"
|
51
|
+
href="method_list.html">
|
52
|
+
Method List
|
53
|
+
</a>
|
54
|
+
|
55
|
+
<a class="full_list_link" id="file_list_link"
|
56
|
+
href="file_list.html">
|
57
|
+
File List
|
58
|
+
</a>
|
59
|
+
|
60
|
+
</div>
|
61
|
+
<div class="clear"></div>
|
62
|
+
</div>
|
63
|
+
|
64
|
+
<iframe id="search_frame"></iframe>
|
65
|
+
|
66
|
+
<div id="content"><h1>Top Level Namespace
|
67
|
+
|
68
|
+
|
69
|
+
|
70
|
+
</h1>
|
71
|
+
|
72
|
+
<dl class="box">
|
73
|
+
|
74
|
+
|
75
|
+
|
76
|
+
|
77
|
+
|
78
|
+
|
79
|
+
|
80
|
+
|
81
|
+
</dl>
|
82
|
+
<div class="clear"></div>
|
83
|
+
|
84
|
+
<h2>Defined Under Namespace</h2>
|
85
|
+
<p class="children">
|
86
|
+
|
87
|
+
|
88
|
+
<strong class="modules">Modules:</strong> <span class='object_link'><a href="Argos.html" title="Argos (module)">Argos</a></span>
|
89
|
+
|
90
|
+
|
91
|
+
|
92
|
+
|
93
|
+
</p>
|
94
|
+
|
95
|
+
|
96
|
+
|
97
|
+
|
98
|
+
|
99
|
+
|
100
|
+
|
101
|
+
|
102
|
+
|
103
|
+
</div>
|
104
|
+
|
105
|
+
<div id="footer">
|
106
|
+
Generated on Wed Nov 26 17:02:38 2014 by
|
107
|
+
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
108
|
+
0.8.7.6 (ruby-2.1.1).
|
109
|
+
</div>
|
110
|
+
|
111
|
+
</body>
|
112
|
+
</html>
|
data/lib/argos/soap.rb
CHANGED
@@ -165,10 +165,18 @@ module Argos
|
|
165
165
|
if platformList["data"]["program"].nil?
|
166
166
|
raise platformList.to_json
|
167
167
|
end
|
168
|
-
# Force
|
168
|
+
# Force Arrays
|
169
169
|
if not platformList["data"]["program"].is_a? Array
|
170
170
|
platformList["data"]["program"] = [platformList["data"]["program"]]
|
171
171
|
end
|
172
|
+
|
173
|
+
platformList["data"]["program"].map! {|program|
|
174
|
+
if program["platform"].is_a? Hash
|
175
|
+
program["platform"] = [program["platform"]]
|
176
|
+
end
|
177
|
+
program
|
178
|
+
}
|
179
|
+
|
172
180
|
platformList
|
173
181
|
end
|
174
182
|
|
@@ -224,7 +232,11 @@ module Argos
|
|
224
232
|
end
|
225
233
|
|
226
234
|
platformListPrograms.each do |program|
|
227
|
-
|
235
|
+
if program.key?("platform") and not program["platform"].is_a?(Array)
|
236
|
+
platforms << program["platform"]["platformId"].to_i
|
237
|
+
else
|
238
|
+
platforms += program["platform"].map {|p| p["platformId"].to_i}
|
239
|
+
end
|
228
240
|
end
|
229
241
|
platforms
|
230
242
|
end
|
@@ -239,7 +251,12 @@ module Argos
|
|
239
251
|
def programs
|
240
252
|
platformList = getPlatformList
|
241
253
|
if platformList.key?("data") and platformList["data"].key?("program")
|
242
|
-
|
254
|
+
|
255
|
+
platformList_data_program = platformList["data"]["program"].is_a?(Array) ? platformList["data"]["program"] : [platformList["data"]["program"]]
|
256
|
+
|
257
|
+
platformList_data_program.map {|p| p["programNumber"].to_i }
|
258
|
+
|
259
|
+
|
243
260
|
else
|
244
261
|
raise platformList
|
245
262
|
end
|
data/lib/argos/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: argos-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Espen Egeland
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-
|
12
|
+
date: 2014-12-17 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rspec
|
@@ -106,12 +106,40 @@ extensions: []
|
|
106
106
|
extra_rdoc_files: []
|
107
107
|
files:
|
108
108
|
- Gemfile
|
109
|
+
- Gemfile.lock
|
109
110
|
- LICENSE
|
110
111
|
- README.md
|
111
112
|
- TODO.txt
|
113
|
+
- argos-ruby-1.2.5.gem
|
112
114
|
- argos-ruby.gemspec
|
113
115
|
- bin/argos-ascii
|
114
116
|
- bin/argos-soap
|
117
|
+
- doc/Argos.html
|
118
|
+
- doc/Argos/Ascii.html
|
119
|
+
- doc/Argos/Command.html
|
120
|
+
- doc/Argos/Diag.html
|
121
|
+
- doc/Argos/Download.html
|
122
|
+
- doc/Argos/Ds.html
|
123
|
+
- doc/Argos/Exception.html
|
124
|
+
- doc/Argos/NodataException.html
|
125
|
+
- doc/Argos/Soap.html
|
126
|
+
- doc/Argos/SoapCommand.html
|
127
|
+
- doc/Argos/SoapException.html
|
128
|
+
- doc/Argos/SoapFault.html
|
129
|
+
- doc/_index.html
|
130
|
+
- doc/class_list.html
|
131
|
+
- doc/css/common.css
|
132
|
+
- doc/css/full_list.css
|
133
|
+
- doc/css/style.css
|
134
|
+
- doc/file.README.html
|
135
|
+
- doc/file_list.html
|
136
|
+
- doc/frames.html
|
137
|
+
- doc/index.html
|
138
|
+
- doc/js/app.js
|
139
|
+
- doc/js/full_list.js
|
140
|
+
- doc/js/jquery.js
|
141
|
+
- doc/method_list.html
|
142
|
+
- doc/top-level-namespace.html
|
115
143
|
- lib/argos.rb
|
116
144
|
- lib/argos/_xsd/argos-data.xsd
|
117
145
|
- lib/argos/_xslt/argos-json.xslt
|