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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ce95c806215694affa2356c6f0bf9fe8d47813bbec6f0e1da5b456a1ce422dce
4
- data.tar.gz: df4d15141796de0d521c2ead90cc879b471f2bd1798f045e9e974aa262c80622
3
+ metadata.gz: 22a798d9e27a53d890729a39af723d247639cfa54895411b88ec43979bf89dfc
4
+ data.tar.gz: dabcb66862e3d4c9b8d1236b52539cd4279ecad22fe2af26fca52efeeb50f6e9
5
5
  SHA512:
6
- metadata.gz: ac5f3424df21a80c8a4928ce81687f9bd7b12d150ce4cd22717191f84a3e7e5bbd1ca71c39b7c7d52a462ec9fb8c1b2af8c1fd59257ac904458a024267bced73
7
- data.tar.gz: 19cffa90875681622501392be03292bf3aea50e48921f30488a1ae7300d48c2ff460b0e9db42f517f3c3b3163e2580d13962dda786dc552844e741fc5a39cdcb
6
+ metadata.gz: f7f8f019161301a0c727291f6df9cf4e6c7d16212184439f412e8c6e46936037ade769fedba30c8d6ac211383aed291aaa2379445d8ce9b26cc41654b4e16ab6
7
+ data.tar.gz: ea1796d3b02b0fc02c7222457a2a05746e9781e70c4dc37eab2645f3e7028216f1a6383d05a43b33519db95771be169889569bd25448b814e833864bdbaaaad9
@@ -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
 
@@ -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
 
@@ -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 = value unless value.nil?
203
- @enable_for_subprocesses || false
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module SimpleCov
4
- VERSION = "0.19.0"
4
+ VERSION = "0.19.1"
5
5
  end
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.0
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-08-16 00:00:00.000000000 Z
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.0
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.0
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: