rpush 7.0.0 → 7.0.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 +8 -0
- data/lib/rpush/daemon/store/redis.rb +6 -6
- data/lib/rpush/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: 409c28bf9f63343232e1c7db56f8d7131acc70b4828032059f37eab3a4606e6c
|
4
|
+
data.tar.gz: 3f07d7e79828fa43ab5ed73a9b19183a9f4ac9e5a3d8891f1ecfec42c7375c03
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 400a7241c337ff9874767be4ee051d1494676665bd17e9b3acb2e3ce8efae236971a138888da6c0172e0c649276e97f4d639430733bad345e7980d408e8c3436
|
7
|
+
data.tar.gz: e81b66da807a2bc8a386a12825aed37c452672be899b69ff633d65b80548903669e7d63b3b1eec899633557a489157e8083ed562b2665c017566df9ad220c151
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## [v7.0.1](https://github.com/rpush/rpush/tree/v7.0.1) (2022-03-02)
|
4
|
+
|
5
|
+
[Full Changelog](https://github.com/rpush/rpush/compare/v7.0.0...v7.0.1)
|
6
|
+
|
7
|
+
**Merged pull requests:**
|
8
|
+
|
9
|
+
- Fix deprecation warnings from the redis gem [\#636](https://github.com/rpush/rpush/pull/636) ([sharang-d](https://github.com/sharang-d))
|
10
|
+
|
3
11
|
## [Unreleased](https://github.com/rpush/rpush/tree/HEAD)
|
4
12
|
|
5
13
|
[Full Changelog](https://github.com/rpush/rpush/compare/v7.0.0...HEAD)
|
@@ -152,10 +152,10 @@ module Rpush
|
|
152
152
|
retryable_ns = Rpush::Client::Redis::Notification.absolute_retryable_namespace
|
153
153
|
|
154
154
|
Modis.with_connection do |redis|
|
155
|
-
retryable_results = redis.multi do
|
155
|
+
retryable_results = redis.multi do |transaction|
|
156
156
|
now = Time.now.to_i
|
157
|
-
|
158
|
-
|
157
|
+
transaction.zrangebyscore(retryable_ns, 0, now)
|
158
|
+
transaction.zremrangebyscore(retryable_ns, 0, now)
|
159
159
|
end
|
160
160
|
|
161
161
|
retryable_results.first
|
@@ -167,9 +167,9 @@ module Rpush
|
|
167
167
|
pending_ns = Rpush::Client::Redis::Notification.absolute_pending_namespace
|
168
168
|
|
169
169
|
Modis.with_connection do |redis|
|
170
|
-
pending_results = redis.multi do
|
171
|
-
|
172
|
-
|
170
|
+
pending_results = redis.multi do |transaction|
|
171
|
+
transaction.zrange(pending_ns, 0, limit)
|
172
|
+
transaction.zremrangebyrank(pending_ns, 0, limit)
|
173
173
|
end
|
174
174
|
|
175
175
|
pending_results.first
|
data/lib/rpush/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rpush
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 7.0.
|
4
|
+
version: 7.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ian Leitch
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-03-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: multi_json
|