lorekeeper 2.6.0 → 2.6.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: 9b1a026f727609772af1e77fb5423768e621b9db70c7efef8baa1b49cdb9642e
4
- data.tar.gz: 7b966039ef152e8ec18256f4c76cda69bc221ec52d9e67fd11013f733a8eb60a
3
+ metadata.gz: b6d72806736892898e7cd27786d25a37e4569f8e7f1562b3097ddb614324cf1a
4
+ data.tar.gz: 1102556da650a22b1b30b177150a2d64a4eaa9d7d05697eaf3498db0af2a6915
5
5
  SHA512:
6
- metadata.gz: aa4a33eccd5e1494b4c667f2566dfd34c4720a6fece96a8ecdb215d5c77da195c45640fb349979c7e21cc3e2cc2a31eb6c31f75533932a794fda4e915af9bee5
7
- data.tar.gz: e204ea9b3158aa7ee5d8315a8b4068555a7913fe6ef36ec24b0fdabf5b4e64dabad9e5518c1193f1383345888332504495d3edd481fa3e097b76d455f599fe1d
6
+ metadata.gz: a430d1ce3d1865df5223c9790c0129464eb88a20b9872d689a6b6180a9c7bc89594d07950e8ad0eac4c9834a97cb144c7f0a1e43d9dd635bd7c8d0a2e3dad016
7
+ data.tar.gz: f8793ed6d04b6ce8ec649b3feebd843e57eafef32eadf0c56e94a0ec310455c81a75119ab1176e86536ead7439adc6f684164ed36762d9edaef5c3d89ef7f66c
data/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ # 2.6.1
2
+ * Fix Lorekeeper::BacktraceCleaner#clean to not raise when a non-array value is passed
3
+
1
4
  # 2.6.0
2
5
  * Expose Lorekeeper::BacktraceCleaner
3
6
 
@@ -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
@@ -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.1'
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.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jordi Polo
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-05-04 00:00:00.000000000 Z
11
+ date: 2023-05-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: oj