vagrant-hosts 2.6.0 → 2.6.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: 5e280c9aab6f0c95b6d900daa557e0204d5fb139
4
- data.tar.gz: cfed85229e73ccf44feba8e0dab64832f542373f
3
+ metadata.gz: f5a0df3190eb13829f6b76bdd17668452a6d9ebb
4
+ data.tar.gz: 8a4847c136f865c02289f3d9eed166cb33004b47
5
5
  SHA512:
6
- metadata.gz: 588ee4e96c2eef297928753d15694fc3fa3abb2477c91a53431d16332102e3fb729352b703dcf833c1a67452777a42c9529a84a92e7452f782a4210c823047ca
7
- data.tar.gz: dc5626e84d6ae921e60dd66f3b005fa5243d406c41642142750903c698279310eb59b0322f29cf8a224b09666e974ae384d335babf02cbdc66a56b77e2a290d1
6
+ metadata.gz: de20f7c5b3ce70ed733b5596402890973d7908202f719b486de57f0aefb348f918bf603d47cb8923c6836e77c36f8465964937c0b93f7ddf2513b4f3d88f1a56
7
+ data.tar.gz: 102164ddadfa8682b20f2c77a2a30940f61d0a2568e23101ecf6dd27ad8e51ebefe33c9aabe375654627576929e4b01af03b3909aad067c78a56a23e8891ed9e
data/CHANGELOG CHANGED
@@ -1,6 +1,18 @@
1
1
  CHANGELOG
2
2
  =========
3
3
 
4
+ 2.6.1
5
+ -----
6
+
7
+ 2015-11-09
8
+
9
+ This is a backwards compatible bugfix release.
10
+
11
+ * (GH-53) Guard against errors that arise when sync_hosts encounters
12
+ machines that have been removedfrom the Vagrant file without being
13
+ destroyed.
14
+
15
+
4
16
  2.6.0
5
17
  -----
6
18
 
@@ -1,8 +1,10 @@
1
1
  require 'vagrant'
2
+ require 'vagrant-hosts/addresses'
2
3
 
3
4
  module VagrantHosts
4
5
  module Provisioner
5
6
  class Hosts < Vagrant.plugin('2', :provisioner)
7
+ include VagrantHosts::Addresses
6
8
 
7
9
  def provision
8
10
  @machine.guest.capability(:sync_hosts, @config)
@@ -21,9 +23,7 @@ module VagrantHosts
21
23
 
22
24
  # Gathers every _other_ machine in the vagrant environment which is
23
25
  # running and has a hosts provider.
24
- machines_to_provision = env.active_machines.map do |name, provider|
25
- env.machine(name, provider)
26
- end.select do |vm|
26
+ machines_to_provision = all_machines(env).select do |vm|
27
27
  calling_machine = (vm.name.to_s == machine.name.to_s)
28
28
  running = begin
29
29
  vm.communicate.ready?
@@ -1,3 +1,3 @@
1
1
  module VagrantHosts
2
- VERSION = '2.6.0'
2
+ VERSION = '2.6.1'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-hosts
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.6.0
4
+ version: 2.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adrien Thebo
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-11-08 00:00:00.000000000 Z
11
+ date: 2015-11-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -99,3 +99,4 @@ signing_key:
99
99
  specification_version: 4
100
100
  summary: Manage static DNS on vagrant guests
101
101
  test_files: []
102
+ has_rdoc: true