henry-container 0.0.7 → 0.0.8

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 (53) hide show
  1. data/.gitignore +2 -0
  2. data/.rvmrc +1 -0
  3. data/.yardoc/checksums +6 -0
  4. data/.yardoc/object_types +0 -0
  5. data/.yardoc/objects/root.dat +0 -0
  6. data/.yardoc/proxy_types +0 -0
  7. data/Gemfile +4 -0
  8. data/Rakefile +2 -0
  9. data/bin/henry-ruby-container +23 -0
  10. data/doc/Henry.html +128 -0
  11. data/doc/Henry/Container.html +325 -0
  12. data/doc/Henry/Task.html +551 -0
  13. data/doc/Henry/Task/CucumberTask.html +299 -0
  14. data/doc/Henry/Task/RspecTask.html +299 -0
  15. data/doc/_index.html +153 -0
  16. data/doc/class_list.html +53 -0
  17. data/doc/css/common.css +1 -0
  18. data/doc/css/full_list.css +57 -0
  19. data/doc/css/style.css +328 -0
  20. data/doc/file_list.html +52 -0
  21. data/doc/frames.html +28 -0
  22. data/doc/index.html +153 -0
  23. data/doc/js/app.js +214 -0
  24. data/doc/js/full_list.js +173 -0
  25. data/doc/js/jquery.js +4 -0
  26. data/doc/method_list.html +124 -0
  27. data/doc/top-level-namespace.html +112 -0
  28. data/{henry-container-0.0.1.gem → gems/henry-container-0.0.1.gem} +0 -0
  29. data/{henry-container-0.0.2.gem → gems/henry-container-0.0.2.gem} +0 -0
  30. data/{henry-container-0.0.3.gem → gems/henry-container-0.0.3.gem} +0 -0
  31. data/{henry-container-0.0.4.gem → gems/henry-container-0.0.4.gem} +0 -0
  32. data/{henry-container-0.0.5.gem → gems/henry-container-0.0.5.gem} +0 -0
  33. data/{henry-container-0.0.6.gem → gems/henry-container-0.0.6.gem} +0 -0
  34. data/gems/henry-container-0.0.7.gem +0 -0
  35. data/gems/henry-container-0.0.8.gem +0 -0
  36. data/henry-container.gemspec +24 -0
  37. data/henry-context.yml.sample +4 -0
  38. data/in.henry.sample +14 -0
  39. data/lib/.yardoc/checksums +0 -0
  40. data/lib/.yardoc/object_types +0 -0
  41. data/lib/.yardoc/objects/root.dat +0 -0
  42. data/lib/.yardoc/proxy_types +0 -0
  43. data/lib/henry.rb +8 -0
  44. data/lib/henry/.yardoc/checksums +0 -0
  45. data/lib/henry/.yardoc/object_types +0 -0
  46. data/lib/henry/.yardoc/objects/root.dat +0 -0
  47. data/lib/henry/.yardoc/proxy_types +0 -0
  48. data/lib/henry/container.rb +151 -0
  49. data/lib/henry/container/version.rb +11 -0
  50. data/lib/henry/task.rb +32 -0
  51. data/lib/henry/task/cucumber_task.rb +50 -0
  52. data/lib/henry/task/rspec_task.rb +50 -0
  53. metadata +55 -8
data/.gitignore ADDED
@@ -0,0 +1,2 @@
1
+ Gemfile.lock
2
+ vendor
data/.rvmrc ADDED
@@ -0,0 +1 @@
1
+ rvm 1.9.3@ruby-container
data/.yardoc/checksums ADDED
@@ -0,0 +1,6 @@
1
+ lib/henry.rb a099cbeab3003a8afbd3295a05937c64fa0af1ce
2
+ lib/henry/task.rb 1c480c5547ca6f7574755d437104036431f03c72
3
+ lib/henry/container.rb 60b90d0fdfafdbe35424ab386633414092594fa3
4
+ lib/henry/task/rspec_task.rb 84b6a26d0b5582416ac69207d055089656144a39
5
+ lib/henry/container/version.rb c6756bb3a6c79d109d282f032f4e4e1466470d86
6
+ lib/henry/task/cucumber_task.rb bd09e4b6c60fd358151a41cf3803d5e56f74bdec
Binary file
Binary file
Binary file
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source :gemcutter
2
+
3
+ gemspec
4
+
data/Rakefile ADDED
@@ -0,0 +1,2 @@
1
+ #!/usr/bin/env rake
2
+ require "bundler/gem_tasks"
@@ -0,0 +1,23 @@
1
+ #!/bin/ruby
2
+
3
+ require 'henry'
4
+ require 'trollop'
5
+
6
+ opts = Trollop::options do
7
+ version "herny-ruby-container #{Henry::Container::VERSION} - 2012 John Henry Eden"
8
+ banner <<-BANNER
9
+ The Ruby Container for Henry.
10
+
11
+ Usage:
12
+ execute [options]
13
+
14
+ where [options] are:
15
+ BANNER
16
+
17
+ opt :out, "Custom name for the results file.", :default => 'out.henry'
18
+ opt :"out-dir", "Custom dir path where the results will be written", :default => './'
19
+ opt :in, "Custom name for the input file.", :default => 'in.henry'
20
+ opt :"in-dir", "Custom dir path where the input will be read from.", :default => './'
21
+ end
22
+
23
+ Henry::Container.new(opts).execute
data/doc/Henry.html ADDED
@@ -0,0 +1,128 @@
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
+ Module: Henry
8
+
9
+ &mdash; Documentation by YARD 0.8.2.1
10
+
11
+ </title>
12
+
13
+ <link rel="stylesheet" href="css/style.css" type="text/css" media="screen" charset="utf-8" />
14
+
15
+ <link rel="stylesheet" href="css/common.css" type="text/css" media="screen" 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#!" + escape(window.location.href);
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 (H)</a> &raquo;
35
+
36
+
37
+ <span class="title">Henry</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>Module: Henry
67
+
68
+
69
+
70
+ </h1>
71
+
72
+ <dl class="box">
73
+
74
+
75
+
76
+
77
+
78
+
79
+
80
+
81
+ <dt class="r1 last">Defined in:</dt>
82
+ <dd class="r1 last">lib/henry.rb<span class="defines">,<br />
83
+ lib/henry/task.rb,<br /> lib/henry/container.rb,<br /> lib/henry/task/rspec_task.rb,<br /> lib/henry/container/version.rb,<br /> lib/henry/task/cucumber_task.rb</span>
84
+ </dd>
85
+
86
+ </dl>
87
+ <div class="clear"></div>
88
+
89
+ <h2>Overview</h2><div class="docstring">
90
+ <div class="discussion">
91
+
92
+ <p>Henry</p>
93
+
94
+
95
+ </div>
96
+ </div>
97
+ <div class="tags">
98
+
99
+
100
+ </div><h2>Defined Under Namespace</h2>
101
+ <p class="children">
102
+
103
+
104
+
105
+
106
+ <strong class="classes">Classes:</strong> <span class='object_link'><a href="Henry/Container.html" title="Henry::Container (class)">Container</a></span>, <span class='object_link'><a href="Henry/Task.html" title="Henry::Task (class)">Task</a></span>
107
+
108
+
109
+ </p>
110
+
111
+
112
+
113
+
114
+
115
+
116
+
117
+
118
+
119
+ </div>
120
+
121
+ <div id="footer">
122
+ Generated on Thu Jul 12 11:57:32 2012 by
123
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
124
+ 0.8.2.1 (ruby-1.9.3).
125
+ </div>
126
+
127
+ </body>
128
+ </html>
@@ -0,0 +1,325 @@
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
+ Class: Henry::Container
8
+
9
+ &mdash; Documentation by YARD 0.8.2.1
10
+
11
+ </title>
12
+
13
+ <link rel="stylesheet" href="../css/style.css" type="text/css" media="screen" charset="utf-8" />
14
+
15
+ <link rel="stylesheet" href="../css/common.css" type="text/css" media="screen" 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#!" + escape(window.location.href);
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 (C)</a> &raquo;
35
+ <span class='title'><span class='object_link'><a href="../Henry.html" title="Henry (module)">Henry</a></span></span>
36
+ &raquo;
37
+ <span class="title">Container</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>Class: Henry::Container
67
+
68
+
69
+
70
+ </h1>
71
+
72
+ <dl class="box">
73
+
74
+ <dt class="r1">Inherits:</dt>
75
+ <dd class="r1">
76
+ <span class="inheritName">Object</span>
77
+
78
+ <ul class="fullTree">
79
+ <li>Object</li>
80
+
81
+ <li class="next">Henry::Container</li>
82
+
83
+ </ul>
84
+ <a href="#" class="inheritanceTree">show all</a>
85
+
86
+ </dd>
87
+
88
+
89
+
90
+
91
+
92
+
93
+
94
+
95
+
96
+ <dt class="r2 last">Defined in:</dt>
97
+ <dd class="r2 last">lib/henry/container.rb<span class="defines">,<br />
98
+ lib/henry/container/version.rb</span>
99
+ </dd>
100
+
101
+ </dl>
102
+ <div class="clear"></div>
103
+
104
+ <h2>Overview</h2><div class="docstring">
105
+ <div class="discussion">
106
+
107
+ <p>Henry Container</p>
108
+
109
+
110
+ </div>
111
+ </div>
112
+ <div class="tags">
113
+
114
+
115
+ </div>
116
+ <h2>Constant Summary</h2>
117
+
118
+ <dl class="constants">
119
+
120
+ <dt id="VERSION-constant" class="">VERSION =
121
+ <div class="docstring">
122
+ <div class="discussion">
123
+
124
+ <p>Current Gem version</p>
125
+
126
+
127
+ </div>
128
+ </div>
129
+ <div class="tags">
130
+
131
+
132
+ </div>
133
+ </dt>
134
+ <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>0.0.7</span><span class='tstring_end'>'</span></span></pre></dd>
135
+
136
+ </dl>
137
+
138
+
139
+
140
+
141
+
142
+
143
+
144
+
145
+
146
+ <h2>
147
+ Instance Method Summary
148
+ <small>(<a href="#" class="summary_toggle">collapse</a>)</small>
149
+ </h2>
150
+
151
+ <ul class="summary">
152
+
153
+ <li class="public ">
154
+ <span class="summary_signature">
155
+
156
+ <a href="#execute-instance_method" title="#execute (instance method)">- (Object) <strong>execute</strong> </a>
157
+
158
+
159
+
160
+ </span>
161
+
162
+
163
+
164
+
165
+
166
+
167
+
168
+
169
+
170
+ <span class="summary_desc"><div class='inline'>
171
+ <p>Executes the loaded tasks and stores their results.</p>
172
+ </div></span>
173
+
174
+ </li>
175
+
176
+
177
+ <li class="public ">
178
+ <span class="summary_signature">
179
+
180
+ <a href="#initialize-instance_method" title="#initialize (instance method)">- (Container) <strong>initialize</strong>(opts) </a>
181
+
182
+
183
+
184
+ </span>
185
+
186
+
187
+ <span class="note title constructor">constructor</span>
188
+
189
+
190
+
191
+
192
+
193
+
194
+
195
+
196
+ <span class="summary_desc"><div class='inline'>
197
+ <p>Nothing to be done here yet...</p>
198
+ </div></span>
199
+
200
+ </li>
201
+
202
+
203
+ </ul>
204
+
205
+
206
+ <div id="constructor_details" class="method_details_list">
207
+ <h2>Constructor Details</h2>
208
+
209
+ <div class="method_details first">
210
+ <h3 class="signature first" id="initialize-instance_method">
211
+
212
+ - (<tt><span class='object_link'><a href="" title="Henry::Container (class)">Container</a></span></tt>) <strong>initialize</strong>(opts)
213
+
214
+
215
+
216
+
217
+
218
+ </h3><div class="docstring">
219
+ <div class="discussion">
220
+
221
+ <p>Nothing to be done here yet...</p>
222
+
223
+
224
+ </div>
225
+ </div>
226
+ <div class="tags">
227
+
228
+
229
+ </div><table class="source_code">
230
+ <tr>
231
+ <td>
232
+ <pre class="lines">
233
+
234
+
235
+ 15
236
+ 16
237
+ 17</pre>
238
+ </td>
239
+ <td>
240
+ <pre class="code"><span class="info file"># File 'lib/henry/container.rb', line 15</span>
241
+
242
+ <span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_opts'>opts</span><span class='rparen'>)</span>
243
+ <span class='ivar'>@opts</span> <span class='op'>=</span> <span class='id identifier rubyid_opts'>opts</span>
244
+ <span class='kw'>end</span></pre>
245
+ </td>
246
+ </tr>
247
+ </table>
248
+ </div>
249
+
250
+ </div>
251
+
252
+
253
+ <div id="instance_method_details" class="method_details_list">
254
+ <h2>Instance Method Details</h2>
255
+
256
+
257
+ <div class="method_details first">
258
+ <h3 class="signature first" id="execute-instance_method">
259
+
260
+ - (<tt>Object</tt>) <strong>execute</strong>
261
+
262
+
263
+
264
+
265
+
266
+ </h3><div class="docstring">
267
+ <div class="discussion">
268
+
269
+ <p>Executes the loaded tasks and stores their results.</p>
270
+
271
+
272
+ </div>
273
+ </div>
274
+ <div class="tags">
275
+
276
+
277
+ </div><table class="source_code">
278
+ <tr>
279
+ <td>
280
+ <pre class="lines">
281
+
282
+
283
+ 20
284
+ 21
285
+ 22
286
+ 23
287
+ 24
288
+ 25
289
+ 26
290
+ 27
291
+ 28
292
+ 29
293
+ 30</pre>
294
+ </td>
295
+ <td>
296
+ <pre class="code"><span class="info file"># File 'lib/henry/container.rb', line 20</span>
297
+
298
+ <span class='kw'>def</span> <span class='id identifier rubyid_execute'>execute</span>
299
+ <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_before_execution'>before_execution</span>
300
+
301
+ <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_tasks_results'>tasks_results</span> <span class='op'>=</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_tasks'>tasks</span><span class='period'>.</span><span class='id identifier rubyid_collect'>collect</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_task'>task</span><span class='op'>|</span>
302
+ <span class='id identifier rubyid_task'>task</span><span class='period'>.</span><span class='id identifier rubyid_execute'>execute</span><span class='lparen'>(</span><span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_task_params'>task_params</span><span class='lparen'>(</span><span class='id identifier rubyid_task'>task</span><span class='period'>.</span><span class='id identifier rubyid_name'>name</span><span class='rparen'>)</span><span class='rparen'>)</span>
303
+ <span class='kw'>end</span>
304
+
305
+ <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_update_results'>update_results</span>
306
+
307
+ <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_dump_results'>dump_results</span>
308
+ <span class='kw'>end</span></pre>
309
+ </td>
310
+ </tr>
311
+ </table>
312
+ </div>
313
+
314
+ </div>
315
+
316
+ </div>
317
+
318
+ <div id="footer">
319
+ Generated on Thu Jul 12 11:57:32 2012 by
320
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
321
+ 0.8.2.1 (ruby-1.9.3).
322
+ </div>
323
+
324
+ </body>
325
+ </html>