sumodev 0.10.1 → 0.11.0
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 +4 -4
- data/lib/sumodev/commands/box.rb +8 -2
- data/lib/sumodev/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 74d2f0756554883f8dcfd5300a65cad796b0326b
|
4
|
+
data.tar.gz: 5b45eb1271ebfba90b783ed2fed112bb817b3ff3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cc1e0f5e79db64695478b394b8432d35a245c03b336637f5e86110ea26d259ad8c74fae42648089b667a36c051473f506a620ade013b2716ccc15caadc4e8c19
|
7
|
+
data.tar.gz: 03dceaa3be1d8a3c33bcfa788d043764c2c59b0b7b1d72440b2c99c51bdf51e8ee805733e82c9dbe11f10068d2053fd8cbd1cedb0691de5eabc704a8a94a93f0
|
data/lib/sumodev/commands/box.rb
CHANGED
@@ -20,7 +20,11 @@ class Sumodev::Commands::Box < Sumodev::Command
|
|
20
20
|
end
|
21
21
|
|
22
22
|
def run_vagrant_command(command, *arguments)
|
23
|
-
|
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|
|
data/lib/sumodev/version.rb
CHANGED
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.
|
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-
|
11
|
+
date: 2015-04-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|