appsignal 4.0.7-java → 4.0.8-java

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: 17a0e4b7548920603d0dcba11762fc6043e263138903671fd7bc7da41d587ba4
4
- data.tar.gz: 270076b4c45a2f5581f7ed8a6fe952cabefd52779f1f033c5c1e1212757772c2
3
+ metadata.gz: 9ad2088784529402efea64667dc5372c058842ef11a6e73bbe38e02ffd15abf6
4
+ data.tar.gz: d618aaef77d084971875a411754e27ae943f4e49920630701197e1f49dcdb7be
5
5
  SHA512:
6
- metadata.gz: 17b008d3d0198db02366d4446a718e44da22bd8bef6fb0c373710fdd8219e56864d10958f8d5d0d6960ee3f7c2e65743543b6d509e20f0ca0d2c861a750b0c16
7
- data.tar.gz: 5f6284b47a65d258bfc567f6d7ba68c91458251bfc39d74709644324c8f9e277657d42eca93077509a837dfba3fe412385b2d853e73aba7c1f0863df5356efc0
6
+ metadata.gz: 189d0e0ab8060a16ad4f57ab4d2f1a3d1bf6cdbe012bed7ddcecdab4d18cb5d4084c82991cdfe399e65f86c162073c0823de94f8315d4837199aa9f825fbd02e
7
+ data.tar.gz: '0932d3a6c1e36236ae43d1de915605f852a7b1f56719f70ffdab9edad4db861b8471ea890c2851633765ad10d54b3de30f7c62a40497dffd6700c22f8ec815a7'
data/CHANGELOG.md CHANGED
@@ -1,12 +1,20 @@
1
1
  # AppSignal for Ruby gem Changelog
2
2
 
3
+ ## 4.0.8
4
+
5
+ _Published on 2024-09-13._
6
+
7
+ ### Fixed
8
+
9
+ - Fix a `ThreadError` from being raised on process exit when `Appsignal.stop` is called from a `Signal.trap` block, like when Puma shuts down in clustered mode. (patch [32323ded](https://github.com/appsignal/appsignal-ruby/commit/32323ded277d4764ea1bd0d0dab02bef3de40ccb))
10
+
3
11
  ## 4.0.7
4
12
 
5
13
  _Published on 2024-09-12._
6
14
 
7
15
  ### Changed
8
16
 
9
- - Format the Date and Time objects in a human-friendly way. Previously, dates and times stored in sample data, like session data, would be shown as `#<Date>` and `#<Time>`. Now they will show as `#<Date: 2024-09-11>` and `#<Time: Time: 2024-09-12T13:14:15+02:00>` (UTC offset may be different for your time objects depending on the server setting). (patch [8f516484](https://github.com/appsignal/appsignal-ruby/commit/8f516484d249f43ffadcf15a67bbab48f827eff6))
17
+ - Format the Date and Time objects in a human-friendly way. Previously, dates and times stored in sample data, like session data, would be shown as `#<Date>` and `#<Time>`. Now they will show as `#<Date: 2024-09-11>` and `#<Time: 2024-09-12T13:14:15+02:00>` (UTC offset may be different for your time objects depending on the server setting). (patch [8f516484](https://github.com/appsignal/appsignal-ruby/commit/8f516484d249f43ffadcf15a67bbab48f827eff6))
10
18
 
11
19
  ### Removed
12
20
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Appsignal
4
- VERSION = "4.0.7"
4
+ VERSION = "4.0.8"
5
5
  end
data/lib/appsignal.rb CHANGED
@@ -157,14 +157,16 @@ module Appsignal
157
157
  # @return [void]
158
158
  # @since 1.0.0
159
159
  def stop(called_by = nil)
160
- if called_by
161
- internal_logger.debug("Stopping AppSignal (#{called_by})")
162
- else
163
- internal_logger.debug("Stopping AppSignal")
164
- end
165
- Appsignal::Extension.stop
166
- Appsignal::Probes.stop
167
- Appsignal::CheckIn.stop
160
+ Thread.new do
161
+ if called_by
162
+ internal_logger.debug("Stopping AppSignal (#{called_by})")
163
+ else
164
+ internal_logger.debug("Stopping AppSignal")
165
+ end
166
+ Appsignal::Extension.stop
167
+ Appsignal::Probes.stop
168
+ Appsignal::CheckIn.stop
169
+ end.join
168
170
  end
169
171
 
170
172
  # Configure the AppSignal Ruby gem using a DSL.
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.0.7
4
+ version: 4.0.8
5
5
  platform: java
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: 2024-09-12 00:00:00.000000000 Z
13
+ date: 2024-09-13 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rack