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
@@ -0,0 +1,338 @@
1
+ <!DOCTYPE html>
2
+
3
+ <html>
4
+ <head>
5
+ <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
6
+
7
+ <title>class Guard::Dsl - 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/guard/cunit.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-cunit_runner">#cunit_runner</a>
76
+
77
+ <li><a href="#method-i-libdir">#libdir</a>
78
+
79
+ <li><a href="#method-i-set_builder">#set_builder</a>
80
+
81
+ <li><a href="#method-i-set_cleaner">#set_cleaner</a>
82
+
83
+ </ul>
84
+ </nav>
85
+
86
+ </div>
87
+
88
+ <div id="project-metadata">
89
+ <nav id="fileindex-section" class="section project-section">
90
+ <h3 class="section-header">Pages</h3>
91
+
92
+ <ul>
93
+
94
+ <li class="file"><a href="../Gemfile.html">Gemfile</a>
95
+
96
+ <li class="file"><a href="../Guardfile.html">Guardfile</a>
97
+
98
+ <li class="file"><a href="../Rakefile.html">Rakefile</a>
99
+
100
+ <li class="file"><a href="../lib/guard/cunit/templates/Guardfile.html">Guardfile</a>
101
+
102
+ </ul>
103
+ </nav>
104
+
105
+ <nav id="classindex-section" class="section project-section">
106
+ <h3 class="section-header">Class and Module Index</h3>
107
+
108
+ <ul class="link-list">
109
+
110
+ <li><a href="../Guard.html">Guard</a>
111
+
112
+ <li><a href="../Guard.html">Guard</a>
113
+
114
+ <li><a href="../Guard/Cunit.html">Guard::Cunit</a>
115
+
116
+ <li><a href="../Guard/Cunit/CunitParser.html">Guard::Cunit::CunitParser</a>
117
+
118
+ <li><a href="../Guard/Cunit/Runner.html">Guard::Cunit::Runner</a>
119
+
120
+ <li><a href="../Guard/CunitGuard.html">Guard::CunitGuard</a>
121
+
122
+ <li><a href="../Guard/Dsl.html">Guard::Dsl</a>
123
+
124
+ <li><a href="../Object.html">Object</a>
125
+
126
+ <li><a href="../TempPrjEnv.html">TempPrjEnv</a>
127
+
128
+ <li><a href="../TestOutput.html">TestOutput</a>
129
+
130
+ </ul>
131
+ </nav>
132
+
133
+ </div>
134
+ </nav>
135
+
136
+ <div id="documentation">
137
+ <h1 class="class">class Guard::Dsl</h1>
138
+
139
+ <div id="description" class="description">
140
+
141
+ <p>add more behaviour to Guard’s DSL to be able to configure executors of all
142
+ the CUnit’s <a href="../Guard.html">Guard</a> tasks</p>
143
+
144
+ </div><!-- description -->
145
+
146
+
147
+
148
+
149
+ <section id="5Buntitled-5D" class="documentation-section">
150
+
151
+
152
+
153
+
154
+
155
+
156
+
157
+
158
+ <!-- Methods -->
159
+
160
+ <section id="public-class-5Buntitled-5D-method-details" class="method-section section">
161
+ <h3 class="section-header">Public Class Methods</h3>
162
+
163
+
164
+ <div id="method-c-new" class="method-detail ">
165
+
166
+ <div class="method-heading">
167
+ <span class="method-name">new</span><span
168
+ class="method-args">()</span>
169
+ <span class="method-click-advice">click to toggle source</span>
170
+ </div>
171
+
172
+
173
+ <div class="method-description">
174
+
175
+ <p>put default values to task executors</p>
176
+
177
+
178
+
179
+ <div class="method-source-code" id="new-source">
180
+ <pre><span class="ruby-comment"># File lib/guard/cunit.rb, line 38</span>
181
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">initialize</span>
182
+ <span class="ruby-keyword">super</span>
183
+ <span class="ruby-identifier">set_cleaner</span>(<span class="ruby-string">&quot;make clean&quot;</span>)
184
+ <span class="ruby-identifier">cunit_runner</span>(<span class="ruby-node">&quot;#{File.basename(Dir.getwd)}_unit&quot;</span>)
185
+ <span class="ruby-identifier">set_builder</span>(<span class="ruby-string">&quot;make 2&gt;&amp;1&quot;</span>)
186
+ <span class="ruby-identifier">libdir</span>(<span class="ruby-node">&quot;#{Dir.getwd}&quot;</span>)
187
+ <span class="ruby-ivar">@runner</span> = <span class="ruby-constant">Cunit</span><span class="ruby-operator">::</span><span class="ruby-constant">Runner</span>.<span class="ruby-identifier">new</span>
188
+ <span class="ruby-keyword">end</span></pre>
189
+ </div><!-- new-source -->
190
+
191
+ </div>
192
+
193
+
194
+
195
+
196
+ </div><!-- new-method -->
197
+
198
+
199
+ </section><!-- public-class-method-details -->
200
+
201
+ <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
202
+ <h3 class="section-header">Public Instance Methods</h3>
203
+
204
+
205
+ <div id="method-i-cunit_runner" class="method-detail ">
206
+
207
+ <div class="method-heading">
208
+ <span class="method-name">cunit_runner</span><span
209
+ class="method-args">(name)</span>
210
+ <span class="method-click-advice">click to toggle source</span>
211
+ </div>
212
+
213
+
214
+ <div class="method-description">
215
+
216
+ <p>dsl call to set cunit test executable</p>
217
+
218
+
219
+
220
+ <div class="method-source-code" id="cunit_runner-source">
221
+ <pre><span class="ruby-comment"># File lib/guard/cunit.rb, line 48</span>
222
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">cunit_runner</span> (<span class="ruby-identifier">name</span>)
223
+ <span class="ruby-constant">Cunit</span><span class="ruby-operator">::</span><span class="ruby-constant">Runner</span>.<span class="ruby-identifier">set_runner</span>(<span class="ruby-identifier">name</span>)
224
+ <span class="ruby-keyword">end</span></pre>
225
+ </div><!-- cunit_runner-source -->
226
+
227
+ </div>
228
+
229
+
230
+
231
+
232
+ </div><!-- cunit_runner-method -->
233
+
234
+
235
+ <div id="method-i-libdir" class="method-detail ">
236
+
237
+ <div class="method-heading">
238
+ <span class="method-name">libdir</span><span
239
+ class="method-args">(name)</span>
240
+ <span class="method-click-advice">click to toggle source</span>
241
+ </div>
242
+
243
+
244
+ <div class="method-description">
245
+
246
+ <p>dsl call to set dir, where library under test is generated, by default
247
+ current dir</p>
248
+
249
+
250
+
251
+ <div class="method-source-code" id="libdir-source">
252
+ <pre><span class="ruby-comment"># File lib/guard/cunit.rb, line 63</span>
253
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">libdir</span>(<span class="ruby-identifier">name</span>)
254
+ <span class="ruby-constant">Cunit</span><span class="ruby-operator">::</span><span class="ruby-constant">Runner</span>.<span class="ruby-identifier">set_libdir</span>(<span class="ruby-constant">File</span>.<span class="ruby-identifier">expand_path</span>(<span class="ruby-identifier">name</span>))
255
+ <span class="ruby-keyword">end</span></pre>
256
+ </div><!-- libdir-source -->
257
+
258
+ </div>
259
+
260
+
261
+
262
+
263
+ </div><!-- libdir-method -->
264
+
265
+
266
+ <div id="method-i-set_builder" class="method-detail ">
267
+
268
+ <div class="method-heading">
269
+ <span class="method-name">set_builder</span><span
270
+ class="method-args">(name)</span>
271
+ <span class="method-click-advice">click to toggle source</span>
272
+ </div>
273
+
274
+
275
+ <div class="method-description">
276
+
277
+ <p>dsl call to set cunit build command/script, by default make</p>
278
+
279
+
280
+
281
+ <div class="method-source-code" id="set_builder-source">
282
+ <pre><span class="ruby-comment"># File lib/guard/cunit.rb, line 53</span>
283
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">set_builder</span> (<span class="ruby-identifier">name</span>)
284
+ <span class="ruby-constant">Cunit</span><span class="ruby-operator">::</span><span class="ruby-constant">Runner</span>.<span class="ruby-identifier">set_builder</span>(<span class="ruby-identifier">name</span>)
285
+ <span class="ruby-keyword">end</span></pre>
286
+ </div><!-- set_builder-source -->
287
+
288
+ </div>
289
+
290
+
291
+
292
+
293
+ </div><!-- set_builder-method -->
294
+
295
+
296
+ <div id="method-i-set_cleaner" class="method-detail ">
297
+
298
+ <div class="method-heading">
299
+ <span class="method-name">set_cleaner</span><span
300
+ class="method-args">(name)</span>
301
+ <span class="method-click-advice">click to toggle source</span>
302
+ </div>
303
+
304
+
305
+ <div class="method-description">
306
+
307
+ <p>dsl call to set cunit clean command/script, by default ‘make clean’</p>
308
+
309
+
310
+
311
+ <div class="method-source-code" id="set_cleaner-source">
312
+ <pre><span class="ruby-comment"># File lib/guard/cunit.rb, line 58</span>
313
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">set_cleaner</span> (<span class="ruby-identifier">name</span>)
314
+ <span class="ruby-constant">Cunit</span><span class="ruby-operator">::</span><span class="ruby-constant">Runner</span>.<span class="ruby-identifier">set_cleaner</span>(<span class="ruby-identifier">name</span>)
315
+ <span class="ruby-keyword">end</span></pre>
316
+ </div><!-- set_cleaner-source -->
317
+
318
+ </div>
319
+
320
+
321
+
322
+
323
+ </div><!-- set_cleaner-method -->
324
+
325
+
326
+ </section><!-- public-instance-method-details -->
327
+
328
+ </section><!-- 5Buntitled-5D -->
329
+
330
+ </div><!-- documentation -->
331
+
332
+
333
+ <footer id="validator-badges">
334
+ <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
335
+ <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
336
+ <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
337
+ </footer>
338
+
data/doc/Guard.html ADDED
@@ -0,0 +1,149 @@
1
+ <!DOCTYPE html>
2
+
3
+ <html>
4
+ <head>
5
+ <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
6
+
7
+ <title>class Guard - 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/guard/cunit.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">
63
+
64
+ </nav>
65
+
66
+
67
+
68
+ </div>
69
+
70
+ <div id="project-metadata">
71
+ <nav id="fileindex-section" class="section project-section">
72
+ <h3 class="section-header">Pages</h3>
73
+
74
+ <ul>
75
+
76
+ <li class="file"><a href="./Gemfile.html">Gemfile</a>
77
+
78
+ <li class="file"><a href="./Guardfile.html">Guardfile</a>
79
+
80
+ <li class="file"><a href="./Rakefile.html">Rakefile</a>
81
+
82
+ <li class="file"><a href="./lib/guard/cunit/templates/Guardfile.html">Guardfile</a>
83
+
84
+ </ul>
85
+ </nav>
86
+
87
+ <nav id="classindex-section" class="section project-section">
88
+ <h3 class="section-header">Class and Module Index</h3>
89
+
90
+ <ul class="link-list">
91
+
92
+ <li><a href="./Guard.html">Guard</a>
93
+
94
+ <li><a href="./Guard.html">Guard</a>
95
+
96
+ <li><a href="./Guard/Cunit.html">Guard::Cunit</a>
97
+
98
+ <li><a href="./Guard/Cunit/CunitParser.html">Guard::Cunit::CunitParser</a>
99
+
100
+ <li><a href="./Guard/Cunit/Runner.html">Guard::Cunit::Runner</a>
101
+
102
+ <li><a href="./Guard/CunitGuard.html">Guard::CunitGuard</a>
103
+
104
+ <li><a href="./Guard/Dsl.html">Guard::Dsl</a>
105
+
106
+ <li><a href="./Object.html">Object</a>
107
+
108
+ <li><a href="./TempPrjEnv.html">TempPrjEnv</a>
109
+
110
+ <li><a href="./TestOutput.html">TestOutput</a>
111
+
112
+ </ul>
113
+ </nav>
114
+
115
+ </div>
116
+ </nav>
117
+
118
+ <div id="documentation">
119
+ <h1 class="class">class Guard</h1>
120
+
121
+ <div id="description" class="description">
122
+
123
+ </div><!-- description -->
124
+
125
+
126
+
127
+
128
+ <section id="5Buntitled-5D" class="documentation-section">
129
+
130
+
131
+
132
+
133
+
134
+
135
+
136
+
137
+ <!-- Methods -->
138
+
139
+ </section><!-- 5Buntitled-5D -->
140
+
141
+ </div><!-- documentation -->
142
+
143
+
144
+ <footer id="validator-badges">
145
+ <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
146
+ <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
147
+ <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
148
+ </footer>
149
+
@@ -0,0 +1,116 @@
1
+ <!DOCTYPE html>
2
+
3
+ <html>
4
+ <head>
5
+ <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
6
+
7
+ <title>Guardfile - 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># A sample <a href="Guardfile.html">Guardfile</a> # More info at <a
97
+ href="https://github.com/guard/guard#readme">github.com/guard/guard#readme</a></p>
98
+
99
+ <p>guard ‘rspec’, :version =&gt; 2 do</p>
100
+
101
+ <pre class="ruby"><span class="ruby-identifier">watch</span>(<span class="ruby-regexp">%r{^spec/.+_spec\.rb$}</span>)
102
+ <span class="ruby-identifier">watch</span>(<span class="ruby-regexp">%r{^lib/(.+)\.rb$}</span>) { <span class="ruby-operator">|</span><span class="ruby-identifier">m</span><span class="ruby-operator">|</span> <span class="ruby-node">&quot;spec/lib/#{m[1]}_spec.rb&quot;</span> }
103
+ </pre>
104
+
105
+ <p>end</p>
106
+
107
+ </div>
108
+
109
+
110
+
111
+ <footer id="validator-badges">
112
+ <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
113
+ <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
114
+ <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
115
+ </footer>
116
+