devdnsd 3.1.2 → 4.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +2 -2
- data/.rubocop.yml +82 -0
- data/.travis-gemfile +4 -10
- data/.travis.yml +11 -5
- data/CHANGELOG.md +11 -0
- data/Gemfile +9 -8
- data/README.md +4 -5
- data/Rakefile +22 -6
- data/bin/devdnsd +42 -36
- data/config/devdnsd_config.sample +11 -11
- data/devdnsd.gemspec +7 -6
- data/doc/DevDNSd.html +6 -6
- data/doc/DevDNSd/{ApplicationMethods/Aliases.html → Aliases.html} +96 -100
- data/doc/DevDNSd/Application.html +2170 -1084
- data/doc/DevDNSd/Configuration.html +63 -33
- data/doc/DevDNSd/Errors.html +3 -3
- data/doc/DevDNSd/Errors/InvalidRule.html +3 -3
- data/doc/DevDNSd/{ApplicationMethods/System.html → OSX.html} +116 -489
- data/doc/DevDNSd/Rule.html +448 -749
- data/doc/DevDNSd/{ApplicationMethods/Server.html → Server.html} +77 -73
- data/doc/DevDNSd/System.html +895 -0
- data/doc/DevDNSd/Version.html +6 -6
- data/doc/_index.html +28 -27
- data/doc/class_list.html +6 -2
- data/doc/file.README.html +8 -9
- data/doc/file_list.html +5 -1
- data/doc/frames.html +1 -1
- data/doc/index.html +8 -9
- data/doc/js/full_list.js +4 -1
- data/doc/method_list.html +106 -84
- data/doc/top-level-namespace.html +3 -3
- data/lib/devdnsd.rb +10 -8
- data/lib/devdnsd/aliases.rb +171 -0
- data/lib/devdnsd/application.rb +93 -704
- data/lib/devdnsd/configuration.rb +20 -11
- data/lib/devdnsd/errors.rb +1 -1
- data/lib/devdnsd/osx.rb +217 -0
- data/lib/devdnsd/rule.rb +65 -94
- data/lib/devdnsd/server.rb +118 -0
- data/lib/devdnsd/system.rb +102 -0
- data/lib/devdnsd/version.rb +3 -3
- data/locales/en.yml +17 -16
- data/locales/it.yml +17 -16
- data/spec/devdnsd/application_spec.rb +188 -184
- data/spec/devdnsd/configuration_spec.rb +2 -2
- data/spec/devdnsd/rule_spec.rb +33 -34
- data/spec/resolver_helper.rb +10 -27
- data/spec/spec_helper.rb +21 -7
- metadata +36 -21
- data/doc/DevDNSd/ApplicationMethods.html +0 -125
- data/doc/DevDNSd/ApplicationMethods/System/ClassMethods.html +0 -538
- data/spec/coverage_helper.rb +0 -20
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.7.
|
9
|
+
— Documentation by YARD 0.8.7.6
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -119,7 +119,7 @@
|
|
119
119
|
|
120
120
|
</div>
|
121
121
|
</dt>
|
122
|
-
<dd><pre class="code"><span class='int'>
|
122
|
+
<dd><pre class="code"><span class='int'>4</span></pre></dd>
|
123
123
|
|
124
124
|
<dt id="MINOR-constant" class="">MINOR =
|
125
125
|
<div class="docstring">
|
@@ -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'>0</span></pre></dd>
|
138
138
|
|
139
139
|
<dt id="PATCH-constant" class="">PATCH =
|
140
140
|
<div class="docstring">
|
@@ -149,7 +149,7 @@
|
|
149
149
|
|
150
150
|
</div>
|
151
151
|
</dt>
|
152
|
-
<dd><pre class="code"><span class='int'>
|
152
|
+
<dd><pre class="code"><span class='int'>0</span></pre></dd>
|
153
153
|
|
154
154
|
<dt id="STRING-constant" class="">STRING =
|
155
155
|
<div class="docstring">
|
@@ -180,9 +180,9 @@
|
|
180
180
|
</div>
|
181
181
|
|
182
182
|
<div id="footer">
|
183
|
-
Generated on
|
183
|
+
Generated on Wed Mar 30 19:23:43 2016 by
|
184
184
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
185
|
-
0.8.7.
|
185
|
+
0.8.7.6 (ruby-2.3.0).
|
186
186
|
</div>
|
187
187
|
|
188
188
|
</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.
|
7
|
+
Documentation by YARD 0.8.7.6
|
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.7.
|
59
|
+
<div id="content"><h1 class="noborder title">Documentation by YARD 0.8.7.6</h1>
|
60
60
|
<div id="listing">
|
61
61
|
<h1 class="alphaindex">Alphabetic Index</h1>
|
62
62
|
|
@@ -85,21 +85,14 @@
|
|
85
85
|
<ul>
|
86
86
|
|
87
87
|
<li>
|
88
|
-
<span class='object_link'><a href="DevDNSd/
|
89
|
-
|
90
|
-
<small>(DevDNSd::ApplicationMethods)</small>
|
91
|
-
|
92
|
-
</li>
|
93
|
-
|
94
|
-
<li>
|
95
|
-
<span class='object_link'><a href="DevDNSd/Application.html" title="DevDNSd::Application (class)">Application</a></span>
|
88
|
+
<span class='object_link'><a href="DevDNSd/Aliases.html" title="DevDNSd::Aliases (module)">Aliases</a></span>
|
96
89
|
|
97
90
|
<small>(DevDNSd)</small>
|
98
91
|
|
99
92
|
</li>
|
100
93
|
|
101
94
|
<li>
|
102
|
-
<span class='object_link'><a href="DevDNSd/
|
95
|
+
<span class='object_link'><a href="DevDNSd/Application.html" title="DevDNSd::Application (class)">Application</a></span>
|
103
96
|
|
104
97
|
<small>(DevDNSd)</small>
|
105
98
|
|
@@ -113,13 +106,6 @@
|
|
113
106
|
<li class="letter">C</li>
|
114
107
|
<ul>
|
115
108
|
|
116
|
-
<li>
|
117
|
-
<span class='object_link'><a href="DevDNSd/ApplicationMethods/System/ClassMethods.html" title="DevDNSd::ApplicationMethods::System::ClassMethods (module)">ClassMethods</a></span>
|
118
|
-
|
119
|
-
<small>(DevDNSd::ApplicationMethods::System)</small>
|
120
|
-
|
121
|
-
</li>
|
122
|
-
|
123
109
|
<li>
|
124
110
|
<span class='object_link'><a href="DevDNSd/Configuration.html" title="DevDNSd::Configuration (class)">Configuration</a></span>
|
125
111
|
|
@@ -174,6 +160,21 @@
|
|
174
160
|
</ul>
|
175
161
|
|
176
162
|
|
163
|
+
<ul id="alpha_O" class="alpha">
|
164
|
+
<li class="letter">O</li>
|
165
|
+
<ul>
|
166
|
+
|
167
|
+
<li>
|
168
|
+
<span class='object_link'><a href="DevDNSd/OSX.html" title="DevDNSd::OSX (module)">OSX</a></span>
|
169
|
+
|
170
|
+
<small>(DevDNSd)</small>
|
171
|
+
|
172
|
+
</li>
|
173
|
+
|
174
|
+
</ul>
|
175
|
+
</ul>
|
176
|
+
|
177
|
+
|
177
178
|
<ul id="alpha_R" class="alpha">
|
178
179
|
<li class="letter">R</li>
|
179
180
|
<ul>
|
@@ -189,21 +190,24 @@
|
|
189
190
|
</ul>
|
190
191
|
|
191
192
|
|
193
|
+
</td><td valign='top' width="33%">
|
194
|
+
|
195
|
+
|
192
196
|
<ul id="alpha_S" class="alpha">
|
193
197
|
<li class="letter">S</li>
|
194
198
|
<ul>
|
195
199
|
|
196
200
|
<li>
|
197
|
-
<span class='object_link'><a href="DevDNSd/
|
201
|
+
<span class='object_link'><a href="DevDNSd/Server.html" title="DevDNSd::Server (module)">Server</a></span>
|
198
202
|
|
199
|
-
<small>(DevDNSd
|
203
|
+
<small>(DevDNSd)</small>
|
200
204
|
|
201
205
|
</li>
|
202
206
|
|
203
207
|
<li>
|
204
|
-
<span class='object_link'><a href="DevDNSd/
|
208
|
+
<span class='object_link'><a href="DevDNSd/System.html" title="DevDNSd::System (module)">System</a></span>
|
205
209
|
|
206
|
-
<small>(DevDNSd
|
210
|
+
<small>(DevDNSd)</small>
|
207
211
|
|
208
212
|
</li>
|
209
213
|
|
@@ -211,9 +215,6 @@
|
|
211
215
|
</ul>
|
212
216
|
|
213
217
|
|
214
|
-
</td><td valign='top' width="33%">
|
215
|
-
|
216
|
-
|
217
218
|
<ul id="alpha_V" class="alpha">
|
218
219
|
<li class="letter">V</li>
|
219
220
|
<ul>
|
@@ -237,9 +238,9 @@
|
|
237
238
|
</div>
|
238
239
|
|
239
240
|
<div id="footer">
|
240
|
-
Generated on
|
241
|
+
Generated on Wed Mar 30 19:23:43 2016 by
|
241
242
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
242
|
-
0.8.7.
|
243
|
+
0.8.7.6 (ruby-2.3.0).
|
243
244
|
</div>
|
244
245
|
|
245
246
|
</body>
|
data/doc/class_list.html
CHANGED
@@ -20,7 +20,11 @@
|
|
20
20
|
</head>
|
21
21
|
<body>
|
22
22
|
<script type="text/javascript" charset="utf-8">
|
23
|
-
|
23
|
+
var hasFrames = false;
|
24
|
+
try {
|
25
|
+
hasFrames = window.top.frames.main ? true : false;
|
26
|
+
} catch (e) { }
|
27
|
+
if (hasFrames) {
|
24
28
|
document.getElementById('base_target').target = 'main';
|
25
29
|
document.body.className = 'frames';
|
26
30
|
}
|
@@ -46,7 +50,7 @@
|
|
46
50
|
|
47
51
|
<ul id="full_list" class="class">
|
48
52
|
<li><span class='object_link'><a href="top-level-namespace.html" title="Top Level Namespace (root)">Top Level Namespace</a></span></li>
|
49
|
-
<li><a class='toggle'></a> <span class='object_link'><a href="DevDNSd.html" title="DevDNSd (module)">DevDNSd</a></span><small class='search_info'>Top Level Namespace</small></li><ul><li><span class='object_link'><a href="DevDNSd/
|
53
|
+
<li><a class='toggle'></a> <span class='object_link'><a href="DevDNSd.html" title="DevDNSd (module)">DevDNSd</a></span><small class='search_info'>Top Level Namespace</small></li><ul><li><span class='object_link'><a href="DevDNSd/Aliases.html" title="DevDNSd::Aliases (module)">Aliases</a></span><small class='search_info'>DevDNSd</small></li><li><span class='object_link'><a href="DevDNSd/Application.html" title="DevDNSd::Application (class)">Application</a></span> < Daemon<small class='search_info'>DevDNSd</small></li><li><span class='object_link'><a href="DevDNSd/Configuration.html" title="DevDNSd::Configuration (class)">Configuration</a></span> < Configuration<small class='search_info'>DevDNSd</small></li><li><a class='toggle'></a> <span class='object_link'><a href="DevDNSd/Errors.html" title="DevDNSd::Errors (module)">Errors</a></span><small class='search_info'>DevDNSd</small></li><ul><li><span class='object_link'><a href="DevDNSd/Errors/InvalidRule.html" title="DevDNSd::Errors::InvalidRule (class)">InvalidRule</a></span> < ArgumentError<small class='search_info'>DevDNSd::Errors</small></li></ul><li><span class='object_link'><a href="DevDNSd/OSX.html" title="DevDNSd::OSX (module)">OSX</a></span><small class='search_info'>DevDNSd</small></li><li><span class='object_link'><a href="DevDNSd/Rule.html" title="DevDNSd::Rule (class)">Rule</a></span> < Object<small class='search_info'>DevDNSd</small></li><li><span class='object_link'><a href="DevDNSd/Server.html" title="DevDNSd::Server (module)">Server</a></span><small class='search_info'>DevDNSd</small></li><li><span class='object_link'><a href="DevDNSd/System.html" title="DevDNSd::System (module)">System</a></span><small class='search_info'>DevDNSd</small></li><li><span class='object_link'><a href="DevDNSd/Version.html" title="DevDNSd::Version (module)">Version</a></span><small class='search_info'>DevDNSd</small></li></ul>
|
50
54
|
|
51
55
|
</ul>
|
52
56
|
</div>
|
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.7.
|
9
|
+
— Documentation by YARD 0.8.7.6
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -67,12 +67,11 @@
|
|
67
67
|
<a href="https://gemnasium.com/ShogunPanda/devdnsd"><img src="https://gemnasium.com/ShogunPanda/devdnsd.png?travis" alt="Dependency Status" /></a>
|
68
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
69
|
<a href="https://codeclimate.com/github/ShogunPanda/devdnsd"><img src="https://codeclimate.com/github/ShogunPanda/devdnsd.png" alt="Code Climate" /></a>
|
70
|
-
<a href="https://coveralls.io/r/ShogunPanda/devdnsd"><img src="https://coveralls.io/repos/ShogunPanda/devdnsd/badge.png" alt="Coverage Status" /></a>
|
71
|
-
<a href="https://bitdeli.com/free" title="Bitdeli Badge"><img src="https://d2weczhvl823v0.cloudfront.net/ShogunPanda/devdnsd/trend.png" alt="Bitdeli Trend" /></a></p>
|
70
|
+
<a href="https://coveralls.io/r/ShogunPanda/devdnsd"><img src="https://coveralls.io/repos/ShogunPanda/devdnsd/badge.png" alt="Coverage Status" /></a></p>
|
72
71
|
|
73
72
|
<p>A small DNS server to enable local .dev domain resolution.</p>
|
74
73
|
|
75
|
-
<p>http://sw.
|
74
|
+
<p>http://sw.cowtech.it/devdnsd</p>
|
76
75
|
|
77
76
|
<p>http://rdoc.info/gems/devdnsd</p>
|
78
77
|
|
@@ -104,8 +103,8 @@
|
|
104
103
|
<p>If you experience slowness in resolving host from clients (Chrome, curl etc.) when you don’t specify the address type, make sure you have both a <code>A</code> and <code>AAAA</code> rules set for the same host, like this:</p>
|
105
104
|
|
106
105
|
<p><code>ruby
|
107
|
-
config.add_rule(/\.dev$/, "127.0.0.1")
|
108
|
-
config.add_rule(/\.dev$/, "::1", :AAAA)
|
106
|
+
config.add_rule(match: /\.dev$/, reply: "127.0.0.1")
|
107
|
+
config.add_rule(match: /\.dev$/, reply: "::1", type: :AAAA)
|
109
108
|
</code></p>
|
110
109
|
|
111
110
|
<h2 id="advanced-usage">Advanced usage</h2>
|
@@ -167,7 +166,7 @@ This argument is ignored if you pass the block, as it assumes that the second ar
|
|
167
166
|
|
168
167
|
<h2 id="copyright">Copyright</h2>
|
169
168
|
|
170
|
-
<p>This software have been made possible by the awesome job of <a href="https://github.com/ioquatix">Samuel Williams</a>, with his <a href="https://github.com/rubydns">RubyDNS</a> and <a href="https://github.com/
|
169
|
+
<p>This software have been made possible by the awesome job of <a href="https://github.com/ioquatix">Samuel Williams</a>, with his <a href="https://github.com/rubydns">RubyDNS</a> and <a href="https://github.com/process-daemon">process-daemon</a> gems.</p>
|
171
170
|
|
172
171
|
<p>Copyright (C) 2013 and above Shogun (shogun@cowtech.it).</p>
|
173
172
|
|
@@ -175,9 +174,9 @@ This argument is ignored if you pass the block, as it assumes that the second ar
|
|
175
174
|
</div></div>
|
176
175
|
|
177
176
|
<div id="footer">
|
178
|
-
Generated on
|
177
|
+
Generated on Wed Mar 30 19:23:43 2016 by
|
179
178
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
180
|
-
0.8.7.
|
179
|
+
0.8.7.6 (ruby-2.3.0).
|
181
180
|
</div>
|
182
181
|
|
183
182
|
</body>
|
data/doc/file_list.html
CHANGED
@@ -20,7 +20,11 @@
|
|
20
20
|
</head>
|
21
21
|
<body>
|
22
22
|
<script type="text/javascript" charset="utf-8">
|
23
|
-
|
23
|
+
var hasFrames = false;
|
24
|
+
try {
|
25
|
+
hasFrames = window.top.frames.main ? true : false;
|
26
|
+
} catch (e) { }
|
27
|
+
if (hasFrames) {
|
24
28
|
document.getElementById('base_target').target = 'main';
|
25
29
|
document.body.className = 'frames';
|
26
30
|
}
|
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.
|
7
|
+
<title>Documentation by YARD 0.8.7.6</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.7.
|
9
|
+
— Documentation by YARD 0.8.7.6
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -67,12 +67,11 @@
|
|
67
67
|
<a href="https://gemnasium.com/ShogunPanda/devdnsd"><img src="https://gemnasium.com/ShogunPanda/devdnsd.png?travis" alt="Dependency Status" /></a>
|
68
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
69
|
<a href="https://codeclimate.com/github/ShogunPanda/devdnsd"><img src="https://codeclimate.com/github/ShogunPanda/devdnsd.png" alt="Code Climate" /></a>
|
70
|
-
<a href="https://coveralls.io/r/ShogunPanda/devdnsd"><img src="https://coveralls.io/repos/ShogunPanda/devdnsd/badge.png" alt="Coverage Status" /></a>
|
71
|
-
<a href="https://bitdeli.com/free" title="Bitdeli Badge"><img src="https://d2weczhvl823v0.cloudfront.net/ShogunPanda/devdnsd/trend.png" alt="Bitdeli Trend" /></a></p>
|
70
|
+
<a href="https://coveralls.io/r/ShogunPanda/devdnsd"><img src="https://coveralls.io/repos/ShogunPanda/devdnsd/badge.png" alt="Coverage Status" /></a></p>
|
72
71
|
|
73
72
|
<p>A small DNS server to enable local .dev domain resolution.</p>
|
74
73
|
|
75
|
-
<p>http://sw.
|
74
|
+
<p>http://sw.cowtech.it/devdnsd</p>
|
76
75
|
|
77
76
|
<p>http://rdoc.info/gems/devdnsd</p>
|
78
77
|
|
@@ -104,8 +103,8 @@
|
|
104
103
|
<p>If you experience slowness in resolving host from clients (Chrome, curl etc.) when you don’t specify the address type, make sure you have both a <code>A</code> and <code>AAAA</code> rules set for the same host, like this:</p>
|
105
104
|
|
106
105
|
<p><code>ruby
|
107
|
-
config.add_rule(/\.dev$/, "127.0.0.1")
|
108
|
-
config.add_rule(/\.dev$/, "::1", :AAAA)
|
106
|
+
config.add_rule(match: /\.dev$/, reply: "127.0.0.1")
|
107
|
+
config.add_rule(match: /\.dev$/, reply: "::1", type: :AAAA)
|
109
108
|
</code></p>
|
110
109
|
|
111
110
|
<h2 id="advanced-usage">Advanced usage</h2>
|
@@ -167,7 +166,7 @@ This argument is ignored if you pass the block, as it assumes that the second ar
|
|
167
166
|
|
168
167
|
<h2 id="copyright">Copyright</h2>
|
169
168
|
|
170
|
-
<p>This software have been made possible by the awesome job of <a href="https://github.com/ioquatix">Samuel Williams</a>, with his <a href="https://github.com/rubydns">RubyDNS</a> and <a href="https://github.com/
|
169
|
+
<p>This software have been made possible by the awesome job of <a href="https://github.com/ioquatix">Samuel Williams</a>, with his <a href="https://github.com/rubydns">RubyDNS</a> and <a href="https://github.com/process-daemon">process-daemon</a> gems.</p>
|
171
170
|
|
172
171
|
<p>Copyright (C) 2013 and above Shogun (shogun@cowtech.it).</p>
|
173
172
|
|
@@ -175,9 +174,9 @@ This argument is ignored if you pass the block, as it assumes that the second ar
|
|
175
174
|
</div></div>
|
176
175
|
|
177
176
|
<div id="footer">
|
178
|
-
Generated on
|
177
|
+
Generated on Wed Mar 30 19:23:43 2016 by
|
179
178
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
180
|
-
0.8.7.
|
179
|
+
0.8.7.6 (ruby-2.3.0).
|
181
180
|
</div>
|
182
181
|
|
183
182
|
</body>
|
data/doc/js/full_list.js
CHANGED
@@ -123,7 +123,10 @@ function linkList() {
|
|
123
123
|
}
|
124
124
|
}
|
125
125
|
if (clicked) clicked.removeClass('clicked');
|
126
|
-
var win
|
126
|
+
var win;
|
127
|
+
try {
|
128
|
+
win = window.top.frames.main ? window.top.frames.main : window.parent;
|
129
|
+
} catch (e) { win = window.parent; }
|
127
130
|
if (this.tagName.toLowerCase() == "a") {
|
128
131
|
clicked = $(this).parents('li').addClass('clicked');
|
129
132
|
win.location = this.href;
|
data/doc/method_list.html
CHANGED
@@ -20,7 +20,11 @@
|
|
20
20
|
</head>
|
21
21
|
<body>
|
22
22
|
<script type="text/javascript" charset="utf-8">
|
23
|
-
|
23
|
+
var hasFrames = false;
|
24
|
+
try {
|
25
|
+
hasFrames = window.top.frames.main ? true : false;
|
26
|
+
} catch (e) { }
|
27
|
+
if (hasFrames) {
|
24
28
|
document.getElementById('base_target').target = 'main';
|
25
29
|
document.body.className = 'frames';
|
26
30
|
}
|
@@ -48,65 +52,77 @@
|
|
48
52
|
|
49
53
|
|
50
54
|
<li class="r1 ">
|
51
|
-
<span class='object_link'><a href="DevDNSd/
|
52
|
-
<small>DevDNSd::
|
55
|
+
<span class='object_link'><a href="DevDNSd/Application.html#%3Ai18n-instance_method" title="DevDNSd::Application#:i18n (method)">#:i18n</a></span>
|
56
|
+
<small>DevDNSd::Application</small>
|
53
57
|
</li>
|
54
58
|
|
55
59
|
|
56
60
|
<li class="r2 ">
|
57
|
-
<span class='object_link'><a href="DevDNSd/
|
58
|
-
<small>DevDNSd::
|
61
|
+
<span class='object_link'><a href="DevDNSd/OSX.html#action_add-instance_method" title="DevDNSd::OSX#action_add (method)">#action_add</a></span>
|
62
|
+
<small>DevDNSd::OSX</small>
|
59
63
|
</li>
|
60
64
|
|
61
65
|
|
62
66
|
<li class="r1 ">
|
63
|
-
<span class='object_link'><a href="DevDNSd/
|
64
|
-
<small>DevDNSd::
|
67
|
+
<span class='object_link'><a href="DevDNSd/OSX.html#action_install-instance_method" title="DevDNSd::OSX#action_install (method)">#action_install</a></span>
|
68
|
+
<small>DevDNSd::OSX</small>
|
65
69
|
</li>
|
66
70
|
|
67
71
|
|
68
72
|
<li class="r2 ">
|
69
|
-
<span class='object_link'><a href="DevDNSd/
|
70
|
-
<small>DevDNSd::
|
73
|
+
<span class='object_link'><a href="DevDNSd/OSX.html#action_remove-instance_method" title="DevDNSd::OSX#action_remove (method)">#action_remove</a></span>
|
74
|
+
<small>DevDNSd::OSX</small>
|
71
75
|
</li>
|
72
76
|
|
73
77
|
|
74
78
|
<li class="r1 ">
|
75
|
-
<span class='object_link'><a href="DevDNSd/
|
76
|
-
<small>DevDNSd::
|
79
|
+
<span class='object_link'><a href="DevDNSd/System.html#action_restart-instance_method" title="DevDNSd::System#action_restart (method)">#action_restart</a></span>
|
80
|
+
<small>DevDNSd::System</small>
|
77
81
|
</li>
|
78
82
|
|
79
83
|
|
80
84
|
<li class="r2 ">
|
81
|
-
<span class='object_link'><a href="DevDNSd/
|
82
|
-
<small>DevDNSd::
|
85
|
+
<span class='object_link'><a href="DevDNSd/System.html#action_start-instance_method" title="DevDNSd::System#action_start (method)">#action_start</a></span>
|
86
|
+
<small>DevDNSd::System</small>
|
83
87
|
</li>
|
84
88
|
|
85
89
|
|
86
90
|
<li class="r1 ">
|
87
|
-
<span class='object_link'><a href="DevDNSd/
|
88
|
-
<small>DevDNSd::
|
91
|
+
<span class='object_link'><a href="DevDNSd/System.html#action_status-instance_method" title="DevDNSd::System#action_status (method)">#action_status</a></span>
|
92
|
+
<small>DevDNSd::System</small>
|
89
93
|
</li>
|
90
94
|
|
91
95
|
|
92
96
|
<li class="r2 ">
|
93
|
-
<span class='object_link'><a href="DevDNSd/
|
94
|
-
<small>DevDNSd::
|
97
|
+
<span class='object_link'><a href="DevDNSd/System.html#action_stop-instance_method" title="DevDNSd::System#action_stop (method)">#action_stop</a></span>
|
98
|
+
<small>DevDNSd::System</small>
|
95
99
|
</li>
|
96
100
|
|
97
101
|
|
98
102
|
<li class="r1 ">
|
103
|
+
<span class='object_link'><a href="DevDNSd/OSX.html#action_uninstall-instance_method" title="DevDNSd::OSX#action_uninstall (method)">#action_uninstall</a></span>
|
104
|
+
<small>DevDNSd::OSX</small>
|
105
|
+
</li>
|
106
|
+
|
107
|
+
|
108
|
+
<li class="r2 ">
|
99
109
|
<span class='object_link'><a href="DevDNSd/Configuration.html#add_rule-instance_method" title="DevDNSd::Configuration#add_rule (method)">#add_rule</a></span>
|
100
110
|
<small>DevDNSd::Configuration</small>
|
101
111
|
</li>
|
102
112
|
|
103
113
|
|
104
|
-
<li class="
|
114
|
+
<li class="r1 ">
|
105
115
|
<span class='object_link'><a href="DevDNSd/Rule.html#block-instance_method" title="DevDNSd::Rule#block (method)">#block</a></span>
|
106
116
|
<small>DevDNSd::Rule</small>
|
107
117
|
</li>
|
108
118
|
|
109
119
|
|
120
|
+
<li class="r2 ">
|
121
|
+
<span class='object_link'><a href="DevDNSd/Rule.html#block%3F-instance_method" title="DevDNSd::Rule#block? (method)">#block?</a></span>
|
122
|
+
<small>DevDNSd::Rule</small>
|
123
|
+
</li>
|
124
|
+
|
125
|
+
|
110
126
|
<li class="r1 ">
|
111
127
|
<span class='object_link'><a href="DevDNSd/Application.html#check_ruby_implementation-class_method" title="DevDNSd::Application.check_ruby_implementation (method)">check_ruby_implementation</a></span>
|
112
128
|
<small>DevDNSd::Application</small>
|
@@ -120,8 +136,8 @@
|
|
120
136
|
|
121
137
|
|
122
138
|
<li class="r1 ">
|
123
|
-
<span class='object_link'><a href="DevDNSd/
|
124
|
-
<small>DevDNSd::
|
139
|
+
<span class='object_link'><a href="DevDNSd/Aliases.html#compute_addresses-instance_method" title="DevDNSd::Aliases#compute_addresses (method)">#compute_addresses</a></span>
|
140
|
+
<small>DevDNSd::Aliases</small>
|
125
141
|
</li>
|
126
142
|
|
127
143
|
|
@@ -138,31 +154,31 @@
|
|
138
154
|
|
139
155
|
|
140
156
|
<li class="r2 ">
|
141
|
-
<span class='object_link'><a href="DevDNSd/
|
142
|
-
<small>DevDNSd::
|
157
|
+
<span class='object_link'><a href="DevDNSd/System.html#daemon_name-instance_method" title="DevDNSd::System#daemon_name (method)">#daemon_name</a></span>
|
158
|
+
<small>DevDNSd::System</small>
|
143
159
|
</li>
|
144
160
|
|
145
161
|
|
146
162
|
<li class="r1 ">
|
147
|
-
<span class='object_link'><a href="DevDNSd/
|
148
|
-
<small>DevDNSd::
|
163
|
+
<span class='object_link'><a href="DevDNSd/OSX.html#dns_update-instance_method" title="DevDNSd::OSX#dns_update (method)">#dns_update</a></span>
|
164
|
+
<small>DevDNSd::OSX</small>
|
149
165
|
</li>
|
150
166
|
|
151
167
|
|
152
168
|
<li class="r2 ">
|
153
|
-
<span class='object_link'><a href="DevDNSd/
|
154
|
-
<small>DevDNSd::
|
169
|
+
<span class='object_link'><a href="DevDNSd/OSX.html#execute_command-instance_method" title="DevDNSd::OSX#execute_command (method)">#execute_command</a></span>
|
170
|
+
<small>DevDNSd::OSX</small>
|
155
171
|
</li>
|
156
172
|
|
157
173
|
|
158
174
|
<li class="r1 ">
|
159
|
-
<span class='object_link'><a href="DevDNSd/Application.html#
|
175
|
+
<span class='object_link'><a href="DevDNSd/Application.html#i18n-instance_method" title="DevDNSd::Application#i18n (method)">#i18n</a></span>
|
160
176
|
<small>DevDNSd::Application</small>
|
161
177
|
</li>
|
162
178
|
|
163
179
|
|
164
180
|
<li class="r2 ">
|
165
|
-
<span class='object_link'><a href="DevDNSd/Rule.html#
|
181
|
+
<span class='object_link'><a href="DevDNSd/Rule.html#initialize-instance_method" title="DevDNSd::Rule#initialize (method)">#initialize</a></span>
|
166
182
|
<small>DevDNSd::Rule</small>
|
167
183
|
</li>
|
168
184
|
|
@@ -180,188 +196,194 @@
|
|
180
196
|
|
181
197
|
|
182
198
|
<li class="r1 ">
|
183
|
-
<span class='object_link'><a href="DevDNSd/
|
184
|
-
<small>DevDNSd::
|
199
|
+
<span class='object_link'><a href="DevDNSd/Application.html#instance-class_method" title="DevDNSd::Application.instance (method)">instance</a></span>
|
200
|
+
<small>DevDNSd::Application</small>
|
185
201
|
</li>
|
186
202
|
|
187
203
|
|
188
204
|
<li class="r2 ">
|
189
|
-
<span class='object_link'><a href="DevDNSd/
|
190
|
-
<small>DevDNSd::
|
205
|
+
<span class='object_link'><a href="DevDNSd/Aliases.html#ipv4%3F-instance_method" title="DevDNSd::Aliases#ipv4? (method)">#ipv4?</a></span>
|
206
|
+
<small>DevDNSd::Aliases</small>
|
191
207
|
</li>
|
192
208
|
|
193
209
|
|
194
210
|
<li class="r1 ">
|
195
|
-
<span class='object_link'><a href="DevDNSd/
|
196
|
-
<small>DevDNSd::
|
211
|
+
<span class='object_link'><a href="DevDNSd/Aliases.html#ipv6%3F-instance_method" title="DevDNSd::Aliases#ipv6? (method)">#ipv6?</a></span>
|
212
|
+
<small>DevDNSd::Aliases</small>
|
197
213
|
</li>
|
198
214
|
|
199
215
|
|
200
216
|
<li class="r2 ">
|
201
|
-
<span class='object_link'><a href="DevDNSd/
|
202
|
-
<small>DevDNSd::
|
217
|
+
<span class='object_link'><a href="DevDNSd/OSX.html#launch_agent_path-instance_method" title="DevDNSd::OSX#launch_agent_path (method)">#launch_agent_path</a></span>
|
218
|
+
<small>DevDNSd::OSX</small>
|
203
219
|
</li>
|
204
220
|
|
205
221
|
|
206
222
|
<li class="r1 ">
|
207
|
-
<span class='object_link'><a href="DevDNSd/
|
208
|
-
<small>DevDNSd::
|
223
|
+
<span class='object_link'><a href="DevDNSd/Application.html#locale-instance_method" title="DevDNSd::Application#locale (method)">#locale</a></span>
|
224
|
+
<small>DevDNSd::Application</small>
|
209
225
|
</li>
|
210
226
|
|
211
227
|
|
212
228
|
<li class="r2 ">
|
213
|
-
<span class='object_link'><a href="DevDNSd/
|
214
|
-
<small>DevDNSd::
|
229
|
+
<span class='object_link'><a href="DevDNSd/System.html#log_directory-instance_method" title="DevDNSd::System#log_directory (method)">#log_directory</a></span>
|
230
|
+
<small>DevDNSd::System</small>
|
215
231
|
</li>
|
216
232
|
|
217
233
|
|
218
234
|
<li class="r1 ">
|
219
|
-
<span class='object_link'><a href="DevDNSd/
|
220
|
-
<small>DevDNSd::
|
235
|
+
<span class='object_link'><a href="DevDNSd/System.html#log_file_path-instance_method" title="DevDNSd::System#log_file_path (method)">#log_file_path</a></span>
|
236
|
+
<small>DevDNSd::System</small>
|
221
237
|
</li>
|
222
238
|
|
223
239
|
|
224
240
|
<li class="r2 ">
|
225
|
-
<span class='object_link'><a href="DevDNSd/Application.html#
|
241
|
+
<span class='object_link'><a href="DevDNSd/Application.html#logger-instance_method" title="DevDNSd::Application#logger (method)">#logger</a></span>
|
226
242
|
<small>DevDNSd::Application</small>
|
227
243
|
</li>
|
228
244
|
|
229
245
|
|
230
246
|
<li class="r1 ">
|
231
|
-
<span class='object_link'><a href="DevDNSd/
|
232
|
-
<small>DevDNSd::
|
247
|
+
<span class='object_link'><a href="DevDNSd/Aliases.html#manage_address-instance_method" title="DevDNSd::Aliases#manage_address (method)">#manage_address</a></span>
|
248
|
+
<small>DevDNSd::Aliases</small>
|
233
249
|
</li>
|
234
250
|
|
235
251
|
|
236
252
|
<li class="r2 ">
|
237
|
-
<span class='object_link'><a href="DevDNSd/
|
238
|
-
<small>DevDNSd::
|
253
|
+
<span class='object_link'><a href="DevDNSd/Aliases.html#manage_aliases-instance_method" title="DevDNSd::Aliases#manage_aliases (method)">#manage_aliases</a></span>
|
254
|
+
<small>DevDNSd::Aliases</small>
|
239
255
|
</li>
|
240
256
|
|
241
257
|
|
242
258
|
<li class="r1 ">
|
243
|
-
<span class='object_link'><a href="DevDNSd/
|
244
|
-
<small>DevDNSd::
|
259
|
+
<span class='object_link'><a href="DevDNSd/Rule.html#match-instance_method" title="DevDNSd::Rule#match (method)">#match</a></span>
|
260
|
+
<small>DevDNSd::Rule</small>
|
245
261
|
</li>
|
246
262
|
|
247
263
|
|
248
264
|
<li class="r2 ">
|
249
|
-
<span class='object_link'><a href="DevDNSd/
|
250
|
-
<small>DevDNSd::
|
265
|
+
<span class='object_link'><a href="DevDNSd/Rule.html#match_host-instance_method" title="DevDNSd::Rule#match_host (method)">#match_host</a></span>
|
266
|
+
<small>DevDNSd::Rule</small>
|
251
267
|
</li>
|
252
268
|
|
253
269
|
|
254
270
|
<li class="r1 ">
|
255
|
-
<span class='object_link'><a href="DevDNSd/
|
256
|
-
<small>DevDNSd::
|
271
|
+
<span class='object_link'><a href="DevDNSd/Application.html#on_start-instance_method" title="DevDNSd::Application#on_start (method)">#on_start</a></span>
|
272
|
+
<small>DevDNSd::Application</small>
|
257
273
|
</li>
|
258
274
|
|
259
275
|
|
260
276
|
<li class="r2 ">
|
261
|
-
<span class='object_link'><a href="DevDNSd/
|
262
|
-
<small>DevDNSd::
|
277
|
+
<span class='object_link'><a href="DevDNSd/Application.html#on_stop-instance_method" title="DevDNSd::Application#on_stop (method)">#on_stop</a></span>
|
278
|
+
<small>DevDNSd::Application</small>
|
263
279
|
</li>
|
264
280
|
|
265
281
|
|
266
282
|
<li class="r1 ">
|
267
|
-
<span class='object_link'><a href="DevDNSd/Rule.html#
|
283
|
+
<span class='object_link'><a href="DevDNSd/Rule.html#options-instance_method" title="DevDNSd::Rule#options (method)">#options</a></span>
|
268
284
|
<small>DevDNSd::Rule</small>
|
269
285
|
</li>
|
270
286
|
|
271
287
|
|
272
288
|
<li class="r2 ">
|
273
|
-
<span class='object_link'><a href="DevDNSd/
|
274
|
-
<small>DevDNSd::
|
289
|
+
<span class='object_link'><a href="DevDNSd/OSX.html#osx%3F-instance_method" title="DevDNSd::OSX#osx? (method)">#osx?</a></span>
|
290
|
+
<small>DevDNSd::OSX</small>
|
275
291
|
</li>
|
276
292
|
|
277
293
|
|
278
294
|
<li class="r1 ">
|
279
|
-
<span class='object_link'><a href="DevDNSd/
|
280
|
-
<small>DevDNSd::
|
295
|
+
<span class='object_link'><a href="DevDNSd/Server.html#perform_server-instance_method" title="DevDNSd::Server#perform_server (method)">#perform_server</a></span>
|
296
|
+
<small>DevDNSd::Server</small>
|
281
297
|
</li>
|
282
298
|
|
283
299
|
|
284
300
|
<li class="r2 ">
|
285
|
-
<span class='object_link'><a href="DevDNSd/
|
286
|
-
<small>DevDNSd::
|
301
|
+
<span class='object_link'><a href="DevDNSd/System.html#process_file_path-instance_method" title="DevDNSd::System#process_file_path (method)">#process_file_path</a></span>
|
302
|
+
<small>DevDNSd::System</small>
|
287
303
|
</li>
|
288
304
|
|
289
305
|
|
290
306
|
<li class="r1 ">
|
291
|
-
<span class='object_link'><a href="DevDNSd/
|
292
|
-
<small>DevDNSd::
|
307
|
+
<span class='object_link'><a href="DevDNSd/Server.html#process_rule-instance_method" title="DevDNSd::Server#process_rule (method)">#process_rule</a></span>
|
308
|
+
<small>DevDNSd::Server</small>
|
293
309
|
</li>
|
294
310
|
|
295
311
|
|
296
312
|
<li class="r2 ">
|
297
|
-
<span class='object_link'><a href="DevDNSd/
|
298
|
-
<small>DevDNSd::
|
313
|
+
<span class='object_link'><a href="DevDNSd/Server.html#process_rule_in_classes-instance_method" title="DevDNSd::Server#process_rule_in_classes (method)">#process_rule_in_classes</a></span>
|
314
|
+
<small>DevDNSd::Server</small>
|
299
315
|
</li>
|
300
316
|
|
301
317
|
|
302
318
|
<li class="r1 ">
|
303
|
-
<span class='object_link'><a href="DevDNSd/
|
304
|
-
<small>DevDNSd::
|
319
|
+
<span class='object_link'><a href="DevDNSd/Application.html#quit-class_method" title="DevDNSd::Application.quit (method)">quit</a></span>
|
320
|
+
<small>DevDNSd::Application</small>
|
305
321
|
</li>
|
306
322
|
|
307
323
|
|
308
324
|
<li class="r2 ">
|
309
|
-
<span class='object_link'><a href="DevDNSd/
|
310
|
-
<small>DevDNSd::
|
325
|
+
<span class='object_link'><a href="DevDNSd/Rule.html#regexp%3F-instance_method" title="DevDNSd::Rule#regexp? (method)">#regexp?</a></span>
|
326
|
+
<small>DevDNSd::Rule</small>
|
311
327
|
</li>
|
312
328
|
|
313
329
|
|
314
330
|
<li class="r1 ">
|
315
|
-
<span class='object_link'><a href="DevDNSd/
|
316
|
-
<small>DevDNSd::
|
331
|
+
<span class='object_link'><a href="DevDNSd/Rule.html#reply-instance_method" title="DevDNSd::Rule#reply (method)">#reply</a></span>
|
332
|
+
<small>DevDNSd::Rule</small>
|
317
333
|
</li>
|
318
334
|
|
319
335
|
|
320
336
|
<li class="r2 ">
|
321
|
-
<span class='object_link'><a href="DevDNSd/
|
322
|
-
<small>DevDNSd::
|
337
|
+
<span class='object_link'><a href="DevDNSd/OSX.html#resolver_path-instance_method" title="DevDNSd::OSX#resolver_path (method)">#resolver_path</a></span>
|
338
|
+
<small>DevDNSd::OSX</small>
|
323
339
|
</li>
|
324
340
|
|
325
341
|
|
326
342
|
<li class="r1 ">
|
327
|
-
<span class='object_link'><a href="DevDNSd/
|
328
|
-
<small>DevDNSd::
|
343
|
+
<span class='object_link'><a href="DevDNSd/Rule.html#resource_class-instance_method" title="DevDNSd::Rule#resource_class (method)">#resource_class</a></span>
|
344
|
+
<small>DevDNSd::Rule</small>
|
329
345
|
</li>
|
330
346
|
|
331
347
|
|
332
348
|
<li class="r2 ">
|
333
|
-
<span class='object_link'><a href="DevDNSd/Rule.html#
|
349
|
+
<span class='object_link'><a href="DevDNSd/Rule.html#resource_class_to_symbol-class_method" title="DevDNSd::Rule.resource_class_to_symbol (method)">resource_class_to_symbol</a></span>
|
334
350
|
<small>DevDNSd::Rule</small>
|
335
351
|
</li>
|
336
352
|
|
337
353
|
|
338
354
|
<li class="r1 ">
|
339
|
-
<span class='object_link'><a href="DevDNSd/
|
340
|
-
<small>DevDNSd::
|
355
|
+
<span class='object_link'><a href="DevDNSd/Application.html#run-class_method" title="DevDNSd::Application.run (method)">run</a></span>
|
356
|
+
<small>DevDNSd::Application</small>
|
341
357
|
</li>
|
342
358
|
|
343
359
|
|
344
360
|
<li class="r2 ">
|
345
|
-
<span class='object_link'><a href="DevDNSd/Application.html#
|
361
|
+
<span class='object_link'><a href="DevDNSd/Application.html#server-instance_method" title="DevDNSd::Application#server (method)">#server</a></span>
|
346
362
|
<small>DevDNSd::Application</small>
|
347
363
|
</li>
|
348
364
|
|
349
365
|
|
350
366
|
<li class="r1 ">
|
367
|
+
<span class='object_link'><a href="DevDNSd/Application.html#shutdown-instance_method" title="DevDNSd::Application#shutdown (method)">#shutdown</a></span>
|
368
|
+
<small>DevDNSd::Application</small>
|
369
|
+
</li>
|
370
|
+
|
371
|
+
|
372
|
+
<li class="r2 ">
|
351
373
|
<span class='object_link'><a href="DevDNSd/Rule.html#symbol_to_resource_class-class_method" title="DevDNSd::Rule.symbol_to_resource_class (method)">symbol_to_resource_class</a></span>
|
352
374
|
<small>DevDNSd::Rule</small>
|
353
375
|
</li>
|
354
376
|
|
355
377
|
|
356
|
-
<li class="
|
378
|
+
<li class="r1 ">
|
357
379
|
<span class='object_link'><a href="DevDNSd/Rule.html#type-instance_method" title="DevDNSd::Rule#type (method)">#type</a></span>
|
358
380
|
<small>DevDNSd::Rule</small>
|
359
381
|
</li>
|
360
382
|
|
361
383
|
|
362
|
-
<li class="
|
363
|
-
<span class='object_link'><a href="DevDNSd/
|
364
|
-
<small>DevDNSd::
|
384
|
+
<li class="r2 ">
|
385
|
+
<span class='object_link'><a href="DevDNSd/System.html#working_directory-instance_method" title="DevDNSd::System#working_directory (method)">#working_directory</a></span>
|
386
|
+
<small>DevDNSd::System</small>
|
365
387
|
</li>
|
366
388
|
|
367
389
|
|