devdnsd 3.0.4 → 3.0.5
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.
- checksums.yaml +4 -4
- data/README.md +1 -0
- data/doc/DevDNSd/Application.html +122 -122
- data/doc/DevDNSd/ApplicationMethods/Aliases.html +63 -63
- data/doc/DevDNSd/ApplicationMethods/Server.html +46 -46
- data/doc/DevDNSd/ApplicationMethods/System/ClassMethods.html +188 -22
- data/doc/DevDNSd/ApplicationMethods/System.html +60 -60
- data/doc/DevDNSd/ApplicationMethods.html +3 -3
- data/doc/DevDNSd/Configuration.html +3 -3
- data/doc/DevDNSd/Errors/InvalidRule.html +3 -3
- data/doc/DevDNSd/Errors.html +3 -3
- data/doc/DevDNSd/Rule.html +3 -3
- data/doc/DevDNSd/Version.html +4 -4
- data/doc/DevDNSd.html +3 -3
- data/doc/_index.html +4 -4
- data/doc/file.README.html +5 -4
- data/doc/frames.html +5 -7
- data/doc/index.html +5 -4
- data/doc/method_list.html +34 -22
- data/doc/top-level-namespace.html +3 -3
- data/lib/devdnsd/application.rb +18 -3
- data/lib/devdnsd/version.rb +1 -1
- data/spec/devdnsd/application_spec.rb +32 -6
- metadata +2 -2
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Module: DevDNSd::ApplicationMethods::Server
|
8
8
|
|
9
|
-
— Documentation by YARD 0.8.7
|
9
|
+
— Documentation by YARD 0.8.7.2
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -233,25 +233,25 @@
|
|
233
233
|
<pre class="lines">
|
234
234
|
|
235
235
|
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
|
236
|
+
492
|
237
|
+
493
|
238
|
+
494
|
239
|
+
495
|
240
|
+
496
|
241
|
+
497
|
242
|
+
498
|
243
|
+
499
|
244
|
+
500
|
245
|
+
501
|
246
|
+
502
|
247
|
+
503
|
248
|
+
504
|
249
|
+
505
|
250
|
+
506
|
251
|
+
507</pre>
|
252
252
|
</td>
|
253
253
|
<td>
|
254
|
-
<pre class="code"><span class="info file"># File 'lib/devdnsd/application.rb', line
|
254
|
+
<pre class="code"><span class="info file"># File 'lib/devdnsd/application.rb', line 492</span>
|
255
255
|
|
256
256
|
<span class='kw'>def</span> <span class='id identifier rubyid_perform_server'>perform_server</span>
|
257
257
|
<span class='id identifier rubyid_application'>application</span> <span class='op'>=</span> <span class='kw'>self</span>
|
@@ -363,21 +363,21 @@
|
|
363
363
|
<pre class="lines">
|
364
364
|
|
365
365
|
|
366
|
-
|
367
|
-
|
368
|
-
|
369
|
-
|
370
|
-
|
371
|
-
|
372
|
-
|
373
|
-
|
374
|
-
|
375
|
-
|
376
|
-
|
377
|
-
|
366
|
+
515
|
367
|
+
516
|
368
|
+
517
|
369
|
+
518
|
370
|
+
519
|
371
|
+
520
|
372
|
+
521
|
373
|
+
522
|
374
|
+
523
|
375
|
+
524
|
376
|
+
525
|
377
|
+
526</pre>
|
378
378
|
</td>
|
379
379
|
<td>
|
380
|
-
<pre class="code"><span class="info file"># File 'lib/devdnsd/application.rb', line
|
380
|
+
<pre class="code"><span class="info file"># File 'lib/devdnsd/application.rb', line 515</span>
|
381
381
|
|
382
382
|
<span class='kw'>def</span> <span class='id identifier rubyid_process_rule'>process_rule</span><span class='lparen'>(</span><span class='id identifier rubyid_rule'>rule</span><span class='comma'>,</span> <span class='id identifier rubyid_type'>type</span><span class='comma'>,</span> <span class='id identifier rubyid_match_data'>match_data</span><span class='comma'>,</span> <span class='id identifier rubyid_transaction'>transaction</span><span class='rparen'>)</span>
|
383
383
|
<span class='id identifier rubyid_reply'>reply</span><span class='comma'>,</span> <span class='id identifier rubyid_type'>type</span> <span class='op'>=</span> <span class='id identifier rubyid_perform_process_rule'>perform_process_rule</span><span class='lparen'>(</span><span class='id identifier rubyid_rule'>rule</span><span class='comma'>,</span> <span class='id identifier rubyid_type'>type</span><span class='comma'>,</span> <span class='id identifier rubyid_match_data'>match_data</span><span class='comma'>,</span> <span class='id identifier rubyid_transaction'>transaction</span><span class='rparen'>)</span>
|
@@ -470,21 +470,21 @@
|
|
470
470
|
<pre class="lines">
|
471
471
|
|
472
472
|
|
473
|
-
|
474
|
-
|
475
|
-
|
476
|
-
|
477
|
-
|
478
|
-
|
479
|
-
|
480
|
-
|
481
|
-
|
482
|
-
|
483
|
-
|
484
|
-
|
473
|
+
533
|
474
|
+
534
|
475
|
+
535
|
476
|
+
536
|
477
|
+
537
|
478
|
+
538
|
479
|
+
539
|
480
|
+
540
|
481
|
+
541
|
482
|
+
542
|
483
|
+
543
|
484
|
+
544</pre>
|
485
485
|
</td>
|
486
486
|
<td>
|
487
|
-
<pre class="code"><span class="info file"># File 'lib/devdnsd/application.rb', line
|
487
|
+
<pre class="code"><span class="info file"># File 'lib/devdnsd/application.rb', line 533</span>
|
488
488
|
|
489
489
|
<span class='kw'>def</span> <span class='id identifier rubyid_process_rule_in_classes'>process_rule_in_classes</span><span class='lparen'>(</span><span class='id identifier rubyid_rule'>rule</span><span class='comma'>,</span> <span class='id identifier rubyid_match_data'>match_data</span><span class='comma'>,</span> <span class='id identifier rubyid_transaction'>transaction</span><span class='rparen'>)</span>
|
490
490
|
<span class='comment'># Get the subset of handled class that is valid for the rule
|
@@ -508,9 +508,9 @@
|
|
508
508
|
</div>
|
509
509
|
|
510
510
|
<div id="footer">
|
511
|
-
Generated on
|
511
|
+
Generated on Thu Sep 26 10:55:10 2013 by
|
512
512
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
513
|
-
0.8.7 (ruby-2.0.0).
|
513
|
+
0.8.7.2 (ruby-2.0.0).
|
514
514
|
</div>
|
515
515
|
|
516
516
|
</body>
|
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Module: DevDNSd::ApplicationMethods::System::ClassMethods
|
8
8
|
|
9
|
-
— Documentation by YARD 0.8.7
|
9
|
+
— Documentation by YARD 0.8.7.2
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -135,7 +135,7 @@
|
|
135
135
|
<li class="public ">
|
136
136
|
<span class="summary_signature">
|
137
137
|
|
138
|
-
<a href="#
|
138
|
+
<a href="#log_directory-instance_method" title="#log_directory (instance method)">- (String) <strong>log_directory</strong> </a>
|
139
139
|
|
140
140
|
|
141
141
|
|
@@ -149,7 +149,7 @@
|
|
149
149
|
|
150
150
|
|
151
151
|
|
152
|
-
<span class="summary_desc"><div class='inline'><p>Returns the standard location of the
|
152
|
+
<span class="summary_desc"><div class='inline'><p>Returns the standard location of the log file.</p>
|
153
153
|
</div></span>
|
154
154
|
|
155
155
|
</li>
|
@@ -158,7 +158,30 @@
|
|
158
158
|
<li class="public ">
|
159
159
|
<span class="summary_signature">
|
160
160
|
|
161
|
-
<a href="#
|
161
|
+
<a href="#log_file_path-instance_method" title="#log_file_path (instance method)">- (String) <strong>log_file_path</strong> </a>
|
162
|
+
|
163
|
+
|
164
|
+
|
165
|
+
</span>
|
166
|
+
|
167
|
+
|
168
|
+
|
169
|
+
|
170
|
+
|
171
|
+
|
172
|
+
|
173
|
+
|
174
|
+
|
175
|
+
<span class="summary_desc"><div class='inline'><p>Returns the complete path of the log file.</p>
|
176
|
+
</div></span>
|
177
|
+
|
178
|
+
</li>
|
179
|
+
|
180
|
+
|
181
|
+
<li class="public ">
|
182
|
+
<span class="summary_signature">
|
183
|
+
|
184
|
+
<a href="#process_file_path-instance_method" title="#process_file_path (instance method)">- (String) <strong>process_file_path</strong> </a>
|
162
185
|
|
163
186
|
|
164
187
|
|
@@ -175,6 +198,31 @@
|
|
175
198
|
<span class="summary_desc"><div class='inline'><p>Returns the complete path of the PID file.</p>
|
176
199
|
</div></span>
|
177
200
|
|
201
|
+
</li>
|
202
|
+
|
203
|
+
|
204
|
+
<li class="public ">
|
205
|
+
<span class="summary_signature">
|
206
|
+
|
207
|
+
<a href="#working_directory-instance_method" title="#working_directory (instance method)">- (String) <strong>working_directory</strong> </a>
|
208
|
+
|
209
|
+
|
210
|
+
|
211
|
+
(also: #runtime_directory)
|
212
|
+
|
213
|
+
</span>
|
214
|
+
|
215
|
+
|
216
|
+
|
217
|
+
|
218
|
+
|
219
|
+
|
220
|
+
|
221
|
+
|
222
|
+
|
223
|
+
<span class="summary_desc"><div class='inline'><p>Returns the standard location of the PID file.</p>
|
224
|
+
</div></span>
|
225
|
+
|
178
226
|
</li>
|
179
227
|
|
180
228
|
|
@@ -245,9 +293,9 @@
|
|
245
293
|
</div>
|
246
294
|
|
247
295
|
<div class="method_details ">
|
248
|
-
<h3 class="signature " id="
|
296
|
+
<h3 class="signature " id="log_directory-instance_method">
|
249
297
|
|
250
|
-
- (<tt>String</tt>) <strong>
|
298
|
+
- (<tt>String</tt>) <strong>log_directory</strong>
|
251
299
|
|
252
300
|
|
253
301
|
|
@@ -255,7 +303,7 @@
|
|
255
303
|
|
256
304
|
</h3><div class="docstring">
|
257
305
|
<div class="discussion">
|
258
|
-
<p>Returns the standard location of the
|
306
|
+
<p>Returns the standard location of the log file.</p>
|
259
307
|
|
260
308
|
|
261
309
|
</div>
|
@@ -273,7 +321,7 @@
|
|
273
321
|
|
274
322
|
|
275
323
|
—
|
276
|
-
<div class='inline'><p>The standard location of the
|
324
|
+
<div class='inline'><p>The standard location of the log file.</p>
|
277
325
|
</div>
|
278
326
|
|
279
327
|
</li>
|
@@ -286,15 +334,72 @@
|
|
286
334
|
<pre class="lines">
|
287
335
|
|
288
336
|
|
289
|
-
|
290
|
-
|
291
|
-
|
337
|
+
49
|
338
|
+
50
|
339
|
+
51</pre>
|
292
340
|
</td>
|
293
341
|
<td>
|
294
|
-
<pre class="code"><span class="info file"># File 'lib/devdnsd/application.rb', line
|
342
|
+
<pre class="code"><span class="info file"># File 'lib/devdnsd/application.rb', line 49</span>
|
295
343
|
|
296
|
-
<span class='kw'>def</span> <span class='id identifier
|
297
|
-
<span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_dirname'>dirname</span><span class='lparen'>(</span><span class='id identifier rubyid_instance'>instance</span><span class='period'>.</span><span class='id identifier rubyid_config'>config</span><span class='period'>.</span><span class='id identifier
|
344
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_log_directory'>log_directory</span>
|
345
|
+
<span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_dirname'>dirname</span><span class='lparen'>(</span><span class='id identifier rubyid_instance'>instance</span><span class='period'>.</span><span class='id identifier rubyid_config'>config</span><span class='period'>.</span><span class='id identifier rubyid_log_file'>log_file</span><span class='rparen'>)</span>
|
346
|
+
<span class='kw'>end</span></pre>
|
347
|
+
</td>
|
348
|
+
</tr>
|
349
|
+
</table>
|
350
|
+
</div>
|
351
|
+
|
352
|
+
<div class="method_details ">
|
353
|
+
<h3 class="signature " id="log_file_path-instance_method">
|
354
|
+
|
355
|
+
- (<tt>String</tt>) <strong>log_file_path</strong>
|
356
|
+
|
357
|
+
|
358
|
+
|
359
|
+
|
360
|
+
|
361
|
+
</h3><div class="docstring">
|
362
|
+
<div class="discussion">
|
363
|
+
<p>Returns the complete path of the log file.</p>
|
364
|
+
|
365
|
+
|
366
|
+
</div>
|
367
|
+
</div>
|
368
|
+
<div class="tags">
|
369
|
+
|
370
|
+
<p class="tag_title">Returns:</p>
|
371
|
+
<ul class="return">
|
372
|
+
|
373
|
+
<li>
|
374
|
+
|
375
|
+
|
376
|
+
<span class='type'>(<tt>String</tt>)</span>
|
377
|
+
|
378
|
+
|
379
|
+
|
380
|
+
—
|
381
|
+
<div class='inline'><p>The complete path of the log file.</p>
|
382
|
+
</div>
|
383
|
+
|
384
|
+
</li>
|
385
|
+
|
386
|
+
</ul>
|
387
|
+
|
388
|
+
</div><table class="source_code">
|
389
|
+
<tr>
|
390
|
+
<td>
|
391
|
+
<pre class="lines">
|
392
|
+
|
393
|
+
|
394
|
+
42
|
395
|
+
43
|
396
|
+
44</pre>
|
397
|
+
</td>
|
398
|
+
<td>
|
399
|
+
<pre class="code"><span class="info file"># File 'lib/devdnsd/application.rb', line 42</span>
|
400
|
+
|
401
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_log_file_path'>log_file_path</span>
|
402
|
+
<span class='id identifier rubyid_instance'>instance</span><span class='period'>.</span><span class='id identifier rubyid_config'>config</span><span class='period'>.</span><span class='id identifier rubyid_log_file'>log_file</span>
|
298
403
|
<span class='kw'>end</span></pre>
|
299
404
|
</td>
|
300
405
|
</tr>
|
@@ -302,9 +407,9 @@
|
|
302
407
|
</div>
|
303
408
|
|
304
409
|
<div class="method_details ">
|
305
|
-
<h3 class="signature " id="
|
410
|
+
<h3 class="signature " id="process_file_path-instance_method">
|
306
411
|
|
307
|
-
- (<tt>String</tt>) <strong>
|
412
|
+
- (<tt>String</tt>) <strong>process_file_path</strong>
|
308
413
|
|
309
414
|
|
310
415
|
|
@@ -343,19 +448,80 @@
|
|
343
448
|
<pre class="lines">
|
344
449
|
|
345
450
|
|
346
|
-
34
|
347
451
|
35
|
348
|
-
36
|
452
|
+
36
|
453
|
+
37</pre>
|
349
454
|
</td>
|
350
455
|
<td>
|
351
|
-
<pre class="code"><span class="info file"># File 'lib/devdnsd/application.rb', line
|
456
|
+
<pre class="code"><span class="info file"># File 'lib/devdnsd/application.rb', line 35</span>
|
352
457
|
|
353
|
-
<span class='kw'>def</span> <span class='id identifier
|
458
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_process_file_path'>process_file_path</span>
|
354
459
|
<span class='id identifier rubyid_instance'>instance</span><span class='period'>.</span><span class='id identifier rubyid_config'>config</span><span class='period'>.</span><span class='id identifier rubyid_pid_file'>pid_file</span>
|
355
460
|
<span class='kw'>end</span></pre>
|
356
461
|
</td>
|
357
462
|
</tr>
|
358
463
|
</table>
|
464
|
+
</div>
|
465
|
+
|
466
|
+
<div class="method_details ">
|
467
|
+
<h3 class="signature " id="working_directory-instance_method">
|
468
|
+
|
469
|
+
- (<tt>String</tt>) <strong>working_directory</strong>
|
470
|
+
|
471
|
+
|
472
|
+
|
473
|
+
<span class="aliases">Also known as:
|
474
|
+
<span class="names"><span id='runtime_directory-instance_method'>runtime_directory</span></span>
|
475
|
+
</span>
|
476
|
+
|
477
|
+
|
478
|
+
|
479
|
+
</h3><div class="docstring">
|
480
|
+
<div class="discussion">
|
481
|
+
<p>Returns the standard location of the PID file.</p>
|
482
|
+
|
483
|
+
|
484
|
+
</div>
|
485
|
+
</div>
|
486
|
+
<div class="tags">
|
487
|
+
|
488
|
+
<p class="tag_title">Returns:</p>
|
489
|
+
<ul class="return">
|
490
|
+
|
491
|
+
<li>
|
492
|
+
|
493
|
+
|
494
|
+
<span class='type'>(<tt>String</tt>)</span>
|
495
|
+
|
496
|
+
|
497
|
+
|
498
|
+
—
|
499
|
+
<div class='inline'><p>The standard location of the PID file.</p>
|
500
|
+
</div>
|
501
|
+
|
502
|
+
</li>
|
503
|
+
|
504
|
+
</ul>
|
505
|
+
|
506
|
+
</div><table class="source_code">
|
507
|
+
<tr>
|
508
|
+
<td>
|
509
|
+
<pre class="lines">
|
510
|
+
|
511
|
+
|
512
|
+
27
|
513
|
+
28
|
514
|
+
29</pre>
|
515
|
+
</td>
|
516
|
+
<td>
|
517
|
+
<pre class="code"><span class="info file"># File 'lib/devdnsd/application.rb', line 27</span>
|
518
|
+
|
519
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_working_directory'>working_directory</span>
|
520
|
+
<span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_dirname'>dirname</span><span class='lparen'>(</span><span class='id identifier rubyid_instance'>instance</span><span class='period'>.</span><span class='id identifier rubyid_config'>config</span><span class='period'>.</span><span class='id identifier rubyid_pid_file'>pid_file</span><span class='rparen'>)</span>
|
521
|
+
<span class='kw'>end</span></pre>
|
522
|
+
</td>
|
523
|
+
</tr>
|
524
|
+
</table>
|
359
525
|
</div>
|
360
526
|
|
361
527
|
</div>
|
@@ -363,9 +529,9 @@
|
|
363
529
|
</div>
|
364
530
|
|
365
531
|
<div id="footer">
|
366
|
-
Generated on
|
532
|
+
Generated on Thu Sep 26 10:55:09 2013 by
|
367
533
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
368
|
-
0.8.7 (ruby-2.0.0).
|
534
|
+
0.8.7.2 (ruby-2.0.0).
|
369
535
|
</div>
|
370
536
|
|
371
537
|
</body>
|