simplecov 0.19.0 → 0.19.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 +4 -4
- data/CHANGELOG.md +8 -0
- data/doc/alternate-formatters.md +5 -0
- data/lib/simplecov.rb +3 -1
- data/lib/simplecov/configuration.rb +3 -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: 22a798d9e27a53d890729a39af723d247639cfa54895411b88ec43979bf89dfc
|
4
|
+
data.tar.gz: dabcb66862e3d4c9b8d1236b52539cd4279ecad22fe2af26fca52efeeb50f6e9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f7f8f019161301a0c727291f6df9cf4e6c7d16212184439f412e8c6e46936037ade769fedba30c8d6ac211383aed291aaa2379445d8ce9b26cc41654b4e16ab6
|
7
|
+
data.tar.gz: ea1796d3b02b0fc02c7222457a2a05746e9781e70c4dc37eab2645f3e7028216f1a6383d05a43b33519db95771be169889569bd25448b814e833864bdbaaaad9
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,11 @@
|
|
1
|
+
0.19.1 (2020-10-25)
|
2
|
+
==========
|
3
|
+
|
4
|
+
## Bugfixes
|
5
|
+
|
6
|
+
* No more warnings triggered by `enable_for_subprocesses`. Thanks to [@mame](https://github.com/mame)
|
7
|
+
* Avoid trying to patch `Process.fork` when it isn't available. Thanks to [@MSP-Greg](https://github.com/MSP-Greg)
|
8
|
+
|
1
9
|
0.19.0 (2020-08-16)
|
2
10
|
==========
|
3
11
|
|
data/doc/alternate-formatters.md
CHANGED
@@ -60,6 +60,11 @@ A formatter that prints the coverage of the file under test when you run a singl
|
|
60
60
|
|
61
61
|
t_wada AA formatter for SimpleCov
|
62
62
|
|
63
|
+
#### [simplecov-tailwindcss](https://github.com/chiefpansancolt/simplecov-tailwindcss)
|
64
|
+
*by [Chiefpansancolt](https://github.com/chiefpansancolt)*
|
65
|
+
|
66
|
+
A TailwindCSS & TailwindUI Designed HTML formatter with clean and easy search of files with a tabular left Navigation.
|
67
|
+
|
63
68
|
#### [simplecov-material](https://github.com/chiefpansancolt/simplecov-material)
|
64
69
|
*by [Chiefpansancolt](https://github.com/chiefpansancolt)*
|
65
70
|
|
data/lib/simplecov.rb
CHANGED
@@ -50,7 +50,9 @@ module SimpleCov
|
|
50
50
|
def start(profile = nil, &block)
|
51
51
|
require "coverage"
|
52
52
|
initial_setup(profile, &block)
|
53
|
-
require_relative "./simplecov/process" if SimpleCov.enabled_for_subprocesses?
|
53
|
+
require_relative "./simplecov/process" if SimpleCov.enabled_for_subprocesses? &&
|
54
|
+
::Process.respond_to?(:fork)
|
55
|
+
|
54
56
|
make_parallel_tests_available
|
55
57
|
|
56
58
|
@result = nil
|
@@ -199,8 +199,9 @@ module SimpleCov
|
|
199
199
|
# gets or sets the enabled_for_subprocess configuration
|
200
200
|
# when true, this will inject SimpleCov code into Process.fork
|
201
201
|
def enable_for_subprocesses(value = nil)
|
202
|
-
@enable_for_subprocesses
|
203
|
-
|
202
|
+
return @enable_for_subprocesses if defined?(@enable_for_subprocesses) && value.nil?
|
203
|
+
|
204
|
+
@enable_for_subprocesses = value || false
|
204
205
|
end
|
205
206
|
|
206
207
|
# gets the enabled_for_subprocess configuration
|
data/lib/simplecov/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: simplecov
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.19.
|
4
|
+
version: 0.19.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Christoph Olszowka
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2020-
|
12
|
+
date: 2020-10-25 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: docile
|
@@ -104,9 +104,9 @@ licenses:
|
|
104
104
|
metadata:
|
105
105
|
bug_tracker_uri: https://github.com/simplecov-ruby/simplecov/issues
|
106
106
|
changelog_uri: https://github.com/simplecov-ruby/simplecov/blob/main/CHANGELOG.md
|
107
|
-
documentation_uri: https://www.rubydoc.info/gems/simplecov/0.19.
|
107
|
+
documentation_uri: https://www.rubydoc.info/gems/simplecov/0.19.1
|
108
108
|
mailing_list_uri: https://groups.google.com/forum/#!forum/simplecov
|
109
|
-
source_code_uri: https://github.com/simplecov-ruby/simplecov/tree/v0.19.
|
109
|
+
source_code_uri: https://github.com/simplecov-ruby/simplecov/tree/v0.19.1
|
110
110
|
post_install_message:
|
111
111
|
rdoc_options: []
|
112
112
|
require_paths:
|