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 +4 -4
- data/CHANGELOG.md +23 -0
- data/ext/base.rb +8 -1
- data/lib/appsignal/version.rb +1 -1
- data/sig/appsignal.rbi +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1484edc2b0257539896eed6be1f56407fcaf454ab7c200c6bf798fea67d75c05
|
|
4
|
+
data.tar.gz: bc1cd76fce693264350284284af84e86bbc4956e84e36fc30af4b8d9b8ab5811
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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 =>
|
|
142
|
+
{ :ssl_ca_cert => ca_file_path,
|
|
136
143
|
:proxy => proxy }
|
|
137
144
|
]
|
|
138
145
|
if URI.respond_to?(:open) # rubocop:disable Style/GuardClause
|
data/lib/appsignal/version.rb
CHANGED
data/sig/appsignal.rbi
CHANGED