covered 0.17.0 → 0.17.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: d8f090b2435fd102d59fa7c4d7521c3175c63525a41a9031df94437186473d4d
4
- data.tar.gz: 451c5de36ca41d1036a2114427bf06e52c558d70600a010da17253a5fce351e6
3
+ metadata.gz: 3b906f699dc0a8c5ab648200ae5330cf12a0da31e5c6966bb105d1df387c7179
4
+ data.tar.gz: 6692c75aa8764654a5a278e248bf4b9f224a10e84363a7cbf0dfc68ba5d84be6
5
5
  SHA512:
6
- metadata.gz: d69196d6806beed48922c14cd215182fee51319a95e1484f43ab3132d7c71d6caadf058a1391859d80d0830a3c0d52708ff3f96b202fa9fc2107f804eedf9126
7
- data.tar.gz: 79fbd2fef4c24c606b8534ae55a95dd42a33db25b975a8dd1370f553d2d19876ad71ee5734a8c7c1958c93687631d925d0c714a3c49d53adf3629463a1e38478
6
+ metadata.gz: 6656a91ce7b29c67c66dd9e1d63f9c38231b1bfbdedae4ce29b638468d55d0476d308522ecf24d07fee905081653d192cd90d73cf1772b59fd7534f87bfd2cbb
7
+ data.tar.gz: 21f2d81e59417f81bcf63c7c95e0a6023c67bd68985811f3e2184c1fdbd447be5dd4e74b373546ea5eb307365799b5bf9ea24d2243301cbd9c2abe5112f8382f
checksums.yaml.gz.sig CHANGED
Binary file
data/lib/covered/rspec.rb CHANGED
@@ -11,19 +11,6 @@ $covered = Covered::Config.load
11
11
 
12
12
  module Covered
13
13
  module RSpec
14
- class Formatter
15
- # The name `dump_summary` of this method is significant:
16
- ::RSpec::Core::Formatters.register self, :dump_summary
17
-
18
- def initialize(output)
19
- @output = output
20
- end
21
-
22
- def dump_summary notification
23
- $covered.call(@output)
24
- end
25
- end
26
-
27
14
  module Policy
28
15
  def load_spec_files
29
16
  $covered.enable
@@ -46,10 +33,9 @@ if $covered.record?
46
33
  RSpec::Core::Configuration.prepend(Covered::RSpec::Policy)
47
34
 
48
35
  RSpec.configure do |config|
49
- config.add_formatter(Covered::RSpec::Formatter)
50
-
51
36
  config.after(:suite) do
52
37
  $covered.disable
38
+ $covered.call(config.output_stream)
53
39
  end
54
40
  end
55
41
  end
@@ -4,5 +4,5 @@
4
4
  # Copyright, 2018-2022, by Samuel Williams.
5
5
 
6
6
  module Covered
7
- VERSION = "0.17.0"
7
+ VERSION = "0.17.1"
8
8
  end
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: covered
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.17.0
4
+ version: 0.17.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Williams
metadata.gz.sig CHANGED
Binary file