sambot 0.1.205 → 0.1.206
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 +3 -1
- 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: d29631e3da738fcaeb3b7b7d829874ff89081554
|
4
|
+
data.tar.gz: 0b59b73c1c3c9a508e2a7f88ba92bd98a13a37ce
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b88385b1837f87c208d14ebc27ab2bc97e15bd8eec0937f24532ba783aa03e9f038962974a73c652ab8323c63a527c66bcc489fe42b4c7122ddd93e3781fb9b0
|
7
|
+
data.tar.gz: 29229d26b3dc727724b054e1d575fcacb2388b80dd30a01f4ea7569a573a7b2b4e82e0b7a4b7ff05025af210cd624cc990e1d86573631bec818f505c5f222980
|
data/lib/sambot/cli.rb
CHANGED
@@ -1,7 +1,6 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
require_relative 'base_command'
|
4
|
-
require 'docker/compose'
|
5
4
|
|
6
5
|
module Sambot
|
7
6
|
class CLI < BaseCommand
|
@@ -21,6 +20,7 @@ module Sambot
|
|
21
20
|
desc 'up', 'Setup the Docker environment for testing cookbooks'
|
22
21
|
def up
|
23
22
|
execute do
|
23
|
+
require 'docker/compose'
|
24
24
|
up_cmd
|
25
25
|
populate_cmd
|
26
26
|
end
|
@@ -29,6 +29,7 @@ module Sambot
|
|
29
29
|
desc 'down', 'Destroy the Docker environment for testing cookbooks'
|
30
30
|
def down
|
31
31
|
execute do
|
32
|
+
require 'docker/compose'
|
32
33
|
down_cmd
|
33
34
|
end
|
34
35
|
end
|
@@ -36,6 +37,7 @@ module Sambot
|
|
36
37
|
desc 'test', 'Test a cookbook using the Docker environment'
|
37
38
|
def test
|
38
39
|
execute do
|
40
|
+
require 'docker/compose'
|
39
41
|
up_cmd
|
40
42
|
populate_cmd
|
41
43
|
down_cmd
|
data/lib/sambot/version.rb
CHANGED