osbourne 1.2.0.1 → 1.2.1

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: 2c8d93dcd215b3b682317547b30a3310243f32470770ab5d0135d059251816c5
4
- data.tar.gz: 206ebb53ef3c90e3af4ac4eea04d7b57cea708cf499aef137b60d6fdeeda71b2
3
+ metadata.gz: bec0317ba8faa7aba8f1a53ff286fc94f14252816f0c1ec6900cf53e2532df56
4
+ data.tar.gz: 5e7c0d046dc87c88da9ed0f90c26a4c23a03d1a2285ab7e45800ac6d2e73546b
5
5
  SHA512:
6
- metadata.gz: d99a942684efcbd1e48c39b9d9018e3ba8c7e4c8fabee694ea534838b7bc2303e29a7fd94f96e159bc5f640168366dee2886fb43de12aeb552ce9c4820535b8a
7
- data.tar.gz: 316e2ca6934e3b4fc9616b137ebd4712ad3bdbd5dee3c26a0eb1bd658f7a446da4dced124a2246449ed68c348c9356108692812eb884aae087e70f45b8376753
6
+ metadata.gz: c84501f853270afb8b930f8e3f3c9243c3f9a05422b0398ac52681790c5ffd620538579b81849a10a1374864d4e1574c117a75cb494b132de3632f7a168cd12c
7
+ data.tar.gz: 3f0d6e07606fe2eee6ad42c87a49cba46a296c755baff02341169d027cc51684dea28e9c0b7003fb08989defc86173b8c14dfdd8101d601fb6b8c88d733732e3
@@ -21,7 +21,8 @@ module Osbourne
21
21
  def redrive(retries, dead_letter_arn)
22
22
  sqs.set_queue_attributes(queue_url: url,
23
23
  attributes: {
24
- 'RedrivePolicy': {
24
+ 'ReceiveMessageWaitTimeSeconds': "20", # required for long polling to function
25
+ 'RedrivePolicy': {
25
26
  'deadLetterTargetArn': dead_letter_arn,
26
27
  'maxReceiveCount': retries
27
28
  }.to_json
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Osbourne
4
- VERSION = "1.2.0.1"
4
+ VERSION = "1.2.1"
5
5
  end
@@ -21,7 +21,7 @@ module Osbourne
21
21
  end
22
22
 
23
23
  def polling_queue
24
- @polling_queue ||= self.class.polling_queue
24
+ self.class.polling_queue
25
25
  end
26
26
 
27
27
  class << self
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: osbourne
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0.1
4
+ version: 1.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Steve Allen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-12-04 00:00:00.000000000 Z
11
+ date: 2019-02-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core