vagrant-hostmanager 1.8.9 → 1.8.10

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
- SHA1:
3
- metadata.gz: fce5ec859549e9cef8fddd359dcbe92fb78f6f07
4
- data.tar.gz: 5e07f95e4b8d63078516c700d3f0ce0549c2d4bc
2
+ SHA256:
3
+ metadata.gz: a8c250b9b17867a3b6f61150bc403ed334c446659eeb522f2235619b0badb164
4
+ data.tar.gz: ce52e95c04bcbe8f9c6466f4003bf53411c22bad4ed99f1c11e8abc1e8e4b6d9
5
5
  SHA512:
6
- metadata.gz: fd3633a5d72fa50e497d494838561eb9017f54b20c14d64a8e3458eaaeb759d0dcf2d3789762fa2373926cf3a9be53028b3e4396a5a143afc7e8069b209d02f5
7
- data.tar.gz: a331fa0f83557c27f79bfd434366c4f5de14783f03b0e023b5d5d792f8df86fc5468b2d16d177cbcf6a371ca05e7e85805b39744545d69f23b24f0237e5c5795
6
+ metadata.gz: 5a49c5da44b68ae30a819143f5c42c9240e1b9e65e1384c61ee3c5d60955af2e79bf87435ccbed0ff2af89fe9ce0958ef3a58bbe8dd27b4a6c7de04421bba2d0
7
+ data.tar.gz: dd0c7067ce6cca411a314b1e10757ba457cd4677ac280f9caa8b6c8627f5ab5e0226b8a58e8638425122cee08dabac16ca60408a062b10b1fe59e487c4c73edc
data/Gemfile CHANGED
@@ -1,7 +1,7 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
3
  group :development do
4
- gem 'vagrant', :git => 'git://github.com/mitchellh/vagrant.git', :tag => 'v1.9.4'
4
+ gem 'vagrant', :git => 'https://github.com/hashicorp/vagrant.git', :tag => 'v2.3.7'
5
5
  end
6
6
 
7
7
  group :plugins do
data/README.md CHANGED
@@ -8,6 +8,9 @@ Vagrant Host Manager
8
8
 
9
9
  `vagrant-hostmanager` is a Vagrant plugin that manages the `hosts` file on guest machines (and optionally the host). Its goal is to enable resolution of multi-machine environments deployed with a cloud provider where IP addresses are not known in advance.
10
10
 
11
+ Do you like what we do? Consider supporting us through Patreon. All of the money goes directly back into growing our collection of open source and free software.
12
+ [![Patreon](https://img.shields.io/badge/patreon-donate-red.svg)](https://www.patreon.com/devopsgroup)
13
+
11
14
  Installation
12
15
  ------------
13
16
 
@@ -188,12 +191,10 @@ To contribute, fork then clone the repository, and then the following:
188
191
 
189
192
  **Developing**
190
193
 
191
- 1. Ideally, install the version of Vagrant as defined in the `Gemfile`
192
- 1. Install [Ruby](https://www.ruby-lang.org/en/documentation/installation/)
193
- 2. Currently the Bundler version is locked to 1.14.6, please install this version.
194
- * `gem install bundler -v '1.14.6'`
195
- 3. Then install vagrant-hostmanager dependancies:
196
- * `bundle _1.14.6_ install`
194
+ 1. Install [RVM](https://rvm.io/rvm/install)
195
+ 2. If using MacOS, follow these [OpenSSL instructions](https://github.com/rvm/rvm/issues/5252#issuecomment-1298835941)
196
+ 3. Use Ruby v3.0.0 `rvm use 3.0.0`
197
+ 4. Run `bundle install`
197
198
 
198
199
  **Testing**
199
200
 
@@ -17,9 +17,7 @@ module VagrantPlugins
17
17
 
18
18
  def call(env)
19
19
  if @config.hostmanager.manage_guest?
20
- env[:ui].info I18n.t('vagrant_hostmanager.action.update_guest', {
21
- :name => @machine.name
22
- })
20
+ env[:ui].info I18n.t('vagrant_hostmanager.action.update_guest', name: @machine.name)
23
21
  @updater.update_guest(@machine)
24
22
 
25
23
  @app.call(env)
@@ -49,7 +49,7 @@ module VagrantPlugins
49
49
  # check if aliases option is an Array
50
50
  if !machine.config.hostmanager.aliases.kind_of?(Array) &&
51
51
  !machine.config.hostmanager.aliases.kind_of?(String)
52
- errors << I18n.t('vagrant_hostmanager.config.not_an_array_or_string', {
52
+ errors << I18n.t('vagrant_hostmanager.config.not_an_array_or_string', **{
53
53
  :config_key => 'hostmanager.aliases',
54
54
  :is_class => aliases.class.to_s,
55
55
  })
@@ -57,7 +57,7 @@ module VagrantPlugins
57
57
 
58
58
  if !machine.config.hostmanager.ip_resolver.nil? &&
59
59
  !machine.config.hostmanager.ip_resolver.kind_of?(Proc)
60
- errors << I18n.t('vagrant_hostmanager.config.not_a_proc', {
60
+ errors << I18n.t('vagrant_hostmanager.config.not_a_proc', **{
61
61
  :config_key => 'hostmanager.ip_resolver',
62
62
  :is_class => ip_resolver.class.to_s,
63
63
  })
@@ -72,7 +72,7 @@ module VagrantPlugins
72
72
  def validate_bool(key, value)
73
73
  if ![TrueClass, FalseClass].include?(value.class) &&
74
74
  value != UNSET_VALUE
75
- I18n.t('vagrant_hostmanager.config.not_a_bool', {
75
+ I18n.t('vagrant_hostmanager.config.not_a_bool', **{
76
76
  :config_key => key,
77
77
  :value => value.class.to_s
78
78
  })
@@ -1,5 +1,5 @@
1
1
  module VagrantPlugins
2
2
  module HostManager
3
- VERSION = '1.8.9'
3
+ VERSION = '1.8.10'
4
4
  end
5
5
  end
@@ -17,6 +17,6 @@ Gem::Specification.new do |gem|
17
17
  gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
18
18
  gem.require_paths = ['lib']
19
19
 
20
- gem.add_development_dependency 'bundler', '~> 1.3'
20
+ gem.add_development_dependency 'bundler'
21
21
  gem.add_development_dependency 'rake'
22
22
  end
metadata CHANGED
@@ -1,30 +1,30 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-hostmanager
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.8.9
4
+ version: 1.8.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shawn Dahlen
8
8
  - Seth Reeser
9
- autorequire:
9
+ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2018-05-18 00:00:00.000000000 Z
12
+ date: 2023-07-30 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler
16
16
  requirement: !ruby/object:Gem::Requirement
17
17
  requirements:
18
- - - "~>"
18
+ - - ">="
19
19
  - !ruby/object:Gem::Version
20
- version: '1.3'
20
+ version: '0'
21
21
  type: :development
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
- - - "~>"
25
+ - - ">="
26
26
  - !ruby/object:Gem::Version
27
- version: '1.3'
27
+ version: '0'
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: rake
30
30
  requirement: !ruby/object:Gem::Requirement
@@ -71,11 +71,11 @@ files:
71
71
  - test/Vagrantfile
72
72
  - test/test.sh
73
73
  - vagrant-hostmanager.gemspec
74
- homepage:
74
+ homepage:
75
75
  licenses:
76
76
  - MIT
77
77
  metadata: {}
78
- post_install_message:
78
+ post_install_message:
79
79
  rdoc_options: []
80
80
  require_paths:
81
81
  - lib
@@ -90,9 +90,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
90
90
  - !ruby/object:Gem::Version
91
91
  version: '0'
92
92
  requirements: []
93
- rubyforge_project:
94
- rubygems_version: 2.5.2
95
- signing_key:
93
+ rubygems_version: 3.2.3
94
+ signing_key:
96
95
  specification_version: 4
97
96
  summary: A Vagrant plugin that manages the /etc/hosts file within a multi-machine
98
97
  environment