lite_logger 0.1.5 → 0.1.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1444c01d8b611aae058133582a232840dc14712a898eca0fdc5695f21e6025bf
4
- data.tar.gz: 8af0639ebfabc5bfbbca2da242a126509d81fefacd72adc9f4161ac56d1531f9
3
+ metadata.gz: 63889c64a548e885015ab2fdea1c41db4750fdf29760bc264531414a2e445c69
4
+ data.tar.gz: 88df472c1fc638c10194a23a5b6382e3e0c425188c75362898afa8f939a86e36
5
5
  SHA512:
6
- metadata.gz: 60b622783d0ac193c3c09587dd91c1a5358d95f1f3ed568722c9d3e1a41025bc80c623c001d5c2ef633f212d35fe5dee4b8bbd3f200b90d1c791d405a82625d5
7
- data.tar.gz: 2c38a22345a42046c969d17834c4c7e4bbdbd85b84a9fe3bf5d1e3e3718279bd3cc087eb4bfe52a8415c09965717a6017ede54ba408eba234426a009480f55c3
6
+ metadata.gz: 77e1b370c88d858e7a447f5a68b27862325a763990f8f9e87ae31eecaa1d13e88168542dc1d3db84334b701c143aca3fb424ce9cf4c595981cc6f655917e19b6
7
+ data.tar.gz: 25cfe01d9cf287b225ddce98d74fc70637ece8f89cf37307a36e0166d3d853e10926f85823c56c8cba137e3f4733669d61454e13a91419e3eb2a95bcda252cc9
data/CHANGELOG.md CHANGED
@@ -31,3 +31,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
31
31
 
32
32
  - Bug fix: Remove uninitialized constant LiteLogger::Logger::StringIO
33
33
  - Readme updated with example on how to log to a file.
34
+
35
+ ## [0.1.6] - 2024-07-10
36
+
37
+ - Bug fix: Include the intended fix that was missing on the previous version
@@ -39,7 +39,7 @@ module LiteLogger
39
39
 
40
40
  def write_log(message)
41
41
  case @destination
42
- when $stdout, $stderr, StringIO
42
+ when $stdout, $stderr
43
43
  @destination.puts message
44
44
  else
45
45
  File.open(@destination, 'a') { |file| file.puts message }
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module LiteLogger
4
- VERSION = '0.1.5'
4
+ VERSION = '0.1.6'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lite_logger
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Martin Ferrari