sumodev 0.10.1 → 0.11.0

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: 38f27d64da3b8cf4c2a377d66dcd5817b47e074f
4
- data.tar.gz: dacc909d1d79e1e0936c0023672b1668e4569421
3
+ metadata.gz: 74d2f0756554883f8dcfd5300a65cad796b0326b
4
+ data.tar.gz: 5b45eb1271ebfba90b783ed2fed112bb817b3ff3
5
5
  SHA512:
6
- metadata.gz: b6069c2e0643192b00efdec0d68ffa412b89cf005e141b977d9094ffec4dff367240ed483a5bbc030a4d49a9526239bef8e3d01de7e135a1ef88ebc240f65f4e
7
- data.tar.gz: 226efa11148c70cf900a3d7c305f4eba11143c468c1a3bd95767d6260b7afdfef09c7d8ffb37976521257f7f1cd11fcaa3ea1281d96c83761aeabc05b9303d98
6
+ metadata.gz: cc1e0f5e79db64695478b394b8432d35a245c03b336637f5e86110ea26d259ad8c74fae42648089b667a36c051473f506a620ade013b2716ccc15caadc4e8c19
7
+ data.tar.gz: 03dceaa3be1d8a3c33bcfa788d043764c2c59b0b7b1d72440b2c99c51bdf51e8ee805733e82c9dbe11f10068d2053fd8cbd1cedb0691de5eabc704a8a94a93f0
@@ -20,7 +20,11 @@ class Sumodev::Commands::Box < Sumodev::Command
20
20
  end
21
21
 
22
22
  def run_vagrant_command(command, *arguments)
23
- system "cd #{box_path}; vagrant #{command} #{arguments.join(' ')}"
23
+ # See https://github.com/mitchellh/vagrant/issues/5199#issuecomment-73278236
24
+ if ["reload", "halt"].include?(command.split(" ")[0])
25
+ system "rm -rf #{box_path}/.vagrant/machines/*/virtualbox/synced_folders"
26
+ end
27
+ system "cd #{box_path}; vagrant #{command} #{arguments.join(' ')}"
24
28
  end
25
29
 
26
30
  def box_running?
@@ -55,8 +59,10 @@ class Sumodev::Commands::Box < Sumodev::Command
55
59
  desc 'install', "Installs everything required to use the box command"
56
60
  def install
57
61
  # install vagrant plugins
58
- %x(vagrant plugin install vagrant-ohai)
59
62
  %x(vagrant plugin install vagrant-omnibus)
63
+ %x(vagrant plugin install vagrant-vbguest)
64
+ %x(vagrant plugin install vagrant-berkshelf --plugin-version 2.0.1)
65
+ %x(berks vendor berks-cookbooks)
60
66
 
61
67
  # install .sumorc file
62
68
  File.open(File.expand_path("~/.sumorc"), 'w') do |f|
@@ -1,3 +1,3 @@
1
1
  module Sumodev
2
- VERSION = "0.10.1"
2
+ VERSION = "0.11.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sumodev
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.1
4
+ version: 0.11.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jan De Poorter
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-04-15 00:00:00.000000000 Z
11
+ date: 2015-04-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport