stable 1.14.2 → 1.15.1

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
  SHA256:
3
- metadata.gz: e9547d8a0670bd2ee396d3a2bb1abd83a889e43ee75eda7109cbda069a7a6652
4
- data.tar.gz: ab25f31f1cf309e7bc39c5cf29b77cd8a0b7ceb150c6c3cf5e81901a8b1744dc
3
+ metadata.gz: b69520993a3ba3808f876dc99277ea8f55d35780057ca2496159959380608e43
4
+ data.tar.gz: 3045dd9cc18163dfc34a3689e84c93c735a67c9c15eab1c97dbf59c1ddcd6319
5
5
  SHA512:
6
- metadata.gz: 3ee82a8192b31970d7d81ce029839503e71d6f079fccfba3085c076a0fadba3ca29d23799c976483a1eafb3c9a284a761a21acc85cb475b59d048eeac3c29f88
7
- data.tar.gz: fb6cf57fa0d3e7c929e46a951b622d0bc62982daf71731647450648468bbe161c43e8270da55a6be378a55347fdea4573658fd318d55154077a25fe50bf96842
6
+ metadata.gz: 334ae0568b719fa1ab54fb490156bfa0294d698694b4b37696cc66c062a811d42650948f033a520825590a708463aa19e464afa7894d191ccdcd1572c45b7fb3
7
+ data.tar.gz: bbc04681f7685be55dbae01634184694dae2b20b7819b760ae13a1fa314a6b8d31a530171a6a3c128b8c9478088a2e6def994184379f3dc26ba884e885aea5cc
@@ -4,9 +4,9 @@ require_relative 'colors'
4
4
  module Stable
5
5
  module Formatters
6
6
  class Verbose
7
-
8
7
  def initialize(facts)
9
8
  @facts = facts
9
+ @start_time = Time.now
10
10
  end
11
11
 
12
12
  def to_s(fact)
@@ -55,7 +55,8 @@ module Stable
55
55
  passing = @facts.count { |f| f.status == :passed || f.status == :passed_with_error }
56
56
  failing = @facts.count { |f| f.status == :failed }
57
57
  pending = @facts.count { |f| f.status == :pending }
58
- "\n#{@facts.count} facts, #{passing} passing, #{pending} pending, #{failing} failing"
58
+ runtime = Time.now - @start_time
59
+ "\n#{@facts.count} facts, #{passing} passing, #{pending} pending, #{failing} failing, finished in #{runtime.round(2)}s"
59
60
  end
60
61
 
61
62
 
@@ -1,3 +1,3 @@
1
1
  module Stable
2
- VERSION = "1.14.2"
2
+ VERSION = "1.15.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stable
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.14.2
4
+ version: 1.15.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeff Lunt
@@ -15,14 +15,14 @@ dependencies:
15
15
  requirements:
16
16
  - - ">="
17
17
  - !ruby/object:Gem::Version
18
- version: '0'
18
+ version: '13.0'
19
19
  type: :runtime
20
20
  prerelease: false
21
21
  version_requirements: !ruby/object:Gem::Requirement
22
22
  requirements:
23
23
  - - ">="
24
24
  - !ruby/object:Gem::Version
25
- version: '0'
25
+ version: '13.0'
26
26
  description: an automatic unit test system that captures your usage and records it
27
27
  for future playback
28
28
  email: jefflunt@gmail.com