active_publisher 1.3.1 → 1.3.2

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: 6e205892cb22a44c4a5f8792b52ccd2d9d1f91cee827c86b26caf928b6790a2e
4
- data.tar.gz: 3b868e1c64ce26f081911c6cf70ed3db5e3a9adc75beb844fea3db8adc2484f3
3
+ metadata.gz: 1f52f284362383d67ea86b1fd21a9bfa855e32bea6ad77c7c482fc47ece6ef09
4
+ data.tar.gz: 4b09f1fd7b793fbca7012a4f6d01c9797029529a69c7e8482c18c3af3cfeb51f
5
5
  SHA512:
6
- metadata.gz: c0285683ccd9ca51a7c9b571cb0b47db2ef79404e344d7759cd3c69ea9eabb108cbbc5e5146b084fef5b28d90f6876f2c0fda8c7dba7f81cbfb99bb2e5b98b6d
7
- data.tar.gz: bab6a2b9b9a2e785d9cfcf2523219ab2e4662350bcc41eefa807bc11312f1f0024ce01952fc62eb9bf60ca362bc71c4892551b6caa0b8bba4e6744776c42f991
6
+ metadata.gz: 3ab3dfaa3727a5e56c639aacdc12158c30fad925ea112701f48c7c9d4dcfab0028fb5c799841e8d9920ba78d83e42edb0b89fc22f4cc3f6fcdb77093937c77b0
7
+ data.tar.gz: d4a514867fea7d76fae78aff4b083bd1044aee9e775f4e57d4d72ea12429201b0089033eca3b8cf7d6544d0c5c5b027735f6e178580575f26d75bd1426429ea2
@@ -77,9 +77,9 @@ module ActivePublisher
77
77
  messages = []
78
78
  multi_response = []
79
79
  redis_pool.with do |redis|
80
- multi_response = redis.multi do
81
- redis.lrange(list_key, 0, number - 1)
82
- redis.ltrim(list_key, number, -1)
80
+ multi_response = redis.multi do |pipeline|
81
+ pipeline.lrange(list_key, 0, number - 1)
82
+ pipeline.ltrim(list_key, number, -1)
83
83
  end
84
84
  end
85
85
 
@@ -1,3 +1,3 @@
1
1
  module ActivePublisher
2
- VERSION = "1.3.1"
2
+ VERSION = "1.3.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: active_publisher
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.1
4
+ version: 1.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Stien
@@ -12,7 +12,7 @@ authors:
12
12
  autorequire:
13
13
  bindir: exe
14
14
  cert_chain: []
15
- date: 2021-12-02 00:00:00.000000000 Z
15
+ date: 2022-02-03 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  name: bunny