bashcov 3.1.0 → 3.1.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: a6b65a0c0d70e2ae93acb297d3d89fe9de010f4dbc63b92a025504c50bb1100b
4
- data.tar.gz: 1cf1037ed383e6f4f0764f6991c0371326dcde1ebe340e5264aae855d5281174
3
+ metadata.gz: 990b9c0f5d06fd5c3723feec6685802a6f2eba9fc7b9f79b1b053b686698ef60
4
+ data.tar.gz: 165df7619caabdf60f8260dc77f8a50d07c73c74eb795d5ff5cee86bdc053214
5
5
  SHA512:
6
- metadata.gz: 596e7890b99b1fa1c23ecc42a64d092aeaaa9f03f5fb7181261df5d695405e33b1557de8c4218b591ded6aab4d0ecbaaae0929b4bc69bb83d43cc36d45df60d0
7
- data.tar.gz: f442d9628a530ffad4058727c93eb25c30241f9a2c74199ab26ace4e704431e44e94f586df5a4fb1e7316f9c5800ab436014c16b203571e8f4625ffe17b42dbd
6
+ metadata.gz: bfa1c1f08b8980a1c967c550e786ae3cfc2074f80a6f6644c01a654eea3fea482dcf3a75f2a8ff04664e24379b0cbf0514ebb0cd5e40c7616106e9ae1e2d3e71
7
+ data.tar.gz: af2e936ba1684b5cc70f270b94f89c8020dcb9deb86605d71872f7316b6aeb30833ba5cc80aa9f6980a66fddc9a3cce75fcacc4cbab6ff2292ab598a8401d7f8
data/CHANGELOG.md CHANGED
@@ -1,7 +1,11 @@
1
- ## Unreleased ([changes](https://github.com/infertux/bashcov/compare/v3.1.0...master))
1
+ ## Unreleased ([changes](https://github.com/infertux/bashcov/compare/v3.1.1...master))
2
2
 
3
3
  * TBD
4
4
 
5
+ ## v3.1.1, 2023-09-28 ([changes](https://github.com/infertux/bashcov/compare/v3.1.0...v3.1.1))
6
+
7
+ * [BUGFIX] Make sure StringIO is loaded when `--mute` is used
8
+
5
9
  ## v3.1.0, 2023-09-28 ([changes](https://github.com/infertux/bashcov/compare/v3.0.3...v3.1.0))
6
10
 
7
11
  * [FEATURE] Better diagnostics for runner result specs
data/bin/bashcov CHANGED
@@ -32,7 +32,11 @@ SimpleCov.at_exit do
32
32
  # XXX: suppress output from https://github.com/colszowka/simplecov-html/blob/9ec41504ab139fabfaddfc786dfdab5d6aca0bab/lib/simplecov-html.rb#L25
33
33
  # See https://github.com/infertux/bashcov/issues/53
34
34
  original_stdout = $stdout
35
- $stdout = StringIO.new if Bashcov.mute
35
+
36
+ if Bashcov.mute
37
+ require "stringio"
38
+ $stdout = StringIO.new
39
+ end
36
40
 
37
41
  result.format!
38
42
  ensure
@@ -3,5 +3,5 @@
3
3
  # :nodoc:
4
4
  module Bashcov
5
5
  # Current Bashcov version
6
- VERSION = "3.1.0"
6
+ VERSION = "3.1.1"
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bashcov
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.0
4
+ version: 3.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cédric Félizard