active_publisher 1.3.0-java → 1.3.2-java

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: 7447a8948c2a4e24769ef9733ab12e843266564385535c2cb7bfbb8d485ec50a
4
- data.tar.gz: c8fef7d08eef182420cbdef0fa847b40cc5f9e14ef96b81ad076fcb885526717
3
+ metadata.gz: 9f616aa911961f4a63174cf1feca351d7d44dfb7c7aff523dabec3b1e41f28bd
4
+ data.tar.gz: a4ef1cf481cab76b19ddaebf28ad95b7323cd6941cda9b35f0de7196247ef297
5
5
  SHA512:
6
- metadata.gz: 6e5f3d51840ac76b600444eb36e4b358f4fed9ae5ae876eed27747f8e89f67273d7cf52fc608dc788f0631257b6f4c6d5e05b9f014a05b39175958f1956fefa1
7
- data.tar.gz: e965f7bedbc7449c3cb6f6e86afa718be8d28853ba46acec02be6589eebf58389c276b4aa3c90b8a2a919825c17acfd22e93987d4212a4cec535219e9d34158f
6
+ metadata.gz: 92d75c705ff93e2b0b45e4963e389538b1c47574f7cc9a332f2048d9a41f5478a886cfb5a1dc6f19073f16df1d9c3855e373d651437a0ebb342b4386e59f9f87
7
+ data.tar.gz: 7bdd4ff50ea01a6a80f8d88a57aa4d38050b37d4bab6ca4e0144e19636b449a4b912d0acd2c8c37b7631d6efe4eb18ce69a69bcf154bf55f534f1b9e5b492ea4
@@ -151,7 +151,9 @@ module ActivePublisher
151
151
 
152
152
  def wait_for_confirms
153
153
  return true unless channel.using_publisher_confirms?
154
- channel.wait_for_confirms(::ActivePublisher.configuration.publisher_confirms_timeout)
154
+ ::ActiveSupport::Notifications.instrument "publishes_confirmed.active_publisher" do
155
+ channel.wait_for_confirms(::ActivePublisher.configuration.publisher_confirms_timeout)
156
+ end
155
157
  end
156
158
  end
157
159
  end
@@ -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.0"
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.0
4
+ version: 1.3.2
5
5
  platform: java
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-10-19 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
  requirement: !ruby/object:Gem::Requirement
@@ -223,7 +223,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
223
223
  - !ruby/object:Gem::Version
224
224
  version: '0'
225
225
  requirements: []
226
- rubygems_version: 3.2.28
226
+ rubygems_version: 3.2.15
227
227
  signing_key:
228
228
  specification_version: 4
229
229
  summary: Aims to make publishing work across MRI and jRuby painless and add some nice