barbeque 2.7.3 → 2.7.4

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: b68703c522c89638269112456c7f84e6f5d22e5d80cfde62907bb72246bc042f
4
- data.tar.gz: 9d5a2b8f12837d21f16b3d1798cfc1cea411c43ded96c03c1321c76aa8b60def
3
+ metadata.gz: 20e7f4ae1e498ef9127814cb29f52fa7d061614dcda6e3de425f894e688bdb57
4
+ data.tar.gz: a08b5fa3b694a48eb4ee1201596f6bdf9bbad56ddce40158ba0adf804961a497
5
5
  SHA512:
6
- metadata.gz: 70b5968642aae6383dbcc58f8034e06bd60bb7d6bc35e5ad27a2f1293bbe755f4ffb74c9036adcbc3dc9b582eaf55041c3a7aabe14a21cd1ad8bac62863f0711
7
- data.tar.gz: d404bb0921e8156956af52d8c50e1bb8a2318048a597cbe142a4b57416ee17bd6bc80f932e58c847787223256cdb0e3c0c4eac0338cd4bc503f55f7a57b735bc
6
+ metadata.gz: c1a5bbfc9b961858bf7e0c17f53575e1f1d9f791a87e6475873a9687e8c48345ac964d8095749187fbb4fb67b630462ae794b215d5b82b8200ac584ef32282b5
7
+ data.tar.gz: b0f3cdd5a0f64ad761804653c45be1eaa6002dd37be038060641962675cde342ab59d4ef17a421dbe1d14c2bfb44d7837a3311dea3d62f8f8dbd0518738733ff
@@ -52,6 +52,9 @@ module Barbeque
52
52
  end
53
53
  end
54
54
  rescue ActiveRecord::RecordNotUnique => e
55
+ # There's a case where Barbeque receives message which was already received or deleted.
56
+ # https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/standard-queues.html
57
+ @message_queue.delete_message(@message)
55
58
  raise DuplicatedExecution.new(e.message)
56
59
  end
57
60
  end
@@ -1,3 +1,3 @@
1
1
  module Barbeque
2
- VERSION = '2.7.3'
2
+ VERSION = '2.7.4'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: barbeque
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.7.3
4
+ version: 2.7.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Takashi Kokubun
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-01-08 00:00:00.000000000 Z
11
+ date: 2020-04-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: adminlte2-rails