simplecov 0.18.4 → 0.18.5

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: 292aafbaf1d1e1907910e515b4c92dd05f869f7370cdc82eeb763795b46aae37
4
- data.tar.gz: 3ec2c4d7fda0a09cdd1b82b9db5430fd3494fd0b366b2aeca9e66d4fc68e811f
3
+ metadata.gz: 3d8b7307fd45fc7c4079efec764ee740fd7c0d302b8b78e969b11a08a2c94027
4
+ data.tar.gz: 4a39c982bdc16b038c8d4ff88e25498d34b3bf0a1eec6ed99ed2e444a0e5ada7
5
5
  SHA512:
6
- metadata.gz: 208645a01d3e939a088adfe158505a6a4462703b3218be1cff80e11290508d28edfb5fc2b8789a705911037de48af3938269a74a7291f6fe896c7a8d250e1c4d
7
- data.tar.gz: 50834a4346792c0f6b696430a4ae032dbd51a4d14a3fd485d3f23c91aac1370cff0bddbffc0947df38ac94a9db6a0df568242653da8dfc51d2fdf826f08300e0
6
+ metadata.gz: e7ce525f98807869dcfafa47e154aafa8047fe8e41685cab5d051400e615b056ee5629a0e18e0203f01af675761be3a57a413d9d4f8eb6a57b4260f4a6db6986
7
+ data.tar.gz: 3a0cc93b7ade626e432238d9ebc18514cbad27d6ea67fbd995c19a4cd40afe6c86486396531110f5f11e29cf65fad6dc81479ef9fdd68304f982257b05abf103
@@ -1,3 +1,11 @@
1
+ 0.18.5 (2020-02-25)
2
+ ===================
3
+
4
+ Can you guess? Another bugfix release!
5
+
6
+ ## Bugfixes
7
+ * minitest won't crash if SimpleCov isn't loaded - aka don't execute SimpleCov code in the minitest plugin if SimpleCov isn't loaded. Thanks to [@edariedl](https://github.com/edariedl) for the report of the peculiar problem in [#877](https://github.com/colszowka/simplecov/issues/877).
8
+
1
9
  0.18.4 (2020-02-24)
2
10
  ===================
3
11
 
@@ -4,10 +4,12 @@
4
4
  # https://github.com/seattlerb/minitest#writing-extensions
5
5
  module Minitest
6
6
  def self.plugin_simplecov_init(_options)
7
- SimpleCov.external_at_exit = true
7
+ if defined?(SimpleCov)
8
+ SimpleCov.external_at_exit = true
8
9
 
9
- Minitest.after_run do
10
- SimpleCov.at_exit_behavior if SimpleCov.respond_to?(:at_exit_behavior)
10
+ Minitest.after_run do
11
+ SimpleCov.at_exit_behavior
12
+ end
11
13
  end
12
14
  end
13
15
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module SimpleCov
4
- VERSION = "0.18.4"
4
+ VERSION = "0.18.5"
5
5
  end
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
4
+ version: 0.18.5
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-24 00:00:00.000000000 Z
11
+ date: 2020-02-25 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.4
100
+ documentation_uri: https://www.rubydoc.info/gems/simplecov/0.18.5
101
101
  mailing_list_uri: https://groups.google.com/forum/#!forum/simplecov
102
- source_code_uri: https://github.com/colszowka/simplecov/tree/v0.18.4
102
+ source_code_uri: https://github.com/colszowka/simplecov/tree/v0.18.5
103
103
  post_install_message:
104
104
  rdoc_options: []
105
105
  require_paths: