neptune 0.2.1 → 0.2.2

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.
Files changed (61) hide show
  1. data/README +4 -0
  2. data/doc/BabelHelper.html +393 -376
  3. data/doc/BadConfigurationException.html +121 -127
  4. data/doc/CommonFunctions.html +237 -265
  5. data/doc/ExodusHelper.html +820 -0
  6. data/doc/ExodusTaskInfo.html +263 -0
  7. data/doc/FileNotFoundException.html +121 -127
  8. data/doc/NeptuneHelper.html +527 -592
  9. data/doc/NeptuneManagerClient.html +696 -0
  10. data/doc/NeptuneManagerException.html +139 -0
  11. data/doc/Object.html +334 -236
  12. data/doc/TaskInfo.html +428 -0
  13. data/doc/created.rid +8 -5
  14. data/doc/images/add.png +0 -0
  15. data/doc/images/delete.png +0 -0
  16. data/doc/images/tag_blue.png +0 -0
  17. data/doc/images/transparent.png +0 -0
  18. data/doc/index.html +74 -142
  19. data/doc/js/darkfish.js +99 -62
  20. data/doc/js/jquery.js +15 -29
  21. data/doc/js/navigation.js +142 -0
  22. data/doc/js/search.js +94 -0
  23. data/doc/js/search_index.js +1 -0
  24. data/doc/js/searcher.js +228 -0
  25. data/doc/table_of_contents.html +226 -0
  26. data/lib/babel.rb +116 -50
  27. data/lib/custom_exceptions.rb +2 -2
  28. data/lib/exodus.rb +311 -0
  29. data/lib/exodus_task_info.rb +36 -0
  30. data/lib/neptune.rb +52 -18
  31. data/lib/{app_controller_client.rb → neptune_manager_client.rb} +54 -38
  32. data/lib/task_info.rb +155 -0
  33. data/test/{unit/test_babel.rb → test_babel.rb} +161 -26
  34. data/test/{unit/test_common_functions.rb → test_common_functions.rb} +1 -1
  35. data/test/test_exodus.rb +687 -0
  36. data/test/{unit/test_neptune.rb → test_neptune.rb} +28 -17
  37. data/test/{unit/test_app_controller_client.rb → test_neptune_manager_client.rb} +15 -16
  38. data/test/test_task_info.rb +32 -0
  39. data/test/{unit/ts_all.rb → ts_all.rb} +3 -1
  40. metadata +30 -34
  41. data/doc/AppControllerClient.html +0 -702
  42. data/doc/AppControllerException.html +0 -145
  43. data/doc/bin/neptune.html +0 -56
  44. data/doc/js/quicksearch.js +0 -114
  45. data/doc/js/thickbox-compressed.js +0 -10
  46. data/doc/lib/app_controller_client_rb.html +0 -60
  47. data/doc/lib/babel_rb.html +0 -68
  48. data/doc/lib/common_functions_rb.html +0 -70
  49. data/doc/lib/custom_exceptions_rb.html +0 -54
  50. data/doc/lib/neptune_rb.html +0 -60
  51. data/test/integration/tc_c.rb +0 -57
  52. data/test/integration/tc_dfsp.rb +0 -37
  53. data/test/integration/tc_dwssa.rb +0 -38
  54. data/test/integration/tc_erlang.rb +0 -183
  55. data/test/integration/tc_mapreduce.rb +0 -282
  56. data/test/integration/tc_mpi.rb +0 -160
  57. data/test/integration/tc_storage.rb +0 -209
  58. data/test/integration/tc_upc.rb +0 -75
  59. data/test/integration/tc_x10.rb +0 -94
  60. data/test/integration/test_helper.rb +0 -135
  61. data/test/integration/ts_neptune.rb +0 -40
@@ -0,0 +1,263 @@
1
+ <!DOCTYPE html>
2
+
3
+ <html>
4
+ <head>
5
+ <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
6
+
7
+ <title>class ExodusTaskInfo - RDoc Documentation</title>
8
+
9
+ <link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
10
+
11
+ <script type="text/javascript">
12
+ var rdoc_rel_prefix = "./";
13
+ </script>
14
+
15
+ <script type="text/javascript" charset="utf-8" src="./js/jquery.js"></script>
16
+ <script type="text/javascript" charset="utf-8" src="./js/navigation.js"></script>
17
+ <script type="text/javascript" charset="utf-8" src="./js/search_index.js"></script>
18
+ <script type="text/javascript" charset="utf-8" src="./js/search.js"></script>
19
+ <script type="text/javascript" charset="utf-8" src="./js/searcher.js"></script>
20
+ <script type="text/javascript" charset="utf-8" src="./js/darkfish.js"></script>
21
+
22
+
23
+ <body id="top" class="class">
24
+ <nav id="metadata">
25
+ <nav id="home-section" class="section">
26
+ <h3 class="section-header">
27
+ <a href="./index.html">Home</a>
28
+ <a href="./table_of_contents.html#classes">Classes</a>
29
+ <a href="./table_of_contents.html#methods">Methods</a>
30
+ </h3>
31
+ </nav>
32
+
33
+
34
+ <nav id="search-section" class="section project-section" class="initially-hidden">
35
+ <form action="#" method="get" accept-charset="utf-8">
36
+ <h3 class="section-header">
37
+ <input type="text" name="search" placeholder="Search" id="search-field"
38
+ title="Type to search, Up and Down to navigate, Enter to load">
39
+ </h3>
40
+ </form>
41
+
42
+ <ul id="search-results" class="initially-hidden"></ul>
43
+ </nav>
44
+
45
+
46
+ <div id="file-metadata">
47
+ <nav id="file-list-section" class="section">
48
+ <h3 class="section-header">Defined In</h3>
49
+ <ul>
50
+ <li>lib/exodus_task_info.rb
51
+ </ul>
52
+ </nav>
53
+
54
+
55
+ </div>
56
+
57
+ <div id="class-metadata">
58
+
59
+ <nav id="parent-class-section" class="section">
60
+ <h3 class="section-header">Parent</h3>
61
+
62
+ <p class="link"><a href="Object.html">Object</a>
63
+
64
+ </nav>
65
+
66
+
67
+ <!-- Method Quickref -->
68
+ <nav id="method-list-section" class="section">
69
+ <h3 class="section-header">Methods</h3>
70
+
71
+ <ul class="link-list">
72
+
73
+ <li><a href="#method-c-new">::new</a>
74
+
75
+ <li><a href="#method-i-method_missing">#method_missing</a>
76
+
77
+ <li><a href="#method-i-to_s">#to_s</a>
78
+
79
+ </ul>
80
+ </nav>
81
+
82
+ </div>
83
+
84
+ <div id="project-metadata">
85
+
86
+ <nav id="classindex-section" class="section project-section">
87
+ <h3 class="section-header">Class and Module Index</h3>
88
+
89
+ <ul class="link-list">
90
+
91
+ <li><a href="./BabelHelper.html">BabelHelper</a>
92
+
93
+ <li><a href="./BadConfigurationException.html">BadConfigurationException</a>
94
+
95
+ <li><a href="./CommonFunctions.html">CommonFunctions</a>
96
+
97
+ <li><a href="./ExodusHelper.html">ExodusHelper</a>
98
+
99
+ <li><a href="./ExodusTaskInfo.html">ExodusTaskInfo</a>
100
+
101
+ <li><a href="./FileNotFoundException.html">FileNotFoundException</a>
102
+
103
+ <li><a href="./NeptuneHelper.html">NeptuneHelper</a>
104
+
105
+ <li><a href="./NeptuneManagerClient.html">NeptuneManagerClient</a>
106
+
107
+ <li><a href="./NeptuneManagerException.html">NeptuneManagerException</a>
108
+
109
+ <li><a href="./Object.html">Object</a>
110
+
111
+ <li><a href="./TaskInfo.html">TaskInfo</a>
112
+
113
+ </ul>
114
+ </nav>
115
+
116
+ </div>
117
+ </nav>
118
+
119
+ <div id="documentation">
120
+ <h1 class="class">class ExodusTaskInfo</h1>
121
+
122
+ <div id="description" class="description">
123
+
124
+ </div><!-- description -->
125
+
126
+
127
+
128
+
129
+ <section id="5Buntitled-5D" class="documentation-section">
130
+
131
+
132
+
133
+
134
+
135
+
136
+
137
+
138
+ <!-- Methods -->
139
+
140
+ <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
141
+ <h3 class="section-header">Public Instance Methods</h3>
142
+
143
+
144
+ <div id="method-i-method_missing" class="method-detail ">
145
+
146
+ <div class="method-heading">
147
+ <span class="method-name">method_missing</span><span
148
+ class="method-args">(id, *args, &block)</span>
149
+ <span class="method-click-advice">click to toggle source</span>
150
+ </div>
151
+
152
+
153
+ <div class="method-description">
154
+
155
+
156
+
157
+
158
+
159
+ <div class="method-source-code" id="method_missing-source">
160
+ <pre><span class="ruby-comment"># File lib/exodus_task_info.rb, line 20</span>
161
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">method_missing</span>(<span class="ruby-identifier">id</span>, *<span class="ruby-identifier">args</span>, &amp;<span class="ruby-identifier">block</span>)
162
+ <span class="ruby-identifier">loop</span> {
163
+ <span class="ruby-ivar">@babel_tasks</span>.<span class="ruby-identifier">each_with_index</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">task</span>, <span class="ruby-identifier">i</span><span class="ruby-operator">|</span>
164
+ <span class="ruby-keyword">begin</span>
165
+ <span class="ruby-constant">Timeout</span><span class="ruby-operator">::</span><span class="ruby-identifier">timeout</span>(<span class="ruby-value">2</span>) {
166
+ <span class="ruby-identifier">result</span> = <span class="ruby-identifier">task</span>.<span class="ruby-identifier">send</span>(<span class="ruby-identifier">id</span>, *<span class="ruby-identifier">args</span>, &amp;<span class="ruby-identifier">block</span>)
167
+ <span class="ruby-keyword">return</span> <span class="ruby-identifier">result</span>
168
+ }
169
+ <span class="ruby-keyword">rescue</span> <span class="ruby-constant">Timeout</span><span class="ruby-operator">::</span><span class="ruby-constant">Error</span>
170
+ <span class="ruby-keyword">next</span>
171
+ <span class="ruby-keyword">end</span>
172
+ }
173
+ }
174
+ <span class="ruby-keyword">end</span></pre>
175
+ </div><!-- method_missing-source -->
176
+
177
+ </div>
178
+
179
+
180
+
181
+
182
+ </div><!-- method_missing-method -->
183
+
184
+
185
+ <div id="method-i-to_s" class="method-detail ">
186
+
187
+ <div class="method-heading">
188
+ <span class="method-name">to_s</span><span
189
+ class="method-args">()</span>
190
+ <span class="method-click-advice">click to toggle source</span>
191
+ </div>
192
+
193
+
194
+ <div class="method-description">
195
+
196
+
197
+
198
+
199
+
200
+ <div class="method-source-code" id="to_s-source">
201
+ <pre><span class="ruby-comment"># File lib/exodus_task_info.rb, line 15</span>
202
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">to_s</span>
203
+ <span class="ruby-identifier">method_missing</span>(<span class="ruby-value">:to_s</span>)
204
+ <span class="ruby-keyword">end</span></pre>
205
+ </div><!-- to_s-source -->
206
+
207
+ </div>
208
+
209
+
210
+
211
+
212
+ </div><!-- to_s-method -->
213
+
214
+
215
+ </section><!-- public-instance-method-details -->
216
+
217
+ <section id="public-class-5Buntitled-5D-method-details" class="method-section section">
218
+ <h3 class="section-header">Public Class Methods</h3>
219
+
220
+
221
+ <div id="method-c-new" class="method-detail ">
222
+
223
+ <div class="method-heading">
224
+ <span class="method-name">new</span><span
225
+ class="method-args">(dispatched_babel_tasks)</span>
226
+ <span class="method-click-advice">click to toggle source</span>
227
+ </div>
228
+
229
+
230
+ <div class="method-description">
231
+
232
+
233
+
234
+
235
+
236
+ <div class="method-source-code" id="new-source">
237
+ <pre><span class="ruby-comment"># File lib/exodus_task_info.rb, line 10</span>
238
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">dispatched_babel_tasks</span>)
239
+ <span class="ruby-ivar">@babel_tasks</span> = <span class="ruby-identifier">dispatched_babel_tasks</span>
240
+ <span class="ruby-keyword">end</span></pre>
241
+ </div><!-- new-source -->
242
+
243
+ </div>
244
+
245
+
246
+
247
+
248
+ </div><!-- new-method -->
249
+
250
+
251
+ </section><!-- public-class-method-details -->
252
+
253
+ </section><!-- 5Buntitled-5D -->
254
+
255
+ </div><!-- documentation -->
256
+
257
+
258
+ <footer id="validator-badges">
259
+ <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
260
+ <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
261
+ <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
262
+ </footer>
263
+
@@ -1,145 +1,139 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
3
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
4
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
1
+ <!DOCTYPE html>
2
+
3
+ <html>
5
4
  <head>
6
- <meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
7
-
8
- <title>Class: FileNotFoundException</title>
9
-
10
- <link rel="stylesheet" href="./rdoc.css" type="text/css" media="screen" />
11
-
12
- <script src="./js/jquery.js" type="text/javascript"
13
- charset="utf-8"></script>
14
- <script src="./js/thickbox-compressed.js" type="text/javascript"
15
- charset="utf-8"></script>
16
- <script src="./js/quicksearch.js" type="text/javascript"
17
- charset="utf-8"></script>
18
- <script src="./js/darkfish.js" type="text/javascript"
19
- charset="utf-8"></script>
20
-
21
- </head>
22
- <body class="class">
23
-
24
- <div id="metadata">
25
- <div id="home-metadata">
26
- <div id="home-section" class="section">
27
- <h3 class="section-header">
28
- <a href="./index.html">Home</a>
29
- <a href="./index.html#classes">Classes</a>
30
- <a href="./index.html#methods">Methods</a>
31
- </h3>
32
- </div>
33
- </div>
34
-
35
- <div id="file-metadata">
36
- <div id="file-list-section" class="section">
37
- <h3 class="section-header">In Files</h3>
38
- <div class="section-body">
39
- <ul>
40
-
41
- <li><a href="./lib/custom_exceptions_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
42
- class="thickbox" title="lib/custom_exceptions.rb">lib/custom_exceptions.rb</a></li>
43
-
44
- </ul>
45
- </div>
46
- </div>
47
-
48
-
49
- </div>
50
-
51
- <div id="class-metadata">
52
-
53
- <!-- Parent Class -->
54
-
55
- <div id="parent-class-section" class="section">
56
- <h3 class="section-header">Parent</h3>
57
-
58
- <p class="link">Exception</p>
59
-
60
- </div>
61
-
62
-
63
- <!-- Namespace Contents -->
64
-
65
-
66
- <!-- Method Quickref -->
67
-
68
-
69
- <!-- Included Modules -->
70
-
71
- </div>
72
-
73
- <div id="project-metadata">
74
-
75
-
76
-
77
- <div id="classindex-section" class="section project-section">
78
- <h3 class="section-header">Class/Module Index
79
- <span class="search-toggle"><img src="./images/find.png"
80
- height="16" width="16" alt="[+]"
81
- title="show/hide quicksearch" /></span></h3>
82
- <form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
83
- <fieldset>
84
- <legend>Quicksearch</legend>
85
- <input type="text" name="quicksearch" value=""
86
- class="quicksearch-field" />
87
- </fieldset>
88
- </form>
89
-
90
- <ul class="link-list">
91
-
92
- <li><a href="./AppControllerClient.html">AppControllerClient</a></li>
93
-
94
- <li><a href="./AppControllerException.html">AppControllerException</a></li>
95
-
96
- <li><a href="./BabelHelper.html">BabelHelper</a></li>
97
-
98
- <li><a href="./BadConfigurationException.html">BadConfigurationException</a></li>
99
-
100
- <li><a href="./CommonFunctions.html">CommonFunctions</a></li>
101
-
102
- <li><a href="./FileNotFoundException.html">FileNotFoundException</a></li>
103
-
104
- <li><a href="./NeptuneHelper.html">NeptuneHelper</a></li>
105
-
106
- <li><a href="./Object.html">Object</a></li>
107
-
108
- </ul>
109
- <div id="no-class-search-results" style="display: none;">No matching classes.</div>
110
- </div>
111
-
112
-
113
- </div>
5
+ <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
6
+
7
+ <title>class FileNotFoundException - RDoc Documentation</title>
8
+
9
+ <link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
10
+
11
+ <script type="text/javascript">
12
+ var rdoc_rel_prefix = "./";
13
+ </script>
14
+
15
+ <script type="text/javascript" charset="utf-8" src="./js/jquery.js"></script>
16
+ <script type="text/javascript" charset="utf-8" src="./js/navigation.js"></script>
17
+ <script type="text/javascript" charset="utf-8" src="./js/search_index.js"></script>
18
+ <script type="text/javascript" charset="utf-8" src="./js/search.js"></script>
19
+ <script type="text/javascript" charset="utf-8" src="./js/searcher.js"></script>
20
+ <script type="text/javascript" charset="utf-8" src="./js/darkfish.js"></script>
21
+
22
+
23
+ <body id="top" class="class">
24
+ <nav id="metadata">
25
+ <nav id="home-section" class="section">
26
+ <h3 class="section-header">
27
+ <a href="./index.html">Home</a>
28
+ <a href="./table_of_contents.html#classes">Classes</a>
29
+ <a href="./table_of_contents.html#methods">Methods</a>
30
+ </h3>
31
+ </nav>
32
+
33
+
34
+ <nav id="search-section" class="section project-section" class="initially-hidden">
35
+ <form action="#" method="get" accept-charset="utf-8">
36
+ <h3 class="section-header">
37
+ <input type="text" name="search" placeholder="Search" id="search-field"
38
+ title="Type to search, Up and Down to navigate, Enter to load">
39
+ </h3>
40
+ </form>
41
+
42
+ <ul id="search-results" class="initially-hidden"></ul>
43
+ </nav>
44
+
45
+
46
+ <div id="file-metadata">
47
+ <nav id="file-list-section" class="section">
48
+ <h3 class="section-header">Defined In</h3>
49
+ <ul>
50
+ <li>lib/custom_exceptions.rb
51
+ </ul>
52
+ </nav>
53
+
54
+
114
55
  </div>
115
56
 
116
- <div id="documentation">
117
- <h1 class="class">FileNotFoundException</h1>
57
+ <div id="class-metadata">
58
+
59
+ <nav id="parent-class-section" class="section">
60
+ <h3 class="section-header">Parent</h3>
61
+
62
+ <p class="link">Exception
63
+
64
+ </nav>
118
65
 
119
- <div id="description">
120
-
66
+
67
+
68
+ </div>
69
+
70
+ <div id="project-metadata">
71
+
72
+ <nav id="classindex-section" class="section project-section">
73
+ <h3 class="section-header">Class and Module Index</h3>
74
+
75
+ <ul class="link-list">
76
+
77
+ <li><a href="./BabelHelper.html">BabelHelper</a>
78
+
79
+ <li><a href="./BadConfigurationException.html">BadConfigurationException</a>
80
+
81
+ <li><a href="./CommonFunctions.html">CommonFunctions</a>
82
+
83
+ <li><a href="./ExodusHelper.html">ExodusHelper</a>
84
+
85
+ <li><a href="./ExodusTaskInfo.html">ExodusTaskInfo</a>
86
+
87
+ <li><a href="./FileNotFoundException.html">FileNotFoundException</a>
88
+
89
+ <li><a href="./NeptuneHelper.html">NeptuneHelper</a>
90
+
91
+ <li><a href="./NeptuneManagerClient.html">NeptuneManagerClient</a>
92
+
93
+ <li><a href="./NeptuneManagerException.html">NeptuneManagerException</a>
94
+
95
+ <li><a href="./Object.html">Object</a>
96
+
97
+ <li><a href="./TaskInfo.html">TaskInfo</a>
98
+
99
+ </ul>
100
+ </nav>
101
+
102
+ </div>
103
+ </nav>
104
+
105
+ <div id="documentation">
106
+ <h1 class="class">class FileNotFoundException</h1>
107
+
108
+ <div id="description" class="description">
109
+
121
110
  <p>An exception that is thrown whenever the user specifies a file to use that
122
111
  does not exist.</p>
123
112
 
124
- </div>
113
+ </div><!-- description -->
114
+
115
+
116
+
117
+
118
+ <section id="5Buntitled-5D" class="documentation-section">
119
+
120
+
121
+
125
122
 
126
- <!-- Constants -->
127
123
 
128
124
 
129
- <!-- Attributes -->
130
125
 
131
126
 
132
127
  <!-- Methods -->
133
128
 
129
+ </section><!-- 5Buntitled-5D -->
134
130
 
135
- </div>
131
+ </div><!-- documentation -->
136
132
 
137
- <div id="validator-badges">
138
- <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
139
- <p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
140
- Rdoc Generator</a> 2</small>.</p>
141
- </div>
142
133
 
143
- </body>
144
- </html>
134
+ <footer id="validator-badges">
135
+ <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
136
+ <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
137
+ <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
138
+ </footer>
145
139