appsignal 5.0.1 → 5.0.2
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 +12 -0
- data/README.md +1 -1
- data/lib/appsignal/config.rb +5 -7
- 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: 9c73f2ecdc63058c7961981d8fc044c0b2b0801d4cd2887dd1295ffd356975e5
|
|
4
|
+
data.tar.gz: d28d7b78d58597f8e4ce6f37111110405acd0cdcdc38efc290b6131c57501c86
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 63f7e6922357cb88e8b52623278deb0bc1037087f8df262798a53af3a3ac5e66f0340959ca5b9858d391ac50f7ebc8923b91381331f09b62b2d39a9401af18fe
|
|
7
|
+
data.tar.gz: 1dcb25bc71bed601aac8cf9a499182227f8f8b36c2550a203780b57a80f8758a061fb6a7c7b9427ec39b46828abfb6a6c47225aa602f89516d0d6142aa36878c
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# AppSignal for Ruby gem Changelog
|
|
2
2
|
|
|
3
|
+
## 5.0.2
|
|
4
|
+
|
|
5
|
+
_Published on 2026-10-06._
|
|
6
|
+
|
|
7
|
+
### Changed
|
|
8
|
+
|
|
9
|
+
- Use the revision set by Heroku, Render, Kamal or Scalingo when the application also has a `REVISION` file. Since version 4.6.0, a `REVISION` file took precedence over the `HEROKU_SLUG_COMMIT`, `RENDER_GIT_COMMIT`, `KAMAL_VERSION` and `CONTAINER_VERSION` environment variables, so an application that kept a placeholder `REVISION` file in source control reported that placeholder as its revision. The `revision` config option and the `APP_REVISION` environment variable still take precedence over both.
|
|
10
|
+
|
|
11
|
+
Thanks to @rmm5t for their contribution!
|
|
12
|
+
|
|
13
|
+
(patch [bc14ef9c](https://github.com/appsignal/appsignal-ruby/commit/bc14ef9c6db3de71bf2ca8f23ad088f29294c0ff))
|
|
14
|
+
|
|
3
15
|
## 5.0.1
|
|
4
16
|
|
|
5
17
|
_Published on 2026-10-02._
|
data/README.md
CHANGED
|
@@ -318,7 +318,7 @@ Also see our [SUPPORT.md file](SUPPORT.md).
|
|
|
318
318
|
[custom-instrumentation]: https://docs.appsignal.com/ruby/instrumentation.html
|
|
319
319
|
[front-end-monitoring]: https://docs.appsignal.com/front-end.html
|
|
320
320
|
[exception-handling]: https://docs.appsignal.com/ruby/instrumentation/exception-handling.html
|
|
321
|
-
[tagging]: https://docs.appsignal.com/guides/
|
|
321
|
+
[tagging]: https://docs.appsignal.com/guides/tagging#ruby
|
|
322
322
|
[host-metrics]: https://docs.appsignal.com/metrics/host.html
|
|
323
323
|
[custom-metrics]: https://docs.appsignal.com/metrics/custom.html
|
|
324
324
|
|
data/lib/appsignal/config.rb
CHANGED
|
@@ -177,9 +177,7 @@ module Appsignal
|
|
|
177
177
|
}.freeze
|
|
178
178
|
|
|
179
179
|
# Environment variables set by deployment platforms that name the
|
|
180
|
-
# revision that is being deployed, in the order
|
|
181
|
-
# The agent detects the revision this way as well, but only for the data
|
|
182
|
-
# it sends itself, so the gem has to do it for collector mode.
|
|
180
|
+
# revision that is being deployed, in the order they are read.
|
|
183
181
|
# @!visibility private
|
|
184
182
|
PLATFORM_REVISION_ENV_VARS = [
|
|
185
183
|
"HEROKU_SLUG_COMMIT",
|
|
@@ -812,10 +810,10 @@ module Appsignal
|
|
|
812
810
|
|
|
813
811
|
hash[:enable_at_exit_hook] = "always" if Appsignal::Extension.running_in_container?
|
|
814
812
|
|
|
815
|
-
# Set the revision from
|
|
816
|
-
#
|
|
817
|
-
#
|
|
818
|
-
revision =
|
|
813
|
+
# Set the revision from the environment variable the deployment
|
|
814
|
+
# platform sets, or from a REVISION file in the project root, which
|
|
815
|
+
# helps with Capistrano and Hatchbox.io deployments.
|
|
816
|
+
revision = detect_revision_from_platform || detect_revision_from_file
|
|
819
817
|
hash[:revision] = revision if revision
|
|
820
818
|
|
|
821
819
|
hostname = detect_hostname
|
data/lib/appsignal/version.rb
CHANGED
data/sig/appsignal.rbi
CHANGED