knife-github 0.0.6 → 0.0.7
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/.gitignore +1 -0
- data/.yardopts +1 -0
- data/LICENSE +201 -201
- data/Rakefile +5 -0
- data/doc/Chef.html +132 -0
- data/doc/Chef/Knife.html +138 -0
- data/doc/Chef/Knife/GithubBase.html +784 -0
- data/doc/Chef/Knife/GithubBaseList.html +316 -0
- data/doc/Chef/Knife/GithubClone.html +341 -0
- data/doc/Chef/Knife/GithubCompare.html +299 -0
- data/doc/Chef/Knife/GithubDeploy.html +1449 -0
- data/doc/Chef/Knife/GithubDiff.html +473 -0
- data/doc/Chef/Knife/GithubList.html +299 -0
- data/doc/KnifeGithubCleanup.html +115 -0
- data/doc/KnifeGithubCleanup/GithubCleanup.html +425 -0
- data/doc/KnifeGithubSearch.html +115 -0
- data/doc/KnifeGithubSearch/GithubSearch.html +325 -0
- data/doc/_index.html +206 -0
- data/doc/class_list.html +54 -0
- data/doc/css/common.css +1 -0
- data/doc/css/full_list.css +57 -0
- data/doc/css/style.css +338 -0
- data/doc/file.README.html +118 -0
- data/doc/file_list.html +56 -0
- data/doc/frames.html +26 -0
- data/doc/index.html +118 -0
- data/doc/js/app.js +214 -0
- data/doc/js/full_list.js +178 -0
- data/doc/js/jquery.js +4 -0
- data/doc/method_list.html +197 -0
- data/doc/top-level-namespace.html +114 -0
- data/lib/chef/knife/github_base.rb +4 -4
- data/lib/chef/knife/github_baselist.rb +6 -3
- data/lib/chef/knife/github_cleanup.rb +1 -1
- data/lib/chef/knife/{github_download.rb → github_clone.rb} +8 -8
- data/lib/chef/knife/github_compare.rb +3 -4
- data/lib/chef/knife/github_deploy.rb +89 -67
- data/lib/chef/knife/github_diff.rb +50 -20
- data/lib/chef/knife/github_list.rb +1 -1
- data/lib/knife-github/version.rb +1 -1
- metadata +32 -3
@@ -0,0 +1,115 @@
|
|
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: KnifeGithubSearch
|
8
|
+
|
9
|
+
— Knife Github utilities
|
10
|
+
|
11
|
+
</title>
|
12
|
+
|
13
|
+
<link rel="stylesheet" href="css/style.css" type="text/css" charset="utf-8" />
|
14
|
+
|
15
|
+
<link rel="stylesheet" href="css/common.css" type="text/css" 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 (K)</a> »
|
35
|
+
|
36
|
+
|
37
|
+
<span class="title">KnifeGithubSearch</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: KnifeGithubSearch
|
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/chef/knife/github_search.rb</dd>
|
83
|
+
|
84
|
+
</dl>
|
85
|
+
<div class="clear"></div>
|
86
|
+
|
87
|
+
<h2>Defined Under Namespace</h2>
|
88
|
+
<p class="children">
|
89
|
+
|
90
|
+
|
91
|
+
|
92
|
+
|
93
|
+
<strong class="classes">Classes:</strong> <span class='object_link'><a href="KnifeGithubSearch/GithubSearch.html" title="KnifeGithubSearch::GithubSearch (class)">GithubSearch</a></span>
|
94
|
+
|
95
|
+
|
96
|
+
</p>
|
97
|
+
|
98
|
+
|
99
|
+
|
100
|
+
|
101
|
+
|
102
|
+
|
103
|
+
|
104
|
+
|
105
|
+
|
106
|
+
</div>
|
107
|
+
|
108
|
+
<div id="footer">
|
109
|
+
Generated on Wed Oct 30 20:03:34 2013 by
|
110
|
+
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
111
|
+
0.8.7.2 (ruby-1.9.3).
|
112
|
+
</div>
|
113
|
+
|
114
|
+
</body>
|
115
|
+
</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: KnifeGithubSearch::GithubSearch
|
8
|
+
|
9
|
+
— Knife Github utilities
|
10
|
+
|
11
|
+
</title>
|
12
|
+
|
13
|
+
<link rel="stylesheet" href="../css/style.css" type="text/css" charset="utf-8" />
|
14
|
+
|
15
|
+
<link rel="stylesheet" href="../css/common.css" type="text/css" 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 (G)</a> »
|
35
|
+
<span class='title'><span class='object_link'><a href="../KnifeGithubSearch.html" title="KnifeGithubSearch (module)">KnifeGithubSearch</a></span></span>
|
36
|
+
»
|
37
|
+
<span class="title">GithubSearch</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: KnifeGithubSearch::GithubSearch
|
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"><span class='object_link'><a href="../Chef/Knife.html" title="Chef::Knife (class)">Chef::Knife</a></span></span>
|
77
|
+
|
78
|
+
<ul class="fullTree">
|
79
|
+
<li>Object</li>
|
80
|
+
|
81
|
+
<li class="next"><span class='object_link'><a href="../Chef/Knife.html" title="Chef::Knife (class)">Chef::Knife</a></span></li>
|
82
|
+
|
83
|
+
<li class="next">KnifeGithubSearch::GithubSearch</li>
|
84
|
+
|
85
|
+
</ul>
|
86
|
+
<a href="#" class="inheritanceTree">show all</a>
|
87
|
+
|
88
|
+
</dd>
|
89
|
+
|
90
|
+
|
91
|
+
|
92
|
+
|
93
|
+
|
94
|
+
|
95
|
+
|
96
|
+
|
97
|
+
|
98
|
+
<dt class="r2 last">Defined in:</dt>
|
99
|
+
<dd class="r2 last">lib/chef/knife/github_search.rb</dd>
|
100
|
+
|
101
|
+
</dl>
|
102
|
+
<div class="clear"></div>
|
103
|
+
|
104
|
+
|
105
|
+
|
106
|
+
|
107
|
+
|
108
|
+
|
109
|
+
|
110
|
+
|
111
|
+
|
112
|
+
<h2>
|
113
|
+
Instance Method Summary
|
114
|
+
<small>(<a href="#" class="summary_toggle">collapse</a>)</small>
|
115
|
+
</h2>
|
116
|
+
|
117
|
+
<ul class="summary">
|
118
|
+
|
119
|
+
<li class="public ">
|
120
|
+
<span class="summary_signature">
|
121
|
+
|
122
|
+
<a href="#github_search_repos-instance_method" title="#github_search_repos (instance method)">- (Object) <strong>github_search_repos</strong>(query, params = {}) </a>
|
123
|
+
|
124
|
+
|
125
|
+
|
126
|
+
</span>
|
127
|
+
|
128
|
+
|
129
|
+
|
130
|
+
|
131
|
+
|
132
|
+
|
133
|
+
|
134
|
+
|
135
|
+
|
136
|
+
<span class="summary_desc"><div class='inline'></div></span>
|
137
|
+
|
138
|
+
</li>
|
139
|
+
|
140
|
+
|
141
|
+
<li class="public ">
|
142
|
+
<span class="summary_signature">
|
143
|
+
|
144
|
+
<a href="#run-instance_method" title="#run (instance method)">- (Object) <strong>run</strong> </a>
|
145
|
+
|
146
|
+
|
147
|
+
|
148
|
+
</span>
|
149
|
+
|
150
|
+
|
151
|
+
|
152
|
+
|
153
|
+
|
154
|
+
|
155
|
+
|
156
|
+
|
157
|
+
|
158
|
+
<span class="summary_desc"><div class='inline'></div></span>
|
159
|
+
|
160
|
+
</li>
|
161
|
+
|
162
|
+
|
163
|
+
</ul>
|
164
|
+
|
165
|
+
|
166
|
+
|
167
|
+
|
168
|
+
|
169
|
+
|
170
|
+
|
171
|
+
|
172
|
+
|
173
|
+
|
174
|
+
<div id="instance_method_details" class="method_details_list">
|
175
|
+
<h2>Instance Method Details</h2>
|
176
|
+
|
177
|
+
|
178
|
+
<div class="method_details first">
|
179
|
+
<h3 class="signature first" id="github_search_repos-instance_method">
|
180
|
+
|
181
|
+
- (<tt>Object</tt>) <strong>github_search_repos</strong>(query, params = {})
|
182
|
+
|
183
|
+
|
184
|
+
|
185
|
+
|
186
|
+
|
187
|
+
</h3><table class="source_code">
|
188
|
+
<tr>
|
189
|
+
<td>
|
190
|
+
<pre class="lines">
|
191
|
+
|
192
|
+
|
193
|
+
74
|
194
|
+
75
|
195
|
+
76
|
196
|
+
77
|
197
|
+
78
|
198
|
+
79
|
199
|
+
80
|
200
|
+
81
|
201
|
+
82
|
202
|
+
83
|
203
|
+
84
|
204
|
+
85</pre>
|
205
|
+
</td>
|
206
|
+
<td>
|
207
|
+
<pre class="code"><span class="info file"># File 'lib/chef/knife/github_search.rb', line 74</span>
|
208
|
+
|
209
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_github_search_repos'>github_search_repos</span><span class='lparen'>(</span><span class='id identifier rubyid_query'>query</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span> <span class='op'>=</span><span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
|
210
|
+
<span class='comment'># once the new search function is available, we can use these params
|
211
|
+
</span> <span class='id identifier rubyid_params'>params</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>q</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_query'>query</span>
|
212
|
+
<span class='id identifier rubyid_params'>params</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>sort</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>stars</span><span class='tstring_end'>'</span></span>
|
213
|
+
<span class='id identifier rubyid_params'>params</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>order</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>desc</span><span class='tstring_end'>'</span></span>
|
214
|
+
<span class='id identifier rubyid_params'>params</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>response</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>json</span><span class='tstring_end'>'</span></span>
|
215
|
+
|
216
|
+
<span class='id identifier rubyid_url'>url</span> <span class='op'>=</span> <span class='ivar'>@github_url</span> <span class='op'>+</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>/api/</span><span class='tstring_end'>"</span></span> <span class='op'>+</span> <span class='ivar'>@github_api_version</span> <span class='op'>+</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>/legacy/repos/search/</span><span class='tstring_end'>"</span></span> <span class='op'>+</span> <span class='id identifier rubyid_query'>query</span>
|
217
|
+
<span class='const'>Chef</span><span class='op'>::</span><span class='const'>Log</span><span class='period'>.</span><span class='id identifier rubyid_debug'>debug</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>URL: </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_url'>url</span><span class='rbrace'>}</span><span class='tstring_end'>"</span></span><span class='rparen'>)</span>
|
218
|
+
|
219
|
+
<span class='id identifier rubyid_send_request'>send_request</span><span class='lparen'>(</span><span class='id identifier rubyid_url'>url</span><span class='rparen'>)</span>
|
220
|
+
<span class='kw'>end</span></pre>
|
221
|
+
</td>
|
222
|
+
</tr>
|
223
|
+
</table>
|
224
|
+
</div>
|
225
|
+
|
226
|
+
<div class="method_details ">
|
227
|
+
<h3 class="signature " id="run-instance_method">
|
228
|
+
|
229
|
+
- (<tt>Object</tt>) <strong>run</strong>
|
230
|
+
|
231
|
+
|
232
|
+
|
233
|
+
|
234
|
+
|
235
|
+
</h3><table class="source_code">
|
236
|
+
<tr>
|
237
|
+
<td>
|
238
|
+
<pre class="lines">
|
239
|
+
|
240
|
+
|
241
|
+
41
|
242
|
+
42
|
243
|
+
43
|
244
|
+
44
|
245
|
+
45
|
246
|
+
46
|
247
|
+
47
|
248
|
+
48
|
249
|
+
49
|
250
|
+
50
|
251
|
+
51
|
252
|
+
52
|
253
|
+
53
|
254
|
+
54
|
255
|
+
55
|
256
|
+
56
|
257
|
+
57
|
258
|
+
58
|
259
|
+
59
|
260
|
+
60
|
261
|
+
61
|
262
|
+
62
|
263
|
+
63
|
264
|
+
64
|
265
|
+
65
|
266
|
+
66
|
267
|
+
67
|
268
|
+
68
|
269
|
+
69
|
270
|
+
70
|
271
|
+
71
|
272
|
+
72</pre>
|
273
|
+
</td>
|
274
|
+
<td>
|
275
|
+
<pre class="code"><span class="info file"># File 'lib/chef/knife/github_search.rb', line 41</span>
|
276
|
+
|
277
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_run'>run</span>
|
278
|
+
|
279
|
+
<span class='comment'># validate base options from base module.
|
280
|
+
</span> <span class='id identifier rubyid_validate_base_options'>validate_base_options</span>
|
281
|
+
|
282
|
+
<span class='comment'># Display information if debug mode is on.
|
283
|
+
</span> <span class='id identifier rubyid_display_debug_info'>display_debug_info</span>
|
284
|
+
|
285
|
+
<span class='comment'># Get the name_args from the command line
|
286
|
+
</span> <span class='id identifier rubyid_query'>query</span> <span class='op'>=</span> <span class='id identifier rubyid_name_args'>name_args</span><span class='period'>.</span><span class='id identifier rubyid_join'>join</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'> </span><span class='tstring_end'>'</span></span><span class='rparen'>)</span>
|
287
|
+
|
288
|
+
<span class='kw'>if</span> <span class='id identifier rubyid_query'>query</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span> <span class='op'>||</span> <span class='id identifier rubyid_query'>query</span><span class='period'>.</span><span class='id identifier rubyid_empty?'>empty?</span>
|
289
|
+
<span class='const'>Chef</span><span class='op'>::</span><span class='const'>Log</span><span class='period'>.</span><span class='id identifier rubyid_error'>error</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>Please specify a search query</span><span class='tstring_end'>"</span></span><span class='rparen'>)</span>
|
290
|
+
<span class='id identifier rubyid_exit'>exit</span> <span class='int'>1</span>
|
291
|
+
<span class='kw'>end</span>
|
292
|
+
|
293
|
+
<span class='id identifier rubyid_result'>result</span> <span class='op'>=</span> <span class='id identifier rubyid_github_search_repos'>github_search_repos</span><span class='lparen'>(</span><span class='id identifier rubyid_query'>query</span><span class='rparen'>)</span>
|
294
|
+
|
295
|
+
<span class='kw'>if</span> <span class='id identifier rubyid_config'>config</span><span class='lbracket'>[</span><span class='symbol'>:link</span><span class='rbracket'>]</span>
|
296
|
+
<span class='id identifier rubyid_columns'>columns</span> <span class='op'>=</span> <span class='lbracket'>[</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>score,Score</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>name,Name</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>url,URL</span><span class='tstring_end'>"</span></span> <span class='rbracket'>]</span>
|
297
|
+
<span class='kw'>else</span>
|
298
|
+
<span class='id identifier rubyid_columns'>columns</span> <span class='op'>=</span> <span class='lbracket'>[</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>score,Score</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>name,Name</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>description,Description</span><span class='tstring_end'>'</span></span> <span class='rbracket'>]</span>
|
299
|
+
<span class='kw'>end</span>
|
300
|
+
|
301
|
+
<span class='kw'>if</span> <span class='id identifier rubyid_result'>result</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>repositories</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span> <span class='op'>||</span> <span class='id identifier rubyid_result'>result</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>repositories</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_empty?'>empty?</span>
|
302
|
+
<span class='const'>Chef</span><span class='op'>::</span><span class='const'>Log</span><span class='period'>.</span><span class='id identifier rubyid_error'>error</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>No results when searching for: </span><span class='tstring_end'>"</span></span> <span class='op'>+</span> <span class='id identifier rubyid_query'>query</span><span class='rparen'>)</span>
|
303
|
+
<span class='kw'>else</span>
|
304
|
+
<span class='id identifier rubyid_items'>items</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='rbracket'>]</span>
|
305
|
+
<span class='id identifier rubyid_result'>result</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>repositories</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_each'>each</span> <span class='lbrace'>{</span> <span class='op'>|</span><span class='id identifier rubyid_n'>n</span><span class='op'>|</span> <span class='id identifier rubyid_items'>items</span> <span class='op'><<</span> <span class='lbracket'>[</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_n'>n</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>name</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span><span class='rbrace'>}</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='id identifier rubyid_n'>n</span> <span class='rbracket'>]</span> <span class='rbrace'>}</span>
|
306
|
+
<span class='id identifier rubyid_display_info'>display_info</span><span class='lparen'>(</span><span class='id identifier rubyid_items'>items</span><span class='comma'>,</span> <span class='id identifier rubyid_columns'>columns</span> <span class='rparen'>)</span>
|
307
|
+
<span class='kw'>end</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 Wed Oct 30 20:03:34 2013 by
|
320
|
+
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
321
|
+
0.8.7.2 (ruby-1.9.3).
|
322
|
+
</div>
|
323
|
+
|
324
|
+
</body>
|
325
|
+
</html>
|
data/doc/_index.html
ADDED
@@ -0,0 +1,206 @@
|
|
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
|
+
Knife Github utilities
|
8
|
+
|
9
|
+
</title>
|
10
|
+
|
11
|
+
<link rel="stylesheet" href="css/style.css" type="text/css" charset="utf-8" />
|
12
|
+
|
13
|
+
<link rel="stylesheet" href="css/common.css" type="text/css" charset="utf-8" />
|
14
|
+
|
15
|
+
<script type="text/javascript" charset="utf-8">
|
16
|
+
hasFrames = window.top.frames.main ? true : false;
|
17
|
+
relpath = '';
|
18
|
+
framesUrl = "frames.html#!" + escape(window.location.href);
|
19
|
+
</script>
|
20
|
+
|
21
|
+
|
22
|
+
<script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
|
23
|
+
|
24
|
+
<script type="text/javascript" charset="utf-8" src="js/app.js"></script>
|
25
|
+
|
26
|
+
|
27
|
+
</head>
|
28
|
+
<body>
|
29
|
+
<div id="header">
|
30
|
+
<div id="menu">
|
31
|
+
|
32
|
+
|
33
|
+
<div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
|
34
|
+
</div>
|
35
|
+
|
36
|
+
<div id="search">
|
37
|
+
|
38
|
+
<a class="full_list_link" id="class_list_link"
|
39
|
+
href="class_list.html">
|
40
|
+
Class List
|
41
|
+
</a>
|
42
|
+
|
43
|
+
<a class="full_list_link" id="method_list_link"
|
44
|
+
href="method_list.html">
|
45
|
+
Method List
|
46
|
+
</a>
|
47
|
+
|
48
|
+
<a class="full_list_link" id="file_list_link"
|
49
|
+
href="file_list.html">
|
50
|
+
File List
|
51
|
+
</a>
|
52
|
+
|
53
|
+
</div>
|
54
|
+
<div class="clear"></div>
|
55
|
+
</div>
|
56
|
+
|
57
|
+
<iframe id="search_frame"></iframe>
|
58
|
+
|
59
|
+
<div id="content"><h1 class="noborder title">Knife Github utilities</h1>
|
60
|
+
<div id="listing">
|
61
|
+
<h1 class="alphaindex">Alphabetic Index</h1>
|
62
|
+
|
63
|
+
<h2>File Listing</h2>
|
64
|
+
<ul id="files" class="index_inline_list">
|
65
|
+
|
66
|
+
|
67
|
+
<li class="r1"><a href="index.html" title="README">README</a></li>
|
68
|
+
|
69
|
+
|
70
|
+
</ul>
|
71
|
+
|
72
|
+
<div class="clear"></div>
|
73
|
+
<h2>Namespace Listing A-Z</h2>
|
74
|
+
|
75
|
+
|
76
|
+
|
77
|
+
|
78
|
+
<table>
|
79
|
+
<tr>
|
80
|
+
<td valign='top' width="33%">
|
81
|
+
|
82
|
+
|
83
|
+
<ul id="alpha_C" class="alpha">
|
84
|
+
<li class="letter">C</li>
|
85
|
+
<ul>
|
86
|
+
|
87
|
+
<li>
|
88
|
+
<span class='object_link'><a href="Chef.html" title="Chef (class)">Chef</a></span>
|
89
|
+
|
90
|
+
</li>
|
91
|
+
|
92
|
+
</ul>
|
93
|
+
</ul>
|
94
|
+
|
95
|
+
|
96
|
+
<ul id="alpha_G" class="alpha">
|
97
|
+
<li class="letter">G</li>
|
98
|
+
<ul>
|
99
|
+
|
100
|
+
<li>
|
101
|
+
<span class='object_link'><a href="Chef/Knife/GithubBase.html" title="Chef::Knife::GithubBase (module)">GithubBase</a></span>
|
102
|
+
|
103
|
+
<small>(Chef::Knife)</small>
|
104
|
+
|
105
|
+
</li>
|
106
|
+
|
107
|
+
<li>
|
108
|
+
<span class='object_link'><a href="Chef/Knife/GithubBaseList.html" title="Chef::Knife::GithubBaseList (module)">GithubBaseList</a></span>
|
109
|
+
|
110
|
+
<small>(Chef::Knife)</small>
|
111
|
+
|
112
|
+
</li>
|
113
|
+
|
114
|
+
<li>
|
115
|
+
<span class='object_link'><a href="KnifeGithubCleanup/GithubCleanup.html" title="KnifeGithubCleanup::GithubCleanup (class)">GithubCleanup</a></span>
|
116
|
+
|
117
|
+
<small>(KnifeGithubCleanup)</small>
|
118
|
+
|
119
|
+
</li>
|
120
|
+
|
121
|
+
<li>
|
122
|
+
<span class='object_link'><a href="Chef/Knife/GithubClone.html" title="Chef::Knife::GithubClone (class)">GithubClone</a></span>
|
123
|
+
|
124
|
+
<small>(Chef::Knife)</small>
|
125
|
+
|
126
|
+
</li>
|
127
|
+
|
128
|
+
<li>
|
129
|
+
<span class='object_link'><a href="Chef/Knife/GithubCompare.html" title="Chef::Knife::GithubCompare (class)">GithubCompare</a></span>
|
130
|
+
|
131
|
+
<small>(Chef::Knife)</small>
|
132
|
+
|
133
|
+
</li>
|
134
|
+
|
135
|
+
<li>
|
136
|
+
<span class='object_link'><a href="Chef/Knife/GithubDeploy.html" title="Chef::Knife::GithubDeploy (class)">GithubDeploy</a></span>
|
137
|
+
|
138
|
+
<small>(Chef::Knife)</small>
|
139
|
+
|
140
|
+
</li>
|
141
|
+
|
142
|
+
<li>
|
143
|
+
<span class='object_link'><a href="Chef/Knife/GithubDiff.html" title="Chef::Knife::GithubDiff (class)">GithubDiff</a></span>
|
144
|
+
|
145
|
+
<small>(Chef::Knife)</small>
|
146
|
+
|
147
|
+
</li>
|
148
|
+
|
149
|
+
<li>
|
150
|
+
<span class='object_link'><a href="Chef/Knife/GithubList.html" title="Chef::Knife::GithubList (class)">GithubList</a></span>
|
151
|
+
|
152
|
+
<small>(Chef::Knife)</small>
|
153
|
+
|
154
|
+
</li>
|
155
|
+
|
156
|
+
<li>
|
157
|
+
<span class='object_link'><a href="KnifeGithubSearch/GithubSearch.html" title="KnifeGithubSearch::GithubSearch (class)">GithubSearch</a></span>
|
158
|
+
|
159
|
+
<small>(KnifeGithubSearch)</small>
|
160
|
+
|
161
|
+
</li>
|
162
|
+
|
163
|
+
</ul>
|
164
|
+
</ul>
|
165
|
+
|
166
|
+
|
167
|
+
<ul id="alpha_K" class="alpha">
|
168
|
+
<li class="letter">K</li>
|
169
|
+
<ul>
|
170
|
+
|
171
|
+
<li>
|
172
|
+
<span class='object_link'><a href="Chef/Knife.html" title="Chef::Knife (class)">Knife</a></span>
|
173
|
+
|
174
|
+
<small>(Chef)</small>
|
175
|
+
|
176
|
+
</li>
|
177
|
+
|
178
|
+
<li>
|
179
|
+
<span class='object_link'><a href="KnifeGithubCleanup.html" title="KnifeGithubCleanup (module)">KnifeGithubCleanup</a></span>
|
180
|
+
|
181
|
+
</li>
|
182
|
+
|
183
|
+
<li>
|
184
|
+
<span class='object_link'><a href="KnifeGithubSearch.html" title="KnifeGithubSearch (module)">KnifeGithubSearch</a></span>
|
185
|
+
|
186
|
+
</li>
|
187
|
+
|
188
|
+
</ul>
|
189
|
+
</ul>
|
190
|
+
|
191
|
+
</td>
|
192
|
+
</tr>
|
193
|
+
</table>
|
194
|
+
|
195
|
+
</div>
|
196
|
+
|
197
|
+
</div>
|
198
|
+
|
199
|
+
<div id="footer">
|
200
|
+
Generated on Wed Oct 30 20:03:34 2013 by
|
201
|
+
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
202
|
+
0.8.7.2 (ruby-1.9.3).
|
203
|
+
</div>
|
204
|
+
|
205
|
+
</body>
|
206
|
+
</html>
|