landrush 0.13.0 → 0.13.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/landrush/command.rb +4 -0
- data/lib/landrush/server.rb +1 -1
- data/lib/landrush/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9367fe3e35d41516cf4a30aaf8ac35b629c166d1
|
4
|
+
data.tar.gz: 910fb953178c60bf1f51300c6ac97ed33a99b779
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1defc8f7a0e566f3532bf6c15d890e0c7eaeae1bcff90eb8af335645f9dbad8c6d1e4c2b6fb901880e1bb534a516b48acb41d6ddb368d8c19e3dc208b7a5e256
|
7
|
+
data.tar.gz: 4874259e55c38e3949afcbb59b6fe46e74759876bd9fefa9dcba85d30635af1267893138bb88f44b3bc0d9fd72a819bf6cdcfa7f906ca3d4755c8ba10c1e315d
|
data/lib/landrush/command.rb
CHANGED
@@ -2,6 +2,10 @@ module Landrush
|
|
2
2
|
class Command < Vagrant.plugin('2', :command)
|
3
3
|
DAEMON_COMMANDS = %w(start stop restart status)
|
4
4
|
|
5
|
+
def self.synopsis
|
6
|
+
"manages DNS for both guest and host"
|
7
|
+
end
|
8
|
+
|
5
9
|
def execute
|
6
10
|
ARGV.shift # flush landrush from ARGV, RExec wants to use it for daemon commands
|
7
11
|
|
data/lib/landrush/server.rb
CHANGED
@@ -54,7 +54,7 @@ module Landrush
|
|
54
54
|
match(/.*/, IN::A) do |transaction|
|
55
55
|
host = Store.hosts.find(transaction.name)
|
56
56
|
if host
|
57
|
-
transaction.respond!(Store.hosts.get(host))
|
57
|
+
transaction.respond!(Store.hosts.get(host), {:ttl => 0})
|
58
58
|
else
|
59
59
|
transaction.passthrough!(server.upstream)
|
60
60
|
end
|
data/lib/landrush/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: landrush
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.13.
|
4
|
+
version: 0.13.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Paul Hinze
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-04-
|
11
|
+
date: 2014-04-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubydns
|