action_subscriber 4.2.3.pre → 4.2.3.pre2

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
  SHA1:
3
- metadata.gz: 45ae69689291e9fcda93dc4b92648b224add38d0
4
- data.tar.gz: 01b00b6b55bd1a4c4995021c6e4843b0707ee756
3
+ metadata.gz: 18d1da57332fc7ae0f0c061d57e1d57648618fc6
4
+ data.tar.gz: 35665b898dea262b08f10851cbd369c934bdc2ab
5
5
  SHA512:
6
- metadata.gz: 41e3a0fbac6c65b5c7b04abe3f44dcd18132ab2d8cbe24583958c22805a9b285efaf4cc3a60c90d1de2c86559e06a2e33340562a539165f065719a9251f2069f
7
- data.tar.gz: 34bba997f2819957baa13da7ac0edf956dd66fc0477ad388fcb43fe99762eeb96d0dd41e8afd08a92058e56c45d3c11e4e9cc92a08841c1481b04218425e3aca
6
+ metadata.gz: 915323ad15ffaeeddb669866a9b39a74154520b18efe3ed43e66a85e4ac7c333a9435bfd646bfea0b5eabc80a47c129dbfb61ee73574cdf68340b5b29ef9196e
7
+ data.tar.gz: b23741a03018c01ad19c449321944a43f56a5ba6c66084f546d20cb8ab2848a5004e8cf3e729695d142df67a97f6d77ca1948243260c00033e37caf015fe3420
data/README.md CHANGED
@@ -163,10 +163,10 @@ Rabbit is told to expect message acknowledgements, but sending the acknowledgeme
163
163
  We send the acknowledgement right after calling your subscriber.
164
164
  If an error is raised your message will be retried on a sent back to rabbitmq and retried on an exponential backoff schedule.
165
165
 
166
- ### retry
166
+ ### redeliver
167
167
 
168
- A message can be sent to "retry" with `::ActionSubscriber::MessageRetry.redeliver_message_with_backoff` or the DSL method `retry` and optionally
169
- takes a "backoff schedule" which is a hash of backoff milliseconds for each retry, the default:
168
+ A message can be sent to "redeliver" with `::ActionSubscriber::MessageRetry.redeliver_message_with_backoff` or the DSL method `redeliver` and optionally
169
+ takes a "backoff schedule" which is a hash of backoff milliseconds for each redeliver, the default:
170
170
 
171
171
  ```ruby
172
172
  SCHEDULE = {
@@ -184,7 +184,7 @@ takes a "backoff schedule" which is a hash of backoff milliseconds for each retr
184
184
 
185
185
  when the schedule "returns" `nil` the message will not be retried
186
186
 
187
- > Warning: If you use `retry` you need to handle reject/acknowledge according how errors are handled; if an error is caught and the
187
+ > Warning: If you use `redeliver` you need to handle reject/acknowledge according how errors are handled; if an error is caught and the
188
188
  > ack/reject is already done then you may duplicate the message in `at_least_once!` mode
189
189
 
190
190
  Testing
@@ -60,7 +60,7 @@ module ActionSubscriber
60
60
  env.reject
61
61
  end
62
62
 
63
- def retry(backoff_schedule = ::ActionSubscriber::MessageRetry::SCHEDULE)
63
+ def redeliver(backoff_schedule = ::ActionSubscriber::MessageRetry::SCHEDULE)
64
64
  ::ActionSubscriber::MessageRetry::redeliver_message_with_backoff(env, backoff_schedule)
65
65
  end
66
66
  end
@@ -1,3 +1,3 @@
1
1
  module ActionSubscriber
2
- VERSION = "4.2.3.pre"
2
+ VERSION = "4.2.3.pre2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: action_subscriber
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.2.3.pre
4
+ version: 4.2.3.pre2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Stien