cukehub 0.9.3 → 0.9.3.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 +3 -0
- 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: 252c2b781fdba6462c8f4c0f76523cb5fd81d57c
|
4
|
+
data.tar.gz: b3b70a1596d4e821413ee74da770ee20fbe97595
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0a4b9af49547ec01d304bbaca0ed3ae8f375ea88ea63e3171007caf045c5342f9fbf2ab7bab722e432fd4e52ba12e1600e5bd134ced0afd45e65121eef345d6f
|
7
|
+
data.tar.gz: 62173de6b0340021e00ef44bf480163a8700ddfe52715fd452e57c8f56103f112292b81d72d05f910962b10a2a04af459c58b2ff234cc2a86f8b75812f421cf8
|
data/lib/cukehub.rb
CHANGED
@@ -14,6 +14,8 @@ Before do
|
|
14
14
|
end
|
15
15
|
|
16
16
|
After do |scenario|
|
17
|
+
ignored_lines = ["Before hook", "After hook", "AfterStep hook"]
|
18
|
+
@steps = scenario.test_steps.map{|step| step.name if !ignored_lines.include?(step.name) }.compact.join("\n")
|
17
19
|
IO.popen("git symbolic-ref --short HEAD") {|pipe| puts @git_branch = pipe.read }
|
18
20
|
IO.popen("git rev-parse --verify HEAD") {|pipe| puts @git_sha = pipe.read }
|
19
21
|
params = {
|
@@ -26,6 +28,7 @@ After do |scenario|
|
|
26
28
|
os: os,
|
27
29
|
runtime: (Time.now - @start),
|
28
30
|
domain: @domain,
|
31
|
+
steps: @steps,
|
29
32
|
branch: @git_branch.chomp,
|
30
33
|
sha: @git_sha.chomp
|
31
34
|
}
|
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.3
|
4
|
+
version: 0.9.3.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-02-
|
11
|
+
date: 2017-02-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httparty
|