mason 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
data/lib/mason/stacks.rb CHANGED
@@ -40,9 +40,8 @@ class Mason::Stacks
40
40
  def self.destroy(name)
41
41
  raise "no such stack: #{name}" unless stacks.keys.include?(name.to_sym)
42
42
  vm = vms[name.to_sym]
43
- require "vagrant/errors"
44
- vm.halt rescue Vagrant::Errors::VBoxManagerError
45
- vm.destroy rescue Vagrant::Errors::VBoxManageError
43
+ vm.halt rescue nil
44
+ vm.destroy rescue nil
46
45
  s = stacks
47
46
  s.delete(name.to_sym)
48
47
  build_vagrantfile(s)
data/lib/mason/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Mason
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mason
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2012-03-19 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: thor
16
- requirement: &70339980283620 !ruby/object:Gem::Requirement
16
+ requirement: &70318325374380 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,7 +21,7 @@ dependencies:
21
21
  version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70339980283620
24
+ version_requirements: *70318325374380
25
25
  description: Build things
26
26
  email: ddollar@gmail.com
27
27
  executables: