rabbitmq 1.1.7 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/rabbitmq.rb +15 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5494c4587deb3e8e1e22f9126ddcfecf0f4b89ba
|
4
|
+
data.tar.gz: 97902e6dd5a1ee4877e81c31a014fae2f6feaedb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a7b46c8035af7a0382d29ab3ebbc46b1a517bee2978dae158a2d8cda2fbf292df1df0212c1e9ed9354ef3c042671385a3bd02f6cb51a0c2940b709d56d61b7e7
|
7
|
+
data.tar.gz: 99fb612f0e292011be754911b876f3803b5df931c0e36d9de2f1a87324762c9350d6e0a94c0be88f4fd7d84ade5ea10fec478661cb43f4c24c988984d1320938
|
data/README.md
CHANGED
data/lib/rabbitmq.rb
CHANGED
@@ -9,3 +9,18 @@ require_relative 'rabbitmq/server_error'
|
|
9
9
|
|
10
10
|
require_relative 'rabbitmq/client'
|
11
11
|
require_relative 'rabbitmq/channel'
|
12
|
+
|
13
|
+
|
14
|
+
module RabbitMQ
|
15
|
+
# The RabbitMQ default exchange.
|
16
|
+
DEFAULT_EXCHANGE = "".freeze
|
17
|
+
|
18
|
+
# An array of errors that indicate an availabilty issue.
|
19
|
+
AVAILABILITY_ERRORS = [
|
20
|
+
RabbitMQ::ServerError::ConnectionError,
|
21
|
+
RabbitMQ::FFI::Error::Timeout,
|
22
|
+
RabbitMQ::FFI::Error::ConnectionClosed,
|
23
|
+
RabbitMQ::FFI::Error::SocketError,
|
24
|
+
RabbitMQ::FFI::Error::BadAmqpData,
|
25
|
+
].freeze
|
26
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rabbitmq
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Joe McIlvain
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-09-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ffi
|