lucian 0.1.6 → 0.1.7
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/lucian/engine.rb +6 -3
- data/lib/lucian/version.rb +1 -1
- data/lib/rspec/core/example.rb +2 -2
- 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: 93de2913e06b15ef31bd1f39f10f9fd867e12e15
|
|
4
|
+
data.tar.gz: 792aaec49b1bd5771ce2d14792c3389f18fac263
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 575b2ad4031de2a8998737f5c8c8fb7cf791e9a692e565eb89dcbaf13537f0d79037cf501e585027128871732c0aede7f5b0f2e9d4b3428b5470cafd2842629e
|
|
7
|
+
data.tar.gz: affd1719ff8b0683ae5382afef6b462be22a4e4dc9675cf59433446da3093d39e06a6903ed63303e67202ac668edd0e912a47a224e410bb4dc50e60a7b29fd6d
|
data/lib/lucian/engine.rb
CHANGED
|
@@ -38,9 +38,12 @@ module Lucian
|
|
|
38
38
|
##
|
|
39
39
|
# Shutdown
|
|
40
40
|
def shutdown
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
41
|
+
# NOTE Check if running in docker or not
|
|
42
|
+
if ENV["LUCIAN_DOCKER"] == nil
|
|
43
|
+
@docker_compose.down
|
|
44
|
+
stop_lucian_container
|
|
45
|
+
remove_lucian_container
|
|
46
|
+
end
|
|
44
47
|
# remove_lucian_image # NOTE Bot sure we need to remove this or not
|
|
45
48
|
end
|
|
46
49
|
|
data/lib/lucian/version.rb
CHANGED
data/lib/rspec/core/example.rb
CHANGED
|
@@ -20,8 +20,8 @@ module RSpec::Core
|
|
|
20
20
|
if self.metadata[:services] != nil && self.metadata[:services].is_a?(Array) && ENV["LUCIAN_DOCKER"] == nil
|
|
21
21
|
run_docker_services
|
|
22
22
|
result = run_lucian_test
|
|
23
|
-
puts result
|
|
24
|
-
puts
|
|
23
|
+
puts result[0]
|
|
24
|
+
puts result[1]
|
|
25
25
|
else
|
|
26
26
|
run_before_example
|
|
27
27
|
@example_group_instance.instance_exec(self, &@example_block)
|