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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c8a036c6758ecfa355d3763dd2df37cc8a699202
4
- data.tar.gz: e8778c8cd9924ab4503fc2c3b4a1a8a5d4a7417f
3
+ metadata.gz: 9367fe3e35d41516cf4a30aaf8ac35b629c166d1
4
+ data.tar.gz: 910fb953178c60bf1f51300c6ac97ed33a99b779
5
5
  SHA512:
6
- metadata.gz: 5a1dd7d4800f0bced106a1792006d39d223bf57e7e22b363d6e66ca1cb3708adf65528d105963af6df7f95b03ab30c4cd20b3fe66859b3b5623d29f7b3dd95aa
7
- data.tar.gz: 99f611d7fb8ac8368f643857b77b6ef283dc848d9b77a6889c4006d07076eae05c0037589b6bf0f9f9ca437797413877e50e55542995f8ca2744fb926f99bf8e
6
+ metadata.gz: 1defc8f7a0e566f3532bf6c15d890e0c7eaeae1bcff90eb8af335645f9dbad8c6d1e4c2b6fb901880e1bb534a516b48acb41d6ddb368d8c19e3dc208b7a5e256
7
+ data.tar.gz: 4874259e55c38e3949afcbb59b6fe46e74759876bd9fefa9dcba85d30635af1267893138bb88f44b3bc0d9fd72a819bf6cdcfa7f906ca3d4755c8ba10c1e315d
@@ -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
 
@@ -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
@@ -1,3 +1,3 @@
1
1
  module Landrush
2
- VERSION = "0.13.0"
2
+ VERSION = "0.13.1"
3
3
  end
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.0
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-10 00:00:00.000000000 Z
11
+ date: 2014-04-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubydns