From 4ae7655be4ca149482b43592acf0e759463a0bfc Mon Sep 17 00:00:00 2001 From: Seth Reeser Date: Wed, 20 Jul 2016 15:40:56 -0400 Subject: [PATCH] Fixes #209 --- lib/vagrant-hostmanager/action/update_all.rb | 2 +- lib/vagrant-hostmanager/version.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/vagrant-hostmanager/action/update_all.rb b/lib/vagrant-hostmanager/action/update_all.rb index 918abe1..660e2b5 100644 --- a/lib/vagrant-hostmanager/action/update_all.rb +++ b/lib/vagrant-hostmanager/action/update_all.rb @@ -33,7 +33,7 @@ def call(env) if p == @provider machine = @global_env.machine(name, p) state = machine.state - if state.short_description.eql? 'active' || 'running' + if ['active','running'].include?(state.short_description) @updater.update_guest(machine) end end diff --git a/lib/vagrant-hostmanager/version.rb b/lib/vagrant-hostmanager/version.rb index dc9d969..df106c3 100644 --- a/lib/vagrant-hostmanager/version.rb +++ b/lib/vagrant-hostmanager/version.rb @@ -1,5 +1,5 @@ module VagrantPlugins module HostManager - VERSION = '1.8.4' + VERSION = '1.8.5' end end