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.
- data/.travis.yml +11 -0
- data/CHANGELOG.md +1 -0
- data/Gemfile +6 -0
- data/Guardfile +11 -0
- data/README.md +70 -0
- data/Rakefile +24 -0
- data/doc/Gemfile.html +110 -0
- data/doc/Guard/Cunit/CunitParser.html +396 -0
- data/doc/Guard/Cunit/Runner.html +522 -0
- data/doc/Guard/Cunit.html +278 -0
- data/doc/Guard/CunitGuard.html +156 -0
- data/doc/Guard/Dsl.html +338 -0
- data/doc/Guard.html +149 -0
- data/doc/Guardfile.html +116 -0
- data/doc/Object.html +359 -0
- data/doc/Rakefile.html +132 -0
- data/doc/TempPrjEnv.html +239 -0
- data/doc/TestOutput.html +235 -0
- data/doc/created.rid +12 -0
- data/doc/images/add.png +0 -0
- data/doc/images/brick.png +0 -0
- data/doc/images/brick_link.png +0 -0
- data/doc/images/bug.png +0 -0
- data/doc/images/bullet_black.png +0 -0
- data/doc/images/bullet_toggle_minus.png +0 -0
- data/doc/images/bullet_toggle_plus.png +0 -0
- data/doc/images/date.png +0 -0
- data/doc/images/delete.png +0 -0
- data/doc/images/find.png +0 -0
- data/doc/images/loadingAnimation.gif +0 -0
- data/doc/images/macFFBgHack.png +0 -0
- data/doc/images/package.png +0 -0
- data/doc/images/page_green.png +0 -0
- data/doc/images/page_white_text.png +0 -0
- data/doc/images/page_white_width.png +0 -0
- data/doc/images/plugin.png +0 -0
- data/doc/images/ruby.png +0 -0
- data/doc/images/tag_blue.png +0 -0
- data/doc/images/tag_green.png +0 -0
- data/doc/images/transparent.png +0 -0
- data/doc/images/wrench.png +0 -0
- data/doc/images/wrench_orange.png +0 -0
- data/doc/images/zoom.png +0 -0
- data/doc/index.html +102 -0
- data/doc/js/darkfish.js +153 -0
- data/doc/js/jquery.js +18 -0
- data/doc/js/navigation.js +142 -0
- data/doc/js/search.js +94 -0
- data/doc/js/search_index.js +1 -0
- data/doc/js/searcher.js +228 -0
- data/doc/lib/guard/cunit/templates/Guardfile.html +115 -0
- data/doc/rdoc.css +543 -0
- data/doc/table_of_contents.html +157 -0
- data/guard-cunit.gemspec +29 -0
- data/lib/guard/cunit/cunit_parser.rb +70 -0
- data/lib/guard/cunit/runner.rb +99 -0
- data/lib/guard/cunit/templates/Guardfile +12 -0
- data/lib/guard/cunit/version.rb +7 -0
- data/lib/guard/cunit.rb +69 -0
- data/spec/guard_cunit_parser_spec.rb +79 -0
- data/spec/guard_cunit_spec.rb +198 -0
- data/spec/spec_helper.rb +72 -0
- metadata +167 -0
data/doc/TempPrjEnv.html
ADDED
@@ -0,0 +1,239 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
|
3
|
+
<html>
|
4
|
+
<head>
|
5
|
+
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
|
6
|
+
|
7
|
+
<title>class TempPrjEnv - 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
|
+
</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-cleanup_tmp_prj_dir">::cleanup_tmp_prj_dir</a>
|
74
|
+
|
75
|
+
<li><a href="#method-c-create_tmp_prj_dir">::create_tmp_prj_dir</a>
|
76
|
+
|
77
|
+
</ul>
|
78
|
+
</nav>
|
79
|
+
|
80
|
+
</div>
|
81
|
+
|
82
|
+
<div id="project-metadata">
|
83
|
+
<nav id="fileindex-section" class="section project-section">
|
84
|
+
<h3 class="section-header">Pages</h3>
|
85
|
+
|
86
|
+
<ul>
|
87
|
+
|
88
|
+
<li class="file"><a href="./Gemfile.html">Gemfile</a>
|
89
|
+
|
90
|
+
<li class="file"><a href="./Guardfile.html">Guardfile</a>
|
91
|
+
|
92
|
+
<li class="file"><a href="./Rakefile.html">Rakefile</a>
|
93
|
+
|
94
|
+
<li class="file"><a href="./lib/guard/cunit/templates/Guardfile.html">Guardfile</a>
|
95
|
+
|
96
|
+
</ul>
|
97
|
+
</nav>
|
98
|
+
|
99
|
+
<nav id="classindex-section" class="section project-section">
|
100
|
+
<h3 class="section-header">Class and Module Index</h3>
|
101
|
+
|
102
|
+
<ul class="link-list">
|
103
|
+
|
104
|
+
<li><a href="./Guard.html">Guard</a>
|
105
|
+
|
106
|
+
<li><a href="./Guard.html">Guard</a>
|
107
|
+
|
108
|
+
<li><a href="./Guard/Cunit.html">Guard::Cunit</a>
|
109
|
+
|
110
|
+
<li><a href="./Guard/Cunit/CunitParser.html">Guard::Cunit::CunitParser</a>
|
111
|
+
|
112
|
+
<li><a href="./Guard/Cunit/Runner.html">Guard::Cunit::Runner</a>
|
113
|
+
|
114
|
+
<li><a href="./Guard/CunitGuard.html">Guard::CunitGuard</a>
|
115
|
+
|
116
|
+
<li><a href="./Guard/Dsl.html">Guard::Dsl</a>
|
117
|
+
|
118
|
+
<li><a href="./Object.html">Object</a>
|
119
|
+
|
120
|
+
<li><a href="./TempPrjEnv.html">TempPrjEnv</a>
|
121
|
+
|
122
|
+
<li><a href="./TestOutput.html">TestOutput</a>
|
123
|
+
|
124
|
+
</ul>
|
125
|
+
</nav>
|
126
|
+
|
127
|
+
</div>
|
128
|
+
</nav>
|
129
|
+
|
130
|
+
<div id="documentation">
|
131
|
+
<h1 class="class">class TempPrjEnv</h1>
|
132
|
+
|
133
|
+
<div id="description" class="description">
|
134
|
+
|
135
|
+
<p>a class to set/cleanup environment for fake project</p>
|
136
|
+
|
137
|
+
</div><!-- description -->
|
138
|
+
|
139
|
+
|
140
|
+
|
141
|
+
|
142
|
+
<section id="5Buntitled-5D" class="documentation-section">
|
143
|
+
|
144
|
+
|
145
|
+
|
146
|
+
|
147
|
+
|
148
|
+
|
149
|
+
|
150
|
+
|
151
|
+
<!-- Methods -->
|
152
|
+
|
153
|
+
<section id="public-class-5Buntitled-5D-method-details" class="method-section section">
|
154
|
+
<h3 class="section-header">Public Class Methods</h3>
|
155
|
+
|
156
|
+
|
157
|
+
<div id="method-c-cleanup_tmp_prj_dir" class="method-detail ">
|
158
|
+
|
159
|
+
<div class="method-heading">
|
160
|
+
<span class="method-name">cleanup_tmp_prj_dir</span><span
|
161
|
+
class="method-args">()</span>
|
162
|
+
<span class="method-click-advice">click to toggle source</span>
|
163
|
+
</div>
|
164
|
+
|
165
|
+
|
166
|
+
<div class="method-description">
|
167
|
+
|
168
|
+
<p>cleanup the subdir</p>
|
169
|
+
|
170
|
+
|
171
|
+
|
172
|
+
<div class="method-source-code" id="cleanup_tmp_prj_dir-source">
|
173
|
+
<pre><span class="ruby-comment"># File spec/spec_helper.rb, line 25</span>
|
174
|
+
<span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">cleanup_tmp_prj_dir</span>
|
175
|
+
<span class="ruby-keyword">begin</span>
|
176
|
+
<span class="ruby-constant">FileUtils</span>.<span class="ruby-identifier">rm_rf</span>(<span class="ruby-ivar">@test_prj_dir</span>)
|
177
|
+
<span class="ruby-constant">FileUtils</span>.<span class="ruby-identifier">rm_rf</span>(<span class="ruby-ivar">@test_tmp</span>)
|
178
|
+
<span class="ruby-keyword">rescue</span>
|
179
|
+
<span class="ruby-identifier">puts</span> <span class="ruby-string">"Could not remove dirs"</span>
|
180
|
+
<span class="ruby-keyword">end</span>
|
181
|
+
<span class="ruby-keyword">end</span></pre>
|
182
|
+
</div><!-- cleanup_tmp_prj_dir-source -->
|
183
|
+
|
184
|
+
</div>
|
185
|
+
|
186
|
+
|
187
|
+
|
188
|
+
|
189
|
+
</div><!-- cleanup_tmp_prj_dir-method -->
|
190
|
+
|
191
|
+
|
192
|
+
<div id="method-c-create_tmp_prj_dir" class="method-detail ">
|
193
|
+
|
194
|
+
<div class="method-heading">
|
195
|
+
<span class="method-name">create_tmp_prj_dir</span><span
|
196
|
+
class="method-args">()</span>
|
197
|
+
<span class="method-click-advice">click to toggle source</span>
|
198
|
+
</div>
|
199
|
+
|
200
|
+
|
201
|
+
<div class="method-description">
|
202
|
+
|
203
|
+
<p>create a tmp subdir and within it fake project directory</p>
|
204
|
+
|
205
|
+
|
206
|
+
|
207
|
+
<div class="method-source-code" id="create_tmp_prj_dir-source">
|
208
|
+
<pre><span class="ruby-comment"># File spec/spec_helper.rb, line 15</span>
|
209
|
+
<span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">create_tmp_prj_dir</span>
|
210
|
+
<span class="ruby-keyword">begin</span>
|
211
|
+
<span class="ruby-constant">Dir</span>.<span class="ruby-identifier">mkdir</span>(<span class="ruby-ivar">@test_tmp</span>)
|
212
|
+
<span class="ruby-constant">Dir</span>.<span class="ruby-identifier">mkdir</span>(<span class="ruby-ivar">@test_prj_dir</span>)
|
213
|
+
<span class="ruby-keyword">rescue</span>
|
214
|
+
<span class="ruby-keyword">end</span>
|
215
|
+
<span class="ruby-ivar">@test_prj_dir</span>
|
216
|
+
<span class="ruby-keyword">end</span></pre>
|
217
|
+
</div><!-- create_tmp_prj_dir-source -->
|
218
|
+
|
219
|
+
</div>
|
220
|
+
|
221
|
+
|
222
|
+
|
223
|
+
|
224
|
+
</div><!-- create_tmp_prj_dir-method -->
|
225
|
+
|
226
|
+
|
227
|
+
</section><!-- public-class-method-details -->
|
228
|
+
|
229
|
+
</section><!-- 5Buntitled-5D -->
|
230
|
+
|
231
|
+
</div><!-- documentation -->
|
232
|
+
|
233
|
+
|
234
|
+
<footer id="validator-badges">
|
235
|
+
<p><a href="http://validator.w3.org/check/referer">[Validate]</a>
|
236
|
+
<p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
|
237
|
+
<p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
|
238
|
+
</footer>
|
239
|
+
|
data/doc/TestOutput.html
ADDED
@@ -0,0 +1,235 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
|
3
|
+
<html>
|
4
|
+
<head>
|
5
|
+
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
|
6
|
+
|
7
|
+
<title>class TestOutput - 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/cunit_parser.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">String
|
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-i-limit_to_rows">#limit_to_rows</a>
|
74
|
+
|
75
|
+
<li><a href="#method-i-limit_to_rows-21">#limit_to_rows!</a>
|
76
|
+
|
77
|
+
</ul>
|
78
|
+
</nav>
|
79
|
+
|
80
|
+
</div>
|
81
|
+
|
82
|
+
<div id="project-metadata">
|
83
|
+
<nav id="fileindex-section" class="section project-section">
|
84
|
+
<h3 class="section-header">Pages</h3>
|
85
|
+
|
86
|
+
<ul>
|
87
|
+
|
88
|
+
<li class="file"><a href="./Gemfile.html">Gemfile</a>
|
89
|
+
|
90
|
+
<li class="file"><a href="./Guardfile.html">Guardfile</a>
|
91
|
+
|
92
|
+
<li class="file"><a href="./Rakefile.html">Rakefile</a>
|
93
|
+
|
94
|
+
<li class="file"><a href="./lib/guard/cunit/templates/Guardfile.html">Guardfile</a>
|
95
|
+
|
96
|
+
</ul>
|
97
|
+
</nav>
|
98
|
+
|
99
|
+
<nav id="classindex-section" class="section project-section">
|
100
|
+
<h3 class="section-header">Class and Module Index</h3>
|
101
|
+
|
102
|
+
<ul class="link-list">
|
103
|
+
|
104
|
+
<li><a href="./Guard.html">Guard</a>
|
105
|
+
|
106
|
+
<li><a href="./Guard.html">Guard</a>
|
107
|
+
|
108
|
+
<li><a href="./Guard/Cunit.html">Guard::Cunit</a>
|
109
|
+
|
110
|
+
<li><a href="./Guard/Cunit/CunitParser.html">Guard::Cunit::CunitParser</a>
|
111
|
+
|
112
|
+
<li><a href="./Guard/Cunit/Runner.html">Guard::Cunit::Runner</a>
|
113
|
+
|
114
|
+
<li><a href="./Guard/CunitGuard.html">Guard::CunitGuard</a>
|
115
|
+
|
116
|
+
<li><a href="./Guard/Dsl.html">Guard::Dsl</a>
|
117
|
+
|
118
|
+
<li><a href="./Object.html">Object</a>
|
119
|
+
|
120
|
+
<li><a href="./TempPrjEnv.html">TempPrjEnv</a>
|
121
|
+
|
122
|
+
<li><a href="./TestOutput.html">TestOutput</a>
|
123
|
+
|
124
|
+
</ul>
|
125
|
+
</nav>
|
126
|
+
|
127
|
+
</div>
|
128
|
+
</nav>
|
129
|
+
|
130
|
+
<div id="documentation">
|
131
|
+
<h1 class="class">class TestOutput</h1>
|
132
|
+
|
133
|
+
<div id="description" class="description">
|
134
|
+
|
135
|
+
</div><!-- description -->
|
136
|
+
|
137
|
+
|
138
|
+
|
139
|
+
|
140
|
+
<section id="5Buntitled-5D" class="documentation-section">
|
141
|
+
|
142
|
+
|
143
|
+
|
144
|
+
|
145
|
+
|
146
|
+
|
147
|
+
|
148
|
+
|
149
|
+
<!-- Methods -->
|
150
|
+
|
151
|
+
<section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
|
152
|
+
<h3 class="section-header">Public Instance Methods</h3>
|
153
|
+
|
154
|
+
|
155
|
+
<div id="method-i-limit_to_rows" class="method-detail ">
|
156
|
+
|
157
|
+
<div class="method-heading">
|
158
|
+
<span class="method-name">limit_to_rows</span><span
|
159
|
+
class="method-args">(number_of_rows)</span>
|
160
|
+
<span class="method-click-advice">click to toggle source</span>
|
161
|
+
</div>
|
162
|
+
|
163
|
+
|
164
|
+
<div class="method-description">
|
165
|
+
|
166
|
+
<p>limit the output to given nr rows</p>
|
167
|
+
|
168
|
+
|
169
|
+
|
170
|
+
<div class="method-source-code" id="limit_to_rows-source">
|
171
|
+
<pre><span class="ruby-comment"># File lib/guard/cunit/cunit_parser.rb, line 3</span>
|
172
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">limit_to_rows</span>(<span class="ruby-identifier">number_of_rows</span>)
|
173
|
+
<span class="ruby-identifier">output</span> = <span class="ruby-constant">TestOutput</span>.<span class="ruby-identifier">new</span>(<span class="ruby-string">""</span>)
|
174
|
+
<span class="ruby-identifier">raws_count</span> = <span class="ruby-value">1</span>;
|
175
|
+
<span class="ruby-keyword">self</span>.<span class="ruby-identifier">lines</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">current_line</span><span class="ruby-operator">|</span>
|
176
|
+
<span class="ruby-identifier">output</span> <span class="ruby-operator">+=</span> <span class="ruby-identifier">current_line</span>
|
177
|
+
<span class="ruby-keyword">break</span> <span class="ruby-keyword">if</span>(<span class="ruby-identifier">raws_count</span> <span class="ruby-operator">==</span> <span class="ruby-identifier">number_of_rows</span>)
|
178
|
+
<span class="ruby-identifier">raws_count</span><span class="ruby-operator">+=</span><span class="ruby-value">1</span>
|
179
|
+
<span class="ruby-keyword">end</span>
|
180
|
+
<span class="ruby-identifier">output</span>=<span class="ruby-identifier">output</span><span class="ruby-operator">+</span><span class="ruby-string">"..."</span> <span class="ruby-keyword">if</span> ( <span class="ruby-identifier">number_of_rows</span> <span class="ruby-operator"><</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">lines</span>.<span class="ruby-identifier">count</span> )
|
181
|
+
<span class="ruby-identifier">output</span>
|
182
|
+
<span class="ruby-keyword">end</span></pre>
|
183
|
+
</div><!-- limit_to_rows-source -->
|
184
|
+
|
185
|
+
</div>
|
186
|
+
|
187
|
+
|
188
|
+
|
189
|
+
|
190
|
+
</div><!-- limit_to_rows-method -->
|
191
|
+
|
192
|
+
|
193
|
+
<div id="method-i-limit_to_rows-21" class="method-detail ">
|
194
|
+
|
195
|
+
<div class="method-heading">
|
196
|
+
<span class="method-name">limit_to_rows!</span><span
|
197
|
+
class="method-args">(number_of_rows)</span>
|
198
|
+
<span class="method-click-advice">click to toggle source</span>
|
199
|
+
</div>
|
200
|
+
|
201
|
+
|
202
|
+
<div class="method-description">
|
203
|
+
|
204
|
+
<p>bang version</p>
|
205
|
+
|
206
|
+
|
207
|
+
|
208
|
+
<div class="method-source-code" id="limit_to_rows-21-source">
|
209
|
+
<pre><span class="ruby-comment"># File lib/guard/cunit/cunit_parser.rb, line 16</span>
|
210
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">limit_to_rows!</span>(<span class="ruby-identifier">number_of_rows</span>)
|
211
|
+
<span class="ruby-keyword">self</span>.<span class="ruby-identifier">replace</span>(<span class="ruby-identifier">limit_to_rows</span>(<span class="ruby-identifier">number_of_rows</span>))
|
212
|
+
<span class="ruby-keyword">end</span></pre>
|
213
|
+
</div><!-- limit_to_rows-21-source -->
|
214
|
+
|
215
|
+
</div>
|
216
|
+
|
217
|
+
|
218
|
+
|
219
|
+
|
220
|
+
</div><!-- limit_to_rows-21-method -->
|
221
|
+
|
222
|
+
|
223
|
+
</section><!-- public-instance-method-details -->
|
224
|
+
|
225
|
+
</section><!-- 5Buntitled-5D -->
|
226
|
+
|
227
|
+
</div><!-- documentation -->
|
228
|
+
|
229
|
+
|
230
|
+
<footer id="validator-badges">
|
231
|
+
<p><a href="http://validator.w3.org/check/referer">[Validate]</a>
|
232
|
+
<p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
|
233
|
+
<p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
|
234
|
+
</footer>
|
235
|
+
|
data/doc/created.rid
ADDED
@@ -0,0 +1,12 @@
|
|
1
|
+
Tue, 06 Nov 2012 20:04:26 +0200
|
2
|
+
./Rakefile Tue, 06 Nov 2012 18:59:27 +0200
|
3
|
+
./spec/guard_cunit_parser_spec.rb Tue, 06 Nov 2012 18:59:27 +0200
|
4
|
+
./spec/spec_helper.rb Tue, 06 Nov 2012 18:59:27 +0200
|
5
|
+
./spec/guard_cunit_spec.rb Tue, 06 Nov 2012 19:45:26 +0200
|
6
|
+
./Guardfile Tue, 06 Nov 2012 18:59:27 +0200
|
7
|
+
./lib/guard/cunit.rb Tue, 06 Nov 2012 18:59:27 +0200
|
8
|
+
./lib/guard/cunit/cunit_parser.rb Tue, 06 Nov 2012 18:59:27 +0200
|
9
|
+
./lib/guard/cunit/templates/Guardfile Tue, 06 Nov 2012 18:59:27 +0200
|
10
|
+
./lib/guard/cunit/runner.rb Tue, 06 Nov 2012 18:59:27 +0200
|
11
|
+
./lib/guard/cunit/version.rb Tue, 06 Nov 2012 18:59:27 +0200
|
12
|
+
./Gemfile Tue, 06 Nov 2012 18:59:27 +0200
|
data/doc/images/add.png
ADDED
Binary file
|
Binary file
|
Binary file
|
data/doc/images/bug.png
ADDED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/doc/images/date.png
ADDED
Binary file
|
Binary file
|
data/doc/images/find.png
ADDED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/doc/images/ruby.png
ADDED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/doc/images/zoom.png
ADDED
Binary file
|
data/doc/index.html
ADDED
@@ -0,0 +1,102 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
|
3
|
+
<html>
|
4
|
+
<head>
|
5
|
+
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
|
6
|
+
|
7
|
+
<title>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>
|
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
|
+
<p>This is the API documentation for RDoc Documentation.
|
95
|
+
|
96
|
+
|
97
|
+
<footer id="validator-badges">
|
98
|
+
<p><a href="http://validator.w3.org/check/referer">[Validate]</a>
|
99
|
+
<p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
|
100
|
+
<p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
|
101
|
+
</footer>
|
102
|
+
|