step-stats 0.0.2 → 0.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a88024d8c94f650f2d8c148fae871aa264c116f8
4
- data.tar.gz: 4baee00e3b90efdbc040161c9a8027de31c30caf
3
+ metadata.gz: 31a5b9082c807dab457bae11470873cc8df7fb67
4
+ data.tar.gz: 4accb736d4a3defaf78560fb9cdf34d960748630
5
5
  SHA512:
6
- metadata.gz: 4d8c7c95c70efe349294c2d80dcc5439ac8a50ec640ba359a4f05fe4f102a92e3b65486e55289b839246b1cc4ebad0fdc2ba8dc18a818141a1798c85a151d95a
7
- data.tar.gz: f98e44c0ae794ee4d2bcba9b9955f981dd339ba5433481c6bd10f5a18aa9a47135b10fd08fc0ec86bb868f1ea75883d98405abc17149019ef53e49d4047dcaba
6
+ metadata.gz: 1678130590ad3f30a078660921e6b2ad5c1136e22bc5bd168b4e3cd5e0233363393230343e326ae6cdd658db14fca0dd265dd6c9188822f4ea944b195cfe98d6
7
+ data.tar.gz: 2e96780d7dab4eed90c7d2ed888792b955dd69b0ec4a81d62a4b4e649f2db6aedcb7e90a81312508f26a868f8c7c65eb497f198cacbb6428d8d961fd8d0bd792
@@ -15,7 +15,7 @@ module StepStats
15
15
 
16
16
  def before_step_result(keyword, step_match, multiline_arg, status, exception, source_indent, background, file_colon_line)
17
17
  @duration = Time.now - @start_time
18
- @sss.add_stat(step_match.step_definition,@duration,status,file_colon_line) if @duration > 0
18
+ @sss.add_stat(step_match.step_definition,@duration,status,file_colon_line) if @duration > 0 && !step_match.step_definition.nil?
19
19
  super
20
20
  end
21
21
 
@@ -30,4 +30,4 @@ module StepStats
30
30
  super
31
31
  end
32
32
  end
33
- end
33
+ end
@@ -28,7 +28,7 @@
28
28
  .tabs-left > div > .nav-tabs .active > a:hover,
29
29
  .tabs-left > div > .nav-tabs .active > a:focus {border-color: #ddd transparent #ddd #ddd;*border-right-color: #ffffff;}
30
30
  .tabs-left > div > .tab-pane {float: left;width: 99%;}
31
- span.percentage{float: right;}
31
+ span.percentage{float: right;font-size: 10px; padding-top: 5px; margin-right: -8px;}
32
32
  div.details_chart{height: 400px;}
33
33
  div.tps_chart{height: 800px;}
34
34
  </style>
@@ -138,4 +138,4 @@
138
138
  }
139
139
  </script>
140
140
  </body>
141
- </html>
141
+ </html>
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: step-stats
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sundus Yousuf