eco-helpers 2.7.19 → 2.7.20

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: b5c149fd9a573b4749de56e7c0fd836bc98e94059b410de583bc4fb4b60cbe54
4
- data.tar.gz: 6ab2832a7a6bf7ee001d6f17abc0ab7193eda256fe14357e735eef0c19105733
3
+ metadata.gz: 3980da36d6d236bdd2ff26448cd639af2bc415717d0c1cdabfc9cc13b6ca9996
4
+ data.tar.gz: d9d1b60a3ff632a244974c6109416ccfa7feee6fd7ce81327596d11367bd3edb
5
5
  SHA512:
6
- metadata.gz: 0cf654ea67d048caf05f803f39d15ebd021569766c13a6e707f92478a864c7584a0a1fdfe7a2a9148ab9376cddb405c6156345cc3e99a2bae8e68663f7583033
7
- data.tar.gz: 7f5e1496bcef34f5c074c8806c4e54ece4324756c4142ed4be694d5e0911a013fe859f1d66482a0023ef485743e10bf6d7e1fea0bf06145b1ad1062c322c1ee7
6
+ metadata.gz: ff36802a7a6c40dd68bce5389d33b3b525d3233f45e2be91bceac1cbf7678aa70bd89bffd7fa936489c5a57f141c19b7f2f45e0a116c85d2d37a5b03f8830786
7
+ data.tar.gz: 94a5170171d53c8ca580d8baf85dc370ce7d8e37eb06e1ee79f7bb6947417ca7f6438e2530da5f8ead77c80a52fb27ed086232895a26b089bf0cd285e1f38489
data/CHANGELOG.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file.
4
4
 
5
- ## [2.7.19] - 2024-06-xx
5
+ ## [2.7.21] - 2024-07-xx
6
6
 
7
7
  ### Added
8
8
 
@@ -10,6 +10,22 @@ All notable changes to this project will be documented in this file.
10
10
 
11
11
  ### Fixed
12
12
 
13
+ ## [2.7.20] - 2024-07-11
14
+
15
+ ### Added
16
+
17
+ ### Changed
18
+
19
+ ### Fixed
20
+
21
+ - Patch on exception
22
+
23
+ ## [2.7.19] - 2024-07-10
24
+
25
+ ### Fixed
26
+
27
+ - Patch on exception
28
+
13
29
  ## [2.7.18] - 2024-07-01
14
30
 
15
31
  ### Changed
@@ -1,12 +1,13 @@
1
1
  class ::Exception
2
2
  def patch_full_message(trace_count: -1)
3
3
  tracing = backtrace || []
4
+ first_ln = tracing[0]
4
5
  tracing = tracing[1..trace_count]
5
6
  tracing = tracing[1..30] if instance_of?(SystemStackError)
6
7
  tracing ||= []
7
8
 
8
9
  msg = []
9
- msg << "\n#{tracing.first} \n#{message} (#{self.class})"
10
+ msg << "\n#{first_ln} \n#{message} (#{self.class})"
10
11
  tracing.each_with_index do |bt, i|
11
12
  msg << "#{" " * 8}#{i + 1}: from #{bt}"
12
13
  end
data/lib/eco/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Eco
2
- VERSION = '2.7.19'.freeze
2
+ VERSION = '2.7.20'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: eco-helpers
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.7.19
4
+ version: 2.7.20
5
5
  platform: ruby
6
6
  authors:
7
7
  - Oscar Segura