contextual_logger 1.2.0.colin.3 → 1.2.0.colin.4

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: 7bd0747cf5faa06b9907d60198830c374f83f226df121efa9a0b7049315f9132
4
- data.tar.gz: 808bbac948431f55a8f4a07532884f3ed310a63652c536512aa5dd435454c6fb
3
+ metadata.gz: 7b8180f031cfc4c1facc22a0cfbbadf8970b01a1b7c1d18f974dbf54fd1712d5
4
+ data.tar.gz: d310df13569303aa5f6964d1cf9f73583fcfcabcd5950f330b00a30f8eb151f5
5
5
  SHA512:
6
- metadata.gz: f3607fbfd8f6ddbc8b3b29943fd4787c16509997262b2d3ae309d41471d013da89ef76585d804775721ce1ac9fe75260a9eaf356ffee1cacc9bf2fc65ed4b273
7
- data.tar.gz: 3e929c9f55c3bd12a1b65ba3e5135c1e56f5dc87b1597b3a6da9adfcc038f47bd0b8e2a01f9b6d294bfca549d681bef8a9cf67482771e6e4d0aa1db6d86e137b
6
+ metadata.gz: e0c0350c9f36cf27071a7e1da1f42363979852304c4b029ca24d0a550c77bfb403815dc09420d5c8d9c164b003f8a22213e5d33216e1647ae63143a3b73447e9
7
+ data.tar.gz: 4984642ce8b36e78c3f14f0415ac95d67dec97f9f5651f6c63deb715bbfa27134243f7286e09802146b6629df0bc1077c476ea3e3d5ad783779daa718aef032d
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ContextualLogger
4
- VERSION = '1.2.0.colin.3'
4
+ VERSION = '1.2.0.colin.4'
5
5
  end
@@ -60,6 +60,9 @@ module ContextualLogger
60
60
  current_context_override || global_context
61
61
  end
62
62
 
63
+ # TODO: Deprecate current_context_for_thread in v2.0.
64
+ alias current_context_for_thread current_context
65
+
63
66
  def with_context(context)
64
67
  previous_context_override = current_context_override
65
68
  self.current_context_override = current_context.deep_merge(context)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: contextual_logger
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0.colin.3
4
+ version: 1.2.0.colin.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Ebentier
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-09-01 00:00:00.000000000 Z
11
+ date: 2023-09-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json