silent_stream 1.0.9 → 1.0.10

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: b09324d0fbb5490f26c47daccecabb6f78c77ea5367594fd06b2800a498f9195
4
- data.tar.gz: 388d4e05060e7620498a343885c1270a23d1ceef6b92ae0444bb8080e8e35cb3
3
+ metadata.gz: 2160c90869c596f13c19a1210b3782d642b510bb2b4aa16b3ea8c2f16b31ecae
4
+ data.tar.gz: e76f60b616c42eff9d22b1bb944426573e34c4ce9ff0e105ff92b42bd76a5937
5
5
  SHA512:
6
- metadata.gz: 359ae2fe63824b47b1d5fbf772f48ccb634fc3ee2474b2e4e9d3fcfbff06039f1e6af42e44250458479523c7e86fe806b4f8c9c1dbcc5d1421d9dfaf336ba906
7
- data.tar.gz: 65c8900c8584811dc51c2f6915c14b81f0746895f3cf578ae20bc8fdba237f9e4d9e0470f9f9624806932445e2faadde9e3b3dcee6b53a80ea80d995d59c0385
6
+ metadata.gz: 6e89f24ba36b3eabcd687da26b95e97745621a67b34354f52652ba11006f108a39568b46c138deab54b36ea943b96b77fd983cf5d84e7ed7c9ab3bd3ab908280
7
+ data.tar.gz: 5565cbd6cb95ee7a06340bee3b049b57ec822ab9e79977e551f73da81786b15202b142bc67c64656ff50d686ca8164da1e9d73ba09135923a7e9b7f44cf382a5
checksums.yaml.gz.sig CHANGED
Binary file
data/CHANGELOG.md CHANGED
@@ -11,6 +11,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
11
11
  ### Fixed
12
12
  ### Removed
13
13
 
14
+ ## [1.0.10] - 2025-05-05
15
+ - COVERAGE: 47.76% -- 32/67 lines in 2 files
16
+ - BRANCH COVERAGE: 10.00% -- 1/10 branches in 2 files
17
+ - 50.00% documented
18
+ ### Changed
19
+ - SilentStream::Version => SilentStream::Version::VERSION
20
+ - Allows test coverage to be tracked for version.rb
21
+
14
22
  ## [1.0.9] - 2025-05-05
15
23
  - COVERAGE: 40.62% -- 26/64 lines in 2 files
16
24
  - BRANCH COVERAGE: 10.00% -- 1/10 branches in 2 files
@@ -41,7 +49,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
41
49
 
42
50
  ## [1.0.0] - 2018-09-23
43
51
 
44
- [Unreleased]: https://gitlab.com/pboling/silent_stream/-/compare/v1.0.8...HEAD
52
+ [Unreleased]: https://gitlab.com/pboling/silent_stream/-/compare/v1.0.10...HEAD
53
+ [1.0.10]: https://gitlab.com/pboling/silent_stream/-/compare/v1.0.9...v1.0.10
54
+ [1.0.9]: https://gitlab.com/pboling/silent_stream/-/compare/v1.0.8...v1.0.9
45
55
  [1.0.8]: https://gitlab.com/pboling/silent_stream/-/compare/v1.0.7...v1.0.8
46
56
  [1.0.7]: https://gitlab.com/pboling/silent_stream/-/compare/v1.0.5...v1.0.7
47
57
  [1.0.6]: https://rubygems.org/gems/silent_stream/versions/1.0.6
@@ -1,5 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module SilentStream
4
- VERSION = "1.0.9"
4
+ module Version
5
+ VERSION = "1.0.10"
6
+ end
5
7
  end
data/lib/silent_stream.rb CHANGED
@@ -1,9 +1,16 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "silent_stream/version"
4
-
3
+ # Std Lib
5
4
  require "tempfile"
6
- require "logger"
5
+
6
+ # Extracted Std Lib
7
+ require "logger" # as of Ruby 3.5
8
+
9
+ # External gems
10
+ require "version_gem"
11
+
12
+ # This gem
13
+ require_relative "silent_stream/version"
7
14
 
8
15
  module SilentStream
9
16
  def self.included(base)
@@ -17,7 +24,7 @@ module SilentStream
17
24
  # param switch is true or false
18
25
  # By default it is true, when means we don't want logging.
19
26
  # Switching it to false enables logging again.
20
- # By default ERROR log level continues to be logged.
27
+ # By default, ERROR log level continues to be logged.
21
28
  # The return value is the return value of the block,
22
29
  # so you can use it without changing code structure.
23
30
  #
@@ -154,3 +161,7 @@ module SilentStream
154
161
  end
155
162
  end
156
163
  end
164
+
165
+ SilentStream::Version.class_eval do
166
+ extend VersionGem::Basic
167
+ end
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: silent_stream
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.9
4
+ version: 1.0.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeremy Daer
@@ -234,10 +234,10 @@ licenses:
234
234
  - MIT
235
235
  metadata:
236
236
  homepage_uri: https://github.com/pboling/silent_stream
237
- source_code_uri: https://github.com/pboling/silent_stream/tree/v1.0.9
238
- changelog_uri: https://github.com/pboling/silent_stream/blob/v1.0.9/CHANGELOG.md
237
+ source_code_uri: https://github.com/pboling/silent_stream/tree/v1.0.10
238
+ changelog_uri: https://github.com/pboling/silent_stream/blob/v1.0.10/CHANGELOG.md
239
239
  bug_tracker_uri: https://github.com/pboling/silent_stream/issues
240
- documentation_uri: https://www.rubydoc.info/gems/silent_stream/1.0.9
240
+ documentation_uri: https://www.rubydoc.info/gems/silent_stream/1.0.10
241
241
  wiki_uri: https://github.com/pboling/silent_stream/wiki
242
242
  funding_uri: https://liberapay.com/pboling
243
243
  news_uri: https://www.railsbling.com/tags/silent_stream
metadata.gz.sig CHANGED
Binary file