lucian 0.2.4 → 0.2.5
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 +1 -1
- data/lib/lucian/version.rb +1 -1
- data/lib/rspec/core/example.rb +2 -0
- 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: 53d4ec6427b2575e2d5e4f2223d9ca59047f2e90
|
4
|
+
data.tar.gz: a4f419294cc2452848515a37dedf666923d3607e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0ec62ba5ef48e34f7ccd18228e136ee79d191f83f9a93d0ae8d93f8674aac47fa4ef913a24c8fc411006fd2ad35d154a3f4d0794da8634c88f7f8ce6ae4d6437
|
7
|
+
data.tar.gz: 53f6e098ecea9144b936ec0fb521387f93fd788d465fec0176dd7c15b54a9c915bdf346605986290f1f240385a9ee5146d122efc0212437f9a07fa08a57bf7af
|
data/lib/lucian/engine.rb
CHANGED
@@ -18,7 +18,7 @@ module Lucian
|
|
18
18
|
@lucian_directory = @compose_directory+'/'+DIRECTORY
|
19
19
|
@lucian_helper = @lucian_directory+'/'+HELPER
|
20
20
|
#@lucian_files = fetch_lucian_files(@lucian_directory)
|
21
|
-
@network_name = File.basename(@compose_directory).gsub!(/[^0-9A-Za-z]/, '')+"_default"
|
21
|
+
@network_name = File.basename(@compose_directory).gsub!(/[^0-9A-Za-z]/, '')+"_default" if ENV["LUCIAN_DOCKER"] == nil
|
22
22
|
$LOAD_PATH.unshift(@lucian_directory) unless $LOAD_PATH.include?(@lucian_directory)
|
23
23
|
@docker_compose = Docker::Compose.new
|
24
24
|
@examples = examples
|
data/lib/lucian/version.rb
CHANGED
data/lib/rspec/core/example.rb
CHANGED
@@ -19,6 +19,8 @@ module RSpec::Core
|
|
19
19
|
# Check if there are services or not
|
20
20
|
if self.metadata[:services] != nil && self.metadata[:services].is_a?(Array) && ENV["LUCIAN_DOCKER"] == nil
|
21
21
|
result = run_lucian_test
|
22
|
+
puts "========="
|
23
|
+
puts result.to_s
|
22
24
|
if result[2].to_i != 0
|
23
25
|
pending_cut = result[0].join("\n").gsub("\n", "--_n").match(/(PENDING.*)FAILING/)[0] rescue nil
|
24
26
|
failing_cut = result[0].join("\n").gsub("\n", "--_n").match(/(FAILING.*)Finished/)[0] rescue nil
|