appsignal 4.5.15 → 4.5.16

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
  SHA256:
3
- metadata.gz: 27b809cc252dd4e2bc82845c669a36b4efc5f6d62a607f01f25c77a8a314fb3e
4
- data.tar.gz: 7133ffdb8d88d96e0d21bdf877b9a94a7a013a79af1ff4bc7a9cc896ff2d493f
3
+ metadata.gz: 2537bd3e569baa6ea7c4a254193cba028e27aabf89697f03ca728063ecab21d0
4
+ data.tar.gz: e31fa949c51641db4708f514c8cfba006c022156c299de36298b07545ef12fcc
5
5
  SHA512:
6
- metadata.gz: da57b07f7a6548a03536788c797120f53e047d25f8a2e2a57258ae91e415fa712603466c4064f986ba71e28ea67d0160e2a14f3f12185097b41c31f5a4986d4e
7
- data.tar.gz: eb722b9dbfc3d4c09bfc4487172ea75fc05cc9bc0dd3031b59ea44308a50ff87edd4ca1f25681f8b8f034d47ce185c41d35d210fc3d56b25c4690bbe88061ec0
6
+ metadata.gz: 95d8df37e22b12f9dadee5a6d16daf10bdd113c1618125af3a180359e2f0608210dac54870c55cce5c4a22c308b0bf60e6354893fae9af44901cbe1c019d49d5
7
+ data.tar.gz: 8977e5c054a7de0be2fbc93128bb5cf9259d7e9eff0196af290c37e8d5b8a9892059ce0b14dcf169893376a9efdcc5f9b22e8c5c68054e012d3ece2455772393
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # AppSignal for Ruby gem Changelog
2
2
 
3
+ ## 4.5.16
4
+
5
+ _Published on 2025-06-27._
6
+
7
+ ### Changed
8
+
9
+ - Log the error's backtrace on extension download failure. This will help us debug issues related to downloading the extension. (patch [71b7b9fe](https://github.com/appsignal/appsignal-ruby/commit/71b7b9fe7e929857968b69afcaa957be2ac2150a))
10
+
11
+ ### Fixed
12
+
13
+ - Fix non-canonical rendering event paths for Capistrano deployments (patch [84e3c5c5](https://github.com/appsignal/appsignal-ruby/commit/84e3c5c597589e9e4cd34f9dbf1062c337570275))
14
+
3
15
  ## 4.5.15
4
16
 
5
17
  _Published on 2025-06-06._
data/ext/base.rb CHANGED
@@ -145,7 +145,9 @@ def download_archive(type)
145
145
  return open(*args)
146
146
  end
147
147
  rescue => error
148
- download_errors << "- URL: #{download_url}\n Error: #{error.class}: #{error.message}"
148
+ backtrace = error.backtrace.join("\n")
149
+ download_errors <<
150
+ "- URL: #{download_url}\n Error: #{error.class}: #{error.message}\n#{backtrace}"
149
151
  next
150
152
  end
151
153
  end
@@ -7,17 +7,15 @@ module Appsignal
7
7
  class RenderFormatter
8
8
  BLANK = ""
9
9
 
10
- attr_reader :root_path
11
-
12
- def initialize
13
- @root_path = "#{Rails.root}/"
14
- end
15
-
16
10
  def format(payload)
17
11
  return nil unless payload[:identifier]
18
12
 
19
13
  [payload[:identifier].sub(root_path, BLANK), nil]
20
14
  end
15
+
16
+ def root_path
17
+ @root_path ||= "#{Rails.root}/"
18
+ end
21
19
  end
22
20
  end
23
21
  end
@@ -7,14 +7,12 @@ module Appsignal
7
7
  class RenderFormatter
8
8
  BLANK = ""
9
9
 
10
- attr_reader :root_path
11
-
12
- def initialize
13
- @root_path = "#{Rails.root}/"
10
+ def format(payload)
11
+ [payload[:name], payload[:identifier].sub(root_path, BLANK)]
14
12
  end
15
13
 
16
- def format(payload)
17
- [payload[:name], payload[:identifier].sub(@root_path, BLANK)]
14
+ def root_path
15
+ @root_path ||= "#{Rails.root}/"
18
16
  end
19
17
  end
20
18
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Appsignal
4
- VERSION = "4.5.15"
4
+ VERSION = "4.5.16"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: appsignal
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.5.15
4
+ version: 4.5.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - Robert Beekman
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2025-06-06 00:00:00.000000000 Z
13
+ date: 2025-06-27 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: logger
@@ -317,7 +317,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
317
317
  - !ruby/object:Gem::Version
318
318
  version: '0'
319
319
  requirements: []
320
- rubygems_version: 3.3.7
320
+ rubygems_version: 3.5.23
321
321
  signing_key:
322
322
  specification_version: 4
323
323
  summary: Logs performance and exception data from your app to appsignal.com