sidekiq-status 3.0.2 → 3.0.3

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: 7c2c40656501ca39c5bc87ec1b1a81acc8f8f24fcde74dfe13b60a3659ae67fb
4
- data.tar.gz: 1647fe3d39f47444615bf83e6ba31d69ad750fdab07c23a7cafeb85f15991b93
3
+ metadata.gz: 7c4653623b20223d993b2c5f2ce82a1ee214083c1adb51530a76d82e4d2b3977
4
+ data.tar.gz: 6cee1ff677b1b964465e79facf5dd1e747c6747f9e99c7fd54e0330082a4b201
5
5
  SHA512:
6
- metadata.gz: 29f7ba740739147cf2a3f3050d89ed89403d83c39e1c23d31246e4c5a0f73883a1cf7146c5b11d378673a057ab6629c76fd666c9436c5f14b4ef292e0765a0ff
7
- data.tar.gz: c71ff262e667f0c1f330dbcf0ab51783cef4d7a5fe37a7406465d3f6a8df51b1989040b817fd2c3f671c63cb0ea670eeb46240e9c4b6b0ab332544b779e75060
6
+ metadata.gz: 99971994088169aa3ba0c21417557ce9d9fc072917b06c05a9cb7815f0405e331882f057d56079b41256f028c8248a780d9f74592a660a850959109a579519cc
7
+ data.tar.gz: aa7030ebbbb8161f5e9e81c3fac25357cac7bff62d810a3f785e9343c12c3a5839f94060d993aafc5381700b7803ca5e1de17dcb00762525eda6fa9a6bdb4725
data/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ **Version 3.0.3**
2
+ - Fixes a Sidekiq warning about the deprecated `hmset` redis command (https://github.com/kenaniah/sidekiq-status/pull/37)
3
+
1
4
  **Version 3.0.2**
2
5
  - Avoids setting statuses for non-status jobs when an exception is thrown (https://github.com/kenaniah/sidekiq-status/pull/32)
3
6
 
@@ -15,7 +15,7 @@ module Sidekiq::Status::Storage
15
15
  status_updates.transform_values!(&:to_s)
16
16
  redis_connection(redis_pool) do |conn|
17
17
  conn.multi do |pipeline|
18
- pipeline.hmset key(id), 'update_time', Time.now.to_i, *(status_updates.to_a.flatten(1))
18
+ pipeline.hset key(id), 'update_time', Time.now.to_i, *(status_updates.to_a.flatten(1))
19
19
  pipeline.expire key(id), (expiration || Sidekiq::Status::DEFAULT_EXPIRY)
20
20
  pipeline.publish "status_updates", id
21
21
  end[0]
@@ -1,5 +1,5 @@
1
1
  module Sidekiq
2
2
  module Status
3
- VERSION = '3.0.2'
3
+ VERSION = '3.0.3'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sidekiq-status
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.2
4
+ version: 3.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Evgeniy Tsvigun
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2023-04-02 00:00:00.000000000 Z
12
+ date: 2023-05-04 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: sidekiq