govuk_sidekiq 7.1.0 → 7.1.1

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: 07e39d37942f15f173005674d60471d56fbe3db4d59d35e67ba5c0e1a33155df
4
- data.tar.gz: 3a68c0f33812e2558cb5374b9c56533d2573732702e15eb0e5bc38ef588b63ef
3
+ metadata.gz: 56054924f4361476e4bcb29b2d0011f8044a2d70ff1219893ae2379302ebf205
4
+ data.tar.gz: 46f695eb3cb5f8591d5bb63714119667c10f4cbce39ff856c42302bdf1420a9d
5
5
  SHA512:
6
- metadata.gz: 1de3bd1211158830997a52e81f3ce1086732d66dc6534c6b4faf08709bd5b16d10555fcf4a571e17abb01b7cc68dea594c5ff07d348f6cea8ad927c1118311f6
7
- data.tar.gz: 833611f37c06d5cd8cf621f0115650915aec9e69cf1dd37e3e48d6f66ea3347cf2600eefbe270a4d7e7e3dc783e35909c19d78d78aa13f873117bc4fa6c07dad
6
+ metadata.gz: 96f130529933bd9e0b15ba0b3f397d30d431e5af6c81d617d0992c29f6e4da0dcd82e9a5dcc600b949466ee387758217c914fba9e90fb1a6574805be3f3410af
7
+ data.tar.gz: 6641da6afb6e10d8ac310ad0cf416d7b94243d68f0bc09ccfa0e5e97f042cce5095c2cd22cf0436f78a255753c3007eddc8b44b6fe065afccebd3c76065f3a27
@@ -10,15 +10,12 @@ module GovukSidekiq
10
10
  class ClientMiddleware
11
11
  def call(_worker_class, job, _queue, _redis_pool)
12
12
  last_arg = job["args"].last
13
-
14
13
  if is_header_hash(last_arg)
15
14
  job["args"].pop
16
15
  job["args"] << header_arguments.merge(last_arg)
17
16
  else
18
17
  job["args"] << header_arguments
19
18
  end
20
- Sidekiq::Context.add("govuk_request_id", job["args"].last["request_id"])
21
-
22
19
  yield
23
20
  end
24
21
 
@@ -1,3 +1,3 @@
1
1
  module GovukSidekiq
2
- VERSION = "7.1.0".freeze
2
+ VERSION = "7.1.1".freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: govuk_sidekiq
3
3
  version: !ruby/object:Gem::Version
4
- version: 7.1.0
4
+ version: 7.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - GOV.UK Dev
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-06-20 00:00:00.000000000 Z
11
+ date: 2023-06-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gds-api-adapters