contextual_logger 0.9.0 → 0.9.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: e9f52753d4acdf8c75e8c94154a8002490e88ccc0201bf6623d6b47a2c65791f
4
- data.tar.gz: 304de20b917e9c4078dc83ce96867f44af03d9adbf95e18091e3987e17cabcaa
3
+ metadata.gz: 8bf5d991457c3e1e038e0d7642e80169cacddaac144146b1015c308096705f89
4
+ data.tar.gz: 8c4d4e0b68c474d4440ce0032f02694a51b53a3b17ce5c3590dafc48b5c6d5f4
5
5
  SHA512:
6
- metadata.gz: 5b3e5489d812a5dc8885a43f92d631a3d99ce3d1a5f7cb631ed16b2457cc2793f4c9ec72d91c09121db047cb83eac3f807db2a722e2481bfc4a39cf85cd12970
7
- data.tar.gz: 78e344d513e2c04ccfa545cc492a514af7d90bf06c335ee80629c10be87339db3004e3fa9d9c801c327d3b4af6af7eec48ece482e05519da7b55cd1a052bd480
6
+ metadata.gz: a4f3565314ca38f74e0396f3621deede596c1b3e342d4599fccafa08340b908ea1e9f1250c99acf8af48c6594ce70d66f263deebb0c49d527bbc80b7bb7a05fd
7
+ data.tar.gz: 6210de2c953e183e90065e7da09984f608d873e6ce07d965037daa2e6fad0eaaca031b8858cbe5d72aa31b1cc5467ce22e0fdc092bd7e9d16a33950512dff940
@@ -134,7 +134,7 @@ module ContextualLogger
134
134
 
135
135
  def format_message(severity, timestamp, progname, message, context: {})
136
136
  if @formatter
137
- @formatter.call(severity, timestamp, progname, { message: ContextualLogger.normalize_message(message), **context })
137
+ @formatter.call(severity, timestamp, progname, { message: ContextualLogger.normalize_message(message) }.merge!(context))
138
138
  else
139
139
  "#{basic_json_log_entry(severity, timestamp, progname, message, context: context)}\n"
140
140
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ContextualLogger
4
- VERSION = '0.9.0'
4
+ VERSION = '0.9.1'
5
5
  end
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: 0.9.0
4
+ version: 0.9.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Ebentier
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-08-17 00:00:00.000000000 Z
11
+ date: 2020-08-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json