guard-cunit 0.0.1-x86-linux

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 (63) hide show
  1. data/.travis.yml +11 -0
  2. data/CHANGELOG.md +1 -0
  3. data/Gemfile +6 -0
  4. data/Guardfile +11 -0
  5. data/README.md +70 -0
  6. data/Rakefile +24 -0
  7. data/doc/Gemfile.html +110 -0
  8. data/doc/Guard/Cunit/CunitParser.html +396 -0
  9. data/doc/Guard/Cunit/Runner.html +522 -0
  10. data/doc/Guard/Cunit.html +278 -0
  11. data/doc/Guard/CunitGuard.html +156 -0
  12. data/doc/Guard/Dsl.html +338 -0
  13. data/doc/Guard.html +149 -0
  14. data/doc/Guardfile.html +116 -0
  15. data/doc/Object.html +359 -0
  16. data/doc/Rakefile.html +132 -0
  17. data/doc/TempPrjEnv.html +239 -0
  18. data/doc/TestOutput.html +235 -0
  19. data/doc/created.rid +12 -0
  20. data/doc/images/add.png +0 -0
  21. data/doc/images/brick.png +0 -0
  22. data/doc/images/brick_link.png +0 -0
  23. data/doc/images/bug.png +0 -0
  24. data/doc/images/bullet_black.png +0 -0
  25. data/doc/images/bullet_toggle_minus.png +0 -0
  26. data/doc/images/bullet_toggle_plus.png +0 -0
  27. data/doc/images/date.png +0 -0
  28. data/doc/images/delete.png +0 -0
  29. data/doc/images/find.png +0 -0
  30. data/doc/images/loadingAnimation.gif +0 -0
  31. data/doc/images/macFFBgHack.png +0 -0
  32. data/doc/images/package.png +0 -0
  33. data/doc/images/page_green.png +0 -0
  34. data/doc/images/page_white_text.png +0 -0
  35. data/doc/images/page_white_width.png +0 -0
  36. data/doc/images/plugin.png +0 -0
  37. data/doc/images/ruby.png +0 -0
  38. data/doc/images/tag_blue.png +0 -0
  39. data/doc/images/tag_green.png +0 -0
  40. data/doc/images/transparent.png +0 -0
  41. data/doc/images/wrench.png +0 -0
  42. data/doc/images/wrench_orange.png +0 -0
  43. data/doc/images/zoom.png +0 -0
  44. data/doc/index.html +102 -0
  45. data/doc/js/darkfish.js +153 -0
  46. data/doc/js/jquery.js +18 -0
  47. data/doc/js/navigation.js +142 -0
  48. data/doc/js/search.js +94 -0
  49. data/doc/js/search_index.js +1 -0
  50. data/doc/js/searcher.js +228 -0
  51. data/doc/lib/guard/cunit/templates/Guardfile.html +115 -0
  52. data/doc/rdoc.css +543 -0
  53. data/doc/table_of_contents.html +157 -0
  54. data/guard-cunit.gemspec +29 -0
  55. data/lib/guard/cunit/cunit_parser.rb +70 -0
  56. data/lib/guard/cunit/runner.rb +99 -0
  57. data/lib/guard/cunit/templates/Guardfile +12 -0
  58. data/lib/guard/cunit/version.rb +7 -0
  59. data/lib/guard/cunit.rb +69 -0
  60. data/spec/guard_cunit_parser_spec.rb +79 -0
  61. data/spec/guard_cunit_spec.rb +198 -0
  62. data/spec/spec_helper.rb +72 -0
  63. metadata +167 -0
data/doc/Object.html ADDED
@@ -0,0 +1,359 @@
1
+ <!DOCTYPE html>
2
+
3
+ <html>
4
+ <head>
5
+ <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
6
+
7
+ <title>class Object - 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>spec/spec_helper.rb
51
+ <li>spec/guard_cunit_spec.rb
52
+ </ul>
53
+ </nav>
54
+
55
+
56
+ </div>
57
+
58
+ <div id="class-metadata">
59
+
60
+ <nav id="parent-class-section" class="section">
61
+ <h3 class="section-header">Parent</h3>
62
+
63
+ <p class="link">BasicObject
64
+
65
+ </nav>
66
+
67
+ <!-- Included Modules -->
68
+ <nav id="includes-section" class="section">
69
+ <h3 class="section-header">Included Modules</h3>
70
+
71
+ <ul class="link-list">
72
+
73
+
74
+ <li><span class="include">Guard::Guard</span>
75
+
76
+
77
+ </ul>
78
+ </nav>
79
+
80
+ <!-- Method Quickref -->
81
+ <nav id="method-list-section" class="section">
82
+ <h3 class="section-header">Methods</h3>
83
+
84
+ <ul class="link-list">
85
+
86
+ <li><a href="#method-i-fake_test_exe">#fake_test_exe</a>
87
+
88
+ <li><a href="#method-i-guardfile_has_unit_test_exe">#guardfile_has_unit_test_exe</a>
89
+
90
+ <li><a href="#method-i-popen_failing_fake">#popen_failing_fake</a>
91
+
92
+ <li><a href="#method-i-popen_successfull_fake">#popen_successfull_fake</a>
93
+
94
+ <li><a href="#method-i-setup_guard">#setup_guard</a>
95
+
96
+ </ul>
97
+ </nav>
98
+
99
+ </div>
100
+
101
+ <div id="project-metadata">
102
+ <nav id="fileindex-section" class="section project-section">
103
+ <h3 class="section-header">Pages</h3>
104
+
105
+ <ul>
106
+
107
+ <li class="file"><a href="./Gemfile.html">Gemfile</a>
108
+
109
+ <li class="file"><a href="./Guardfile.html">Guardfile</a>
110
+
111
+ <li class="file"><a href="./Rakefile.html">Rakefile</a>
112
+
113
+ <li class="file"><a href="./lib/guard/cunit/templates/Guardfile.html">Guardfile</a>
114
+
115
+ </ul>
116
+ </nav>
117
+
118
+ <nav id="classindex-section" class="section project-section">
119
+ <h3 class="section-header">Class and Module Index</h3>
120
+
121
+ <ul class="link-list">
122
+
123
+ <li><a href="./Guard.html">Guard</a>
124
+
125
+ <li><a href="./Guard.html">Guard</a>
126
+
127
+ <li><a href="./Guard/Cunit.html">Guard::Cunit</a>
128
+
129
+ <li><a href="./Guard/Cunit/CunitParser.html">Guard::Cunit::CunitParser</a>
130
+
131
+ <li><a href="./Guard/Cunit/Runner.html">Guard::Cunit::Runner</a>
132
+
133
+ <li><a href="./Guard/CunitGuard.html">Guard::CunitGuard</a>
134
+
135
+ <li><a href="./Guard/Dsl.html">Guard::Dsl</a>
136
+
137
+ <li><a href="./Object.html">Object</a>
138
+
139
+ <li><a href="./TempPrjEnv.html">TempPrjEnv</a>
140
+
141
+ <li><a href="./TestOutput.html">TestOutput</a>
142
+
143
+ </ul>
144
+ </nav>
145
+
146
+ </div>
147
+ </nav>
148
+
149
+ <div id="documentation">
150
+ <h1 class="class">class Object</h1>
151
+
152
+ <div id="description" class="description">
153
+
154
+ </div><!-- description -->
155
+
156
+
157
+
158
+
159
+ <section id="5Buntitled-5D" class="documentation-section">
160
+
161
+
162
+
163
+
164
+
165
+
166
+
167
+
168
+ <!-- Methods -->
169
+
170
+ <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
171
+ <h3 class="section-header">Public Instance Methods</h3>
172
+
173
+
174
+ <div id="method-i-fake_test_exe" class="method-detail ">
175
+
176
+ <div class="method-heading">
177
+ <span class="method-name">fake_test_exe</span><span
178
+ class="method-args">(exe_name,successful = :fail)</span>
179
+ <span class="method-click-advice">click to toggle source</span>
180
+ </div>
181
+
182
+
183
+ <div class="method-description">
184
+
185
+ <p>fake the test executable runner, its existance and result</p>
186
+
187
+
188
+
189
+ <div class="method-source-code" id="fake_test_exe-source">
190
+ <pre><span class="ruby-comment"># File spec/spec_helper.rb, line 48</span>
191
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">fake_test_exe</span>(<span class="ruby-identifier">exe_name</span>,<span class="ruby-identifier">successful</span> = <span class="ruby-value">:fail</span>)
192
+ <span class="ruby-identifier">exe_name</span>=<span class="ruby-node">&quot;#{File.basename(Dir.getwd)}_unit&quot;</span> <span class="ruby-keyword">unless</span> <span class="ruby-identifier">exe_name</span> <span class="ruby-operator">!=</span> <span class="ruby-keyword">nil</span>
193
+ <span class="ruby-constant">File</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">exe_name</span>,<span class="ruby-string">&quot;w+&quot;</span>)
194
+ <span class="ruby-keyword">if</span> <span class="ruby-identifier">successful</span> <span class="ruby-operator">==</span> <span class="ruby-value">:pass</span>
195
+ <span class="ruby-identifier">popen_successfull_fake</span>(<span class="ruby-identifier">exe_name</span>)
196
+ <span class="ruby-keyword">else</span>
197
+ <span class="ruby-identifier">popen_failing_fake</span>(<span class="ruby-identifier">exe_name</span>)
198
+ <span class="ruby-keyword">end</span>
199
+ <span class="ruby-keyword">end</span></pre>
200
+ </div><!-- fake_test_exe-source -->
201
+
202
+ </div>
203
+
204
+
205
+
206
+
207
+ </div><!-- fake_test_exe-method -->
208
+
209
+
210
+ <div id="method-i-guardfile_has_unit_test_exe" class="method-detail ">
211
+
212
+ <div class="method-heading">
213
+ <span class="method-name">guardfile_has_unit_test_exe</span><span
214
+ class="method-args">(params={ :test_exe=>nil, :builder=>nil, :cleaner=>nil, :libdir=>nil})</span>
215
+ <span class="method-click-advice">click to toggle source</span>
216
+ </div>
217
+
218
+
219
+ <div class="method-description">
220
+
221
+ <p>a generator for CUnit <a href="Guardfile.html">Guardfile</a></p>
222
+
223
+
224
+
225
+ <div class="method-source-code" id="guardfile_has_unit_test_exe-source">
226
+ <pre><span class="ruby-comment"># File spec/spec_helper.rb, line 59</span>
227
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">guardfile_has_unit_test_exe</span>(<span class="ruby-identifier">params</span>={ <span class="ruby-value">:test_exe=</span><span class="ruby-operator">&gt;</span><span class="ruby-keyword">nil</span>, <span class="ruby-value">:builder=</span><span class="ruby-operator">&gt;</span><span class="ruby-keyword">nil</span>, <span class="ruby-value">:cleaner=</span><span class="ruby-operator">&gt;</span><span class="ruby-keyword">nil</span>, <span class="ruby-value">:libdir=</span><span class="ruby-operator">&gt;</span><span class="ruby-keyword">nil</span>})
228
+ <span class="ruby-constant">File</span>.<span class="ruby-identifier">open</span>(<span class="ruby-string">&quot;Guardfile&quot;</span>,<span class="ruby-string">&quot;w+&quot;</span>,<span class="ruby-value">0644</span>) <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">file</span><span class="ruby-operator">|</span>
229
+ <span class="ruby-identifier">file</span>.<span class="ruby-identifier">puts</span> <span class="ruby-string">&quot;guard \'cunit\' do&quot;</span>
230
+
231
+ <span class="ruby-identifier">file</span>.<span class="ruby-identifier">puts</span> <span class="ruby-node">&quot; set_builder \&quot;#{params[:builder]}\&quot;&quot;</span> <span class="ruby-keyword">unless</span> (<span class="ruby-identifier">params</span>[<span class="ruby-value">:builder</span>] <span class="ruby-operator">==</span> <span class="ruby-keyword">nil</span>)
232
+ <span class="ruby-identifier">file</span>.<span class="ruby-identifier">puts</span> <span class="ruby-node">&quot; set_cleaner \&quot;#{params[:cleaner]}\&quot;&quot;</span> <span class="ruby-keyword">unless</span> (<span class="ruby-identifier">params</span>[<span class="ruby-value">:cleaner</span>] <span class="ruby-operator">==</span> <span class="ruby-keyword">nil</span>)
233
+ <span class="ruby-identifier">file</span>.<span class="ruby-identifier">puts</span> <span class="ruby-node">&quot; cunit_runner \&quot;#{params[:test_exe]}\&quot;&quot;</span> <span class="ruby-keyword">unless</span> (<span class="ruby-identifier">params</span>[<span class="ruby-value">:test_exe</span>] <span class="ruby-operator">==</span> <span class="ruby-keyword">nil</span>)
234
+ <span class="ruby-identifier">file</span>.<span class="ruby-identifier">puts</span> <span class="ruby-node">&quot; libdir \&quot;#{params[:libdir]}\&quot;&quot;</span> <span class="ruby-keyword">unless</span> (<span class="ruby-identifier">params</span>[<span class="ruby-value">:libdir</span>] <span class="ruby-operator">==</span> <span class="ruby-keyword">nil</span>)
235
+
236
+ <span class="ruby-identifier">file</span>.<span class="ruby-identifier">puts</span> <span class="ruby-string">' watch(%r{((.+)\.c$)|((.+)\.h$)|((M|m)akefile$)} ) '</span>
237
+ <span class="ruby-identifier">file</span>.<span class="ruby-identifier">puts</span> <span class="ruby-string">'end'</span>
238
+ <span class="ruby-keyword">end</span>
239
+ <span class="ruby-keyword">end</span></pre>
240
+ </div><!-- guardfile_has_unit_test_exe-source -->
241
+
242
+ </div>
243
+
244
+
245
+
246
+
247
+ </div><!-- guardfile_has_unit_test_exe-method -->
248
+
249
+
250
+ <div id="method-i-popen_failing_fake" class="method-detail ">
251
+
252
+ <div class="method-heading">
253
+ <span class="method-name">popen_failing_fake</span><span
254
+ class="method-args">(fakename)</span>
255
+ <span class="method-click-advice">click to toggle source</span>
256
+ </div>
257
+
258
+
259
+ <div class="method-description">
260
+
261
+ <p>setup stub for system command with failing exit result</p>
262
+
263
+
264
+
265
+ <div class="method-source-code" id="popen_failing_fake-source">
266
+ <pre><span class="ruby-comment"># File spec/spec_helper.rb, line 42</span>
267
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">popen_failing_fake</span>(<span class="ruby-identifier">fakename</span>)
268
+ <span class="ruby-constant">IO</span>.<span class="ruby-identifier">stub</span>(<span class="ruby-value">:popen</span>).<span class="ruby-identifier">with</span>(<span class="ruby-identifier">fakename</span>)
269
+ <span class="ruby-constant">IO</span>.<span class="ruby-identifier">should_receive</span>(<span class="ruby-value">:popen</span>).<span class="ruby-identifier">with</span>(<span class="ruby-identifier">fakename</span>) { <span class="ruby-value">%x(exit 1)`</span>}
270
+ <span class="ruby-keyword">end</span></pre>
271
+ </div><!-- popen_failing_fake-source -->
272
+
273
+ </div>
274
+
275
+
276
+
277
+
278
+ </div><!-- popen_failing_fake-method -->
279
+
280
+
281
+ <div id="method-i-popen_successfull_fake" class="method-detail ">
282
+
283
+ <div class="method-heading">
284
+ <span class="method-name">popen_successfull_fake</span><span
285
+ class="method-args">(fakename)</span>
286
+ <span class="method-click-advice">click to toggle source</span>
287
+ </div>
288
+
289
+
290
+ <div class="method-description">
291
+
292
+ <p>setup stub for system command with successful exit result</p>
293
+
294
+
295
+
296
+ <div class="method-source-code" id="popen_successfull_fake-source">
297
+ <pre><span class="ruby-comment"># File spec/spec_helper.rb, line 36</span>
298
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">popen_successfull_fake</span>(<span class="ruby-identifier">fakename</span>)
299
+ <span class="ruby-constant">IO</span>.<span class="ruby-identifier">stub</span>(<span class="ruby-value">:popen</span>).<span class="ruby-identifier">with</span>(<span class="ruby-identifier">fakename</span>)
300
+ <span class="ruby-constant">IO</span>.<span class="ruby-identifier">should_receive</span>(<span class="ruby-value">:popen</span>).<span class="ruby-identifier">with</span>(<span class="ruby-identifier">fakename</span>) { <span class="ruby-value">%x(exit 0)`</span>}
301
+ <span class="ruby-keyword">end</span></pre>
302
+ </div><!-- popen_successfull_fake-source -->
303
+
304
+ </div>
305
+
306
+
307
+
308
+
309
+ </div><!-- popen_successfull_fake-method -->
310
+
311
+
312
+ <div id="method-i-setup_guard" class="method-detail ">
313
+
314
+ <div class="method-heading">
315
+ <span class="method-name">setup_guard</span><span
316
+ class="method-args">()</span>
317
+ <span class="method-click-advice">click to toggle source</span>
318
+ </div>
319
+
320
+
321
+ <div class="method-description">
322
+
323
+
324
+
325
+
326
+
327
+ <div class="method-source-code" id="setup_guard-source">
328
+ <pre><span class="ruby-comment"># File spec/guard_cunit_spec.rb, line 10</span>
329
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">setup_guard</span>
330
+ <span class="ruby-keyword">if</span> <span class="ruby-identifier">@@first</span> <span class="ruby-operator">==</span> <span class="ruby-keyword">true</span>
331
+ <span class="ruby-constant">Guard</span><span class="ruby-operator">::</span><span class="ruby-identifier">setup</span>
332
+ <span class="ruby-identifier">@@first</span> = <span class="ruby-keyword">false</span>
333
+ <span class="ruby-keyword">else</span>
334
+ <span class="ruby-constant">Guard</span><span class="ruby-operator">::</span><span class="ruby-identifier">reload</span>
335
+ <span class="ruby-keyword">end</span>
336
+ <span class="ruby-keyword">end</span></pre>
337
+ </div><!-- setup_guard-source -->
338
+
339
+ </div>
340
+
341
+
342
+
343
+
344
+ </div><!-- setup_guard-method -->
345
+
346
+
347
+ </section><!-- public-instance-method-details -->
348
+
349
+ </section><!-- 5Buntitled-5D -->
350
+
351
+ </div><!-- documentation -->
352
+
353
+
354
+ <footer id="validator-badges">
355
+ <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
356
+ <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
357
+ <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
358
+ </footer>
359
+
data/doc/Rakefile.html ADDED
@@ -0,0 +1,132 @@
1
+ <!DOCTYPE html>
2
+
3
+ <html>
4
+ <head>
5
+ <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
6
+
7
+ <title>Rakefile - 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 class="file">
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="project-metadata">
47
+ <nav id="fileindex-section" class="section project-section">
48
+ <h3 class="section-header">Pages</h3>
49
+
50
+ <ul>
51
+
52
+ <li class="file"><a href="./Gemfile.html">Gemfile</a>
53
+
54
+ <li class="file"><a href="./Guardfile.html">Guardfile</a>
55
+
56
+ <li class="file"><a href="./Rakefile.html">Rakefile</a>
57
+
58
+ <li class="file"><a href="./lib/guard/cunit/templates/Guardfile.html">Guardfile</a>
59
+
60
+ </ul>
61
+ </nav>
62
+
63
+ <nav id="classindex-section" class="section project-section">
64
+ <h3 class="section-header">Class and Module Index</h3>
65
+
66
+ <ul class="link-list">
67
+
68
+ <li><a href="./Guard.html">Guard</a>
69
+
70
+ <li><a href="./Guard.html">Guard</a>
71
+
72
+ <li><a href="./Guard/Cunit.html">Guard::Cunit</a>
73
+
74
+ <li><a href="./Guard/Cunit/CunitParser.html">Guard::Cunit::CunitParser</a>
75
+
76
+ <li><a href="./Guard/Cunit/Runner.html">Guard::Cunit::Runner</a>
77
+
78
+ <li><a href="./Guard/CunitGuard.html">Guard::CunitGuard</a>
79
+
80
+ <li><a href="./Guard/Dsl.html">Guard::Dsl</a>
81
+
82
+ <li><a href="./Object.html">Object</a>
83
+
84
+ <li><a href="./TempPrjEnv.html">TempPrjEnv</a>
85
+
86
+ <li><a href="./TestOutput.html">TestOutput</a>
87
+
88
+ </ul>
89
+ </nav>
90
+
91
+ </div>
92
+ </nav>
93
+
94
+ <div id="documentation" class="description">
95
+
96
+ <p>require “bundler/gem_tasks” require ‘rspec/core/rake_task’</p>
97
+
98
+ <p>Bundler::GemHelper.install_tasks</p>
99
+
100
+ <p>task :default =&gt; [ :spec, :doc, :gem]</p>
101
+
102
+ <p>desc “Run RSpec” RSpec::Core::RakeTask.new do |t|</p>
103
+
104
+ <pre>t.rcov = ENV['RCOV']
105
+ t.rcov_opts = %w{--exclude osx\/objc,gems\/,spec\/}
106
+ t.verbose = true</pre>
107
+
108
+ <p>end</p>
109
+
110
+ <p>task :doc do</p>
111
+
112
+ <pre>system 'rdoc -a -U'</pre>
113
+
114
+ <p>end</p>
115
+
116
+ <p>task :gem do</p>
117
+
118
+ <pre>system 'rm guard-cunit*.gem'
119
+ system 'gem build guard-cunit.gemspec'</pre>
120
+
121
+ <p>end</p>
122
+
123
+ </div>
124
+
125
+
126
+
127
+ <footer id="validator-badges">
128
+ <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
129
+ <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
130
+ <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
131
+ </footer>
132
+