appsignal 4.10.0-java → 4.10.1-java

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: f6d6acf8b543263a2008bfc4ea0f20a57194d01aa2acdc5886292e8ead23e112
4
- data.tar.gz: b1f7a59ef1b33459306bfb60a0681e581e1c1dd9be78a315d08d419c310e3296
3
+ metadata.gz: 1484edc2b0257539896eed6be1f56407fcaf454ab7c200c6bf798fea67d75c05
4
+ data.tar.gz: bc1cd76fce693264350284284af84e86bbc4956e84e36fc30af4b8d9b8ab5811
5
5
  SHA512:
6
- metadata.gz: 7181d57c290de3067026ec31912c5da273b2dc7597453eda533f61b82f2654cbd467e81bb572ab93cd0fbdd38abdb582ba17a67de3a71185c1474724eba5254d
7
- data.tar.gz: f4c27203476610873135cf6db61ae788c4f5bbab59b56f7cddd0a2bb2f657dfd19a3224ffddd240cde62b58dad51cfdfdaa078b1083ec81f33e75178e3cc445e
6
+ metadata.gz: ce745eea54bcb98d7c2cf87acd060a1c6e162a25090bc0c653491fd926ef6ef26dd6e4f4a88516d4ac2560d943b7f720c88fade34276481d51c0a1cf277b7318
7
+ data.tar.gz: 35f4295a1a9685e44719a1a6723e3933a3777e495ffeb862884c4e1dc61979cb990ef093136ecea5a9040d05790c0925464eb0b9481fdfcd0f66da85747c3f7a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,28 @@
1
1
  # AppSignal for Ruby gem Changelog
2
2
 
3
+ ## 4.10.1
4
+
5
+ _Published on 2026-08-20._
6
+
7
+ ### Fixed
8
+
9
+ - Use the CA certificate configured in `APPSIGNAL_CA_FILE_PATH` to download the
10
+ AppSignal agent when installing this gem.
11
+
12
+ The gem downloads the agent from our servers over HTTPS during installation. It
13
+ always used the CA certificate bundled with the gem to verify that connection,
14
+ whatever the value of the `ca_file_path` configuration option. This meant the
15
+ installation failed behind a proxy that intercepts TLS connections, such as
16
+ Zscaler, even when `APPSIGNAL_CA_FILE_PATH` pointed to a CA bundle that trusts
17
+ the proxy.
18
+
19
+ The bundled CA certificate is still used when `APPSIGNAL_CA_FILE_PATH` is not
20
+ set.
21
+
22
+ Thanks [@Cosmo](https://github.com/Cosmo) for your contribution!
23
+
24
+ (patch [5a126864](https://github.com/appsignal/appsignal-ruby/commit/5a126864314b0c4f244dab653c9548f48f7fd413), [0c49fc51](https://github.com/appsignal/appsignal-ruby/commit/0c49fc51a385d8e70a324792dc7dace3109b8424))
25
+
3
26
  ## 4.10.0
4
27
 
5
28
  _Published on 2026-08-10._
data/ext/base.rb CHANGED
@@ -22,6 +22,13 @@ def ext_path(path)
22
22
  File.join(EXT_PATH, path)
23
23
  end
24
24
 
25
+ def ca_file_path
26
+ configured_path = ENV.fetch("APPSIGNAL_CA_FILE_PATH", nil)
27
+ return configured_path if configured_path && !configured_path.strip.empty?
28
+
29
+ CA_CERT_PATH
30
+ end
31
+
25
32
  def report
26
33
  @report ||=
27
34
  begin
@@ -132,7 +139,7 @@ def download_archive(type)
132
139
  proxy, _error = http_proxy
133
140
  args = [
134
141
  download_url,
135
- { :ssl_ca_cert => CA_CERT_PATH,
142
+ { :ssl_ca_cert => ca_file_path,
136
143
  :proxy => proxy }
137
144
  ]
138
145
  if URI.respond_to?(:open) # rubocop:disable Style/GuardClause
@@ -2,5 +2,5 @@
2
2
 
3
3
  module Appsignal
4
4
  # @return [String]
5
- VERSION = "4.10.0"
5
+ VERSION = "4.10.1"
6
6
  end
data/sig/appsignal.rbi CHANGED
@@ -8,7 +8,7 @@
8
8
  module Appsignal
9
9
  extend Appsignal::Helpers::Metrics
10
10
  extend Appsignal::Helpers::Instrumentation
11
- VERSION = T.let("4.10.0", T.untyped)
11
+ VERSION = T.let("4.10.1", T.untyped)
12
12
 
13
13
  class << self
14
14
  # The loaded AppSignal configuration.
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.10.0
4
+ version: 4.10.1
5
5
  platform: java
6
6
  authors:
7
7
  - Robert Beekman