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.
- checksums.yaml +4 -4
- data/lib/cukehub.rb +4 -2
- 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: b6586a988f9c6636bab6f7b509ded3bd6b492fda
|
4
|
+
data.tar.gz: 3846b1f47689f1ac9fb688dc945ac73a34fffd43
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
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-
|
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:
|
41
|
+
description: Store and Share your Cucumber Test Results at CukeHub.
|
42
42
|
email: rich@cukehub.com
|
43
43
|
executables: []
|
44
44
|
extensions: []
|