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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 15173b6ef6750e6401a9c62293cdb2ff2bd3198c
4
- data.tar.gz: 1c296d1fad951712c9dfb0b32ba6282eb15a1a09
3
+ metadata.gz: f315027f7ca27415c1931d6d6d4399c31e16fc00
4
+ data.tar.gz: 5305bd9878804fb3ce2080d35c2055b0fa70379c
5
5
  SHA512:
6
- metadata.gz: b195367df5cbd3e1cd8647e4373e0b6ed952836ab931721bd5e27ea03b6552a6303bdcc6764c2f40fd0ece75fc661456bac2186fcee3cc97fbdbff7e608813a7
7
- data.tar.gz: 8dc092c24417da4bfe16584ece7e30d6501a19134c121333f51d4b0f4b177c7cb7e8ea384c9d28af8165b26ce6f534b121b6f7173c0d88fb49523925a79b053f
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Sambot
4
- VERSION = '0.1.207'
4
+ VERSION = '0.1.208'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sambot
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.207
4
+ version: 0.1.208
5
5
  platform: ruby
6
6
  authors:
7
7
  - Olivier Kouame