sidekiq-cron 1.10.0 → 1.10.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/sidekiq/cron/job.rb +1 -6
- data/lib/sidekiq/cron/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1413d9d3418c71f816ea65bb6656c3053535d181ce22fbbc82daa3dca223f524
|
4
|
+
data.tar.gz: aecf5bb82af028c08f458a93aa8d96d6cc7c58ffe5b7a0380c33ecd5f02e42ae
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b135afb05139d833320da0efd60f76d1a55771f2bf3adfcf5fdcbe6f9e5bdd9c23ca3339bc354ee7ee9a5fe77da93eb73e2043ef1b37c7d78e7df1da9365a482
|
7
|
+
data.tar.gz: a1cfe3438ebd8eaec2bce2eac18f7f42983bdc5ed93e8dbf5810cf6eb01942847582a2b50526dcb36854ab6385555f41983aaad9bd85a89699c745d4c5196bd6
|
data/CHANGELOG.md
CHANGED
@@ -2,6 +2,10 @@
|
|
2
2
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
4
4
|
|
5
|
+
## 1.10.1
|
6
|
+
|
7
|
+
- use `hset` instead of deprecated `hmset` (https://github.com/sidekiq-cron/sidekiq-cron/pull/410)
|
8
|
+
|
5
9
|
## 1.10.0
|
6
10
|
|
7
11
|
- Remove EOL Ruby 2.6 support (https://github.com/sidekiq-cron/sidekiq-cron/pull/399)
|
data/lib/sidekiq/cron/job.rb
CHANGED
@@ -469,7 +469,7 @@ module Sidekiq
|
|
469
469
|
conn.sadd self.class.jobs_key, [redis_key]
|
470
470
|
|
471
471
|
# Add informations for this job!
|
472
|
-
conn.
|
472
|
+
conn.hset redis_key, to_hash.transform_values! { |v| v || "" }
|
473
473
|
|
474
474
|
# Add information about last time! - don't enque right after scheduler poller starts!
|
475
475
|
time = Time.now.utc
|
@@ -663,11 +663,6 @@ module Sidekiq
|
|
663
663
|
self.class.jid_history_key @name
|
664
664
|
end
|
665
665
|
|
666
|
-
# Give Hash returns array for using it for redis.hmset
|
667
|
-
def hash_to_redis hash
|
668
|
-
hash.flat_map{ |key, value| [key, value || ""] }
|
669
|
-
end
|
670
|
-
|
671
666
|
def serialized_last_enqueue_time
|
672
667
|
@last_enqueue_time&.strftime(LAST_ENQUEUE_TIME_FORMAT)
|
673
668
|
end
|
data/lib/sidekiq/cron/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sidekiq-cron
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.10.
|
4
|
+
version: 1.10.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ondrej Bartas
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-05-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: fugit
|