vagrant-windows-domain 1.1.11 → 1.1.12

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 18e8cedc153f96893183774d0c5b45087a91bb9d
4
- data.tar.gz: dc1e99b7ea5b53b19d053af4cfb0af0734de8086
3
+ metadata.gz: 6935c271e7991ba222a5b9cc75bc7b48bf380551
4
+ data.tar.gz: 1683dd749c1aa220908d942dba0dce3d6934fc41
5
5
  SHA512:
6
- metadata.gz: da04a331263848700651009e4a27527d497e27ababaa73f754eca5afd2d6ea102335ab114708f45179a26f2c6d66f5a3429c7f0f09ed946811c7aff893940b35
7
- data.tar.gz: 342fe6f9937c666041fef99310c06dd16ed6fa4b591700985758acb80ce4311c71d4319d25f0ca2ed03b86a6e96f2286e872c65c58b229d95c42859aed91d83b
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? (y/n)")
57
- return unless answer.downcase == 'y' # Bail out of destroy and prevent middleware from continuing on
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
 
@@ -1,5 +1,5 @@
1
1
  module Vagrant
2
2
  module WindowsDomain
3
- VERSION = "1.1.11"
3
+ VERSION = "1.1.12"
4
4
  end
5
5
  end
@@ -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? (y/n)").and_return("y")
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? (y/n)").and_return("n")
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.11
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-13 00:00:00.000000000 Z
11
+ date: 2015-02-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake