sambot 0.1.207 → 0.1.208
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/sambot/cli.rb +4 -0
- data/lib/sambot/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f315027f7ca27415c1931d6d6d4399c31e16fc00
|
4
|
+
data.tar.gz: 5305bd9878804fb3ce2080d35c2055b0fa70379c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fbf8e148425a41102e7959b6650a0c865dc46374bba4d629e6c1bbd628adddfcc4086d5f92f21a70d6db3fc9b4d65de4a549101af303892f35ce3f212e913096
|
7
|
+
data.tar.gz: 3254e6267282bd325fc0a4f6613a1ec74cab7c1b7725b8432b655c0d6ddfd78ca6c5d376b33d6380c758f66be5d2f69027ae381e0193791d67862f04db1adaf6
|
data/lib/sambot/cli.rb
CHANGED
@@ -20,6 +20,10 @@ module Sambot
|
|
20
20
|
desc 'up', 'Setup the Docker environment for testing cookbooks'
|
21
21
|
def up
|
22
22
|
execute do
|
23
|
+
unless File.exist?('docker-compose.yml')
|
24
|
+
UI.error("This command should only be run in a cookbook directory. Make sure you have run `chef exec sambot build --local --docker` before trying again.")
|
25
|
+
exit 1
|
26
|
+
end
|
23
27
|
up_cmd
|
24
28
|
populate_cmd
|
25
29
|
end
|
data/lib/sambot/version.rb
CHANGED