vagrant-windows-domain 1.1.10 → 1.1.11

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: 095e05843eb3706414d810629f88d6e620564915
4
- data.tar.gz: 12576a90db3eb7fb7378f214084f25847d114400
3
+ metadata.gz: 18e8cedc153f96893183774d0c5b45087a91bb9d
4
+ data.tar.gz: dc1e99b7ea5b53b19d053af4cfb0af0734de8086
5
5
  SHA512:
6
- metadata.gz: aefd80b95d8ee2c56028fecb163ab635b20535e54657c2624707288fd738abc63242976c31da14d6fc592c6e4af30f004104e2c764340ed7f7476d9ec8640eb5
7
- data.tar.gz: 9d195b673d48ed679cb00b82c737301253d55c9ad437a3c53031322a57e67fadb0b7146aa40f783752b085d66b6e5360cc1c38683932c4336497732900f1ed9a
6
+ metadata.gz: da04a331263848700651009e4a27527d497e27ababaa73f754eca5afd2d6ea102335ab114708f45179a26f2c6d66f5a3429c7f0f09ed946811c7aff893940b35
7
+ data.tar.gz: 342fe6f9937c666041fef99310c06dd16ed6fa4b591700985758acb80ce4311c71d4319d25f0ca2ed03b86a6e96f2286e872c65c58b229d95c42859aed91d83b
@@ -40,7 +40,7 @@ module VagrantPlugins
40
40
  # Expected to call the next middleware component in the chain if action should proceed.
41
41
  def call(env)
42
42
 
43
- if @config and @config.include? "domain" and @config.domain != nil
43
+ if @config and @config.domain != nil
44
44
 
45
45
  if [:not_created].include? @machine.state.id
46
46
  @logger.debug("Machine not created, nothing to do")
@@ -103,7 +103,7 @@ module VagrantPlugins
103
103
  # for any state related to the machine created by the provisioner
104
104
  # to be cleaned up.
105
105
  def destroy
106
- if @config && @config.include?("domain")
106
+ if @config && @config.domain != nil
107
107
  set_credentials
108
108
  if leave_domain
109
109
  restart_guest
@@ -1,5 +1,5 @@
1
1
  module Vagrant
2
2
  module WindowsDomain
3
- VERSION = "1.1.10"
3
+ VERSION = "1.1.11"
4
4
  end
5
5
  end
@@ -195,7 +195,7 @@ describe VagrantPlugins::WindowsDomain::Provisioner do
195
195
  it "should not leave domain plugin not associated with current Vagrantfile" do
196
196
  allow(machine).to receive(:communicate).and_return(communicator)
197
197
 
198
- subject = described_class.new machine, []
198
+ subject = described_class.new machine, double("env", :domain => nil)
199
199
 
200
200
  expect(ui).to_not receive(:ask)
201
201
  expect(subject.destroy).to eq(nil)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-windows-domain
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.10
4
+ version: 1.1.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Fellows