cukehub 0.9.5 → 0.9.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/cukehub.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: cc26c2f72d4ad85a978419dfd3dc6ad0f3b1e4e3
|
4
|
+
data.tar.gz: 8ed538862327b217ae2ffb780c336d8e972975e8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7a15be730f9291c2d5a5fa4e6ad01d4be96c765e693403e712aa54f38dfaa40098d5b79d4839292899a823db67e61cc1965b987751a224143ed8c39e9abcf4ab
|
7
|
+
data.tar.gz: f3a10d49b216710707222b964b937e1e40e7ce27cb5dea9a0ad537289c38630b3f1de8d6fc42b1965a0046cb19cce5119869ec192c5a27fb1c0794966afb466d
|
data/lib/cukehub.rb
CHANGED
@@ -24,7 +24,7 @@ After do |scenario|
|
|
24
24
|
name: scenario.name,
|
25
25
|
location: scenario.location,
|
26
26
|
tag: scenario.source_tag_names,
|
27
|
-
status: scenario.status
|
27
|
+
status: scenario.status,
|
28
28
|
machine: Socket.gethostname,
|
29
29
|
os: os,
|
30
30
|
run_completed_at: finished,
|
@@ -34,7 +34,7 @@ After do |scenario|
|
|
34
34
|
branch: @git_branch.chomp,
|
35
35
|
sha: @git_sha.chomp
|
36
36
|
}
|
37
|
-
params[:browser] = @browser.browser
|
37
|
+
params[:browser] = @browser.browser unless @browser.nil?
|
38
38
|
params[:exception]=scenario.exception.backtrace.compact.join("\n") unless scenario.passed?
|
39
39
|
|
40
40
|
HTTParty.post("https://cukehub.com/api/v1/results", headers: headers, body: params, verify: false)
|