lumberjack_rails 1.0.0 → 1.0.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: 9e2d5624bd1b1c1c67487fde54b2ebd11def32b5e715e4d8ff7c7e7ece1d3253
4
- data.tar.gz: d3bf91601bf2380602e887d71c863cf631968b910655db9020aee66377882fc7
3
+ metadata.gz: edd85e0decd631de57496388c52f62d317491ce1cfe60af7cda3156137214928
4
+ data.tar.gz: f05e7cc61c5c8a6a3569075a235e4db3b037a82fd3ad8ffefa6c21861779fca1
5
5
  SHA512:
6
- metadata.gz: '08425991455694b32dbccf992ad8448b003a94a09b5a2971f27aa2d056c186d70fa5793715a28b83d43b22696ae0401833c84af8ec83a098832a3950811014db'
7
- data.tar.gz: 6c17517e84a4e0520a50da6199632403f1e4b4899c203a1688d4f1ae5d92361030d535375f6add1f4ab663fe37c5708b16343b54d61d8f36660053b5a52e1ace
6
+ metadata.gz: 7b7f0a126c83f4af4ac21edef41ba166d0d8936247f7e61af41ecae0d345ca5d4c2ee9a89046d9215f975b2cf706e9d6995050cada97ce6e9117f9304892cf90
7
+ data.tar.gz: 857aadca551194218c9dc9f1b4d7670a4654040c6426ba726aada4cfd08fee471ff7af4cb8713f02fa80cf78f97f140e163eb350f9dc901a647cb739caacf0c6
data/CHANGE_LOG.md CHANGED
@@ -4,6 +4,13 @@ All notable changes to this project will be documented in this file.
4
4
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
5
5
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
6
 
7
+ ## 1.0.1
8
+
9
+ ### Changed
10
+
11
+ - Bumped minimu lumberjack version dependency to 2.0.3.
12
+ - Set logger context isolation level to `:thread` to match the default isolation level in ActiveSupport loggers.
13
+
7
14
  ## 1.0.0
8
15
 
9
16
  ### Added
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.0
1
+ 1.0.1
@@ -143,10 +143,12 @@ class Lumberjack::Rails::Railtie < ::Rails::Railtie
143
143
  config.lumberjack.log_rake_tasks = false
144
144
  config.lumberjack.template = "[{{time}} {{severity(padded)}} {{progname}} ({{pid}})] {{tags}} {{message}} -- {{attributes}}"
145
145
  config.lumberjack.raise_logger_errors = !(Rails.env.development? || Rails.env.test?)
146
+ config.lumberjack.isolation_level = :thread
146
147
 
147
148
  initializer "lumberjack.configure_logger", before: :initialize_logger do |app|
148
149
  Lumberjack.raise_logger_errors = app.config.lumberjack.raise_logger_errors
149
150
  Lumberjack::Rails.silence_rack_request_started = app.config.lumberjack.silence_rack_request_started
151
+ Lumberjack.isolation_level = app.config.lumberjack.isolation_level
150
152
 
151
153
  logger = Lumberjack::Rails::Railtie.lumberjack_logger(app.config, app.paths["log"]&.first)
152
154
  app.config.logger = logger if logger
@@ -35,6 +35,6 @@ Gem::Specification.new do |spec|
35
35
 
36
36
  spec.required_ruby_version = ">= 3.0"
37
37
 
38
- spec.add_dependency "lumberjack", ">=2.0"
38
+ spec.add_dependency "lumberjack", ">=2.0.3"
39
39
  spec.add_dependency "activesupport", ">= 7.1"
40
40
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lumberjack_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Durand
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-10-20 00:00:00.000000000 Z
10
+ date: 2025-11-11 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: lumberjack
@@ -15,14 +15,14 @@ dependencies:
15
15
  requirements:
16
16
  - - ">="
17
17
  - !ruby/object:Gem::Version
18
- version: '2.0'
18
+ version: 2.0.3
19
19
  type: :runtime
20
20
  prerelease: false
21
21
  version_requirements: !ruby/object:Gem::Requirement
22
22
  requirements:
23
23
  - - ">="
24
24
  - !ruby/object:Gem::Version
25
- version: '2.0'
25
+ version: 2.0.3
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: activesupport
28
28
  requirement: !ruby/object:Gem::Requirement