rspec-core-parallel 0.2.0 → 0.2.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: 1b57c9af852c507ef4696411ab9de26231b9c04d9400fb8cdb48beb99edf4a89
4
- data.tar.gz: ef94f289bf3f6128f124c7bf3c0300a11d435cf0e8a40c2405beaae4b3c274d3
3
+ metadata.gz: 77f7b9d3542750b2b8a90a8f2ec8c8730205432dbdcd2615516684939343d300
4
+ data.tar.gz: 7107cf809562b46795cb35f720b709d6892ec758bedfeba55e3df22e9214272f
5
5
  SHA512:
6
- metadata.gz: c57a12dc5500fc4578a6ac51bfaa27b68b4f98da09e4297e2857993328ed2b6a9923851caffd14db0cc9a88fd9aecaa30dbdccb9fe44fcc721b48b4885329baa
7
- data.tar.gz: d5b61024b3bc242e08c1c35a0b65feb8877083542f85f33d970a4250e30fcdc0a2f473f097cb0fad9c816e1e393ad54406637d39deef1ed55c1e8ed456273a3a
6
+ metadata.gz: c5243cfee9b3851588bd9cd041a34e9f0f090568b4519bb08942f6f4f82e3ca891b2e99f851192922f7f623728e667cfd6ffe489487733b71271b01e72008114
7
+ data.tar.gz: 0672ec4583dacff0e6e8a69e1b394b3bb197bc6ff647ef868c1db2a9ba5d7217a55c32d1c30bf6badbd8fd1bd42517049cab0a59029e35a2058ecd66fa33ab68
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.2.1
4
+
5
+ * No deprecation warning with SimpleCov 1.x, which renamed
6
+ `enable_for_subprocesses` to `merge_subprocesses`.
7
+
3
8
  ## 0.2.0
4
9
 
5
10
  * SimpleCov collects the coverage of the workers without any configuration.
@@ -32,7 +32,12 @@ module RSpec
32
32
  return if ::SimpleCov.enabled_for_subprocesses?
33
33
 
34
34
  @command_name = ::SimpleCov.command_name
35
- ::SimpleCov.enable_for_subprocesses true
35
+ # SimpleCov 1.x renamed `enable_for_subprocesses`, deprecating it.
36
+ if ::SimpleCov.respond_to?(:merge_subprocesses)
37
+ ::SimpleCov.merge_subprocesses true
38
+ else
39
+ ::SimpleCov.enable_for_subprocesses true
40
+ end
36
41
  require 'simplecov/process'
37
42
  end
38
43
 
@@ -1,7 +1,7 @@
1
1
  module RSpec
2
2
  module Core
3
3
  module Parallel
4
- VERSION = '0.2.0'
4
+ VERSION = '0.2.1'
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rspec-core-parallel
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alessandro Rodi