cukehub 0.9.6 → 1.0.0
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 +9 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 83340362eeaf222ff09f91c6ec93161fcb532a94
|
4
|
+
data.tar.gz: 42ec1873bba461c96c5138121c3af26dbf665bfc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e7649826a0a36a0fb14e09795298fe1429a7a5de6ec3996adacbd8c2dfcc82ad03107ab8aee15a8945813bd9ded4a22706324e1c01e044ad37d3592daec979e7
|
7
|
+
data.tar.gz: 72b18a1411705ad0d0274c26c0be859779ff601ba34b89a5b9494d988e298068892e7d8c3c2195369f61f39c6aa2bf467d967c1a34c2c221a1e0e0a58e3c5074
|
data/lib/cukehub.rb
CHANGED
@@ -34,7 +34,15 @@ After do |scenario|
|
|
34
34
|
branch: @git_branch.chomp,
|
35
35
|
sha: @git_sha.chomp
|
36
36
|
}
|
37
|
-
|
37
|
+
if @browser.inspect =~ /Selenium/
|
38
|
+
params[:browser] = @browser.browser unless @browser.nil?
|
39
|
+
elsif @driver.inspect =~ /Selenium/
|
40
|
+
params[:browser] = @driver.browser unless @driver.nil?
|
41
|
+
elsif @browser.inspect =~ /Watir/
|
42
|
+
params[:browser] = @browser.name unless @browser.nil?
|
43
|
+
elsif @driver.inspect =~ /Watir/
|
44
|
+
params[:browser] = @driver.name unless @driver.nil?
|
45
|
+
end
|
38
46
|
params[:exception]=scenario.exception.backtrace.compact.join("\n") unless scenario.passed?
|
39
47
|
|
40
48
|
HTTParty.post("https://cukehub.com/api/v1/results", headers: headers, body: params, verify: false)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cukehub
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rich Downie
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-10-
|
11
|
+
date: 2017-10-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httparty
|
@@ -38,7 +38,7 @@ dependencies:
|
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0'
|
41
|
-
description:
|
41
|
+
description: The Fourth Amigo
|
42
42
|
email: rich@cukehub.com
|
43
43
|
executables: []
|
44
44
|
extensions: []
|