vagrant-windows-domain 1.1.11 → 1.1.12
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6935c271e7991ba222a5b9cc75bc7b48bf380551
|
4
|
+
data.tar.gz: 1683dd749c1aa220908d942dba0dce3d6934fc41
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3f115da7c99ff86bc26c401b3c7608d5625b315a8db76eef951569fae6733452764b58a3920974f0d6337707e2c308025043a91e6bc1e559912863155b573400
|
7
|
+
data.tar.gz: 86dae6af5c39d9ad77c2092ea8b1995483fe73ffe33510643aed14d75c7ec4e19b46c490cab00cc553d9529e993509b93b518881a25b217217cfaa6f43fe6ca9
|
@@ -53,8 +53,8 @@ env[:force_confirm_destroy] = true # Prevent the popup dialog again
|
|
53
53
|
@provisioner.destroy
|
54
54
|
else
|
55
55
|
@machine.env.ui.say(:warn, "Machine is currently not running. To properly leave the #{@config.domain} network the machine needs to be running and connected to the network in which it was provisioned. Please run `vagrant up` and then `vagrant destroy`.\n")
|
56
|
-
answer = @machine.env.ui.ask("Would you like to continue destroying this machine, leaving this machine orphaned in the '#{@config.domain}' network?
|
57
|
-
return unless answer.downcase == '
|
56
|
+
answer = @machine.env.ui.ask("Would you like to continue destroying this machine, leaving this machine orphaned in the '#{@config.domain}' network? If so, type 'destroy'")
|
57
|
+
return unless answer.downcase == 'destroy' # Bail out of destroy and prevent middleware from continuing on
|
58
58
|
|
59
59
|
# OK, we're being naughty and letting the rest of the middleware do their things (i.e. destroy the machine, and such)
|
60
60
|
|
@@ -79,7 +79,7 @@ describe VagrantPlugins::WindowsDomain::LeaveDomain do
|
|
79
79
|
subject.provisioner = provisioner
|
80
80
|
|
81
81
|
expect(ui).to receive(:say).with(:warn, "Machine is currently not running. To properly leave the #{domain} network the machine needs to be running and connected to the network in which it was provisioned. Please run `vagrant up` and then `vagrant destroy`.\n")
|
82
|
-
expect(ui).to receive(:ask).with("Would you like to continue destroying this machine, leaving this machine orphaned in the '#{domain}' network?
|
82
|
+
expect(ui).to receive(:ask).with("Would you like to continue destroying this machine, leaving this machine orphaned in the '#{domain}' network? If so, type 'destroy'").and_return("destroy")
|
83
83
|
expect(ui).to receive(:say).with(:warn, "Force destroying this machine and not leaving the domain foo.com. May FSM have mercy on your soul.")
|
84
84
|
expect(machine).to receive(:state).and_return(state).twice
|
85
85
|
expect(app).to receive(:call).with(env)
|
@@ -97,7 +97,7 @@ describe VagrantPlugins::WindowsDomain::LeaveDomain do
|
|
97
97
|
subject.provisioner = provisioner
|
98
98
|
|
99
99
|
expect(ui).to receive(:say).with(:warn, "Machine is currently not running. To properly leave the #{domain} network the machine needs to be running and connected to the network in which it was provisioned. Please run `vagrant up` and then `vagrant destroy`.\n")
|
100
|
-
expect(ui).to receive(:ask).with("Would you like to continue destroying this machine, leaving this machine orphaned in the '#{domain}' network?
|
100
|
+
expect(ui).to receive(:ask).with("Would you like to continue destroying this machine, leaving this machine orphaned in the '#{domain}' network? If so, type 'destroy'").and_return("n")
|
101
101
|
expect(machine).to receive(:state).and_return(state).twice
|
102
102
|
expect(app).to_not receive(:call).with(env)
|
103
103
|
expect(provisioner).to_not receive(:destroy)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vagrant-windows-domain
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.12
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matt Fellows
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-02-
|
11
|
+
date: 2015-02-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|