vagrant-goodhosts 1.0.7 → 1.0.8

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
  SHA256:
3
- metadata.gz: 773499e5908599b791ece8dbfbeb82929508e5c9341af2603250e0d973ab1be2
4
- data.tar.gz: 4b65f0a08a6779474a320e40ef0a0b924bb51c7c3334fa53a182da3dc856d5aa
3
+ metadata.gz: e083ea939c0b8d617df7e7edd73baf1d56fa3b34898009596811ed7741fb7809
4
+ data.tar.gz: 5dc851d568aef47c267dcddfb6cdc4474887423c3d50a4904ce6b1536d57ca71
5
5
  SHA512:
6
- metadata.gz: d71b200fa955218bdf800fc4da2d5c56d3b3d8719145b9961e8d9017d3215a34b21753dc4b10e151ca2616e05e24e0709a14d2058ba4b84da5ff1a9dbeb2d06e
7
- data.tar.gz: d9ff6081767d318a1c91d96bf683c4791a809c60ec6e6d0fb39abc541d4e647dc50789717471493be2e8862ceda89718f33cb57e07804d4a3d1f6f71f5190cd2
6
+ metadata.gz: f1da2f9460ac88dd0b98170cba82383d9cde45d9b55ee3f0ab70a8ad73a8ea1aab9204e6babf225a7508f63d566162e11115f2da0b2449a4272e38d8e1ca6cb4
7
+ data.tar.gz: be40aee11d67c11c296ae6be6570cc6331660fd15091f6731c2c2345b4274482f7fca353889a80421ba40b5918e845ad442c6785b64647f46e877847b007bc7e
@@ -95,7 +95,7 @@ module VagrantPlugins
95
95
  next
96
96
  end
97
97
  if cli.include? ".exe"
98
- stdin, stdout, stderr, wait_thr = Open3.popen3(cli, "add", "--clean", ip_address, hostnames)
98
+ stdin, stdout, stderr, wait_thr = Open3.popen3("powershell", "-Command", "Start-Process '#{cli}' -ArgumentList \"add\",\"--clean\",\"#{ip_address}\",\"#{hostnames}\" -Verb RunAs")
99
99
  else
100
100
  stdin, stdout, stderr, wait_thr = Open3.popen3("sudo", cli, "add", "--clean", ip_address, hostnames)
101
101
  end
@@ -118,7 +118,7 @@ module VagrantPlugins
118
118
  next
119
119
  end
120
120
  if cli.include? ".exe"
121
- stdin, stdout, stderr, wait_thr = Open3.popen3(cli, "remove", "--clean", ip_address, hostnames)
121
+ stdin, stdout, stderr, wait_thr = Open3.popen3("powershell", "-Command", "Start-Process '#{cli}' -ArgumentList \"remove\",\"--clean\",\"#{ip_address}\",\"#{hostnames}\" -Verb RunAs")
122
122
  else
123
123
  stdin, stdout, stderr, wait_thr = Open3.popen3("sudo", cli, "remove", "--clean", ip_address, hostnames)
124
124
  end
@@ -1,5 +1,5 @@
1
1
  module VagrantPlugins
2
2
  module GoodHosts
3
- VERSION = '1.0.7'
3
+ VERSION = '1.0.8'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-goodhosts
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.7
4
+ version: 1.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniele Scasciafratte
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-10-19 00:00:00.000000000 Z
11
+ date: 2020-11-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler