totoro 0.5.1 → 0.5.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/totoro/base_queue.rb +2 -1
- data/lib/totoro/version.rb +1 -1
- metadata +2 -3
- data/pkg/totoro-0.5.0.gem +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 70292951fc783f16b4a799333f55eb9e13b8a66de321a2422cd094458a418d73
|
4
|
+
data.tar.gz: baaf2a892a3f92ef497df0148da18e3683db2512585a9a6cf6c0a32a9ff9f238
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5e8e5720c9289b1aad3772b0354a3b025d0a2337ba7c428d0de2856fcf116070d15e8767cc223ef39891d574ccde1dde8d79bda1fa303b6c8fd38bfa7288f50f
|
7
|
+
data.tar.gz: 8f0cbe97b7292e1ad61dd23916b13d49e875aa1dd9ba96b4bc186962b4d4138311bfee240efa72cacac5946be76f1c97e0c40dad41b57aa74417c9470ea14401
|
data/lib/totoro/base_queue.rb
CHANGED
@@ -28,7 +28,8 @@ module Totoro
|
|
28
28
|
exchange.publish(payload, routing_key: queue.name)
|
29
29
|
Rails.logger.info "send message to #{queue.name}"
|
30
30
|
STDOUT.flush
|
31
|
-
rescue Bunny::TCPConnectionFailedForAllHosts
|
31
|
+
rescue Bunny::TCPConnectionFailedForAllHosts,
|
32
|
+
AMQ::Protocol::EmptyResponseError => error
|
32
33
|
Rails.logger.error error.message
|
33
34
|
Rails.logger.info 'Add failed message to resend list'
|
34
35
|
STDOUT.flush
|
data/lib/totoro/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: totoro
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ShuHui18
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-10-
|
11
|
+
date: 2018-10-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bunny
|
@@ -131,7 +131,6 @@ files:
|
|
131
131
|
- lib/totoro/tasks/resend_message.rake
|
132
132
|
- lib/totoro/totoro_failed_message.rb
|
133
133
|
- lib/totoro/version.rb
|
134
|
-
- pkg/totoro-0.5.0.gem
|
135
134
|
- spec/spec_helper.rb
|
136
135
|
- spec/totoro_spec.rb
|
137
136
|
- test/totoro_test/Gemfile
|
data/pkg/totoro-0.5.0.gem
DELETED
Binary file
|