test_bench-session 2.1.1.0 → 2.1.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3440f457995731c8ceca49992d6738ee25afb5cf73228f440cb9d9c7e6a59012
4
- data.tar.gz: 9a96e76315bdd19f79ff95d24be317f8364880946279302e27f05ae028bcc1c4
3
+ metadata.gz: d51046e8f9923532aee42c79de710827e43cba6552f30e546e6b25f9651b44bb
4
+ data.tar.gz: e0a322b16015b834a69ac0e3d527762ad1d460c5402342fd2fcc85f19f7c9f21
5
5
  SHA512:
6
- metadata.gz: 146dd20d23651b00513a25e836604e9c08696b233f32e6f81ac93490551a126f5bd8c3887995fec314f897c8e5e8f309fbb10025b8975ddf5325ca6ee6937108
7
- data.tar.gz: cea380dda8360a6e770ae8fc0ff093d4f28c7ffc6c5ec405c2e8347c71c717cb167a1ba46f26fe605e79e977b37735521781c0a3bb83a2a4da497410870c2a2d
6
+ metadata.gz: be667ff48eaedd33aeb50bf6831ac1403773ce9338919c628b79392406ab43100622a64e5a3177439f3d57f675fd871695fb94a03a5f55ffdee06531544206fc
7
+ data.tar.gz: e41c5bbb84ea00532c6524ad8a1f55cc108c476a2aff4c6c92e2f7e14f45df8c7d746a1e15c4085fd38c98ef95e0e6890cd4b93879317404dc304d865b8249aa
@@ -21,10 +21,15 @@ module TestBench
21
21
  case event_data.type
22
22
  when :TestStarted, :ContextStarted
23
23
  title, * = event_data.data
24
- path.push(title)
24
+ if not title.nil?
25
+ path.push(title)
26
+ end
27
+
25
28
  when :TestFinished, :ContextFinished
26
29
  title, * = event_data.data
27
- path.pop(title)
30
+ if not title.nil?
31
+ path.pop(title)
32
+ end
28
33
  end
29
34
 
30
35
  record = Record.new(event_data)
@@ -33,7 +38,10 @@ module TestBench
33
38
  case event_data.type
34
39
  when :TestFinished, :ContextFinished
35
40
  title, * = event_data.data
36
- record.path.push(title)
41
+ if not title.nil?
42
+ record.path.push(title)
43
+ end
44
+
37
45
  when :Commented, :Detailed
38
46
  comment_text, * = event_data.data
39
47
  record.path.push(comment_text)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: test_bench-session
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.1.0
4
+ version: 2.1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nathan Ladd