lorekeeper 2.6.0 → 2.6.2

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: 9b1a026f727609772af1e77fb5423768e621b9db70c7efef8baa1b49cdb9642e
4
- data.tar.gz: 7b966039ef152e8ec18256f4c76cda69bc221ec52d9e67fd11013f733a8eb60a
3
+ metadata.gz: f6870cd9dbaba0f1a82e90805f8177a689cb8f1d8e3ff194ae403c8e68f85cfb
4
+ data.tar.gz: 3f98d3e87de6f7a0c06fb3ba29405984f9aa74b105971f6bfcfb4786b2b6255f
5
5
  SHA512:
6
- metadata.gz: aa4a33eccd5e1494b4c667f2566dfd34c4720a6fece96a8ecdb215d5c77da195c45640fb349979c7e21cc3e2cc2a31eb6c31f75533932a794fda4e915af9bee5
7
- data.tar.gz: e204ea9b3158aa7ee5d8315a8b4068555a7913fe6ef36ec24b0fdabf5b4e64dabad9e5518c1193f1383345888332504495d3edd481fa3e097b76d455f599fe1d
6
+ metadata.gz: dabdb1a460cc3eddb6c1ae00cb99c3cb9ac044a62b5bb2b9f12ebc149d23978e513ee30e8b43bb5922b2976f90e7e942407a5a2b54635704c98c9dbcd586741d
7
+ data.tar.gz: ec89d09e5daee804a3745a3c858b1305da2ba08d543b5d3766abfe66ba86d3c2e55d77a56e61d7f0273b82592627263f71aacada6265b18bc66f6fef7efb070c
data/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ # 2.6.2
2
+ * Fix respond_to? method signature
3
+
4
+ # 2.6.1
5
+ * Fix Lorekeeper::BacktraceCleaner#clean to not raise when a non-array value is passed
6
+
1
7
  # 2.6.0
2
8
  * Expose Lorekeeper::BacktraceCleaner
3
9
 
@@ -15,6 +15,8 @@ module Lorekeeper
15
15
  end
16
16
 
17
17
  def clean(backtrace)
18
+ return [] unless backtrace.is_a?(Array)
19
+
18
20
  backtrace = filter_rails_root_backtrace(backtrace)
19
21
  @backtrace_cleaner&.clean(backtrace) || backtrace
20
22
  end
@@ -29,8 +29,8 @@ module Lorekeeper
29
29
 
30
30
  def write(*args); call_loggers(:write, *args); end
31
31
 
32
- def respond_to?(method, all_included: false)
33
- @loggers.all? { |logger| logger.respond_to?(method, all_included) }
32
+ def respond_to?(method, include_all=false)
33
+ @loggers.all? { |logger| logger.respond_to?(method, include_all) }
34
34
  end
35
35
 
36
36
  def call_loggers(method, *args, &block)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Lorekeeper
4
- VERSION = '2.6.0'
4
+ VERSION = '2.6.2'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lorekeeper
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.6.0
4
+ version: 2.6.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jordi Polo
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-05-04 00:00:00.000000000 Z
11
+ date: 2023-10-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: oj
@@ -234,7 +234,7 @@ homepage: https://github.com/JordiPolo/lorekeeper
234
234
  licenses:
235
235
  - MIT
236
236
  metadata: {}
237
- post_install_message:
237
+ post_install_message:
238
238
  rdoc_options: []
239
239
  require_paths:
240
240
  - lib
@@ -249,8 +249,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
249
249
  - !ruby/object:Gem::Version
250
250
  version: '0'
251
251
  requirements: []
252
- rubygems_version: 3.2.15
253
- signing_key:
252
+ rubygems_version: 3.0.3.1
253
+ signing_key:
254
254
  specification_version: 4
255
255
  summary: Very fast JSON logger
256
256
  test_files: []