rage-rb 0.5.0 → 0.5.1

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: 22f98c39badb0c2128b270ce3092d183f62db4bead34e8df627cf322a3697c71
4
- data.tar.gz: ea49aeae3da7630f52e8c704bc042752a66b0fefc03a67d713ead33eec1fd006
3
+ metadata.gz: 15d0d4682a307384b3e291b5b9d2f4f0323fc5ca74966b06a856a1f1367da01d
4
+ data.tar.gz: 4a5d0f7ef64f5b70615e0b1f43a170ba7072b0b44d908858cf43d5dc4cc3fb2d
5
5
  SHA512:
6
- metadata.gz: e9e57e1eafda6e41112b8af0cc8d23eac629e0964b441622c48173f936f45aac95d0482b3545c5feb047dee755889c30ac63d0f63332e59d36cdff5cb1800198
7
- data.tar.gz: 481b9e52062350a9923c3b0195aea555ca0b8cb0c95fa95e76d3e7cd45a27e21a817ad259aed6e1cf9d90c74c17e99b8398066e84deda7e422247a1ea59254b9
6
+ metadata.gz: d7c3a2cf837d4038618e925508af8b536040927cc9506beaed3f312f1176903dc5a0a1141c47321eb5b7f2ba20a21e4e9e635d54e098ed7b4e04ec93fba08da0
7
+ data.tar.gz: e48c1bf19c83f09a21f5b0c8c731db109a24fe0c37de870454b2b155c5d85be98c890d555bec1b78a00c19f91e7a25a3cbc99df6937561d30a88e96027d10e4d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  ## [Unreleased]
2
2
 
3
+ ## [0.5.1] - 2023-12-01
4
+
5
+ ### Fixed
6
+
7
+ - Fix logging inside detached fibers (#41).
8
+ - Allow to configure the logger as `nil` (#42).
9
+
3
10
  ## [0.5.0] - 2023-11-25
4
11
 
5
12
  ### Added
@@ -61,5 +61,6 @@ class Rage::Application
61
61
 
62
62
  logger[:final] = { env:, params:, response:, duration: }
63
63
  Rage.logger.info("")
64
+ logger[:final] = nil
64
65
  end
65
66
  end
@@ -20,6 +20,7 @@ class Rage::Configuration
20
20
  end
21
21
 
22
22
  def __finalize
23
+ @logger ||= Rage::Logger.new(nil)
23
24
  @logger.formatter = @log_formatter if @logger && @log_formatter
24
25
  @logger.level = @log_level if @logger && @log_level
25
26
  end
data/lib/rage/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Rage
4
- VERSION = "0.5.0"
4
+ VERSION = "0.5.1"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rage-rb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Roman Samoilov
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-11-25 00:00:00.000000000 Z
11
+ date: 2023-12-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor