rethinc-vagrant-hostmanager 1.8.9.4 → 1.8.9.5
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 +4 -4
- data/lib/{vagrant-hostmanager → rethinc-vagrant-hostmanager}/action/update_all.rb +2 -2
- data/lib/{vagrant-hostmanager → rethinc-vagrant-hostmanager}/action/update_guest.rb +2 -2
- data/lib/{vagrant-hostmanager → rethinc-vagrant-hostmanager}/action/update_host.rb +2 -2
- data/lib/{vagrant-hostmanager → rethinc-vagrant-hostmanager}/action.rb +3 -3
- data/lib/{vagrant-hostmanager → rethinc-vagrant-hostmanager}/command.rb +1 -1
- data/lib/{vagrant-hostmanager → rethinc-vagrant-hostmanager}/config.rb +0 -0
- data/lib/{vagrant-hostmanager → rethinc-vagrant-hostmanager}/errors.rb +0 -0
- data/lib/{vagrant-hostmanager → rethinc-vagrant-hostmanager}/hosts_file/updater.rb +2 -2
- data/lib/{vagrant-hostmanager → rethinc-vagrant-hostmanager}/plugin.rb +0 -0
- data/lib/{vagrant-hostmanager → rethinc-vagrant-hostmanager}/provisioner.rb +1 -1
- data/lib/{vagrant-hostmanager → rethinc-vagrant-hostmanager}/util.rb +0 -0
- data/lib/{vagrant-hostmanager → rethinc-vagrant-hostmanager}/version.rb +1 -1
- data/lib/rethinc-vagrant-hostmanager.rb +3 -3
- data/locales/en.yml +6 -6
- data/rethinc-vagrant-hostmanager.gemspec +1 -1
- data/test/Vagrantfile +1 -1
- metadata +13 -13
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 338ab604b0e7d636979f4f9a650df936b72d4d0c46255c82e37949f37881a857
|
4
|
+
data.tar.gz: db210b535687bb53652062e2b542a351087ceb614b9c49af8c3171a03789d6df
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 603084a9afd429cbad180c77577d75536d7be85723a515f9199ca3c5ccba26df4c97d8d87c275208625f349aea5fa14e242dca06d39a012639e2cfac244c8c01
|
7
|
+
data.tar.gz: ce43a774dfba4e311bdb86530644f05d125fb7fb5d8a63b1aba30228ce2253496aa063bf93addaa8a6ebbc35ce526eca6053432b297e6091841ce25cfcf97d4e
|
@@ -1,6 +1,6 @@
|
|
1
|
-
require 'vagrant-hostmanager/action/update_all'
|
2
|
-
require 'vagrant-hostmanager/action/update_guest'
|
3
|
-
require 'vagrant-hostmanager/action/update_host'
|
1
|
+
require 'rethinc-vagrant-hostmanager/action/update_all'
|
2
|
+
require 'rethinc-vagrant-hostmanager/action/update_guest'
|
3
|
+
require 'rethinc-vagrant-hostmanager/action/update_host'
|
4
4
|
|
5
5
|
module VagrantPlugins
|
6
6
|
module HostManager
|
@@ -4,7 +4,7 @@ module VagrantPlugins
|
|
4
4
|
|
5
5
|
# Show description when `vagrant list-commands` is triggered
|
6
6
|
def self.synopsis
|
7
|
-
"plugin: vagrant-hostmanager: manages the /etc/hosts file within a multi-machine environment"
|
7
|
+
"plugin: rethinc-vagrant-hostmanager: manages the /etc/hosts file within a multi-machine environment"
|
8
8
|
end
|
9
9
|
|
10
10
|
def execute
|
File without changes
|
File without changes
|
@@ -98,8 +98,8 @@ module VagrantPlugins
|
|
98
98
|
|
99
99
|
def update_content(file_content, resolving_machine, include_id)
|
100
100
|
id = include_id ? " id: #{read_or_create_id}" : ""
|
101
|
-
header = "## vagrant-hostmanager-start#{id}"
|
102
|
-
footer = "## vagrant-hostmanager-end"
|
101
|
+
header = "## rethinc-vagrant-hostmanager-start#{id}"
|
102
|
+
footer = "## rethinc-vagrant-hostmanager-end"
|
103
103
|
body = get_machines
|
104
104
|
.map { |machine| get_hosts_file_entry(machine, resolving_machine) }
|
105
105
|
.join
|
File without changes
|
File without changes
|
@@ -1,6 +1,6 @@
|
|
1
|
-
require 'vagrant-hostmanager/plugin'
|
2
|
-
require 'vagrant-hostmanager/version'
|
3
|
-
require 'vagrant-hostmanager/errors'
|
1
|
+
require 'rethinc-vagrant-hostmanager/plugin'
|
2
|
+
require 'rethinc-vagrant-hostmanager/version'
|
3
|
+
require 'rethinc-vagrant-hostmanager/errors'
|
4
4
|
|
5
5
|
module VagrantPlugins
|
6
6
|
module HostManager
|
data/locales/en.yml
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
en:
|
2
2
|
vagrant_hostmanager:
|
3
3
|
action:
|
4
|
-
update_guests: "[vagrant-hostmanager:guests] Updating hosts file on active guest virtual machines..."
|
5
|
-
update_guest: "[vagrant-hostmanager:guest] Updating hosts file on the virtual machine %{name}..."
|
6
|
-
update_host: "[vagrant-hostmanager:host] Updating hosts file on your workstation (password may be required)..."
|
4
|
+
update_guests: "[rethinc-vagrant-hostmanager:guests] Updating hosts file on active guest virtual machines..."
|
5
|
+
update_guest: "[rethinc-vagrant-hostmanager:guest] Updating hosts file on the virtual machine %{name}..."
|
6
|
+
update_host: "[rethinc-vagrant-hostmanager:host] Updating hosts file on your workstation (password may be required)..."
|
7
7
|
config:
|
8
|
-
not_a_bool: "[vagrant-hostmanager:config:error] A value for %{config_key} can only be true or false, not type '%{value}'"
|
9
|
-
not_an_array_or_string: "[vagrant-hostmanager:config:error] A value for %{config_key} must be an Array or String, not type '%{is_class}'"
|
10
|
-
not_a_proc: "[vagrant-hostmanager:config:error] A value for %{config_key} must be a Proc, not type '%{is_class}'"
|
8
|
+
not_a_bool: "[rethinc-vagrant-hostmanager:config:error] A value for %{config_key} can only be true or false, not type '%{value}'"
|
9
|
+
not_an_array_or_string: "[rethinc-vagrant-hostmanager:config:error] A value for %{config_key} must be an Array or String, not type '%{is_class}'"
|
10
|
+
not_a_proc: "[rethinc-vagrant-hostmanager:config:error] A value for %{config_key} must be a Proc, not type '%{is_class}'"
|
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
lib = File.expand_path('../lib', __FILE__)
|
4
4
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
5
|
-
require 'vagrant-hostmanager/version'
|
5
|
+
require 'rethinc-vagrant-hostmanager/version'
|
6
6
|
|
7
7
|
Gem::Specification.new do |gem|
|
8
8
|
gem.name = 'rethinc-vagrant-hostmanager'
|
data/test/Vagrantfile
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rethinc-vagrant-hostmanager
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.8.9.
|
4
|
+
version: 1.8.9.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Shawn Dahlen
|
@@ -55,18 +55,18 @@ files:
|
|
55
55
|
- README.md
|
56
56
|
- Rakefile
|
57
57
|
- lib/rethinc-vagrant-hostmanager.rb
|
58
|
-
- lib/vagrant-hostmanager/action.rb
|
59
|
-
- lib/vagrant-hostmanager/action/update_all.rb
|
60
|
-
- lib/vagrant-hostmanager/action/update_guest.rb
|
61
|
-
- lib/vagrant-hostmanager/action/update_host.rb
|
62
|
-
- lib/vagrant-hostmanager/command.rb
|
63
|
-
- lib/vagrant-hostmanager/config.rb
|
64
|
-
- lib/vagrant-hostmanager/errors.rb
|
65
|
-
- lib/vagrant-hostmanager/hosts_file/updater.rb
|
66
|
-
- lib/vagrant-hostmanager/plugin.rb
|
67
|
-
- lib/vagrant-hostmanager/provisioner.rb
|
68
|
-
- lib/vagrant-hostmanager/util.rb
|
69
|
-
- lib/vagrant-hostmanager/version.rb
|
58
|
+
- lib/rethinc-vagrant-hostmanager/action.rb
|
59
|
+
- lib/rethinc-vagrant-hostmanager/action/update_all.rb
|
60
|
+
- lib/rethinc-vagrant-hostmanager/action/update_guest.rb
|
61
|
+
- lib/rethinc-vagrant-hostmanager/action/update_host.rb
|
62
|
+
- lib/rethinc-vagrant-hostmanager/command.rb
|
63
|
+
- lib/rethinc-vagrant-hostmanager/config.rb
|
64
|
+
- lib/rethinc-vagrant-hostmanager/errors.rb
|
65
|
+
- lib/rethinc-vagrant-hostmanager/hosts_file/updater.rb
|
66
|
+
- lib/rethinc-vagrant-hostmanager/plugin.rb
|
67
|
+
- lib/rethinc-vagrant-hostmanager/provisioner.rb
|
68
|
+
- lib/rethinc-vagrant-hostmanager/util.rb
|
69
|
+
- lib/rethinc-vagrant-hostmanager/version.rb
|
70
70
|
- locales/en.yml
|
71
71
|
- rethinc-vagrant-hostmanager.gemspec
|
72
72
|
- test/Vagrantfile
|