devdnsd 1.5.2 → 1.6.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/README.md +1 -0
- data/bin/devdnsd +1 -0
- data/doc/DevDNSd.html +2 -2
- data/doc/DevDNSd/Application.html +679 -460
- data/doc/DevDNSd/Configuration.html +27 -29
- data/doc/DevDNSd/Errors.html +2 -2
- data/doc/DevDNSd/Errors/InvalidRule.html +2 -2
- data/doc/DevDNSd/Rule.html +71 -84
- data/doc/DevDNSd/Version.html +6 -10
- data/doc/_index.html +2 -2
- data/doc/file.README.html +4 -3
- data/doc/index.html +4 -3
- data/doc/method_list.html +48 -24
- data/doc/top-level-namespace.html +2 -2
- data/lib/devdnsd/application.rb +25 -3
- data/lib/devdnsd/configuration.rb +3 -0
- data/lib/devdnsd/version.rb +2 -2
- data/spec/devdnsd/application_spec.rb +41 -0
- metadata +159 -168
data/doc/index.html
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
3
3
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
4
4
|
<head>
|
5
|
-
<meta http-equiv="Content-Type" content="text/html; charset=
|
5
|
+
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
6
6
|
<title>
|
7
7
|
File: README
|
8
8
|
|
@@ -104,6 +104,7 @@
|
|
104
104
|
<li><code>foreground</code>: If run the application in foreground.</li>
|
105
105
|
<li><code>address</code>: The IP to bind, 0.0.0.0 by default.</li>
|
106
106
|
<li><code>port</code>: The port to bind, 7771 by default.</li>
|
107
|
+
<li><code>pid_file</code>: The PID file to use.</li>
|
107
108
|
<li><code>tld</code>: The TLD to handle.</li>
|
108
109
|
<li><code>log_file</code>: The default log file. Not used if run in foreground.</li>
|
109
110
|
<li><code>log_level</code>: The default log level. Valid values are from 0 to 5 where 0 means "all messages".</li>
|
@@ -153,9 +154,9 @@ Licensed under the MIT license, which can be found at <a href="http://www.openso
|
|
153
154
|
</div></div>
|
154
155
|
|
155
156
|
<div id="footer">
|
156
|
-
Generated on
|
157
|
+
Generated on Sun Oct 7 09:50:15 2012 by
|
157
158
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
158
|
-
0.8.2.1 (ruby-1.
|
159
|
+
0.8.2.1 (ruby-1.9.2).
|
159
160
|
</div>
|
160
161
|
|
161
162
|
</body>
|
data/doc/method_list.html
CHANGED
@@ -119,7 +119,7 @@
|
|
119
119
|
|
120
120
|
|
121
121
|
<li class="r2 ">
|
122
|
-
<span class='object_link'><a href="DevDNSd/Application.html#
|
122
|
+
<span class='object_link'><a href="DevDNSd/Application.html#daemon_name-class_method" title="DevDNSd::Application.daemon_name (method)">daemon_name</a></span>
|
123
123
|
|
124
124
|
<small>DevDNSd::Application</small>
|
125
125
|
|
@@ -127,7 +127,7 @@
|
|
127
127
|
|
128
128
|
|
129
129
|
<li class="r1 ">
|
130
|
-
<span class='object_link'><a href="DevDNSd/Application.html#
|
130
|
+
<span class='object_link'><a href="DevDNSd/Application.html#dns_update-instance_method" title="DevDNSd::Application#dns_update (method)">#dns_update</a></span>
|
131
131
|
|
132
132
|
<small>DevDNSd::Application</small>
|
133
133
|
|
@@ -135,7 +135,7 @@
|
|
135
135
|
|
136
136
|
|
137
137
|
<li class="r2 ">
|
138
|
-
<span class='object_link'><a href="DevDNSd/Application.html#
|
138
|
+
<span class='object_link'><a href="DevDNSd/Application.html#execute_command-instance_method" title="DevDNSd::Application#execute_command (method)">#execute_command</a></span>
|
139
139
|
|
140
140
|
<small>DevDNSd::Application</small>
|
141
141
|
|
@@ -143,15 +143,15 @@
|
|
143
143
|
|
144
144
|
|
145
145
|
<li class="r1 ">
|
146
|
-
<span class='object_link'><a href="DevDNSd/
|
146
|
+
<span class='object_link'><a href="DevDNSd/Application.html#get_logger-instance_method" title="DevDNSd::Application#get_logger (method)">#get_logger</a></span>
|
147
147
|
|
148
|
-
<small>DevDNSd::
|
148
|
+
<small>DevDNSd::Application</small>
|
149
149
|
|
150
150
|
</li>
|
151
151
|
|
152
152
|
|
153
153
|
<li class="r2 ">
|
154
|
-
<span class='object_link'><a href="DevDNSd/Rule.html#
|
154
|
+
<span class='object_link'><a href="DevDNSd/Rule.html#has_block%3F-instance_method" title="DevDNSd::Rule#has_block? (method)">#has_block?</a></span>
|
155
155
|
|
156
156
|
<small>DevDNSd::Rule</small>
|
157
157
|
|
@@ -175,6 +175,14 @@
|
|
175
175
|
|
176
176
|
|
177
177
|
<li class="r1 ">
|
178
|
+
<span class='object_link'><a href="DevDNSd/Rule.html#initialize-instance_method" title="DevDNSd::Rule#initialize (method)">#initialize</a></span>
|
179
|
+
|
180
|
+
<small>DevDNSd::Rule</small>
|
181
|
+
|
182
|
+
</li>
|
183
|
+
|
184
|
+
|
185
|
+
<li class="r2 ">
|
178
186
|
<span class='object_link'><a href="DevDNSd/Application.html#instance-class_method" title="DevDNSd::Application.instance (method)">instance</a></span>
|
179
187
|
|
180
188
|
<small>DevDNSd::Application</small>
|
@@ -182,7 +190,7 @@
|
|
182
190
|
</li>
|
183
191
|
|
184
192
|
|
185
|
-
<li class="
|
193
|
+
<li class="r1 ">
|
186
194
|
<span class='object_link'><a href="DevDNSd/Application.html#is_osx%3F-instance_method" title="DevDNSd::Application#is_osx? (method)">#is_osx?</a></span>
|
187
195
|
|
188
196
|
<small>DevDNSd::Application</small>
|
@@ -190,7 +198,7 @@
|
|
190
198
|
</li>
|
191
199
|
|
192
200
|
|
193
|
-
<li class="
|
201
|
+
<li class="r2 ">
|
194
202
|
<span class='object_link'><a href="DevDNSd/Rule.html#is_regexp%3F-instance_method" title="DevDNSd::Rule#is_regexp? (method)">#is_regexp?</a></span>
|
195
203
|
|
196
204
|
<small>DevDNSd::Rule</small>
|
@@ -198,7 +206,7 @@
|
|
198
206
|
</li>
|
199
207
|
|
200
208
|
|
201
|
-
<li class="
|
209
|
+
<li class="r1 ">
|
202
210
|
<span class='object_link'><a href="DevDNSd/Application.html#launch_agent_path-instance_method" title="DevDNSd::Application#launch_agent_path (method)">#launch_agent_path</a></span>
|
203
211
|
|
204
212
|
<small>DevDNSd::Application</small>
|
@@ -206,7 +214,7 @@
|
|
206
214
|
</li>
|
207
215
|
|
208
216
|
|
209
|
-
<li class="
|
217
|
+
<li class="r2 ">
|
210
218
|
<span class='object_link'><a href="DevDNSd/Application.html#logger-instance_method" title="DevDNSd::Application#logger (method)">#logger</a></span>
|
211
219
|
|
212
220
|
<small>DevDNSd::Application</small>
|
@@ -214,7 +222,7 @@
|
|
214
222
|
</li>
|
215
223
|
|
216
224
|
|
217
|
-
<li class="
|
225
|
+
<li class="r1 ">
|
218
226
|
<span class='object_link'><a href="DevDNSd/Rule.html#match-instance_method" title="DevDNSd::Rule#match (method)">#match</a></span>
|
219
227
|
|
220
228
|
<small>DevDNSd::Rule</small>
|
@@ -222,7 +230,7 @@
|
|
222
230
|
</li>
|
223
231
|
|
224
232
|
|
225
|
-
<li class="
|
233
|
+
<li class="r2 ">
|
226
234
|
<span class='object_link'><a href="DevDNSd/Rule.html#match_host-instance_method" title="DevDNSd::Rule#match_host (method)">#match_host</a></span>
|
227
235
|
|
228
236
|
<small>DevDNSd::Rule</small>
|
@@ -230,7 +238,7 @@
|
|
230
238
|
</li>
|
231
239
|
|
232
240
|
|
233
|
-
<li class="
|
241
|
+
<li class="r1 ">
|
234
242
|
<span class='object_link'><a href="DevDNSd/Application.html#on_start-instance_method" title="DevDNSd::Application#on_start (method)">#on_start</a></span>
|
235
243
|
|
236
244
|
<small>DevDNSd::Application</small>
|
@@ -238,7 +246,7 @@
|
|
238
246
|
</li>
|
239
247
|
|
240
248
|
|
241
|
-
<li class="
|
249
|
+
<li class="r2 ">
|
242
250
|
<span class='object_link'><a href="DevDNSd/Application.html#on_stop-instance_method" title="DevDNSd::Application#on_stop (method)">#on_stop</a></span>
|
243
251
|
|
244
252
|
<small>DevDNSd::Application</small>
|
@@ -246,7 +254,7 @@
|
|
246
254
|
</li>
|
247
255
|
|
248
256
|
|
249
|
-
<li class="
|
257
|
+
<li class="r1 ">
|
250
258
|
<span class='object_link'><a href="DevDNSd/Rule.html#options-instance_method" title="DevDNSd::Rule#options (method)">#options</a></span>
|
251
259
|
|
252
260
|
<small>DevDNSd::Rule</small>
|
@@ -254,7 +262,7 @@
|
|
254
262
|
</li>
|
255
263
|
|
256
264
|
|
257
|
-
<li class="
|
265
|
+
<li class="r2 ">
|
258
266
|
<span class='object_link'><a href="DevDNSd/Application.html#perform_server-instance_method" title="DevDNSd::Application#perform_server (method)">#perform_server</a></span>
|
259
267
|
|
260
268
|
<small>DevDNSd::Application</small>
|
@@ -262,8 +270,16 @@
|
|
262
270
|
</li>
|
263
271
|
|
264
272
|
|
273
|
+
<li class="r1 ">
|
274
|
+
<span class='object_link'><a href="DevDNSd/Application.html#pid_directory-class_method" title="DevDNSd::Application.pid_directory (method)">pid_directory</a></span>
|
275
|
+
|
276
|
+
<small>DevDNSd::Application</small>
|
277
|
+
|
278
|
+
</li>
|
279
|
+
|
280
|
+
|
265
281
|
<li class="r2 ">
|
266
|
-
<span class='object_link'><a href="DevDNSd/Application.html#
|
282
|
+
<span class='object_link'><a href="DevDNSd/Application.html#pid_fn-class_method" title="DevDNSd::Application.pid_fn (method)">pid_fn</a></span>
|
267
283
|
|
268
284
|
<small>DevDNSd::Application</small>
|
269
285
|
|
@@ -271,7 +287,7 @@
|
|
271
287
|
|
272
288
|
|
273
289
|
<li class="r1 ">
|
274
|
-
<span class='object_link'><a href="DevDNSd/Application.html#
|
290
|
+
<span class='object_link'><a href="DevDNSd/Application.html#process_rule-instance_method" title="DevDNSd::Application#process_rule (method)">#process_rule</a></span>
|
275
291
|
|
276
292
|
<small>DevDNSd::Application</small>
|
277
293
|
|
@@ -279,6 +295,14 @@
|
|
279
295
|
|
280
296
|
|
281
297
|
<li class="r2 ">
|
298
|
+
<span class='object_link'><a href="DevDNSd/Application.html#quit-class_method" title="DevDNSd::Application.quit (method)">quit</a></span>
|
299
|
+
|
300
|
+
<small>DevDNSd::Application</small>
|
301
|
+
|
302
|
+
</li>
|
303
|
+
|
304
|
+
|
305
|
+
<li class="r1 ">
|
282
306
|
<span class='object_link'><a href="DevDNSd/Rule.html#reply-instance_method" title="DevDNSd::Rule#reply (method)">#reply</a></span>
|
283
307
|
|
284
308
|
<small>DevDNSd::Rule</small>
|
@@ -286,7 +310,7 @@
|
|
286
310
|
</li>
|
287
311
|
|
288
312
|
|
289
|
-
<li class="
|
313
|
+
<li class="r2 ">
|
290
314
|
<span class='object_link'><a href="DevDNSd/Application.html#resolver_path-instance_method" title="DevDNSd::Application#resolver_path (method)">#resolver_path</a></span>
|
291
315
|
|
292
316
|
<small>DevDNSd::Application</small>
|
@@ -294,7 +318,7 @@
|
|
294
318
|
</li>
|
295
319
|
|
296
320
|
|
297
|
-
<li class="
|
321
|
+
<li class="r1 ">
|
298
322
|
<span class='object_link'><a href="DevDNSd/Rule.html#resource_class-instance_method" title="DevDNSd::Rule#resource_class (method)">#resource_class</a></span>
|
299
323
|
|
300
324
|
<small>DevDNSd::Rule</small>
|
@@ -302,7 +326,7 @@
|
|
302
326
|
</li>
|
303
327
|
|
304
328
|
|
305
|
-
<li class="
|
329
|
+
<li class="r2 ">
|
306
330
|
<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>
|
307
331
|
|
308
332
|
<small>DevDNSd::Rule</small>
|
@@ -310,7 +334,7 @@
|
|
310
334
|
</li>
|
311
335
|
|
312
336
|
|
313
|
-
<li class="
|
337
|
+
<li class="r1 ">
|
314
338
|
<span class='object_link'><a href="DevDNSd/Application.html#run-class_method" title="DevDNSd::Application.run (method)">run</a></span>
|
315
339
|
|
316
340
|
<small>DevDNSd::Application</small>
|
@@ -318,7 +342,7 @@
|
|
318
342
|
</li>
|
319
343
|
|
320
344
|
|
321
|
-
<li class="
|
345
|
+
<li class="r2 ">
|
322
346
|
<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>
|
323
347
|
|
324
348
|
<small>DevDNSd::Rule</small>
|
@@ -326,7 +350,7 @@
|
|
326
350
|
</li>
|
327
351
|
|
328
352
|
|
329
|
-
<li class="
|
353
|
+
<li class="r1 ">
|
330
354
|
<span class='object_link'><a href="DevDNSd/Rule.html#type-instance_method" title="DevDNSd::Rule#type (method)">#type</a></span>
|
331
355
|
|
332
356
|
<small>DevDNSd::Rule</small>
|
@@ -103,9 +103,9 @@
|
|
103
103
|
</div>
|
104
104
|
|
105
105
|
<div id="footer">
|
106
|
-
Generated on
|
106
|
+
Generated on Sun Oct 7 09:50:15 2012 by
|
107
107
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
108
|
-
0.8.2.1 (ruby-1.
|
108
|
+
0.8.2.1 (ruby-1.9.2).
|
109
109
|
</div>
|
110
110
|
|
111
111
|
</body>
|
data/lib/devdnsd/application.rb
CHANGED
@@ -38,10 +38,11 @@ module DevDNSd
|
|
38
38
|
begin
|
39
39
|
overrides = {
|
40
40
|
:foreground => command.name == "start" ? command.options["foreground"].value : false,
|
41
|
-
:log_file => application.options["log-file"].value,
|
42
|
-
:log_level => application.options["log-level"].value,
|
43
41
|
:tld => application.options["tld"].value,
|
44
|
-
:port => application.options["port"].value
|
42
|
+
:port => application.options["port"].value,
|
43
|
+
:pid_file => application.options["pid-file"].value,
|
44
|
+
:log_file => application.options["log-file"].value,
|
45
|
+
:log_level => application.options["log-level"].value
|
45
46
|
}.reject {|k,v| v.nil? }
|
46
47
|
|
47
48
|
@config = DevDNSd::Configuration.new(application.options["configuration"].value, overrides, @logger)
|
@@ -56,6 +57,27 @@ module DevDNSd
|
|
56
57
|
self
|
57
58
|
end
|
58
59
|
|
60
|
+
# Returns the name of the daemon.
|
61
|
+
#
|
62
|
+
# @return [String] The name of the daemon.
|
63
|
+
def self.daemon_name
|
64
|
+
File.basename(self.instance.config.pid_file, ".pid")
|
65
|
+
end
|
66
|
+
|
67
|
+
# Returns the standard location of the PID file.
|
68
|
+
#
|
69
|
+
# @return [String] The standard location of the PID file.
|
70
|
+
def self.pid_directory
|
71
|
+
File.dirname(self.instance.config.pid_file)
|
72
|
+
end
|
73
|
+
|
74
|
+
# Returns the complete path of the PID file.
|
75
|
+
#
|
76
|
+
# @return [String] The complete path of the PID file.
|
77
|
+
def self.pid_fn
|
78
|
+
self.instance.config.pid_file
|
79
|
+
end
|
80
|
+
|
59
81
|
# Check if we are running on MacOS X.
|
60
82
|
# System services are only available on that platform.
|
61
83
|
#
|
@@ -19,6 +19,9 @@ module DevDNSd
|
|
19
19
|
# The TLD to manage. Default: `dev`.
|
20
20
|
property :tld, :default => "dev"
|
21
21
|
|
22
|
+
# The PID file to use. Default: `/var/run/devdnsd.pid`.
|
23
|
+
property :pid_file, :default => "/var/log/devdnsd.pid"
|
24
|
+
|
22
25
|
# The file to log to. Default: `/var/log/devdnsd.log`.
|
23
26
|
property :log_file, :default => "/var/log/devdnsd.log"
|
24
27
|
|
data/lib/devdnsd/version.rb
CHANGED
@@ -17,6 +17,7 @@ describe DevDNSd::Application do
|
|
17
17
|
option "configuration", [], {:default => overrides["configuration"] || "/dev/null"}
|
18
18
|
option "tld", [], {:default => overrides["tld"] || "dev"}
|
19
19
|
option "port", [], {:type => Integer, :default => overrides["port"] || 7771}
|
20
|
+
option "pid-file", [:P], {:type => String, :default => "/var/run/devdnsd.pid"}
|
20
21
|
option "log-file", [], {:default => overrides["log-file"] || "/dev/null"}
|
21
22
|
option "log-level", [:L], {:type => Integer, :default => overrides["log-level"] || 1}
|
22
23
|
end
|
@@ -75,6 +76,7 @@ describe DevDNSd::Application do
|
|
75
76
|
option "configuration", [], {:default => "/dev/null"}
|
76
77
|
option "tld", [], {:default => "dev"}
|
77
78
|
option "port", [], {:type => Integer, :default => 7771}
|
79
|
+
option "pid-file", [:P], {:type => String, :default => "/var/run/devdnsd.pid"}
|
78
80
|
option "log-file", [], {:default => "/dev/null"}
|
79
81
|
option "log-level", [:L], {:type => Integer, :default => 1}
|
80
82
|
end
|
@@ -97,6 +99,45 @@ describe DevDNSd::Application do
|
|
97
99
|
end
|
98
100
|
end
|
99
101
|
|
102
|
+
describe ".pid_fn" do
|
103
|
+
let(:application){ create_application({"log-file" => log_file, "configuration" => sample_config}) }
|
104
|
+
|
105
|
+
it "returns the default file" do
|
106
|
+
expect(DevDNSd::Application.pid_fn).to eq("/var/run/devdnsd.pid")
|
107
|
+
end
|
108
|
+
|
109
|
+
it "return the set file" do
|
110
|
+
DevDNSd::Application.instance.config.pid_file = "/this/is/a/daemon.pid"
|
111
|
+
expect(DevDNSd::Application.pid_fn).to eq("/this/is/a/daemon.pid")
|
112
|
+
end
|
113
|
+
end
|
114
|
+
|
115
|
+
describe ".pid_directory" do
|
116
|
+
let(:application){ create_application({"log-file" => log_file, "configuration" => sample_config}) }
|
117
|
+
|
118
|
+
it "returns the default path" do
|
119
|
+
expect(DevDNSd::Application.pid_directory).to eq("/var/run")
|
120
|
+
end
|
121
|
+
|
122
|
+
it "return the set path basing on the PID file" do
|
123
|
+
DevDNSd::Application.instance.config.pid_file = "/this/is/a/daemon.pid"
|
124
|
+
expect(DevDNSd::Application.pid_directory).to eq("/this/is/a")
|
125
|
+
end
|
126
|
+
end
|
127
|
+
|
128
|
+
describe ".daemon_name" do
|
129
|
+
let(:application){ create_application({"log-file" => log_file, "configuration" => sample_config}) }
|
130
|
+
|
131
|
+
it "returns the default name" do
|
132
|
+
expect(DevDNSd::Application.daemon_name).to eq("devdnsd")
|
133
|
+
end
|
134
|
+
|
135
|
+
it "return the set name basing on the PID file" do
|
136
|
+
DevDNSd::Application.instance.config.pid_file = "/this/is/a/daemon.pid"
|
137
|
+
expect(DevDNSd::Application.daemon_name).to eq("daemon")
|
138
|
+
end
|
139
|
+
end
|
140
|
+
|
100
141
|
describe "#perform_server" do
|
101
142
|
let(:application){ create_application({"log-file" => log_file, "configuration" => sample_config}) }
|
102
143
|
|
metadata
CHANGED
@@ -1,206 +1,200 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: devdnsd
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.6.0
|
5
5
|
prerelease:
|
6
|
-
segments:
|
7
|
-
- 1
|
8
|
-
- 5
|
9
|
-
- 2
|
10
|
-
version: 1.5.2
|
11
6
|
platform: ruby
|
12
|
-
authors:
|
7
|
+
authors:
|
13
8
|
- Shogun
|
14
9
|
autorequire:
|
15
10
|
bindir: bin
|
16
11
|
cert_chain: []
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
12
|
+
date: 2012-10-07 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: mamertes
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
22
17
|
none: false
|
23
|
-
requirements:
|
18
|
+
requirements:
|
24
19
|
- - ~>
|
25
|
-
- !ruby/object:Gem::Version
|
26
|
-
hash: 3
|
27
|
-
segments:
|
28
|
-
- 1
|
29
|
-
- 1
|
30
|
-
- 8
|
20
|
+
- !ruby/object:Gem::Version
|
31
21
|
version: 1.1.8
|
32
|
-
prerelease: false
|
33
22
|
type: :runtime
|
34
|
-
|
35
|
-
|
36
|
-
- !ruby/object:Gem::Dependency
|
37
|
-
version_requirements: &id002 !ruby/object:Gem::Requirement
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
38
25
|
none: false
|
39
|
-
requirements:
|
26
|
+
requirements:
|
40
27
|
- - ~>
|
41
|
-
- !ruby/object:Gem::Version
|
42
|
-
|
43
|
-
|
44
|
-
- 0
|
45
|
-
- 4
|
46
|
-
- 0
|
47
|
-
version: 0.4.0
|
48
|
-
prerelease: false
|
49
|
-
type: :runtime
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: 1.1.8
|
30
|
+
- !ruby/object:Gem::Dependency
|
50
31
|
name: rubydns
|
51
|
-
requirement:
|
52
|
-
- !ruby/object:Gem::Dependency
|
53
|
-
version_requirements: &id003 !ruby/object:Gem::Requirement
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
54
33
|
none: false
|
55
|
-
requirements:
|
34
|
+
requirements:
|
56
35
|
- - ~>
|
57
|
-
- !ruby/object:Gem::Version
|
58
|
-
|
59
|
-
segments:
|
60
|
-
- 1
|
61
|
-
- 4
|
62
|
-
- 1
|
63
|
-
version: 1.4.1
|
64
|
-
prerelease: false
|
36
|
+
- !ruby/object:Gem::Version
|
37
|
+
version: 0.4.0
|
65
38
|
type: :runtime
|
39
|
+
prerelease: false
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ~>
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: 0.4.0
|
46
|
+
- !ruby/object:Gem::Dependency
|
66
47
|
name: rexec
|
67
|
-
requirement:
|
68
|
-
- !ruby/object:Gem::Dependency
|
69
|
-
version_requirements: &id004 !ruby/object:Gem::Requirement
|
48
|
+
requirement: !ruby/object:Gem::Requirement
|
70
49
|
none: false
|
71
|
-
requirements:
|
50
|
+
requirements:
|
72
51
|
- - ~>
|
73
|
-
- !ruby/object:Gem::Version
|
74
|
-
|
75
|
-
|
76
|
-
- 2
|
77
|
-
- 11
|
78
|
-
- 0
|
79
|
-
version: 2.11.0
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: 1.4.1
|
54
|
+
type: :runtime
|
80
55
|
prerelease: false
|
81
|
-
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
58
|
+
requirements:
|
59
|
+
- - ~>
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: 1.4.1
|
62
|
+
- !ruby/object:Gem::Dependency
|
82
63
|
name: rspec
|
83
|
-
requirement:
|
84
|
-
- !ruby/object:Gem::Dependency
|
85
|
-
version_requirements: &id005 !ruby/object:Gem::Requirement
|
64
|
+
requirement: !ruby/object:Gem::Requirement
|
86
65
|
none: false
|
87
|
-
requirements:
|
66
|
+
requirements:
|
88
67
|
- - ~>
|
89
|
-
- !ruby/object:Gem::Version
|
90
|
-
|
91
|
-
segments:
|
92
|
-
- 0
|
93
|
-
- 9
|
94
|
-
- 0
|
95
|
-
version: 0.9.0
|
96
|
-
prerelease: false
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: 2.11.0
|
97
70
|
type: :development
|
71
|
+
prerelease: false
|
72
|
+
version_requirements: !ruby/object:Gem::Requirement
|
73
|
+
none: false
|
74
|
+
requirements:
|
75
|
+
- - ~>
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: 2.11.0
|
78
|
+
- !ruby/object:Gem::Dependency
|
98
79
|
name: rake
|
99
|
-
requirement:
|
100
|
-
- !ruby/object:Gem::Dependency
|
101
|
-
version_requirements: &id006 !ruby/object:Gem::Requirement
|
80
|
+
requirement: !ruby/object:Gem::Requirement
|
102
81
|
none: false
|
103
|
-
requirements:
|
82
|
+
requirements:
|
104
83
|
- - ~>
|
105
|
-
- !ruby/object:Gem::Version
|
106
|
-
|
107
|
-
segments:
|
108
|
-
- 0
|
109
|
-
- 6
|
110
|
-
- 0
|
111
|
-
version: 0.6.0
|
112
|
-
prerelease: false
|
84
|
+
- !ruby/object:Gem::Version
|
85
|
+
version: 0.9.0
|
113
86
|
type: :development
|
87
|
+
prerelease: false
|
88
|
+
version_requirements: !ruby/object:Gem::Requirement
|
89
|
+
none: false
|
90
|
+
requirements:
|
91
|
+
- - ~>
|
92
|
+
- !ruby/object:Gem::Version
|
93
|
+
version: 0.9.0
|
94
|
+
- !ruby/object:Gem::Dependency
|
114
95
|
name: simplecov
|
115
|
-
requirement:
|
116
|
-
- !ruby/object:Gem::Dependency
|
117
|
-
version_requirements: &id007 !ruby/object:Gem::Requirement
|
96
|
+
requirement: !ruby/object:Gem::Requirement
|
118
97
|
none: false
|
119
|
-
requirements:
|
120
|
-
- -
|
121
|
-
- !ruby/object:Gem::Version
|
122
|
-
|
123
|
-
segments:
|
124
|
-
- 0
|
125
|
-
version: "0"
|
126
|
-
prerelease: false
|
98
|
+
requirements:
|
99
|
+
- - ~>
|
100
|
+
- !ruby/object:Gem::Version
|
101
|
+
version: 0.6.0
|
127
102
|
type: :development
|
103
|
+
prerelease: false
|
104
|
+
version_requirements: !ruby/object:Gem::Requirement
|
105
|
+
none: false
|
106
|
+
requirements:
|
107
|
+
- - ~>
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: 0.6.0
|
110
|
+
- !ruby/object:Gem::Dependency
|
128
111
|
name: pry
|
129
|
-
requirement:
|
130
|
-
|
131
|
-
|
112
|
+
requirement: !ruby/object:Gem::Requirement
|
113
|
+
none: false
|
114
|
+
requirements:
|
115
|
+
- - ! '>='
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0'
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
none: false
|
122
|
+
requirements:
|
123
|
+
- - ! '>='
|
124
|
+
- !ruby/object:Gem::Version
|
125
|
+
version: '0'
|
126
|
+
- !ruby/object:Gem::Dependency
|
127
|
+
name: net-dns
|
128
|
+
requirement: !ruby/object:Gem::Requirement
|
132
129
|
none: false
|
133
|
-
requirements:
|
130
|
+
requirements:
|
134
131
|
- - ~>
|
135
|
-
- !ruby/object:Gem::Version
|
136
|
-
hash: 3
|
137
|
-
segments:
|
138
|
-
- 0
|
139
|
-
- 7
|
140
|
-
- 0
|
132
|
+
- !ruby/object:Gem::Version
|
141
133
|
version: 0.7.0
|
142
|
-
prerelease: false
|
143
134
|
type: :development
|
144
|
-
|
145
|
-
|
146
|
-
- !ruby/object:Gem::Dependency
|
147
|
-
version_requirements: &id009 !ruby/object:Gem::Requirement
|
135
|
+
prerelease: false
|
136
|
+
version_requirements: !ruby/object:Gem::Requirement
|
148
137
|
none: false
|
149
|
-
requirements:
|
138
|
+
requirements:
|
150
139
|
- - ~>
|
151
|
-
- !ruby/object:Gem::Version
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
140
|
+
- !ruby/object:Gem::Version
|
141
|
+
version: 0.7.0
|
142
|
+
- !ruby/object:Gem::Dependency
|
143
|
+
name: yard
|
144
|
+
requirement: !ruby/object:Gem::Requirement
|
145
|
+
none: false
|
146
|
+
requirements:
|
147
|
+
- - ~>
|
148
|
+
- !ruby/object:Gem::Version
|
157
149
|
version: 0.8.0
|
158
|
-
prerelease: false
|
159
150
|
type: :development
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
151
|
+
prerelease: false
|
152
|
+
version_requirements: !ruby/object:Gem::Requirement
|
153
|
+
none: false
|
154
|
+
requirements:
|
155
|
+
- - ~>
|
156
|
+
- !ruby/object:Gem::Version
|
157
|
+
version: 0.8.0
|
158
|
+
- !ruby/object:Gem::Dependency
|
159
|
+
name: redcarpet
|
160
|
+
requirement: !ruby/object:Gem::Requirement
|
164
161
|
none: false
|
165
|
-
requirements:
|
162
|
+
requirements:
|
166
163
|
- - ~>
|
167
|
-
- !ruby/object:Gem::Version
|
168
|
-
hash: 11
|
169
|
-
segments:
|
170
|
-
- 2
|
171
|
-
- 1
|
172
|
-
- 0
|
164
|
+
- !ruby/object:Gem::Version
|
173
165
|
version: 2.1.0
|
174
|
-
prerelease: false
|
175
166
|
type: :development
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
167
|
+
prerelease: false
|
168
|
+
version_requirements: !ruby/object:Gem::Requirement
|
169
|
+
none: false
|
170
|
+
requirements:
|
171
|
+
- - ~>
|
172
|
+
- !ruby/object:Gem::Version
|
173
|
+
version: 2.1.0
|
174
|
+
- !ruby/object:Gem::Dependency
|
175
|
+
name: github-markup
|
176
|
+
requirement: !ruby/object:Gem::Requirement
|
180
177
|
none: false
|
181
|
-
requirements:
|
178
|
+
requirements:
|
182
179
|
- - ~>
|
183
|
-
- !ruby/object:Gem::Version
|
184
|
-
hash: 3
|
185
|
-
segments:
|
186
|
-
- 0
|
187
|
-
- 7
|
188
|
-
- 0
|
180
|
+
- !ruby/object:Gem::Version
|
189
181
|
version: 0.7.0
|
190
|
-
prerelease: false
|
191
182
|
type: :development
|
192
|
-
|
193
|
-
|
183
|
+
prerelease: false
|
184
|
+
version_requirements: !ruby/object:Gem::Requirement
|
185
|
+
none: false
|
186
|
+
requirements:
|
187
|
+
- - ~>
|
188
|
+
- !ruby/object:Gem::Version
|
189
|
+
version: 0.7.0
|
194
190
|
description: A small DNS server to enable local domain resolution.
|
195
|
-
email:
|
191
|
+
email:
|
196
192
|
- shogun_panda@me.com
|
197
|
-
executables:
|
193
|
+
executables:
|
198
194
|
- devdnsd
|
199
195
|
extensions: []
|
200
|
-
|
201
196
|
extra_rdoc_files: []
|
202
|
-
|
203
|
-
files:
|
197
|
+
files:
|
204
198
|
- .DS_Store
|
205
199
|
- .gitignore
|
206
200
|
- .travis.yml
|
@@ -247,38 +241,35 @@ files:
|
|
247
241
|
- utils/tester.rb
|
248
242
|
homepage: http://github.com/ShogunPanda/devdnsd
|
249
243
|
licenses: []
|
250
|
-
|
251
244
|
post_install_message:
|
252
245
|
rdoc_options: []
|
253
|
-
|
254
|
-
require_paths:
|
246
|
+
require_paths:
|
255
247
|
- lib
|
256
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
248
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
257
249
|
none: false
|
258
|
-
requirements:
|
259
|
-
- -
|
260
|
-
- !ruby/object:Gem::Version
|
261
|
-
|
262
|
-
segments:
|
250
|
+
requirements:
|
251
|
+
- - ! '>='
|
252
|
+
- !ruby/object:Gem::Version
|
253
|
+
version: '0'
|
254
|
+
segments:
|
263
255
|
- 0
|
264
|
-
|
265
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
256
|
+
hash: -1871287833048768935
|
257
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
266
258
|
none: false
|
267
|
-
requirements:
|
268
|
-
- -
|
269
|
-
- !ruby/object:Gem::Version
|
270
|
-
|
271
|
-
segments:
|
259
|
+
requirements:
|
260
|
+
- - ! '>='
|
261
|
+
- !ruby/object:Gem::Version
|
262
|
+
version: '0'
|
263
|
+
segments:
|
272
264
|
- 0
|
273
|
-
|
265
|
+
hash: -1871287833048768935
|
274
266
|
requirements: []
|
275
|
-
|
276
267
|
rubyforge_project: devdnsd
|
277
268
|
rubygems_version: 1.8.24
|
278
269
|
signing_key:
|
279
270
|
specification_version: 3
|
280
271
|
summary: A small DNS server to enable local domain resolution.
|
281
|
-
test_files:
|
272
|
+
test_files:
|
282
273
|
- spec/coverage_helper.rb
|
283
274
|
- spec/devdnsd/application_spec.rb
|
284
275
|
- spec/devdnsd/configuration_spec.rb
|