cukehub 0.9.2 → 0.9.3
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 +3 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 338b7a8766946c4caaec5368012ae9301cb5e964
|
4
|
+
data.tar.gz: 57de9c21e6813eafee203d1b48cfca7ccefff849
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f34451b40b5d8543f534560ee72dadfb0690b08287d6789fb319239841e74102b452ea68a934d45676f05601ea81931f858e12916c35a68a4cf812f002610889
|
7
|
+
data.tar.gz: 8a8807f76dc68f26584b4721c38f77b68fbbbc091e202f7b9188170f8c1ce344b533b6e61fd0c26c384bc23c46598628a9024a77806dbe5521cff67cc36d2dab
|
data/lib/cukehub.rb
CHANGED
@@ -15,6 +15,7 @@ end
|
|
15
15
|
|
16
16
|
After do |scenario|
|
17
17
|
IO.popen("git symbolic-ref --short HEAD") {|pipe| puts @git_branch = pipe.read }
|
18
|
+
IO.popen("git rev-parse --verify HEAD") {|pipe| puts @git_sha = pipe.read }
|
18
19
|
params = {
|
19
20
|
api_key: @cukehub_api_key,
|
20
21
|
name: scenario.name,
|
@@ -25,7 +26,8 @@ After do |scenario|
|
|
25
26
|
os: os,
|
26
27
|
runtime: (Time.now - @start),
|
27
28
|
domain: @domain,
|
28
|
-
branch: @git_branch.chomp
|
29
|
+
branch: @git_branch.chomp,
|
30
|
+
sha: @git_sha.chomp
|
29
31
|
}
|
30
32
|
params[:browser] = @browser.browser.upcase unless @browser.nil?
|
31
33
|
params[:exception]=scenario.exception.message unless scenario.passed?
|
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.9.
|
4
|
+
version: 0.9.3
|
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-02-
|
11
|
+
date: 2017-02-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httparty
|