cukehub 0.9.4 → 0.9.4.1

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 +4 -2
  3. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fff7d9b695fdc21e3c866b5c66f14db291af180e
4
- data.tar.gz: 0920a2f6f5989c3ede2a326cff591e2f6be31967
3
+ metadata.gz: b6586a988f9c6636bab6f7b509ded3bd6b492fda
4
+ data.tar.gz: 3846b1f47689f1ac9fb688dc945ac73a34fffd43
5
5
  SHA512:
6
- metadata.gz: 8de1895dfad57738ad5e33334c59af6dc82177453e56e295b23dfa32578d44078e3116f5cdb15f50e20fc47f76bda06fba79b0aee16d648e50e642df12f16289
7
- data.tar.gz: a0c891efc4c845e44f59246658409e4e93a0fdf9b74f96256b50609f759c69f4fac0dad72a0f539199d79726d2942595fda28867dd3b4210323d0bf0cef75fda
6
+ metadata.gz: fa3ac4f3506db6781fc63738ae6bb57722936c747dd905d743ec87b53ba5f70c1bc70887d37a0762f89ed588721754bffebb46e855267d5c36e7e50ec11d4ab5
7
+ data.tar.gz: fb7f5edfce650ca6fea047bb739a4325929aafd40940917264aaeb6602798d45a5965f062eb0c3cf53c473e40305765bd02bb2e54a027f0cc14305d554068462
data/lib/cukehub.rb CHANGED
@@ -10,10 +10,11 @@ elsif OS.doze?
10
10
  end
11
11
 
12
12
  Before do
13
- @start = Time.now
13
+ @start = Time.now.utc
14
14
  end
15
15
 
16
16
  After do |scenario|
17
+ finished = Time.now.utc
17
18
  ignored_lines = ["Before hook", "After hook", "AfterStep hook"]
18
19
  @steps = scenario.test_steps.map{|step| step.name if !ignored_lines.include?(step.name) }.compact.join("\n")
19
20
  IO.popen("git symbolic-ref --short HEAD") {|pipe| @git_branch = pipe.read }
@@ -26,7 +27,8 @@ After do |scenario|
26
27
  status: scenario.status.upcase,
27
28
  machine: Socket.gethostname,
28
29
  os: os,
29
- runtime: (Time.now - @start),
30
+ run_completed_at: finished,
31
+ runtime: (finished - @start),
30
32
  domain: @domain,
31
33
  steps: @steps,
32
34
  branch: @git_branch.chomp,
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
4
+ version: 0.9.4.1
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-03-06 00:00:00.000000000 Z
11
+ date: 2017-03-08 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: Capture and Analyze your Cucumber Test Results at CukeHub.
41
+ description: Store and Share your Cucumber Test Results at CukeHub.
42
42
  email: rich@cukehub.com
43
43
  executables: []
44
44
  extensions: []