lumberjack 2.0.0 → 2.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: f99bebd6bae1a0fbcb246d790f4d1bbeb846e181cf22b510c8fea8d5690a6a4b
4
- data.tar.gz: 2d4143fadc5e9a937c1b7127a97cf7e4b670fef25498803c06892dc3e2b61d86
3
+ metadata.gz: fbc13dfc1c5804200cd38b71b4f93b86df15ca816c6bae6832db5c6e8fd28142
4
+ data.tar.gz: 33571306b3c30fb2ae93e4133991245bb364df1318d533e3e780b275754deb5a
5
5
  SHA512:
6
- metadata.gz: 8d0ed86f4b5bf743ce6bb27b40d927c4bb0bb261d00b20d11aea60d1eec83e9d58629dfadc7016fccc9ebd9a5f0c133d3d2145a3af2d48642e5ad445f954cd27
7
- data.tar.gz: 4f52a145303bec079216a9230020b50dd95868bc90f8e0192e6948afd18ffb621d6165629dca7949a669c26c8e2c43d78a2f79c8fe6114ec3b9a2882784bcdb8
6
+ metadata.gz: 56bbafed82d2d57403c2c6d3d4a83c29d07bdb970d63ccde99da15571e516d90a4a25e19a24f19c10c1e288f6e109c2fa350d0bd20aee365f2c8ee5df57d6dde
7
+ data.tar.gz: 4b4aae43617977fd0aeba56f4889278fb824483c9545b3c968ec18f1d30c602810138329015b1af63e78650df77e81c4a0d7467f023ceb555c231984c4f82716
data/CHANGELOG.md CHANGED
@@ -4,6 +4,12 @@ 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
+ ## 2.0.1
8
+
9
+ ### Fixed
10
+
11
+ - Merge attributes in forked loggers in the correct order so that attributes from the forked logger override those from the parent logger.
12
+
7
13
  ## 2.0.0
8
14
 
9
15
  This is a major update with several breaking changes. See the [upgrade guide](UPGRADE_GUIDE.md) for details on breaking changes.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 2.0.0
1
+ 2.0.1
@@ -85,7 +85,7 @@ module Lumberjack
85
85
  # @api private
86
86
  def add_entry(severity, message, progname = nil, attributes = nil)
87
87
  parent_logger.with_level(level || Logger::DEBUG) do
88
- attributes = merge_attributes(attributes, local_attributes)
88
+ attributes = merge_attributes(local_attributes, attributes)
89
89
  progname ||= self.progname
90
90
 
91
91
  if parent_logger.is_a?(ContextLogger)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lumberjack
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Durand