vagrant-dns 0.6.0.beta1 → 0.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 50a969b5fa509b2a185b0962b5b13afad83c4254
4
- data.tar.gz: 9e3c9a15a55c8d3c42283b13650f118b3945deb5
3
+ metadata.gz: 75885177281d42828aff37e9e92aad529290eb27
4
+ data.tar.gz: d2009003059ec63f739bb21cbd616fa5627b318a
5
5
  SHA512:
6
- metadata.gz: 2ffb83a8cd804bbcf2af794a31756bbd3e6428ea00db3feb5ef0d9dc872fc4c4e3d50063c8e0ab779d4fe2bbcaa30def4a5f7f94ac2e3af7cfae87880335278f
7
- data.tar.gz: 3d3c4d0c8d0476f6d627f58135003cdf16eafdc6b4435f85e87b9bd408548f565e0586094b3d265825e0fb4242cf3c991aa11f7f92cdacf3fb13a1a92f6893db
6
+ metadata.gz: 1f98e1889327ff8ec869237ce252546583c0398c84cb0db183ae6c5e5c8bec09af160246b7739b3cf42ffb02fbab5eaf0a19e3713d2892166fc8bae7ad5ac49d
7
+ data.tar.gz: 8d9040c77cf6c1478895c9af083bf2ba506ecb088bbcfd47950d6bdd8a57cd36f8c8d89a25e878de1d9f7bee456745960cd45cdbe3ed50f1feab14a5c28d82ce
@@ -1,13 +1,19 @@
1
- # 0.6.0 (unreleased / beta1)
1
+ # 0.6.0
2
2
 
3
3
  This is a intermediate release towards v1.0.0
4
4
 
5
- * Using RubyDNS ~> 0.8.4
6
- * New option to un/install system files using `sudo` (restoring 0.4 behavior). Add `--with-sudo` to `--install`, `--uninstall` or `--purge`. [GH-26]
7
- * Use new vagrant >= 1.5 development patterns [GH-31]
5
+ * Using RubyDNS ~> 0.9.0
6
+ * New option to un/install system files using `sudo` (restoring 0.4 behavior). Add optional `--with-sudo` flag to `--install`, `--uninstall` or `--purge`. [GH-26]
7
+ * Re-add `--ontop` flag. (Start `vagrant-dns` in foreground for debugging)
8
+ * Use vagrant >= 1.5 development patterns [GH-31]
8
9
  * Add acceptance test using vagrant-spec
9
10
  * Moved sample `Vagrantfile` into `/testdrive` which also contains a small wrapper script `bin/vagrant` to move "vagrant home" into a sandbox.
10
11
 
12
+ # 0.5.0
13
+
14
+ * Use `osascript` to install system files, which require root privileges. [GH-18], [GH-22]
15
+ * internal cleanups (@ringods)
16
+
11
17
  # v0.4.1
12
18
 
13
19
  * Fixes an issue with not configured private networks [GH-21], [GH-19]
data/Gemfile CHANGED
@@ -15,7 +15,7 @@ group :test, :development do
15
15
  else
16
16
  gem 'vagrant', :github => 'mitchellh/vagrant', :tag => ENV['TEST_VAGRANT_VERSION']
17
17
  end
18
- gem 'rubydns', :github => 'ioquatix/rubydns', :branch => 'master'
18
+ gem 'rubydns', '~> 0.9.0'
19
19
  end
20
20
 
21
21
  group :test do
@@ -86,11 +86,11 @@ module VagrantDNS
86
86
  service = VagrantDNS::Service.new(tmp_path)
87
87
 
88
88
  if options[:start]
89
- service.start!
89
+ service.start! :ontop => options[:ontop]
90
90
  elsif options[:stop]
91
91
  service.stop!
92
92
  elsif options[:restart]
93
- service.restart!
93
+ service.restart! :ontop => options[:ontop]
94
94
  end
95
95
  end
96
96
 
@@ -3,14 +3,17 @@ require 'daemons'
3
3
 
4
4
  module VagrantDNS
5
5
  class Service
6
- attr_accessor :tmp_path, :options
7
-
6
+ attr_accessor :tmp_path
7
+
8
8
  def initialize(tmp_path)
9
9
  self.tmp_path = tmp_path
10
10
  end
11
11
 
12
- def start!
13
- run_options = {:ARGV => ["start"]}.merge(runopts)
12
+ def start!(opts = {})
13
+ run_options = {
14
+ :ARGV => ["start"],
15
+ :ontop => opts[:ontop]
16
+ }.merge!(runopts)
14
17
  run!(run_options)
15
18
  end
16
19
 
@@ -44,18 +47,21 @@ module VagrantDNS
44
47
  end
45
48
  end
46
49
 
47
- def restart!
50
+ def restart!(start_opts = {})
48
51
  stop!
49
- start!
52
+ start!(start_opts)
50
53
  end
51
-
54
+
52
55
  def runopts
53
- {:dir_mode => :normal,
54
- :dir => File.join(tmp_path, "daemon"),
55
- :log_output => true,
56
- :log_dir => File.join(tmp_path, "daemon")}
56
+ daemon_dir = File.join(tmp_path, "daemon")
57
+ {
58
+ :dir_mode => :normal,
59
+ :dir => daemon_dir,
60
+ :log_output => true,
61
+ :log_dir => daemon_dir
62
+ }
57
63
  end
58
-
64
+
59
65
  def config_file
60
66
  File.join(tmp_path, "config")
61
67
  end
@@ -1,5 +1,5 @@
1
1
  module Vagrant
2
2
  module Dns
3
- VERSION = "0.6.0.beta1"
3
+ VERSION = "0.6.0"
4
4
  end
5
5
  end
@@ -2,8 +2,8 @@
2
2
  require File.expand_path('../lib/vagrant-dns/version', __FILE__)
3
3
 
4
4
  Gem::Specification.new do |gem|
5
- gem.authors = ["Florian Gilcher"]
6
- gem.email = ["florian.gilcher@asquera.de"]
5
+ gem.authors = ["Florian Gilcher", "Robert Schulze"]
6
+ gem.email = ["florian.gilcher@asquera.de", "robert@dotless.de"]
7
7
  gem.description = %q{vagrant-dns is a vagrant plugin that manages DNS records associated with local machines.}
8
8
  gem.summary = %q{vagrant-dns manages DNS records of vagrant machines}
9
9
  gem.homepage = ""
@@ -16,7 +16,7 @@ Gem::Specification.new do |gem|
16
16
  gem.version = Vagrant::Dns::VERSION
17
17
 
18
18
  gem.add_dependency "daemons"
19
- gem.add_dependency "rubydns", '~> 0.8.4'
19
+ gem.add_dependency "rubydns", '~> 0.9.0'
20
20
 
21
21
  gem.add_development_dependency 'rspec', '~> 2.14.0'
22
22
  end
metadata CHANGED
@@ -1,14 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-dns
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0.beta1
4
+ version: 0.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Florian Gilcher
8
+ - Robert Schulze
8
9
  autorequire:
9
10
  bindir: bin
10
11
  cert_chain: []
11
- date: 2014-05-17 00:00:00.000000000 Z
12
+ date: 2014-10-24 00:00:00.000000000 Z
12
13
  dependencies:
13
14
  - !ruby/object:Gem::Dependency
14
15
  name: daemons
@@ -30,14 +31,14 @@ dependencies:
30
31
  requirements:
31
32
  - - ~>
32
33
  - !ruby/object:Gem::Version
33
- version: 0.8.4
34
+ version: 0.9.0
34
35
  type: :runtime
35
36
  prerelease: false
36
37
  version_requirements: !ruby/object:Gem::Requirement
37
38
  requirements:
38
39
  - - ~>
39
40
  - !ruby/object:Gem::Version
40
- version: 0.8.4
41
+ version: 0.9.0
41
42
  - !ruby/object:Gem::Dependency
42
43
  name: rspec
43
44
  requirement: !ruby/object:Gem::Requirement
@@ -56,6 +57,7 @@ description: vagrant-dns is a vagrant plugin that manages DNS records associated
56
57
  local machines.
57
58
  email:
58
59
  - florian.gilcher@asquera.de
60
+ - robert@dotless.de
59
61
  executables: []
60
62
  extensions: []
61
63
  extra_rdoc_files: []
@@ -96,9 +98,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
96
98
  version: '0'
97
99
  required_rubygems_version: !ruby/object:Gem::Requirement
98
100
  requirements:
99
- - - '>'
101
+ - - '>='
100
102
  - !ruby/object:Gem::Version
101
- version: 1.3.1
103
+ version: '0'
102
104
  requirements: []
103
105
  rubyforge_project:
104
106
  rubygems_version: 2.0.14