simplecov 0.18.3 → 0.18.4
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 +4 -4
- data/CHANGELOG.md +9 -0
- data/lib/minitest/simplecov_plugin.rb +2 -0
- data/lib/simplecov.rb +5 -0
- data/lib/simplecov/defaults.rb +1 -2
- data/lib/simplecov/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 292aafbaf1d1e1907910e515b4c92dd05f869f7370cdc82eeb763795b46aae37
|
4
|
+
data.tar.gz: 3ec2c4d7fda0a09cdd1b82b9db5430fd3494fd0b366b2aeca9e66d4fc68e811f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 208645a01d3e939a088adfe158505a6a4462703b3218be1cff80e11290508d28edfb5fc2b8789a705911037de48af3938269a74a7291f6fe896c7a8d250e1c4d
|
7
|
+
data.tar.gz: 50834a4346792c0f6b696430a4ae032dbd51a4d14a3fd485d3f23c91aac1370cff0bddbffc0947df38ac94a9db6a0df568242653da8dfc51d2fdf826f08300e0
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,12 @@
|
|
1
|
+
0.18.4 (2020-02-24)
|
2
|
+
===================
|
3
|
+
|
4
|
+
Another small bugfix release 🙈 Fixes SimpleCov running with rspec-rails, which was broken due to our fixed minitest integration.
|
5
|
+
|
6
|
+
## Bugfixes
|
7
|
+
* SimpleCov will run again correctly when used with rspec-rails. The excellent bug report [#873](https://github.com/colszowka/simplecov/issues/873) by [@odlp](https://github.com/odlp) perfectly details what went wrong. Thanks to [@adam12](https://github.com/adam12) for the fix [#874](https://github.com/colszowka/simplecov/pull/874).
|
8
|
+
|
9
|
+
|
1
10
|
0.18.3 (2020-02-23)
|
2
11
|
===========
|
3
12
|
|
data/lib/simplecov.rb
CHANGED
@@ -27,6 +27,11 @@ module SimpleCov
|
|
27
27
|
attr_accessor :pid
|
28
28
|
attr_reader :exit_exception
|
29
29
|
|
30
|
+
# Basically, should we take care of at_exit behavior or something else?
|
31
|
+
# Used by the minitest plugin. See lib/minitest/simplecov_plugin.rb
|
32
|
+
attr_accessor :external_at_exit
|
33
|
+
alias external_at_exit? external_at_exit
|
34
|
+
|
30
35
|
#
|
31
36
|
# Sets up SimpleCov to run against your project.
|
32
37
|
# You can optionally specify a profile to use as well as configuration with a block:
|
data/lib/simplecov/defaults.rb
CHANGED
@@ -22,8 +22,7 @@ end
|
|
22
22
|
SimpleCov::CommandGuesser.original_run_command = "#{$PROGRAM_NAME} #{ARGV.join(' ')}"
|
23
23
|
|
24
24
|
at_exit do
|
25
|
-
|
26
|
-
next if defined?(Minitest)
|
25
|
+
next if SimpleCov.external_at_exit?
|
27
26
|
|
28
27
|
SimpleCov.at_exit_behavior
|
29
28
|
end
|
data/lib/simplecov/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: simplecov
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.18.
|
4
|
+
version: 0.18.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Christoph Olszowka
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-02-
|
11
|
+
date: 2020-02-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: docile
|
@@ -97,9 +97,9 @@ licenses:
|
|
97
97
|
metadata:
|
98
98
|
bug_tracker_uri: https://github.com/colszowka/simplecov/issues
|
99
99
|
changelog_uri: https://github.com/colszowka/simplecov/blob/master/CHANGELOG.md
|
100
|
-
documentation_uri: https://www.rubydoc.info/gems/simplecov/0.18.
|
100
|
+
documentation_uri: https://www.rubydoc.info/gems/simplecov/0.18.4
|
101
101
|
mailing_list_uri: https://groups.google.com/forum/#!forum/simplecov
|
102
|
-
source_code_uri: https://github.com/colszowka/simplecov/tree/v0.18.
|
102
|
+
source_code_uri: https://github.com/colszowka/simplecov/tree/v0.18.4
|
103
103
|
post_install_message:
|
104
104
|
rdoc_options: []
|
105
105
|
require_paths:
|