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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/cukehub.rb +3 -0
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 338b7a8766946c4caaec5368012ae9301cb5e964
4
- data.tar.gz: 57de9c21e6813eafee203d1b48cfca7ccefff849
3
+ metadata.gz: 252c2b781fdba6462c8f4c0f76523cb5fd81d57c
4
+ data.tar.gz: b3b70a1596d4e821413ee74da770ee20fbe97595
5
5
  SHA512:
6
- metadata.gz: f34451b40b5d8543f534560ee72dadfb0690b08287d6789fb319239841e74102b452ea68a934d45676f05601ea81931f858e12916c35a68a4cf812f002610889
7
- data.tar.gz: 8a8807f76dc68f26584b4721c38f77b68fbbbc091e202f7b9188170f8c1ce344b533b6e61fd0c26c384bc23c46598628a9024a77806dbe5521cff67cc36d2dab
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-12 00:00:00.000000000 Z
11
+ date: 2017-02-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty