cukehub 0.9.2 → 0.9.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/cukehub.rb +3 -1
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3ec2d7bf57b45d1f9a40f9d2688559d1428d44a3
4
- data.tar.gz: 8f16a38b7c2dabc7d4b67893cbb182308260e19a
3
+ metadata.gz: 338b7a8766946c4caaec5368012ae9301cb5e964
4
+ data.tar.gz: 57de9c21e6813eafee203d1b48cfca7ccefff849
5
5
  SHA512:
6
- metadata.gz: 65bba560ff4022b839c6d8eb91628f1469d37e2bf3f33e6b979e12a729bc257ce0b3d878c55e10f065c4d44de4200d0f6eb44de43ae482d902aeee9cbc3c7f57
7
- data.tar.gz: 09515a67e476c376d0b5d70cf1a6937b7dec436089f295d1db82258d8097b0acf293086ced52da6098d13167985880ab29af9e799ec01dd3797fdad5e027cb73
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.2
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 00:00:00.000000000 Z
11
+ date: 2017-02-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty