devdnsd 2.0.0 → 2.1.0
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/Gemfile +2 -2
- data/README.md +4 -3
- data/bin/devdnsd +1 -1
- data/devdnsd.gemspec +1 -1
- data/doc/DevDNSd/Application.html +61 -61
- data/doc/DevDNSd/ApplicationMethods/Server.html +19 -19
- data/doc/DevDNSd/ApplicationMethods/System/ClassMethods.html +3 -3
- data/doc/DevDNSd/ApplicationMethods/System.html +7 -7
- data/doc/DevDNSd/ApplicationMethods.html +3 -3
- data/doc/DevDNSd/Configuration.html +4 -4
- 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/css/style.css +10 -0
- data/doc/file.README.html +7 -6
- data/doc/frames.html +1 -1
- data/doc/index.html +7 -6
- data/doc/top-level-namespace.html +3 -3
- data/lib/devdnsd/application.rb +39 -42
- data/lib/devdnsd/configuration.rb +1 -1
- data/lib/devdnsd/version.rb +1 -1
- metadata +5 -5
data/Gemfile
CHANGED
|
@@ -9,13 +9,13 @@ source "http://rubygems.org"
|
|
|
9
9
|
gemspec
|
|
10
10
|
|
|
11
11
|
# Testing
|
|
12
|
-
gem "rspec", "~> 2.
|
|
12
|
+
gem "rspec", "~> 2.13.0"
|
|
13
13
|
gem "rake", "~> 10.0.3"
|
|
14
14
|
gem "net-dns", "~> 0.7.1"
|
|
15
15
|
|
|
16
16
|
# Documentation
|
|
17
17
|
gem "simplecov", ">= 0.7.1"
|
|
18
18
|
gem "pry", ">= 0"
|
|
19
|
-
gem "yard", ">= 0.8.
|
|
19
|
+
gem "yard", ">= 0.8.5"
|
|
20
20
|
gem "kramdown", ">= 0.14.2"
|
|
21
21
|
gem "github-markup", ">= 0.7.5"
|
data/README.md
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
# devdnsd
|
|
2
2
|
|
|
3
|
-
[](http://badge.fury.io/rb/devdnsd)
|
|
4
4
|
[](https://gemnasium.com/ShogunPanda/devdnsd)
|
|
5
|
-
[](http://travis-ci.org/ShogunPanda/devdnsd)
|
|
6
|
+
[](https://codeclimate.com/github/ShogunPanda/devdnsd)
|
|
6
7
|
|
|
7
8
|
A small DNS server to enable local .dev domain resolution.
|
|
8
9
|
|
|
@@ -14,7 +15,7 @@ http://rdoc.info/gems/devdnsd
|
|
|
14
15
|
|
|
15
16
|
DevDNSd is a small DNS server which add a resolver to the system only for single TLD (by default, **.dev**). This way you can access your local application by typing every kind of url, i.e. *locallapp.dev*.
|
|
16
17
|
|
|
17
|
-
Of course, DevDNSd is inspired by [pow](https://github.com/37signals/pow), but it only provides DNS
|
|
18
|
+
Of course, DevDNSd is inspired by [pow](https://github.com/37signals/pow), but it only provides DNS features, delegating the setup of a web-server to the user.
|
|
18
19
|
|
|
19
20
|
## Basic usage
|
|
20
21
|
|
data/bin/devdnsd
CHANGED
data/devdnsd.gemspec
CHANGED
|
@@ -23,7 +23,7 @@ Gem::Specification.new do |gem|
|
|
|
23
23
|
|
|
24
24
|
gem.required_ruby_version = ">= 1.9.3"
|
|
25
25
|
|
|
26
|
-
gem.add_dependency("mamertes", "~> 2.0
|
|
26
|
+
gem.add_dependency("mamertes", "~> 2.1.0")
|
|
27
27
|
gem.add_dependency("rubydns", "~> 0.5.4")
|
|
28
28
|
gem.add_dependency("rexec", "~> 1.5.1")
|
|
29
29
|
end
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<title>
|
|
7
7
|
Class: DevDNSd::Application
|
|
8
8
|
|
|
9
|
-
— Documentation by YARD 0.8.
|
|
9
|
+
— Documentation by YARD 0.8.5.2
|
|
10
10
|
|
|
11
11
|
</title>
|
|
12
12
|
|
|
@@ -567,6 +567,9 @@
|
|
|
567
567
|
<pre class="lines">
|
|
568
568
|
|
|
569
569
|
|
|
570
|
+
392
|
|
571
|
+
393
|
|
572
|
+
394
|
|
570
573
|
395
|
|
571
574
|
396
|
|
572
575
|
397
|
|
@@ -580,13 +583,10 @@
|
|
|
580
583
|
405
|
|
581
584
|
406
|
|
582
585
|
407
|
|
583
|
-
408
|
|
584
|
-
409
|
|
585
|
-
410
|
|
586
|
-
411</pre>
|
|
586
|
+
408</pre>
|
|
587
587
|
</td>
|
|
588
588
|
<td>
|
|
589
|
-
<pre class="code"><span class="info file"># File 'lib/devdnsd/application.rb', line
|
|
589
|
+
<pre class="code"><span class="info file"># File 'lib/devdnsd/application.rb', line 392</span>
|
|
590
590
|
|
|
591
591
|
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_command'>command</span><span class='comma'>,</span> <span class='id identifier rubyid_locale'>locale</span><span class='rparen'>)</span>
|
|
592
592
|
<span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_i18n_setup'>i18n_setup</span><span class='lparen'>(</span><span class='symbol'>:devdnsd</span><span class='comma'>,</span> <span class='op'>::</span><span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_absolute_path'>absolute_path</span><span class='lparen'>(</span><span class='op'>::</span><span class='const'>Pathname</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='op'>::</span><span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_dirname'>dirname</span><span class='lparen'>(</span><span class='kw'>__FILE__</span><span class='rparen'>)</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_to_s'>to_s</span> <span class='op'>+</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>/../../locales/</span><span class='tstring_end'>"</span></span><span class='rparen'>)</span><span class='rparen'>)</span>
|
|
@@ -594,7 +594,7 @@
|
|
|
594
594
|
|
|
595
595
|
<span class='ivar'>@locale</span> <span class='op'>=</span> <span class='id identifier rubyid_locale'>locale</span>
|
|
596
596
|
<span class='ivar'>@command</span> <span class='op'>=</span> <span class='id identifier rubyid_command'>command</span>
|
|
597
|
-
<span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='ivar'>@command</span><span class='period'>.</span><span class='id identifier rubyid_application'>application</span><span class='period'>.</span><span class='id identifier rubyid_get_options'>get_options</span><span class='period'>.</span><span class='id identifier rubyid_reject'>reject</span> <span class='lbrace'>{</span><span class='op'>|</span><span class='id identifier
|
|
597
|
+
<span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='ivar'>@command</span><span class='period'>.</span><span class='id identifier rubyid_application'>application</span><span class='period'>.</span><span class='id identifier rubyid_get_options'>get_options</span><span class='period'>.</span><span class='id identifier rubyid_reject'>reject</span> <span class='lbrace'>{</span><span class='op'>|</span><span class='id identifier rubyid__'>_</span><span class='comma'>,</span> <span class='id identifier rubyid_v'>v</span><span class='op'>|</span> <span class='id identifier rubyid_v'>v</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span> <span class='rbrace'>}</span>
|
|
598
598
|
|
|
599
599
|
<span class='comment'># Setup logger
|
|
600
600
|
</span> <span class='const'>Bovem</span><span class='op'>::</span><span class='const'>Logger</span><span class='period'>.</span><span class='id identifier rubyid_start_time'>start_time</span> <span class='op'>=</span> <span class='const'>Time</span><span class='period'>.</span><span class='id identifier rubyid_now'>now</span>
|
|
@@ -659,6 +659,9 @@
|
|
|
659
659
|
<pre class="lines">
|
|
660
660
|
|
|
661
661
|
|
|
662
|
+
372
|
|
663
|
+
373
|
|
664
|
+
374
|
|
662
665
|
375
|
|
663
666
|
376
|
|
664
667
|
377
|
|
@@ -759,13 +762,10 @@
|
|
|
759
762
|
472
|
|
760
763
|
473
|
|
761
764
|
474
|
|
762
|
-
475
|
|
763
|
-
476
|
|
764
|
-
477
|
|
765
|
-
478</pre>
|
|
765
|
+
475</pre>
|
|
766
766
|
</td>
|
|
767
767
|
<td>
|
|
768
|
-
<pre class="code"><span class="info file"># File 'lib/devdnsd/application.rb', line
|
|
768
|
+
<pre class="code"><span class="info file"># File 'lib/devdnsd/application.rb', line 372</span>
|
|
769
769
|
|
|
770
770
|
<span class='kw'>class</span> <span class='const'>Application</span> <span class='op'><</span> <span class='const'>RExec</span><span class='op'>::</span><span class='const'>Daemon</span><span class='op'>::</span><span class='const'>Base</span>
|
|
771
771
|
<span class='comment'># Class for ANY DNS request.
|
|
@@ -793,7 +793,7 @@
|
|
|
793
793
|
|
|
794
794
|
<span class='ivar'>@locale</span> <span class='op'>=</span> <span class='id identifier rubyid_locale'>locale</span>
|
|
795
795
|
<span class='ivar'>@command</span> <span class='op'>=</span> <span class='id identifier rubyid_command'>command</span>
|
|
796
|
-
<span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='ivar'>@command</span><span class='period'>.</span><span class='id identifier rubyid_application'>application</span><span class='period'>.</span><span class='id identifier rubyid_get_options'>get_options</span><span class='period'>.</span><span class='id identifier rubyid_reject'>reject</span> <span class='lbrace'>{</span><span class='op'>|</span><span class='id identifier
|
|
796
|
+
<span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='ivar'>@command</span><span class='period'>.</span><span class='id identifier rubyid_application'>application</span><span class='period'>.</span><span class='id identifier rubyid_get_options'>get_options</span><span class='period'>.</span><span class='id identifier rubyid_reject'>reject</span> <span class='lbrace'>{</span><span class='op'>|</span><span class='id identifier rubyid__'>_</span><span class='comma'>,</span> <span class='id identifier rubyid_v'>v</span><span class='op'>|</span> <span class='id identifier rubyid_v'>v</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span> <span class='rbrace'>}</span>
|
|
797
797
|
|
|
798
798
|
<span class='comment'># Setup logger
|
|
799
799
|
</span> <span class='const'>Bovem</span><span class='op'>::</span><span class='const'>Logger</span><span class='period'>.</span><span class='id identifier rubyid_start_time'>start_time</span> <span class='op'>=</span> <span class='const'>Time</span><span class='period'>.</span><span class='id identifier rubyid_now'>now</span>
|
|
@@ -920,6 +920,9 @@
|
|
|
920
920
|
<pre class="lines">
|
|
921
921
|
|
|
922
922
|
|
|
923
|
+
372
|
|
924
|
+
373
|
|
925
|
+
374
|
|
923
926
|
375
|
|
924
927
|
376
|
|
925
928
|
377
|
|
@@ -1020,13 +1023,10 @@
|
|
|
1020
1023
|
472
|
|
1021
1024
|
473
|
|
1022
1025
|
474
|
|
1023
|
-
475
|
|
1024
|
-
476
|
|
1025
|
-
477
|
|
1026
|
-
478</pre>
|
|
1026
|
+
475</pre>
|
|
1027
1027
|
</td>
|
|
1028
1028
|
<td>
|
|
1029
|
-
<pre class="code"><span class="info file"># File 'lib/devdnsd/application.rb', line
|
|
1029
|
+
<pre class="code"><span class="info file"># File 'lib/devdnsd/application.rb', line 372</span>
|
|
1030
1030
|
|
|
1031
1031
|
<span class='kw'>class</span> <span class='const'>Application</span> <span class='op'><</span> <span class='const'>RExec</span><span class='op'>::</span><span class='const'>Daemon</span><span class='op'>::</span><span class='const'>Base</span>
|
|
1032
1032
|
<span class='comment'># Class for ANY DNS request.
|
|
@@ -1054,7 +1054,7 @@
|
|
|
1054
1054
|
|
|
1055
1055
|
<span class='ivar'>@locale</span> <span class='op'>=</span> <span class='id identifier rubyid_locale'>locale</span>
|
|
1056
1056
|
<span class='ivar'>@command</span> <span class='op'>=</span> <span class='id identifier rubyid_command'>command</span>
|
|
1057
|
-
<span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='ivar'>@command</span><span class='period'>.</span><span class='id identifier rubyid_application'>application</span><span class='period'>.</span><span class='id identifier rubyid_get_options'>get_options</span><span class='period'>.</span><span class='id identifier rubyid_reject'>reject</span> <span class='lbrace'>{</span><span class='op'>|</span><span class='id identifier
|
|
1057
|
+
<span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='ivar'>@command</span><span class='period'>.</span><span class='id identifier rubyid_application'>application</span><span class='period'>.</span><span class='id identifier rubyid_get_options'>get_options</span><span class='period'>.</span><span class='id identifier rubyid_reject'>reject</span> <span class='lbrace'>{</span><span class='op'>|</span><span class='id identifier rubyid__'>_</span><span class='comma'>,</span> <span class='id identifier rubyid_v'>v</span><span class='op'>|</span> <span class='id identifier rubyid_v'>v</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span> <span class='rbrace'>}</span>
|
|
1058
1058
|
|
|
1059
1059
|
<span class='comment'># Setup logger
|
|
1060
1060
|
</span> <span class='const'>Bovem</span><span class='op'>::</span><span class='const'>Logger</span><span class='period'>.</span><span class='id identifier rubyid_start_time'>start_time</span> <span class='op'>=</span> <span class='const'>Time</span><span class='period'>.</span><span class='id identifier rubyid_now'>now</span>
|
|
@@ -1181,6 +1181,9 @@
|
|
|
1181
1181
|
<pre class="lines">
|
|
1182
1182
|
|
|
1183
1183
|
|
|
1184
|
+
372
|
|
1185
|
+
373
|
|
1186
|
+
374
|
|
1184
1187
|
375
|
|
1185
1188
|
376
|
|
1186
1189
|
377
|
|
@@ -1281,13 +1284,10 @@
|
|
|
1281
1284
|
472
|
|
1282
1285
|
473
|
|
1283
1286
|
474
|
|
1284
|
-
475
|
|
1285
|
-
476
|
|
1286
|
-
477
|
|
1287
|
-
478</pre>
|
|
1287
|
+
475</pre>
|
|
1288
1288
|
</td>
|
|
1289
1289
|
<td>
|
|
1290
|
-
<pre class="code"><span class="info file"># File 'lib/devdnsd/application.rb', line
|
|
1290
|
+
<pre class="code"><span class="info file"># File 'lib/devdnsd/application.rb', line 372</span>
|
|
1291
1291
|
|
|
1292
1292
|
<span class='kw'>class</span> <span class='const'>Application</span> <span class='op'><</span> <span class='const'>RExec</span><span class='op'>::</span><span class='const'>Daemon</span><span class='op'>::</span><span class='const'>Base</span>
|
|
1293
1293
|
<span class='comment'># Class for ANY DNS request.
|
|
@@ -1315,7 +1315,7 @@
|
|
|
1315
1315
|
|
|
1316
1316
|
<span class='ivar'>@locale</span> <span class='op'>=</span> <span class='id identifier rubyid_locale'>locale</span>
|
|
1317
1317
|
<span class='ivar'>@command</span> <span class='op'>=</span> <span class='id identifier rubyid_command'>command</span>
|
|
1318
|
-
<span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='ivar'>@command</span><span class='period'>.</span><span class='id identifier rubyid_application'>application</span><span class='period'>.</span><span class='id identifier rubyid_get_options'>get_options</span><span class='period'>.</span><span class='id identifier rubyid_reject'>reject</span> <span class='lbrace'>{</span><span class='op'>|</span><span class='id identifier
|
|
1318
|
+
<span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='ivar'>@command</span><span class='period'>.</span><span class='id identifier rubyid_application'>application</span><span class='period'>.</span><span class='id identifier rubyid_get_options'>get_options</span><span class='period'>.</span><span class='id identifier rubyid_reject'>reject</span> <span class='lbrace'>{</span><span class='op'>|</span><span class='id identifier rubyid__'>_</span><span class='comma'>,</span> <span class='id identifier rubyid_v'>v</span><span class='op'>|</span> <span class='id identifier rubyid_v'>v</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span> <span class='rbrace'>}</span>
|
|
1319
1319
|
|
|
1320
1320
|
<span class='comment'># Setup logger
|
|
1321
1321
|
</span> <span class='const'>Bovem</span><span class='op'>::</span><span class='const'>Logger</span><span class='period'>.</span><span class='id identifier rubyid_start_time'>start_time</span> <span class='op'>=</span> <span class='const'>Time</span><span class='period'>.</span><span class='id identifier rubyid_now'>now</span>
|
|
@@ -1442,6 +1442,9 @@
|
|
|
1442
1442
|
<pre class="lines">
|
|
1443
1443
|
|
|
1444
1444
|
|
|
1445
|
+
372
|
|
1446
|
+
373
|
|
1447
|
+
374
|
|
1445
1448
|
375
|
|
1446
1449
|
376
|
|
1447
1450
|
377
|
|
@@ -1542,13 +1545,10 @@
|
|
|
1542
1545
|
472
|
|
1543
1546
|
473
|
|
1544
1547
|
474
|
|
1545
|
-
475
|
|
1546
|
-
476
|
|
1547
|
-
477
|
|
1548
|
-
478</pre>
|
|
1548
|
+
475</pre>
|
|
1549
1549
|
</td>
|
|
1550
1550
|
<td>
|
|
1551
|
-
<pre class="code"><span class="info file"># File 'lib/devdnsd/application.rb', line
|
|
1551
|
+
<pre class="code"><span class="info file"># File 'lib/devdnsd/application.rb', line 372</span>
|
|
1552
1552
|
|
|
1553
1553
|
<span class='kw'>class</span> <span class='const'>Application</span> <span class='op'><</span> <span class='const'>RExec</span><span class='op'>::</span><span class='const'>Daemon</span><span class='op'>::</span><span class='const'>Base</span>
|
|
1554
1554
|
<span class='comment'># Class for ANY DNS request.
|
|
@@ -1576,7 +1576,7 @@
|
|
|
1576
1576
|
|
|
1577
1577
|
<span class='ivar'>@locale</span> <span class='op'>=</span> <span class='id identifier rubyid_locale'>locale</span>
|
|
1578
1578
|
<span class='ivar'>@command</span> <span class='op'>=</span> <span class='id identifier rubyid_command'>command</span>
|
|
1579
|
-
<span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='ivar'>@command</span><span class='period'>.</span><span class='id identifier rubyid_application'>application</span><span class='period'>.</span><span class='id identifier rubyid_get_options'>get_options</span><span class='period'>.</span><span class='id identifier rubyid_reject'>reject</span> <span class='lbrace'>{</span><span class='op'>|</span><span class='id identifier
|
|
1579
|
+
<span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='ivar'>@command</span><span class='period'>.</span><span class='id identifier rubyid_application'>application</span><span class='period'>.</span><span class='id identifier rubyid_get_options'>get_options</span><span class='period'>.</span><span class='id identifier rubyid_reject'>reject</span> <span class='lbrace'>{</span><span class='op'>|</span><span class='id identifier rubyid__'>_</span><span class='comma'>,</span> <span class='id identifier rubyid_v'>v</span><span class='op'>|</span> <span class='id identifier rubyid_v'>v</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span> <span class='rbrace'>}</span>
|
|
1580
1580
|
|
|
1581
1581
|
<span class='comment'># Setup logger
|
|
1582
1582
|
</span> <span class='const'>Bovem</span><span class='op'>::</span><span class='const'>Logger</span><span class='period'>.</span><span class='id identifier rubyid_start_time'>start_time</span> <span class='op'>=</span> <span class='const'>Time</span><span class='period'>.</span><span class='id identifier rubyid_now'>now</span>
|
|
@@ -1691,15 +1691,15 @@
|
|
|
1691
1691
|
<pre class="lines">
|
|
1692
1692
|
|
|
1693
1693
|
|
|
1694
|
+
454
|
|
1695
|
+
455
|
|
1696
|
+
456
|
|
1694
1697
|
457
|
|
1695
1698
|
458
|
|
1696
|
-
459
|
|
1697
|
-
460
|
|
1698
|
-
461
|
|
1699
|
-
462</pre>
|
|
1699
|
+
459</pre>
|
|
1700
1700
|
</td>
|
|
1701
1701
|
<td>
|
|
1702
|
-
<pre class="code"><span class="info file"># File 'lib/devdnsd/application.rb', line
|
|
1702
|
+
<pre class="code"><span class="info file"># File 'lib/devdnsd/application.rb', line 454</span>
|
|
1703
1703
|
|
|
1704
1704
|
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_check_ruby_implementation'>check_ruby_implementation</span>
|
|
1705
1705
|
<span class='kw'>if</span> <span class='kw'>defined?</span><span class='lparen'>(</span><span class='const'>Rubinius</span><span class='rparen'>)</span> <span class='op'>||</span> <span class='kw'>defined?</span><span class='lparen'>(</span><span class='const'>JRuby</span><span class='rparen'>)</span> <span class='kw'>then</span>
|
|
@@ -1809,14 +1809,14 @@
|
|
|
1809
1809
|
<pre class="lines">
|
|
1810
1810
|
|
|
1811
1811
|
|
|
1812
|
+
435
|
|
1813
|
+
436
|
|
1814
|
+
437
|
|
1812
1815
|
438
|
|
1813
|
-
439
|
|
1814
|
-
440
|
|
1815
|
-
441
|
|
1816
|
-
442</pre>
|
|
1816
|
+
439</pre>
|
|
1817
1817
|
</td>
|
|
1818
1818
|
<td>
|
|
1819
|
-
<pre class="code"><span class="info file"># File 'lib/devdnsd/application.rb', line
|
|
1819
|
+
<pre class="code"><span class="info file"># File 'lib/devdnsd/application.rb', line 435</span>
|
|
1820
1820
|
|
|
1821
1821
|
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_instance'>instance</span><span class='lparen'>(</span><span class='id identifier rubyid_command'>command</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='id identifier rubyid_locale'>locale</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='id identifier rubyid_force'>force</span> <span class='op'>=</span> <span class='kw'>false</span><span class='rparen'>)</span>
|
|
1822
1822
|
<span class='ivar'>@instance</span> <span class='op'>=</span> <span class='kw'>nil</span> <span class='kw'>if</span> <span class='id identifier rubyid_force'>force</span>
|
|
@@ -1853,12 +1853,12 @@
|
|
|
1853
1853
|
<pre class="lines">
|
|
1854
1854
|
|
|
1855
1855
|
|
|
1856
|
-
|
|
1857
|
-
|
|
1858
|
-
|
|
1856
|
+
449
|
|
1857
|
+
450
|
|
1858
|
+
451</pre>
|
|
1859
1859
|
</td>
|
|
1860
1860
|
<td>
|
|
1861
|
-
<pre class="code"><span class="info file"># File 'lib/devdnsd/application.rb', line
|
|
1861
|
+
<pre class="code"><span class="info file"># File 'lib/devdnsd/application.rb', line 449</span>
|
|
1862
1862
|
|
|
1863
1863
|
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_quit'>quit</span>
|
|
1864
1864
|
<span class='op'>::</span><span class='const'>EventMachine</span><span class='period'>.</span><span class='id identifier rubyid_stop'>stop</span> <span class='kw'>rescue</span> <span class='kw'>nil</span>
|
|
@@ -1900,12 +1900,12 @@
|
|
|
1900
1900
|
<pre class="lines">
|
|
1901
1901
|
|
|
1902
1902
|
|
|
1903
|
-
|
|
1904
|
-
|
|
1905
|
-
|
|
1903
|
+
444
|
|
1904
|
+
445
|
|
1905
|
+
446</pre>
|
|
1906
1906
|
</td>
|
|
1907
1907
|
<td>
|
|
1908
|
-
<pre class="code"><span class="info file"># File 'lib/devdnsd/application.rb', line
|
|
1908
|
+
<pre class="code"><span class="info file"># File 'lib/devdnsd/application.rb', line 444</span>
|
|
1909
1909
|
|
|
1910
1910
|
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_run'>run</span>
|
|
1911
1911
|
<span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_instance'>instance</span><span class='period'>.</span><span class='id identifier rubyid_perform_server'>perform_server</span>
|
|
@@ -1963,12 +1963,12 @@
|
|
|
1963
1963
|
<pre class="lines">
|
|
1964
1964
|
|
|
1965
1965
|
|
|
1966
|
-
|
|
1967
|
-
|
|
1968
|
-
|
|
1966
|
+
413
|
|
1967
|
+
414
|
|
1968
|
+
415</pre>
|
|
1969
1969
|
</td>
|
|
1970
1970
|
<td>
|
|
1971
|
-
<pre class="code"><span class="info file"># File 'lib/devdnsd/application.rb', line
|
|
1971
|
+
<pre class="code"><span class="info file"># File 'lib/devdnsd/application.rb', line 413</span>
|
|
1972
1972
|
|
|
1973
1973
|
<span class='kw'>def</span> <span class='id identifier rubyid_get_logger'>get_logger</span>
|
|
1974
1974
|
<span class='ivar'>@logger</span> <span class='op'>||=</span> <span class='const'>Bovem</span><span class='op'>::</span><span class='const'>Logger</span><span class='period'>.</span><span class='id identifier rubyid_create'>create</span><span class='lparen'>(</span><span class='ivar'>@config</span><span class='period'>.</span><span class='id identifier rubyid_foreground'>foreground</span> <span class='op'>?</span> <span class='const'>Bovem</span><span class='op'>::</span><span class='const'>Logger</span><span class='period'>.</span><span class='id identifier rubyid_default_file'>default_file</span> <span class='op'>:</span> <span class='ivar'>@config</span><span class='period'>.</span><span class='id identifier rubyid_log_file'>log_file</span><span class='comma'>,</span> <span class='ivar'>@config</span><span class='period'>.</span><span class='id identifier rubyid_log_level'>log_level</span><span class='comma'>,</span> <span class='ivar'>@log_formatter</span><span class='rparen'>)</span>
|
|
@@ -2020,11 +2020,11 @@
|
|
|
2020
2020
|
<pre class="lines">
|
|
2021
2021
|
|
|
2022
2022
|
|
|
2023
|
-
|
|
2024
|
-
|
|
2023
|
+
420
|
|
2024
|
+
421</pre>
|
|
2025
2025
|
</td>
|
|
2026
2026
|
<td>
|
|
2027
|
-
<pre class="code"><span class="info file"># File 'lib/devdnsd/application.rb', line
|
|
2027
|
+
<pre class="code"><span class="info file"># File 'lib/devdnsd/application.rb', line 420</span>
|
|
2028
2028
|
|
|
2029
2029
|
<span class='kw'>def</span> <span class='id identifier rubyid_on_start'>on_start</span>
|
|
2030
2030
|
<span class='kw'>end</span></pre>
|
|
@@ -2075,11 +2075,11 @@
|
|
|
2075
2075
|
<pre class="lines">
|
|
2076
2076
|
|
|
2077
2077
|
|
|
2078
|
-
|
|
2079
|
-
|
|
2078
|
+
426
|
|
2079
|
+
427</pre>
|
|
2080
2080
|
</td>
|
|
2081
2081
|
<td>
|
|
2082
|
-
<pre class="code"><span class="info file"># File 'lib/devdnsd/application.rb', line
|
|
2082
|
+
<pre class="code"><span class="info file"># File 'lib/devdnsd/application.rb', line 426</span>
|
|
2083
2083
|
|
|
2084
2084
|
<span class='kw'>def</span> <span class='id identifier rubyid_on_stop'>on_stop</span>
|
|
2085
2085
|
<span class='kw'>end</span></pre>
|
|
@@ -2093,9 +2093,9 @@
|
|
|
2093
2093
|
</div>
|
|
2094
2094
|
|
|
2095
2095
|
<div id="footer">
|
|
2096
|
-
Generated on
|
|
2096
|
+
Generated on Thu Feb 28 23:07:37 2013 by
|
|
2097
2097
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
2098
|
-
0.8.
|
|
2098
|
+
0.8.5.2 (ruby-1.9.3).
|
|
2099
2099
|
</div>
|
|
2100
2100
|
|
|
2101
2101
|
</body>
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<title>
|
|
7
7
|
Module: DevDNSd::ApplicationMethods::Server
|
|
8
8
|
|
|
9
|
-
— Documentation by YARD 0.8.
|
|
9
|
+
— Documentation by YARD 0.8.5.2
|
|
10
10
|
|
|
11
11
|
</title>
|
|
12
12
|
|
|
@@ -233,6 +233,9 @@
|
|
|
233
233
|
<pre class="lines">
|
|
234
234
|
|
|
235
235
|
|
|
236
|
+
276
|
|
237
|
+
277
|
|
238
|
+
278
|
|
236
239
|
279
|
|
237
240
|
280
|
|
238
241
|
281
|
|
@@ -245,13 +248,10 @@
|
|
|
245
248
|
288
|
|
246
249
|
289
|
|
247
250
|
290
|
|
248
|
-
291
|
|
249
|
-
292
|
|
250
|
-
293
|
|
251
|
-
294</pre>
|
|
251
|
+
291</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 276</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,6 +363,9 @@
|
|
|
363
363
|
<pre class="lines">
|
|
364
364
|
|
|
365
365
|
|
|
366
|
+
299
|
|
367
|
+
300
|
|
368
|
+
301
|
|
366
369
|
302
|
|
367
370
|
303
|
|
368
371
|
304
|
|
@@ -371,13 +374,10 @@
|
|
|
371
374
|
307
|
|
372
375
|
308
|
|
373
376
|
309
|
|
374
|
-
310
|
|
375
|
-
311
|
|
376
|
-
312
|
|
377
|
-
313</pre>
|
|
377
|
+
310</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 299</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>
|
|
@@ -385,7 +385,7 @@
|
|
|
385
385
|
|
|
386
386
|
<span class='kw'>if</span> <span class='id identifier rubyid_reply'>reply</span> <span class='kw'>then</span>
|
|
387
387
|
<span class='id identifier rubyid_transaction'>transaction</span><span class='period'>.</span><span class='id identifier rubyid_respond!'>respond!</span><span class='lparen'>(</span><span class='op'>*</span><span class='id identifier rubyid_finalize_reply'>finalize_reply</span><span class='lparen'>(</span><span class='id identifier rubyid_reply'>reply</span><span class='comma'>,</span> <span class='id identifier rubyid_rule'>rule</span><span class='comma'>,</span> <span class='id identifier rubyid_type'>type</span><span class='rparen'>)</span><span class='rparen'>)</span>
|
|
388
|
-
<span class='kw'>elsif</span> <span class='id identifier rubyid_reply'>reply</span
|
|
388
|
+
<span class='kw'>elsif</span> <span class='id identifier rubyid_reply'>reply</span><span class='period'>.</span><span class='id identifier rubyid_is_a?'>is_a?</span><span class='lparen'>(</span><span class='const'>FalseClass</span><span class='rparen'>)</span> <span class='kw'>then</span>
|
|
389
389
|
<span class='kw'>false</span>
|
|
390
390
|
<span class='kw'>else</span>
|
|
391
391
|
<span class='kw'>nil</span>
|
|
@@ -470,6 +470,9 @@
|
|
|
470
470
|
<pre class="lines">
|
|
471
471
|
|
|
472
472
|
|
|
473
|
+
317
|
|
474
|
+
318
|
|
475
|
+
319
|
|
473
476
|
320
|
|
474
477
|
321
|
|
475
478
|
322
|
|
@@ -478,13 +481,10 @@
|
|
|
478
481
|
325
|
|
479
482
|
326
|
|
480
483
|
327
|
|
481
|
-
328
|
|
482
|
-
329
|
|
483
|
-
330
|
|
484
|
-
331</pre>
|
|
484
|
+
328</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 317</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 Feb 28 23:07:36 2013 by
|
|
512
512
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
513
|
-
0.8.
|
|
513
|
+
0.8.5.2 (ruby-1.9.3).
|
|
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.
|
|
9
|
+
— Documentation by YARD 0.8.5.2
|
|
10
10
|
|
|
11
11
|
</title>
|
|
12
12
|
|
|
@@ -363,9 +363,9 @@
|
|
|
363
363
|
</div>
|
|
364
364
|
|
|
365
365
|
<div id="footer">
|
|
366
|
-
Generated on
|
|
366
|
+
Generated on Thu Feb 28 23:07:36 2013 by
|
|
367
367
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
368
|
-
0.8.
|
|
368
|
+
0.8.5.2 (ruby-1.9.3).
|
|
369
369
|
</div>
|
|
370
370
|
|
|
371
371
|
</body>
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<title>
|
|
7
7
|
Module: DevDNSd::ApplicationMethods::System
|
|
8
8
|
|
|
9
|
-
— Documentation by YARD 0.8.
|
|
9
|
+
— Documentation by YARD 0.8.5.2
|
|
10
10
|
|
|
11
11
|
</title>
|
|
12
12
|
|
|
@@ -373,7 +373,7 @@
|
|
|
373
373
|
|
|
374
374
|
|
|
375
375
|
—
|
|
376
|
-
<div class='inline'><p><code>true</code> if action
|
|
376
|
+
<div class='inline'><p><code>true</code> if action succeeded, <code>false</code> otherwise.</p>
|
|
377
377
|
</div>
|
|
378
378
|
|
|
379
379
|
</li>
|
|
@@ -430,7 +430,7 @@
|
|
|
430
430
|
|
|
431
431
|
|
|
432
432
|
—
|
|
433
|
-
<div class='inline'><p><code>true</code> if action
|
|
433
|
+
<div class='inline'><p><code>true</code> if action succeeded, <code>false</code> otherwise.</p>
|
|
434
434
|
</div>
|
|
435
435
|
|
|
436
436
|
</li>
|
|
@@ -503,7 +503,7 @@
|
|
|
503
503
|
|
|
504
504
|
|
|
505
505
|
—
|
|
506
|
-
<div class='inline'><p><code>true</code> if action
|
|
506
|
+
<div class='inline'><p><code>true</code> if action succeeded, <code>false</code> otherwise.</p>
|
|
507
507
|
</div>
|
|
508
508
|
|
|
509
509
|
</li>
|
|
@@ -562,7 +562,7 @@
|
|
|
562
562
|
|
|
563
563
|
|
|
564
564
|
—
|
|
565
|
-
<div class='inline'><p><code>true</code> if action
|
|
565
|
+
<div class='inline'><p><code>true</code> if action succeeded, <code>false</code> otherwise.</p>
|
|
566
566
|
</div>
|
|
567
567
|
|
|
568
568
|
</li>
|
|
@@ -947,9 +947,9 @@
|
|
|
947
947
|
</div>
|
|
948
948
|
|
|
949
949
|
<div id="footer">
|
|
950
|
-
Generated on
|
|
950
|
+
Generated on Thu Feb 28 23:07:36 2013 by
|
|
951
951
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
952
|
-
0.8.
|
|
952
|
+
0.8.5.2 (ruby-1.9.3).
|
|
953
953
|
</div>
|
|
954
954
|
|
|
955
955
|
</body>
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<title>
|
|
7
7
|
Module: DevDNSd::ApplicationMethods
|
|
8
8
|
|
|
9
|
-
— Documentation by YARD 0.8.
|
|
9
|
+
— Documentation by YARD 0.8.5.2
|
|
10
10
|
|
|
11
11
|
</title>
|
|
12
12
|
|
|
@@ -116,9 +116,9 @@
|
|
|
116
116
|
</div>
|
|
117
117
|
|
|
118
118
|
<div id="footer">
|
|
119
|
-
Generated on
|
|
119
|
+
Generated on Thu Feb 28 23:07:36 2013 by
|
|
120
120
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
121
|
-
0.8.
|
|
121
|
+
0.8.5.2 (ruby-1.9.3).
|
|
122
122
|
</div>
|
|
123
123
|
|
|
124
124
|
</body>
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<title>
|
|
7
7
|
Class: DevDNSd::Configuration
|
|
8
8
|
|
|
9
|
-
— Documentation by YARD 0.8.
|
|
9
|
+
— Documentation by YARD 0.8.5.2
|
|
10
10
|
|
|
11
11
|
</title>
|
|
12
12
|
|
|
@@ -103,7 +103,7 @@
|
|
|
103
103
|
|
|
104
104
|
<h2>Overview</h2><div class="docstring">
|
|
105
105
|
<div class="discussion">
|
|
106
|
-
<p>This class holds the configuration of the
|
|
106
|
+
<p>This class holds the configuration of the application.</p>
|
|
107
107
|
|
|
108
108
|
|
|
109
109
|
</div>
|
|
@@ -413,9 +413,9 @@ config.add_rule("match.dev", "10.0.0.1")
|
|
|
413
413
|
</div>
|
|
414
414
|
|
|
415
415
|
<div id="footer">
|
|
416
|
-
Generated on
|
|
416
|
+
Generated on Thu Feb 28 23:07:37 2013 by
|
|
417
417
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
418
|
-
0.8.
|
|
418
|
+
0.8.5.2 (ruby-1.9.3).
|
|
419
419
|
</div>
|
|
420
420
|
|
|
421
421
|
</body>
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<title>
|
|
7
7
|
Exception: DevDNSd::Errors::InvalidRule
|
|
8
8
|
|
|
9
|
-
— Documentation by YARD 0.8.
|
|
9
|
+
— Documentation by YARD 0.8.5.2
|
|
10
10
|
|
|
11
11
|
</title>
|
|
12
12
|
|
|
@@ -124,9 +124,9 @@
|
|
|
124
124
|
</div>
|
|
125
125
|
|
|
126
126
|
<div id="footer">
|
|
127
|
-
Generated on
|
|
127
|
+
Generated on Thu Feb 28 23:07:37 2013 by
|
|
128
128
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
129
|
-
0.8.
|
|
129
|
+
0.8.5.2 (ruby-1.9.3).
|
|
130
130
|
</div>
|
|
131
131
|
|
|
132
132
|
</body>
|
data/doc/DevDNSd/Errors.html
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<title>
|
|
7
7
|
Module: DevDNSd::Errors
|
|
8
8
|
|
|
9
|
-
— Documentation by YARD 0.8.
|
|
9
|
+
— Documentation by YARD 0.8.5.2
|
|
10
10
|
|
|
11
11
|
</title>
|
|
12
12
|
|
|
@@ -116,9 +116,9 @@
|
|
|
116
116
|
</div>
|
|
117
117
|
|
|
118
118
|
<div id="footer">
|
|
119
|
-
Generated on
|
|
119
|
+
Generated on Thu Feb 28 23:07:36 2013 by
|
|
120
120
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
121
|
-
0.8.
|
|
121
|
+
0.8.5.2 (ruby-1.9.3).
|
|
122
122
|
</div>
|
|
123
123
|
|
|
124
124
|
</body>
|
data/doc/DevDNSd/Rule.html
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<title>
|
|
7
7
|
Class: DevDNSd::Rule
|
|
8
8
|
|
|
9
|
-
— Documentation by YARD 0.8.
|
|
9
|
+
— Documentation by YARD 0.8.5.2
|
|
10
10
|
|
|
11
11
|
</title>
|
|
12
12
|
|
|
@@ -2927,9 +2927,9 @@
|
|
|
2927
2927
|
</div>
|
|
2928
2928
|
|
|
2929
2929
|
<div id="footer">
|
|
2930
|
-
Generated on
|
|
2930
|
+
Generated on Thu Feb 28 23:07:37 2013 by
|
|
2931
2931
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
2932
|
-
0.8.
|
|
2932
|
+
0.8.5.2 (ruby-1.9.3).
|
|
2933
2933
|
</div>
|
|
2934
2934
|
|
|
2935
2935
|
</body>
|
data/doc/DevDNSd/Version.html
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<title>
|
|
7
7
|
Module: DevDNSd::Version
|
|
8
8
|
|
|
9
|
-
— Documentation by YARD 0.8.
|
|
9
|
+
— Documentation by YARD 0.8.5.2
|
|
10
10
|
|
|
11
11
|
</title>
|
|
12
12
|
|
|
@@ -134,7 +134,7 @@
|
|
|
134
134
|
|
|
135
135
|
</div>
|
|
136
136
|
</dt>
|
|
137
|
-
<dd><pre class="code"><span class='int'>
|
|
137
|
+
<dd><pre class="code"><span class='int'>1</span></pre></dd>
|
|
138
138
|
|
|
139
139
|
<dt id="PATCH-constant" class="">PATCH =
|
|
140
140
|
<div class="docstring">
|
|
@@ -180,9 +180,9 @@
|
|
|
180
180
|
</div>
|
|
181
181
|
|
|
182
182
|
<div id="footer">
|
|
183
|
-
Generated on
|
|
183
|
+
Generated on Thu Feb 28 23:07:36 2013 by
|
|
184
184
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
185
|
-
0.8.
|
|
185
|
+
0.8.5.2 (ruby-1.9.3).
|
|
186
186
|
</div>
|
|
187
187
|
|
|
188
188
|
</body>
|
data/doc/DevDNSd.html
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<title>
|
|
7
7
|
Module: DevDNSd
|
|
8
8
|
|
|
9
|
-
— Documentation by YARD 0.8.
|
|
9
|
+
— Documentation by YARD 0.8.5.2
|
|
10
10
|
|
|
11
11
|
</title>
|
|
12
12
|
|
|
@@ -121,9 +121,9 @@ Licensed under the MIT license, which can be found at http://www.opensource.org/
|
|
|
121
121
|
</div>
|
|
122
122
|
|
|
123
123
|
<div id="footer">
|
|
124
|
-
Generated on
|
|
124
|
+
Generated on Thu Feb 28 23:07:36 2013 by
|
|
125
125
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
126
|
-
0.8.
|
|
126
|
+
0.8.5.2 (ruby-1.9.3).
|
|
127
127
|
</div>
|
|
128
128
|
|
|
129
129
|
</body>
|
data/doc/_index.html
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
<head>
|
|
5
5
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
6
6
|
<title>
|
|
7
|
-
Documentation by YARD 0.8.
|
|
7
|
+
Documentation by YARD 0.8.5.2
|
|
8
8
|
|
|
9
9
|
</title>
|
|
10
10
|
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
|
|
57
57
|
<iframe id="search_frame"></iframe>
|
|
58
58
|
|
|
59
|
-
<div id="content"><h1 class="noborder title">Documentation by YARD 0.8.
|
|
59
|
+
<div id="content"><h1 class="noborder title">Documentation by YARD 0.8.5.2</h1>
|
|
60
60
|
<div id="listing">
|
|
61
61
|
<h1 class="alphaindex">Alphabetic Index</h1>
|
|
62
62
|
|
|
@@ -230,9 +230,9 @@
|
|
|
230
230
|
</div>
|
|
231
231
|
|
|
232
232
|
<div id="footer">
|
|
233
|
-
Generated on
|
|
233
|
+
Generated on Thu Feb 28 23:07:35 2013 by
|
|
234
234
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
235
|
-
0.8.
|
|
235
|
+
0.8.5.2 (ruby-1.9.3).
|
|
236
236
|
</div>
|
|
237
237
|
|
|
238
238
|
</body>
|
data/doc/css/style.css
CHANGED
|
@@ -27,6 +27,16 @@ h2 small { font-weight: normal; font-size: 0.7em; display: block; float: right;
|
|
|
27
27
|
.rdoc-term { padding-right: 25px; font-weight: bold; }
|
|
28
28
|
.rdoc-list p { margin: 0; padding: 0; margin-bottom: 4px; }
|
|
29
29
|
|
|
30
|
+
/* style for <table> */
|
|
31
|
+
#filecontents table, .docstring table { border-collapse: collapse; }
|
|
32
|
+
#filecontents table th, #filecontents table td,
|
|
33
|
+
.docstring table th, .docstring table td { border: 1px solid #ccc; padding: 8px; padding-right: 17px; }
|
|
34
|
+
#filecontents table tr:nth-child(odd),
|
|
35
|
+
.docstring table tr:nth-child(odd) { background: #eee; }
|
|
36
|
+
#filecontents table tr:nth-child(even),
|
|
37
|
+
.docstring table tr:nth-child(even) { background: #fff; }
|
|
38
|
+
#filecontents table th, .docstring table th { background: #fff; }
|
|
39
|
+
|
|
30
40
|
/* style for <ul> */
|
|
31
41
|
#filecontents li > p, .docstring li > p { margin: 0px; }
|
|
32
42
|
#filecontents ul, .docstring ul { padding-left: 20px; }
|
data/doc/file.README.html
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<title>
|
|
7
7
|
File: README
|
|
8
8
|
|
|
9
|
-
— Documentation by YARD 0.8.
|
|
9
|
+
— Documentation by YARD 0.8.5.2
|
|
10
10
|
|
|
11
11
|
</title>
|
|
12
12
|
|
|
@@ -63,9 +63,10 @@
|
|
|
63
63
|
|
|
64
64
|
<div id="content"><div id='filecontents'><h1 id="devdnsd">devdnsd</h1>
|
|
65
65
|
|
|
66
|
-
<p><a href="http://
|
|
66
|
+
<p><a href="http://badge.fury.io/rb/devdnsd"><img src="https://badge.fury.io/rb/devdnsd.png" alt="Gem Version" /></a>
|
|
67
67
|
<a href="https://gemnasium.com/ShogunPanda/devdnsd"><img src="https://gemnasium.com/ShogunPanda/devdnsd.png?travis" alt="Dependency Status" /></a>
|
|
68
|
-
<a href="
|
|
68
|
+
<a href="http://travis-ci.org/ShogunPanda/devdnsd"><img src="https://secure.travis-ci.org/ShogunPanda/devdnsd.png?branch=master" alt="Build Status" /></a>
|
|
69
|
+
<a href="https://codeclimate.com/github/ShogunPanda/devdnsd"><img src="https://codeclimate.com/github/ShogunPanda/devdnsd.png" alt="Code Climate" /></a></p>
|
|
69
70
|
|
|
70
71
|
<p>A small DNS server to enable local .dev domain resolution.</p>
|
|
71
72
|
|
|
@@ -77,7 +78,7 @@
|
|
|
77
78
|
|
|
78
79
|
<p>DevDNSd is a small DNS server which add a resolver to the system only for single TLD (by default, <strong>.dev</strong>). This way you can access your local application by typing every kind of url, i.e. <em>locallapp.dev</em>.</p>
|
|
79
80
|
|
|
80
|
-
<p>Of course, DevDNSd is inspired by <a href="https://github.com/37signals/pow">pow</a>, but it only provides DNS
|
|
81
|
+
<p>Of course, DevDNSd is inspired by <a href="https://github.com/37signals/pow">pow</a>, but it only provides DNS features, delegating the setup of a web-server to the user.</p>
|
|
81
82
|
|
|
82
83
|
<h2 id="basic-usage">Basic usage</h2>
|
|
83
84
|
|
|
@@ -161,9 +162,9 @@ This argument is ignored if you pass the block, as it assumes that the second ar
|
|
|
161
162
|
</div></div>
|
|
162
163
|
|
|
163
164
|
<div id="footer">
|
|
164
|
-
Generated on
|
|
165
|
+
Generated on Thu Feb 28 23:07:36 2013 by
|
|
165
166
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
166
|
-
0.8.
|
|
167
|
+
0.8.5.2 (ruby-1.9.3).
|
|
167
168
|
</div>
|
|
168
169
|
|
|
169
170
|
</body>
|
data/doc/frames.html
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
|
5
5
|
<head>
|
|
6
6
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
|
7
|
-
<title>Documentation by YARD 0.8.
|
|
7
|
+
<title>Documentation by YARD 0.8.5.2</title>
|
|
8
8
|
</head>
|
|
9
9
|
<script type="text/javascript" charset="utf-8">
|
|
10
10
|
window.onload = function() {
|
data/doc/index.html
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<title>
|
|
7
7
|
File: README
|
|
8
8
|
|
|
9
|
-
— Documentation by YARD 0.8.
|
|
9
|
+
— Documentation by YARD 0.8.5.2
|
|
10
10
|
|
|
11
11
|
</title>
|
|
12
12
|
|
|
@@ -63,9 +63,10 @@
|
|
|
63
63
|
|
|
64
64
|
<div id="content"><div id='filecontents'><h1 id="devdnsd">devdnsd</h1>
|
|
65
65
|
|
|
66
|
-
<p><a href="http://
|
|
66
|
+
<p><a href="http://badge.fury.io/rb/devdnsd"><img src="https://badge.fury.io/rb/devdnsd.png" alt="Gem Version" /></a>
|
|
67
67
|
<a href="https://gemnasium.com/ShogunPanda/devdnsd"><img src="https://gemnasium.com/ShogunPanda/devdnsd.png?travis" alt="Dependency Status" /></a>
|
|
68
|
-
<a href="
|
|
68
|
+
<a href="http://travis-ci.org/ShogunPanda/devdnsd"><img src="https://secure.travis-ci.org/ShogunPanda/devdnsd.png?branch=master" alt="Build Status" /></a>
|
|
69
|
+
<a href="https://codeclimate.com/github/ShogunPanda/devdnsd"><img src="https://codeclimate.com/github/ShogunPanda/devdnsd.png" alt="Code Climate" /></a></p>
|
|
69
70
|
|
|
70
71
|
<p>A small DNS server to enable local .dev domain resolution.</p>
|
|
71
72
|
|
|
@@ -77,7 +78,7 @@
|
|
|
77
78
|
|
|
78
79
|
<p>DevDNSd is a small DNS server which add a resolver to the system only for single TLD (by default, <strong>.dev</strong>). This way you can access your local application by typing every kind of url, i.e. <em>locallapp.dev</em>.</p>
|
|
79
80
|
|
|
80
|
-
<p>Of course, DevDNSd is inspired by <a href="https://github.com/37signals/pow">pow</a>, but it only provides DNS
|
|
81
|
+
<p>Of course, DevDNSd is inspired by <a href="https://github.com/37signals/pow">pow</a>, but it only provides DNS features, delegating the setup of a web-server to the user.</p>
|
|
81
82
|
|
|
82
83
|
<h2 id="basic-usage">Basic usage</h2>
|
|
83
84
|
|
|
@@ -161,9 +162,9 @@ This argument is ignored if you pass the block, as it assumes that the second ar
|
|
|
161
162
|
</div></div>
|
|
162
163
|
|
|
163
164
|
<div id="footer">
|
|
164
|
-
Generated on
|
|
165
|
+
Generated on Thu Feb 28 23:07:36 2013 by
|
|
165
166
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
166
|
-
0.8.
|
|
167
|
+
0.8.5.2 (ruby-1.9.3).
|
|
167
168
|
</div>
|
|
168
169
|
|
|
169
170
|
</body>
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<title>
|
|
7
7
|
Top Level Namespace
|
|
8
8
|
|
|
9
|
-
— Documentation by YARD 0.8.
|
|
9
|
+
— Documentation by YARD 0.8.5.2
|
|
10
10
|
|
|
11
11
|
</title>
|
|
12
12
|
|
|
@@ -103,9 +103,9 @@
|
|
|
103
103
|
</div>
|
|
104
104
|
|
|
105
105
|
<div id="footer">
|
|
106
|
-
Generated on
|
|
106
|
+
Generated on Thu Feb 28 23:07:36 2013 by
|
|
107
107
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
108
|
-
0.8.
|
|
108
|
+
0.8.5.2 (ruby-1.9.3).
|
|
109
109
|
</div>
|
|
110
110
|
|
|
111
111
|
</body>
|
data/lib/devdnsd/application.rb
CHANGED
|
@@ -80,7 +80,7 @@ module DevDNSd
|
|
|
80
80
|
|
|
81
81
|
# Starts the server in background.
|
|
82
82
|
#
|
|
83
|
-
# @return [Boolean] `true` if action
|
|
83
|
+
# @return [Boolean] `true` if action succeeded, `false` otherwise.
|
|
84
84
|
def action_start
|
|
85
85
|
self.get_logger.info(self.i18n.starting)
|
|
86
86
|
|
|
@@ -95,7 +95,7 @@ module DevDNSd
|
|
|
95
95
|
|
|
96
96
|
# Stops the server in background.
|
|
97
97
|
#
|
|
98
|
-
# @return [Boolean] `true` if action
|
|
98
|
+
# @return [Boolean] `true` if action succeeded, `false` otherwise.
|
|
99
99
|
def action_stop
|
|
100
100
|
RExec::Daemon::Controller.stop(self.class)
|
|
101
101
|
true
|
|
@@ -103,14 +103,14 @@ module DevDNSd
|
|
|
103
103
|
|
|
104
104
|
# Installs the application into the autolaunch.
|
|
105
105
|
#
|
|
106
|
-
# @return [Boolean] `true` if action
|
|
106
|
+
# @return [Boolean] `true` if action succeeded, `false` otherwise.
|
|
107
107
|
def action_install
|
|
108
108
|
manage_installation(self.launch_agent_path, self.resolver_path, :create_resolver, :create_agent, :load_agent)
|
|
109
109
|
end
|
|
110
110
|
|
|
111
111
|
# Uninstalls the application from the autolaunch.
|
|
112
112
|
#
|
|
113
|
-
# @return [Boolean] `true` if action
|
|
113
|
+
# @return [Boolean] `true` if action succeeded, `false` otherwise.
|
|
114
114
|
def action_uninstall
|
|
115
115
|
manage_installation(self.launch_agent_path, self.resolver_path, :delete_resolver, :unload_agent, :delete_agent)
|
|
116
116
|
end
|
|
@@ -123,10 +123,8 @@ module DevDNSd
|
|
|
123
123
|
# @param first_operation [Symbol] The first operation to execute.
|
|
124
124
|
# @param second_operation [Symbol] The second operation to execute.
|
|
125
125
|
# @param third_operation [Symbol] The third operation to execute.
|
|
126
|
-
# @return [Boolean] `true` if operation
|
|
126
|
+
# @return [Boolean] `true` if operation succeeded, `false` otherwise.
|
|
127
127
|
def manage_installation(launch_agent, resolver_path, first_operation, second_operation, third_operation)
|
|
128
|
-
rv = true
|
|
129
|
-
|
|
130
128
|
rv = check_agent_available
|
|
131
129
|
rv = send(first_operation, launch_agent, resolver_path) if rv
|
|
132
130
|
rv = send(second_operation, launch_agent, resolver_path) if rv
|
|
@@ -146,7 +144,7 @@ module DevDNSd
|
|
|
146
144
|
self.logger.info(self.i18n.send(before_message, file))
|
|
147
145
|
::File.delete(file)
|
|
148
146
|
true
|
|
149
|
-
rescue =>
|
|
147
|
+
rescue => _
|
|
150
148
|
self.logger.warn(self.i18n.send(error_message))
|
|
151
149
|
false
|
|
152
150
|
end
|
|
@@ -167,10 +165,9 @@ module DevDNSd
|
|
|
167
165
|
|
|
168
166
|
# Creates a OSX resolver.
|
|
169
167
|
#
|
|
170
|
-
# @param launch_agent [String] The agent path.
|
|
171
168
|
# @param resolver_path [String] The resolver path.
|
|
172
|
-
# @return [Boolean] `true` if operation
|
|
173
|
-
def create_resolver(
|
|
169
|
+
# @return [Boolean] `true` if operation succeeded, `false` otherwise.
|
|
170
|
+
def create_resolver(_, resolver_path)
|
|
174
171
|
begin
|
|
175
172
|
self.logger.info(self.i18n.resolver_creating(resolver_path))
|
|
176
173
|
write_resolver(resolver_path)
|
|
@@ -194,19 +191,17 @@ module DevDNSd
|
|
|
194
191
|
|
|
195
192
|
# Deletes a OSX resolver.
|
|
196
193
|
#
|
|
197
|
-
# @param launch_agent [String] The agent path.
|
|
198
194
|
# @param resolver_path [String] The resolver path.
|
|
199
|
-
# @return [Boolean] `true` if operation
|
|
200
|
-
def delete_resolver(
|
|
195
|
+
# @return [Boolean] `true` if operation succeeded, `false` otherwise.
|
|
196
|
+
def delete_resolver(_, resolver_path)
|
|
201
197
|
delete_file(resolver_path, :resolver_deleting, :resolver_deleting_error)
|
|
202
198
|
end
|
|
203
199
|
|
|
204
200
|
# Creates a OSX system agent.
|
|
205
201
|
#
|
|
206
202
|
# @param launch_agent [String] The agent path.
|
|
207
|
-
# @
|
|
208
|
-
|
|
209
|
-
def create_agent(launch_agent, resolver_path)
|
|
203
|
+
# @return [Boolean] `true` if operation succeeded, `false` otherwise.
|
|
204
|
+
def create_agent(launch_agent, _)
|
|
210
205
|
begin
|
|
211
206
|
self.logger.info(self.i18n.agent_creating(launch_agent))
|
|
212
207
|
write_agent(launch_agent)
|
|
@@ -224,7 +219,7 @@ module DevDNSd
|
|
|
224
219
|
# @param launch_agent [String] The agent path.
|
|
225
220
|
def write_agent(launch_agent)
|
|
226
221
|
::File.open(launch_agent, "w") {|f|
|
|
227
|
-
f.write({"KeepAlive" => true, "Label" => "it.cowtech.devdnsd", "Program" => (::Pathname.new(Dir.pwd) + $0).to_s, "ProgramArguments" => (
|
|
222
|
+
f.write({"KeepAlive" => true, "Label" => "it.cowtech.devdnsd", "Program" => (::Pathname.new(Dir.pwd) + $0).to_s, "ProgramArguments" => (ARGV ? ARGV[0, ARGV.length - 1] : []), "RunAtLoad" => true}.to_json)
|
|
228
223
|
f.flush
|
|
229
224
|
}
|
|
230
225
|
end
|
|
@@ -232,40 +227,42 @@ module DevDNSd
|
|
|
232
227
|
# Deletes a OSX system agent.
|
|
233
228
|
#
|
|
234
229
|
# @param launch_agent [String] The agent path.
|
|
235
|
-
# @
|
|
236
|
-
|
|
237
|
-
def delete_agent(launch_agent, resolver_path)
|
|
230
|
+
# @return [Boolean] `true` if operation succeeded, `false` otherwise.
|
|
231
|
+
def delete_agent(launch_agent, _)
|
|
238
232
|
delete_file(launch_agent, :agent_deleting, :agent_deleting_error)
|
|
239
233
|
end
|
|
240
234
|
|
|
241
235
|
# Loads a OSX system agent.
|
|
242
236
|
#
|
|
243
237
|
# @param launch_agent [String] The agent path.
|
|
244
|
-
# @
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
begin
|
|
248
|
-
self.logger.info(self.i18n.agent_loading(launch_agent))
|
|
249
|
-
self.execute_command("launchctl load -w \"#{launch_agent}\" > /dev/null 2>&1")
|
|
250
|
-
true
|
|
251
|
-
rescue
|
|
252
|
-
self.logger.error(self.i18n.agent_loading_error)
|
|
253
|
-
false
|
|
254
|
-
end
|
|
238
|
+
# @return [Boolean] `true` if operation succeeded, `false` otherwise.
|
|
239
|
+
def load_agent(launch_agent, _)
|
|
240
|
+
toggle_agent(launch_agent, "load", :agent_loading, :agent_loading_error, :error)
|
|
255
241
|
end
|
|
256
242
|
|
|
257
|
-
#
|
|
243
|
+
# Unloads a OSX system agent.
|
|
258
244
|
#
|
|
259
245
|
# @param launch_agent [String] The agent path.
|
|
260
|
-
# @
|
|
261
|
-
|
|
262
|
-
|
|
246
|
+
# @return [Boolean] `true` if operation succeeded, `false` otherwise.
|
|
247
|
+
def unload_agent(launch_agent, _)
|
|
248
|
+
toggle_agent(launch_agent, "unload", :agent_unloading, :agent_unloading_error, :warn)
|
|
249
|
+
end
|
|
250
|
+
|
|
251
|
+
# Loads or unloads a OSX system agent.
|
|
252
|
+
#
|
|
253
|
+
# @param launch_agent [String] The agent path.
|
|
254
|
+
# @param operation [String] The operation to perform. Can be `load` or `unload`.
|
|
255
|
+
# @param info_message [Symbol] The message to show in case of errors.
|
|
256
|
+
# @param error_message [Symbol] The message to show in case of errors.
|
|
257
|
+
# @param error_level [Symbol] The error level to show. Can be `:warn` or `:error`.
|
|
258
|
+
# @return [Boolean] `true` if operation succeeded, `false` otherwise.
|
|
259
|
+
def toggle_agent(launch_agent, operation, info_message, error_message, error_level)
|
|
263
260
|
begin
|
|
264
|
-
self.logger.info(self.i18n.
|
|
265
|
-
self.execute_command("launchctl
|
|
261
|
+
self.logger.info(self.i18n.send(info_message, launch_agent))
|
|
262
|
+
self.execute_command("launchctl #{operation} -w \"#{launch_agent}\" > /dev/null 2>&1")
|
|
266
263
|
true
|
|
267
|
-
rescue
|
|
268
|
-
self.logger.
|
|
264
|
+
rescue
|
|
265
|
+
self.logger.send(error_level, self.i18n.send(error_message))
|
|
269
266
|
false
|
|
270
267
|
end
|
|
271
268
|
end
|
|
@@ -305,7 +302,7 @@ module DevDNSd
|
|
|
305
302
|
|
|
306
303
|
if reply then
|
|
307
304
|
transaction.respond!(*finalize_reply(reply, rule, type))
|
|
308
|
-
elsif reply
|
|
305
|
+
elsif reply.is_a?(FalseClass) then
|
|
309
306
|
false
|
|
310
307
|
else
|
|
311
308
|
nil
|
|
@@ -398,7 +395,7 @@ module DevDNSd
|
|
|
398
395
|
|
|
399
396
|
@locale = locale
|
|
400
397
|
@command = command
|
|
401
|
-
options = @command.application.get_options.reject {|
|
|
398
|
+
options = @command.application.get_options.reject {|_, v| v.nil? }
|
|
402
399
|
|
|
403
400
|
# Setup logger
|
|
404
401
|
Bovem::Logger.start_time = Time.now
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
#
|
|
6
6
|
|
|
7
7
|
module DevDNSd
|
|
8
|
-
# This class holds the configuration of the
|
|
8
|
+
# This class holds the configuration of the application.
|
|
9
9
|
class Configuration < Bovem::Configuration
|
|
10
10
|
# If to run the server in foreground. Default: `false`.
|
|
11
11
|
property :foreground, default: false
|
data/lib/devdnsd/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: devdnsd
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.
|
|
4
|
+
version: 2.1.0
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2013-
|
|
12
|
+
date: 2013-03-01 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: mamertes
|
|
@@ -18,7 +18,7 @@ dependencies:
|
|
|
18
18
|
requirements:
|
|
19
19
|
- - ~>
|
|
20
20
|
- !ruby/object:Gem::Version
|
|
21
|
-
version: 2.0
|
|
21
|
+
version: 2.1.0
|
|
22
22
|
type: :runtime
|
|
23
23
|
prerelease: false
|
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -26,7 +26,7 @@ dependencies:
|
|
|
26
26
|
requirements:
|
|
27
27
|
- - ~>
|
|
28
28
|
- !ruby/object:Gem::Version
|
|
29
|
-
version: 2.0
|
|
29
|
+
version: 2.1.0
|
|
30
30
|
- !ruby/object:Gem::Dependency
|
|
31
31
|
name: rubydns
|
|
32
32
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -137,7 +137,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
137
137
|
version: '0'
|
|
138
138
|
segments:
|
|
139
139
|
- 0
|
|
140
|
-
hash:
|
|
140
|
+
hash: 1812242399439935615
|
|
141
141
|
requirements: []
|
|
142
142
|
rubyforge_project: devdnsd
|
|
143
143
|
rubygems_version: 1.8.25
|