lorekeeper 1.7.0 → 1.7.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
  SHA1:
3
- metadata.gz: '055989651779854042e33d2d16964ab14024c6de'
4
- data.tar.gz: 5244927f5b0474aa268bcb19023c0a756d9f05b6
3
+ metadata.gz: eacd166a17c5e6f4ad24a5f03fe872a25290dd5e
4
+ data.tar.gz: 9c85bd94a282067e28010081ff0e79e0963fc830
5
5
  SHA512:
6
- metadata.gz: 2592040a77cfce274449eebaa446b57c5f690e34335dd39a686161c3c0ffc20b1f0ba93d9f42760080d44c50918158db41e8bc816ceeeca68bbd167e03a1f9be
7
- data.tar.gz: 9af69c2084fb453a53207a87061acdbcf774c07760024ee8e4f497dbf031a07f4648f7c51a19e22b21b98a2fed5ce78e6119a6c6ebe3bd8d71a97a110310d529
6
+ metadata.gz: 2e1c6718980ffaf6736fcee85a5d01dabed7df31b3af84c39efede9b69cc994ab602c010ca1f34e9301daa66f9eddce2ee773849c6d82234a5a15c8cd07be58b
7
+ data.tar.gz: 2dae7e8356d9d03280c08a16ac90827dda1ae25945c94854fa8f6da9c57a2602297a08815672801b9936738fdd0b2dd9a83bf420e715dd1e4a8412e7a1da4dc3
data/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ # 1.7.1
2
+ * Ensure `data` is not nil when logging wrong #exception usage
3
+
1
4
  # 1.7.0
2
5
  * Add the `level` property to the JSON Logger output
3
6
 
@@ -79,7 +79,7 @@ module Lorekeeper
79
79
  else
80
80
  log_data(METHOD_SEVERITY_MAP[:warn], 'Logger exception called without exception class.')
81
81
  message = "#{exception.class}: #{exception.inspect} #{custom_message}"
82
- with_extra_fields('data' => custom_data) { log_data(log_level, message) }
82
+ with_extra_fields('data' => (custom_data || {})) { log_data(log_level, message) }
83
83
  end
84
84
  end
85
85
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Lorekeeper
4
- VERSION = '1.7.0'
4
+ VERSION = '1.7.1'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lorekeeper
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.7.0
4
+ version: 1.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jordi Polo