radiant-ray-extension 3.0.0.alpha
Sign up to get free protection for your applications and to get access to all the features.
- data/LICENSE +19 -0
- data/README.markdown +30 -0
- data/Rakefile +26 -0
- data/bin/ray +5 -0
- data/doc/Extension.html +1189 -0
- data/doc/Ray.html +175 -0
- data/doc/Ray/CLI.html +585 -0
- data/doc/Ray/Cache.html +709 -0
- data/doc/Ray/Gem.html +760 -0
- data/doc/Ray/Git.html +278 -0
- data/doc/Ray/GitHub.html +553 -0
- data/doc/Ray/RubyGems.html +501 -0
- data/doc/Ray/Zip.html +300 -0
- data/doc/Search.html +433 -0
- data/doc/String.html +242 -0
- data/doc/_index.html +84 -0
- data/doc/class_list.html +47 -0
- data/doc/css/common.css +1 -0
- data/doc/css/full_list.css +55 -0
- data/doc/css/style.css +322 -0
- data/doc/file.LICENSE.html +85 -0
- data/doc/file.README.html +97 -0
- data/doc/file_list.html +46 -0
- data/doc/frames.html +13 -0
- data/doc/index.html +84 -0
- data/doc/js/app.js +205 -0
- data/doc/js/full_list.js +167 -0
- data/doc/js/jquery.js +16 -0
- data/doc/method_list.html +46 -0
- data/doc/top-level-namespace.html +105 -0
- data/lib/ray.rb +8 -0
- data/lib/ray/cli.rb +271 -0
- data/lib/ray/constants.rb +17 -0
- data/lib/ray/extension.rb +116 -0
- data/lib/ray/extension/gem.rb +96 -0
- data/lib/ray/extension/git.rb +30 -0
- data/lib/ray/extension/zip.rb +44 -0
- data/lib/ray/search.rb +62 -0
- data/lib/ray/search/cache.rb +61 -0
- data/lib/ray/search/github.rb +40 -0
- data/lib/ray/search/rubygems.rb +36 -0
- data/lib/ray/string.rb +18 -0
- data/ray.gemspec +31 -0
- data/spec/fixtures/Gemfile +4 -0
- data/spec/fixtures/cache_single.yml +8 -0
- data/spec/fixtures/cassettes/github_v2_api_no_matches.yml +38 -0
- data/spec/fixtures/cassettes/github_v2_api_search_no_matches.yml +38 -0
- data/spec/fixtures/cassettes/github_v2_api_search_reorder_children.yml +75 -0
- data/spec/fixtures/cassettes/github_v2_api_search_single.yml +74 -0
- data/spec/fixtures/cassettes/github_v3_api_owner_name.yml +75 -0
- data/spec/fixtures/cassettes/rubygems_v1_api_gem_info.yml +36 -0
- data/spec/fixtures/cassettes/rubygems_v1_api_no_matches.yml +34 -0
- data/spec/fixtures/cassettes/rubygems_v1_api_search_no_matches.yml +34 -0
- data/spec/fixtures/cassettes/rubygems_v1_api_search_reorder.yml +36 -0
- data/spec/fixtures/cassettes/rubygems_v1_api_search_reorder_children.yml +36 -0
- data/spec/fixtures/cassettes/rubygems_v1_api_search_single.yml +41 -0
- data/spec/fixtures/cassettes/zip_file.yml +101 -0
- data/spec/fixtures/dummy.zip +0 -0
- data/spec/fixtures/dummy/README +1 -0
- data/spec/fixtures/dummy/Rakefile +109 -0
- data/spec/fixtures/dummy/config/initializers/radiant_config.rb +3 -0
- data/spec/fixtures/dummy/config/locales/en.yml +3 -0
- data/spec/fixtures/dummy/config/routes.rb +5 -0
- data/spec/fixtures/dummy/dummy_extension.rb +21 -0
- data/spec/fixtures/dummy/lib/radiant-dummy-extension.rb +8 -0
- data/spec/fixtures/dummy/lib/tasks/dummy_extension_tasks.rake +47 -0
- data/spec/fixtures/dummy/public/stylesheets/extensions/dummy/dummy.css +0 -0
- data/spec/fixtures/dummy/radiant-dummy-extension.gemspec +29 -0
- data/spec/ray/cli_spec.rb +56 -0
- data/spec/ray/extension/gem_spec.rb +214 -0
- data/spec/ray/extension/git_spec.rb +216 -0
- data/spec/ray/extension/zip_spec.rb +239 -0
- data/spec/ray/search/cache_spec.rb +74 -0
- data/spec/ray/search/github_spec.rb +137 -0
- data/spec/ray/search/rubygems_spec.rb +127 -0
- data/spec/ray/string_spec.rb +30 -0
- data/spec/spec_helper.rb +27 -0
- metadata +205 -0
@@ -0,0 +1,501 @@
|
|
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: Ray::RubyGems
|
8
|
+
|
9
|
+
— Documentation by YARD 0.7.3
|
10
|
+
|
11
|
+
</title>
|
12
|
+
|
13
|
+
<link rel="stylesheet" href="../css/style.css" type="text/css" media="screen" charset="utf-8" />
|
14
|
+
|
15
|
+
<link rel="stylesheet" href="../css/common.css" type="text/css" media="screen" charset="utf-8" />
|
16
|
+
|
17
|
+
<script type="text/javascript" charset="utf-8">
|
18
|
+
relpath = '..';
|
19
|
+
if (relpath != '') relpath += '/';
|
20
|
+
</script>
|
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
|
+
<script type="text/javascript" charset="utf-8">
|
30
|
+
if (window.top.frames.main) document.body.className = 'frames';
|
31
|
+
</script>
|
32
|
+
|
33
|
+
<div id="header">
|
34
|
+
<div id="menu">
|
35
|
+
|
36
|
+
<a href="../_index.html">Index (R)</a> »
|
37
|
+
<span class='title'><span class='object_link'><a href="../Ray.html" title="Ray (module)">Ray</a></span></span>
|
38
|
+
»
|
39
|
+
<span class="title">RubyGems</span>
|
40
|
+
|
41
|
+
|
42
|
+
<div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
|
43
|
+
</div>
|
44
|
+
|
45
|
+
<div id="search">
|
46
|
+
|
47
|
+
<a id="class_list_link" href="#">Class List</a>
|
48
|
+
|
49
|
+
<a id="method_list_link" href="#">Method List</a>
|
50
|
+
|
51
|
+
<a id="file_list_link" href="#">File List</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: Ray::RubyGems
|
60
|
+
|
61
|
+
|
62
|
+
|
63
|
+
</h1>
|
64
|
+
|
65
|
+
<dl class="box">
|
66
|
+
|
67
|
+
<dt class="r1">Inherits:</dt>
|
68
|
+
<dd class="r1">
|
69
|
+
<span class="inheritName">Object</span>
|
70
|
+
|
71
|
+
<ul class="fullTree">
|
72
|
+
<li>Object</li>
|
73
|
+
|
74
|
+
<li class="next">Ray::RubyGems</li>
|
75
|
+
|
76
|
+
</ul>
|
77
|
+
<a href="#" class="inheritanceTree">show all</a>
|
78
|
+
|
79
|
+
</dd>
|
80
|
+
|
81
|
+
|
82
|
+
|
83
|
+
|
84
|
+
|
85
|
+
|
86
|
+
<dt class="r2">Includes:</dt>
|
87
|
+
<dd class="r2"><span class='object_link'><a href="../Search.html" title="Search (module)">Search</a></span></dd>
|
88
|
+
|
89
|
+
|
90
|
+
|
91
|
+
|
92
|
+
|
93
|
+
<dt class="r1 last">Defined in:</dt>
|
94
|
+
<dd class="r1 last">lib/ray/search/rubygems.rb</dd>
|
95
|
+
|
96
|
+
</dl>
|
97
|
+
<div class="clear"></div>
|
98
|
+
|
99
|
+
|
100
|
+
|
101
|
+
|
102
|
+
|
103
|
+
|
104
|
+
|
105
|
+
<h2>Instance Attribute Summary <small>(<a href="#" class="summary_toggle">collapse</a>)</small></h2>
|
106
|
+
<ul class="summary">
|
107
|
+
|
108
|
+
<li class="public ">
|
109
|
+
<span class="summary_signature">
|
110
|
+
|
111
|
+
<a href="#query-instance_method" title="#query (instance method)">- (Object) <strong>query</strong> </a>
|
112
|
+
|
113
|
+
|
114
|
+
|
115
|
+
</span>
|
116
|
+
|
117
|
+
|
118
|
+
<span class="note title readonly">readonly</span>
|
119
|
+
|
120
|
+
|
121
|
+
|
122
|
+
|
123
|
+
|
124
|
+
|
125
|
+
|
126
|
+
|
127
|
+
<span class="summary_desc"><div class='inline'><p>Returns the value of attribute query.</p>
|
128
|
+
</div></span>
|
129
|
+
|
130
|
+
</li>
|
131
|
+
|
132
|
+
|
133
|
+
<li class="public ">
|
134
|
+
<span class="summary_signature">
|
135
|
+
|
136
|
+
<a href="#results-instance_method" title="#results (instance method)">- (Object) <strong>results</strong> </a>
|
137
|
+
|
138
|
+
|
139
|
+
|
140
|
+
</span>
|
141
|
+
|
142
|
+
|
143
|
+
|
144
|
+
|
145
|
+
|
146
|
+
|
147
|
+
|
148
|
+
|
149
|
+
|
150
|
+
|
151
|
+
|
152
|
+
<span class="summary_desc"><div class='inline'><p>Returns the value of attribute results.</p>
|
153
|
+
</div></span>
|
154
|
+
|
155
|
+
</li>
|
156
|
+
|
157
|
+
|
158
|
+
<li class="public ">
|
159
|
+
<span class="summary_signature">
|
160
|
+
|
161
|
+
<a href="#uri-instance_method" title="#uri (instance method)">- (Object) <strong>uri</strong> </a>
|
162
|
+
|
163
|
+
|
164
|
+
|
165
|
+
</span>
|
166
|
+
|
167
|
+
|
168
|
+
<span class="note title readonly">readonly</span>
|
169
|
+
|
170
|
+
|
171
|
+
|
172
|
+
|
173
|
+
|
174
|
+
|
175
|
+
|
176
|
+
|
177
|
+
<span class="summary_desc"><div class='inline'><p>Returns the value of attribute uri.</p>
|
178
|
+
</div></span>
|
179
|
+
|
180
|
+
</li>
|
181
|
+
|
182
|
+
|
183
|
+
</ul>
|
184
|
+
|
185
|
+
|
186
|
+
|
187
|
+
|
188
|
+
|
189
|
+
|
190
|
+
|
191
|
+
|
192
|
+
<h2>
|
193
|
+
Instance Method Summary
|
194
|
+
<small>(<a href="#" class="summary_toggle">collapse</a>)</small>
|
195
|
+
</h2>
|
196
|
+
|
197
|
+
<ul class="summary">
|
198
|
+
|
199
|
+
<li class="public ">
|
200
|
+
<span class="summary_signature">
|
201
|
+
|
202
|
+
<a href="#initialize-instance_method" title="#initialize (instance method)">- (RubyGems) <strong>initialize</strong>(query) </a>
|
203
|
+
|
204
|
+
|
205
|
+
|
206
|
+
</span>
|
207
|
+
|
208
|
+
<span class="note title constructor">constructor</span>
|
209
|
+
|
210
|
+
|
211
|
+
|
212
|
+
|
213
|
+
|
214
|
+
|
215
|
+
|
216
|
+
|
217
|
+
<span class="summary_desc"><div class='inline'><p>A new instance of RubyGems.</p>
|
218
|
+
</div></span>
|
219
|
+
|
220
|
+
</li>
|
221
|
+
|
222
|
+
|
223
|
+
<li class="public ">
|
224
|
+
<span class="summary_signature">
|
225
|
+
|
226
|
+
<a href="#normalize-instance_method" title="#normalize (instance method)">- (Object) <strong>normalize</strong>(response) </a>
|
227
|
+
|
228
|
+
|
229
|
+
|
230
|
+
</span>
|
231
|
+
|
232
|
+
|
233
|
+
|
234
|
+
|
235
|
+
|
236
|
+
|
237
|
+
|
238
|
+
|
239
|
+
<span class="summary_desc"><div class='inline'>
|
240
|
+
</div></span>
|
241
|
+
|
242
|
+
</li>
|
243
|
+
|
244
|
+
|
245
|
+
</ul>
|
246
|
+
|
247
|
+
|
248
|
+
|
249
|
+
|
250
|
+
|
251
|
+
|
252
|
+
|
253
|
+
|
254
|
+
|
255
|
+
|
256
|
+
<h3 class="inherited">Methods included from <span class='object_link'><a href="../Search.html" title="Search (module)">Search</a></span></h3>
|
257
|
+
<p class="inherited"><span class='object_link'><a href="../Search.html#cache-instance_method" title="Search#cache (method)">#cache</a></span>, <span class='object_link'><a href="../Search.html#merge-instance_method" title="Search#merge (method)">#merge</a></span>, <span class='object_link'><a href="../Search.html#multiple_choice-instance_method" title="Search#multiple_choice (method)">#multiple_choice</a></span>, <span class='object_link'><a href="../Search.html#output-instance_method" title="Search#output (method)">#output</a></span>, <span class='object_link'><a href="../Search.html#search-instance_method" title="Search#search (method)">#search</a></span></p>
|
258
|
+
<div id="constructor_details" class="method_details_list">
|
259
|
+
<h2>Constructor Details</h2>
|
260
|
+
|
261
|
+
<div class="method_details first">
|
262
|
+
<p class="signature first" id="initialize-instance_method">
|
263
|
+
|
264
|
+
- (<tt><span class='object_link'><a href="" title="Ray::RubyGems (class)">RubyGems</a></span></tt>) <strong>initialize</strong>(query)
|
265
|
+
|
266
|
+
|
267
|
+
|
268
|
+
</p><div class="docstring">
|
269
|
+
<div class="discussion">
|
270
|
+
<p>A new instance of RubyGems</p>
|
271
|
+
|
272
|
+
|
273
|
+
</div>
|
274
|
+
</div>
|
275
|
+
<div class="tags">
|
276
|
+
|
277
|
+
|
278
|
+
</div><table class="source_code">
|
279
|
+
<tr>
|
280
|
+
<td>
|
281
|
+
<pre class="lines">
|
282
|
+
|
283
|
+
|
284
|
+
12
|
285
|
+
13
|
286
|
+
14
|
287
|
+
15
|
288
|
+
16</pre>
|
289
|
+
</td>
|
290
|
+
<td>
|
291
|
+
<pre class="code"><span class="info file"># File 'lib/ray/search/rubygems.rb', line 12</span>
|
292
|
+
|
293
|
+
<span class='kw'>def</span> <span class='id initialize'>initialize</span> <span class='id query'>query</span>
|
294
|
+
<span class='ivar'>@query</span> <span class='op'>=</span> <span class='id query'>query</span>
|
295
|
+
<span class='ivar'>@uri</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='embexpr_beg'>#{</span><span class='const'>Ray</span><span class='op'>::</span><span class='const'>RG_V1_API</span><span class='rbrace'>}</span><span class='tstring_content'>/search.json?query=radiant-</span><span class='embexpr_beg'>#{</span><span class='ivar'>@query</span><span class='rbrace'>}</span><span class='tstring_end'>"</span></span>
|
296
|
+
<span class='ivar'>@results</span> <span class='op'>=</span> <span class='id search'>search</span>
|
297
|
+
<span class='kw'>end</span></pre>
|
298
|
+
</td>
|
299
|
+
</tr>
|
300
|
+
</table>
|
301
|
+
</div>
|
302
|
+
|
303
|
+
</div>
|
304
|
+
|
305
|
+
<div id="instance_attr_details" class="attr_details">
|
306
|
+
<h2>Instance Attribute Details</h2>
|
307
|
+
|
308
|
+
|
309
|
+
<span id=""></span>
|
310
|
+
<span id="query-instance_method"></span>
|
311
|
+
<div class="method_details first">
|
312
|
+
<p class="signature first" id="query-instance_method">
|
313
|
+
|
314
|
+
- (<tt>Object</tt>) <strong>query</strong> <span class="extras">(readonly)</span>
|
315
|
+
|
316
|
+
|
317
|
+
|
318
|
+
</p><div class="docstring">
|
319
|
+
<div class="discussion">
|
320
|
+
<p>Returns the value of attribute query</p>
|
321
|
+
|
322
|
+
|
323
|
+
</div>
|
324
|
+
</div>
|
325
|
+
<div class="tags">
|
326
|
+
|
327
|
+
|
328
|
+
</div><table class="source_code">
|
329
|
+
<tr>
|
330
|
+
<td>
|
331
|
+
<pre class="lines">
|
332
|
+
|
333
|
+
|
334
|
+
9
|
335
|
+
10
|
336
|
+
11</pre>
|
337
|
+
</td>
|
338
|
+
<td>
|
339
|
+
<pre class="code"><span class="info file"># File 'lib/ray/search/rubygems.rb', line 9</span>
|
340
|
+
|
341
|
+
<span class='kw'>def</span> <span class='id query'>query</span>
|
342
|
+
<span class='ivar'>@query</span>
|
343
|
+
<span class='kw'>end</span></pre>
|
344
|
+
</td>
|
345
|
+
</tr>
|
346
|
+
</table>
|
347
|
+
</div>
|
348
|
+
|
349
|
+
|
350
|
+
<span id="results=-instance_method"></span>
|
351
|
+
<span id="results-instance_method"></span>
|
352
|
+
<div class="method_details ">
|
353
|
+
<p class="signature " id="results-instance_method">
|
354
|
+
|
355
|
+
- (<tt>Object</tt>) <strong>results</strong>
|
356
|
+
|
357
|
+
|
358
|
+
|
359
|
+
</p><div class="docstring">
|
360
|
+
<div class="discussion">
|
361
|
+
<p>Returns the value of attribute results</p>
|
362
|
+
|
363
|
+
|
364
|
+
</div>
|
365
|
+
</div>
|
366
|
+
<div class="tags">
|
367
|
+
|
368
|
+
|
369
|
+
</div><table class="source_code">
|
370
|
+
<tr>
|
371
|
+
<td>
|
372
|
+
<pre class="lines">
|
373
|
+
|
374
|
+
|
375
|
+
10
|
376
|
+
11
|
377
|
+
12</pre>
|
378
|
+
</td>
|
379
|
+
<td>
|
380
|
+
<pre class="code"><span class="info file"># File 'lib/ray/search/rubygems.rb', line 10</span>
|
381
|
+
|
382
|
+
<span class='kw'>def</span> <span class='id results'>results</span>
|
383
|
+
<span class='ivar'>@results</span>
|
384
|
+
<span class='kw'>end</span></pre>
|
385
|
+
</td>
|
386
|
+
</tr>
|
387
|
+
</table>
|
388
|
+
</div>
|
389
|
+
|
390
|
+
|
391
|
+
<span id=""></span>
|
392
|
+
<span id="uri-instance_method"></span>
|
393
|
+
<div class="method_details ">
|
394
|
+
<p class="signature " id="uri-instance_method">
|
395
|
+
|
396
|
+
- (<tt>Object</tt>) <strong>uri</strong> <span class="extras">(readonly)</span>
|
397
|
+
|
398
|
+
|
399
|
+
|
400
|
+
</p><div class="docstring">
|
401
|
+
<div class="discussion">
|
402
|
+
<p>Returns the value of attribute uri</p>
|
403
|
+
|
404
|
+
|
405
|
+
</div>
|
406
|
+
</div>
|
407
|
+
<div class="tags">
|
408
|
+
|
409
|
+
|
410
|
+
</div><table class="source_code">
|
411
|
+
<tr>
|
412
|
+
<td>
|
413
|
+
<pre class="lines">
|
414
|
+
|
415
|
+
|
416
|
+
9
|
417
|
+
10
|
418
|
+
11</pre>
|
419
|
+
</td>
|
420
|
+
<td>
|
421
|
+
<pre class="code"><span class="info file"># File 'lib/ray/search/rubygems.rb', line 9</span>
|
422
|
+
|
423
|
+
<span class='kw'>def</span> <span class='id uri'>uri</span>
|
424
|
+
<span class='ivar'>@uri</span>
|
425
|
+
<span class='kw'>end</span></pre>
|
426
|
+
</td>
|
427
|
+
</tr>
|
428
|
+
</table>
|
429
|
+
</div>
|
430
|
+
|
431
|
+
</div>
|
432
|
+
|
433
|
+
|
434
|
+
<div id="instance_method_details" class="method_details_list">
|
435
|
+
<h2>Instance Method Details</h2>
|
436
|
+
|
437
|
+
|
438
|
+
<div class="method_details first">
|
439
|
+
<p class="signature first" id="normalize-instance_method">
|
440
|
+
|
441
|
+
- (<tt>Object</tt>) <strong>normalize</strong>(response)
|
442
|
+
|
443
|
+
|
444
|
+
|
445
|
+
</p><table class="source_code">
|
446
|
+
<tr>
|
447
|
+
<td>
|
448
|
+
<pre class="lines">
|
449
|
+
|
450
|
+
|
451
|
+
18
|
452
|
+
19
|
453
|
+
20
|
454
|
+
21
|
455
|
+
22
|
456
|
+
23
|
457
|
+
24
|
458
|
+
25
|
459
|
+
26
|
460
|
+
27
|
461
|
+
28
|
462
|
+
29
|
463
|
+
30
|
464
|
+
31
|
465
|
+
32</pre>
|
466
|
+
</td>
|
467
|
+
<td>
|
468
|
+
<pre class="code"><span class="info file"># File 'lib/ray/search/rubygems.rb', line 18</span>
|
469
|
+
|
470
|
+
<span class='kw'>def</span> <span class='id normalize'>normalize</span> <span class='id response'>response</span>
|
471
|
+
<span class='id response'>response</span> <span class='op'>=</span> <span class='const'>MultiJson</span><span class='period'>.</span><span class='id decode'>decode</span> <span class='id response'>response</span>
|
472
|
+
<span class='id results'>results</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span>
|
473
|
+
<span class='id response'>response</span><span class='period'>.</span><span class='id each'>each</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id extension'>extension</span><span class='op'>|</span>
|
474
|
+
<span class='id results'>results</span><span class='lbracket'>[</span><span class='id extension'>extension</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='period'>.</span><span class='id to_extension_name'>to_extension_name</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='lbrace'>{</span>
|
475
|
+
<span class='symbol'>:author</span> <span class='op'>=></span> <span class='id extension'>extension</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>authors</span><span class='tstring_end'>"</span></span><span class='rbracket'>]</span><span class='comma'>,</span>
|
476
|
+
<span class='symbol'>:description</span> <span class='op'>=></span> <span class='id extension'>extension</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>info</span><span class='tstring_end'>"</span></span><span class='rbracket'>]</span><span class='comma'>,</span>
|
477
|
+
<span class='symbol'>:homepage</span> <span class='op'>=></span> <span class='id extension'>extension</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>homepage_uri</span><span class='tstring_end'>"</span></span><span class='rbracket'>]</span><span class='comma'>,</span>
|
478
|
+
<span class='symbol'>:name</span> <span class='op'>=></span> <span class='id extension'>extension</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='period'>.</span><span class='id to_extension_name'>to_extension_name</span><span class='comma'>,</span>
|
479
|
+
<span class='symbol'>:uri</span> <span class='op'>=></span> <span class='id extension'>extension</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>gem_uri</span><span class='tstring_end'>"</span></span><span class='rbracket'>]</span><span class='comma'>,</span>
|
480
|
+
<span class='symbol'>:version</span> <span class='op'>=></span> <span class='id extension'>extension</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>version</span><span class='tstring_end'>"</span></span><span class='rbracket'>]</span>
|
481
|
+
<span class='rbrace'>}</span>
|
482
|
+
<span class='kw'>end</span>
|
483
|
+
<span class='kw'>return</span> <span class='id results'>results</span>
|
484
|
+
<span class='kw'>end</span></pre>
|
485
|
+
</td>
|
486
|
+
</tr>
|
487
|
+
</table>
|
488
|
+
</div>
|
489
|
+
|
490
|
+
</div>
|
491
|
+
|
492
|
+
</div>
|
493
|
+
|
494
|
+
<div id="footer">
|
495
|
+
Generated on Sun Nov 20 20:26:44 2011 by
|
496
|
+
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
497
|
+
0.7.3 (ruby-1.9.3).
|
498
|
+
</div>
|
499
|
+
|
500
|
+
</body>
|
501
|
+
</html>
|