vagrant-hostmanager 1.8.7 → 1.8.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/vagrant-hostmanager/hosts_file/updater.rb +2 -2
- data/lib/vagrant-hostmanager/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fdb0a0eb13e64cf9530407a15bf5efe9523a7968
|
4
|
+
data.tar.gz: '0629a70649acb753bed9936af7e06c8c0324ff0a'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9ac3e558ebade1adaca93526218eec2fa70ac89157691c1f691397d885b02e5d2f5dd294f9f35cf0a0aa77be546e0eaaca267021b88efdb3efd49cbdecdf2ea3
|
7
|
+
data.tar.gz: b409c3c0586a870a43266fab2eefabe5fcdbebe3cb65bd0171d26636f0bc7f2b26c211f63a873e282ea24e97c9395c5f354bc15ce18e7bf0e9ffe743edf8d931
|
data/README.md
CHANGED
@@ -212,7 +212,7 @@ To release a new version of vagrant-hostmanager you will need to do the followin
|
|
212
212
|
|
213
213
|
*(only contributors of the GitHub repo and owners of the project at RubyGems will have rights to do this)*
|
214
214
|
|
215
|
-
1. First, bump the version in ~/lib/vagrant-hostmanager/version.rb:
|
215
|
+
1. First, bump, commit, and push the version in ~/lib/vagrant-hostmanager/version.rb:
|
216
216
|
* Follow [Semantic Versioning](http://semver.org/).
|
217
217
|
2. Then, create a matching GitHub Release (this will also create a tag):
|
218
218
|
* Preface the version number with a `v`.
|
@@ -45,7 +45,7 @@ module VagrantPlugins
|
|
45
45
|
if windir
|
46
46
|
machine.communicate.sudo("mv -force /tmp/hosts.#{machine.name} #{realhostfile}")
|
47
47
|
else
|
48
|
-
machine.communicate.sudo("cat /tmp/hosts.#{machine.name} > #{realhostfile} && rm /tmp/hosts.#{machine.name}")
|
48
|
+
machine.communicate.sudo("cat /tmp/hosts.#{machine.name} > #{realhostfile} && rm -f /tmp/hosts.#{machine.name}")
|
49
49
|
end
|
50
50
|
end
|
51
51
|
|
@@ -65,7 +65,7 @@ module VagrantPlugins
|
|
65
65
|
line_endings = "crlf"
|
66
66
|
else
|
67
67
|
hosts_location = '/etc/hosts'
|
68
|
-
copy_proc = Proc.new { `[ -w #{hosts_location} ] && cat #{file} > #{hosts_location} || sudo cp #{file} #{hosts_location}` }
|
68
|
+
copy_proc = Proc.new { `[ -w "#{hosts_location}" ] && cat "#{file}" > "#{hosts_location}" || sudo cp "#{file}" "#{hosts_location}"` }
|
69
69
|
line_endings = "lf"
|
70
70
|
end
|
71
71
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vagrant-hostmanager
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.8.
|
4
|
+
version: 1.8.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Shawn Dahlen
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2018-04-17 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|
@@ -91,7 +91,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
91
91
|
version: '0'
|
92
92
|
requirements: []
|
93
93
|
rubyforge_project:
|
94
|
-
rubygems_version: 2.
|
94
|
+
rubygems_version: 2.5.2
|
95
95
|
signing_key:
|
96
96
|
specification_version: 4
|
97
97
|
summary: A Vagrant plugin that manages the /etc/hosts file within a multi-machine
|