appsignal 4.9.0 → 4.9.1

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: 70d09c492e8f9ef1d5d5b5258cc44174bae7ba091393ccaaee1a6374fa0b9635
4
- data.tar.gz: b4810279e337a0d0dfd0283de2051c85619f4bd5338ac1105027370bed2c0977
3
+ metadata.gz: 1f5f973b8035fa8622b62ce0267c9c7a6177c2de7e62a820ebfb19478e06a1d5
4
+ data.tar.gz: 253ac53b17b30ce57a5c25677b9c2dad9c33e6a20cd937311897a82a6301b33e
5
5
  SHA512:
6
- metadata.gz: fd3de76b7b65946c155f999dd8f3198a5aa07acac977c69f82c4bbcd58603e82caa008fc027a390c7268f661b596644e6fcfec0b0bf98e215d4d2cd93a0545de
7
- data.tar.gz: d45f3e280eba6286eafd5b8ca4eebe9336443d717810abdd3b2f30737a0062df87476c5bf295a54197f23f51e3555c09d81f88c2a356f5a4e010f6f48c8d94a1
6
+ metadata.gz: 0137e30b3e2bdbe43f0256b7b966e00eec9c21151829a701d91841d6c692c207687a732c102d42bc05a29f74817224aedf1f303a3225c9c053d36404af771e9a
7
+ data.tar.gz: 0cdf4856bbcd79f900569daf211e1e35e1e067ffaeb306ebc9af7eae4ec602299475f13e2cee474b8ed494853b3fa2e7eb33d90dbdad6f5a919f076a5a5a4938
data/CHANGELOG.md CHANGED
@@ -1,5 +1,16 @@
1
1
  # AppSignal for Ruby gem Changelog
2
2
 
3
+ ## 4.9.1
4
+
5
+ _Published on 2026-07-27._
6
+
7
+ ### Fixed
8
+
9
+ - Fix Que jobs being corrupted on enqueue when using Que 0.x. This was introduced
10
+ in version 4.9.0. Que 1 and Que 2 were not affected.
11
+
12
+ (patch [947d06b2](https://github.com/appsignal/appsignal-ruby/commit/947d06b2793ede14f9c0350f0b4a338cce7d1452), [1cc52bf3](https://github.com/appsignal/appsignal-ruby/commit/1cc52bf320571989c28af148d1086bdb872eab36))
13
+
3
14
  ## 4.9.0
4
15
 
5
16
  _Published on 2026-07-16._
data/build_matrix.yml CHANGED
@@ -219,6 +219,7 @@ matrix:
219
219
  - "3.1.6"
220
220
  - "3.0.7"
221
221
  - "2.7.8"
222
+ - gem: "que-0.14"
222
223
  - gem: "que-1"
223
224
  - gem: "que-2"
224
225
  - gem: "rails-6.0"
@@ -43,7 +43,16 @@ module Appsignal
43
43
  # from within a web request or another job); otherwise it's a transparent
44
44
  # pass-through.
45
45
  module QueClientPlugin
46
- def enqueue(*_args, job_options: {}, **_rest)
46
+ # The keyword arguments are captured into a single `**kwargs` hash, rather
47
+ # than declaring a `job_options:` keyword with a default, so that an
48
+ # implicit `super` forwards the original call unchanged. Declaring
49
+ # `job_options: {}` would bind that default even when the caller did not
50
+ # pass it, and `super` would then forward it to Que. On Que 0.14, whose
51
+ # `enqueue` takes only positional arguments, that extra keyword ends up
52
+ # persisted as an additional job argument.
53
+ def enqueue(*_args, **kwargs)
54
+ job_options = kwargs[:job_options] || {}
55
+
47
56
  # Inside a `bulk_enqueue` block the batch is recorded once by the
48
57
  # `bulk_enqueue` wrapper, so each inner enqueue is a pass-through to
49
58
  # avoid recording an event per job.
@@ -2,5 +2,5 @@
2
2
 
3
3
  module Appsignal
4
4
  # @return [String]
5
- VERSION = "4.9.0"
5
+ VERSION = "4.9.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.9.0", T.untyped)
11
+ VERSION = T.let("4.9.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.9.0
4
+ version: 4.9.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Robert Beekman