sensu-transport 2.0.0 → 2.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/sensu/transport/rabbitmq.rb +1 -1
- data/sensu-transport.gemspec +1 -1
- data/spec/rabbitmq_spec.rb +10 -0
- metadata +2 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9ba0412fd3f05cc39acbe4e6909568ee116fe75e
|
4
|
+
data.tar.gz: 5367a01571a3086a7f4c2c77844c123b54660ed3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aae4e8279b5a9235605164f6b454fb111a0c82022eb929d002ec3e19a53c27616bfbd0b4e2c91555a12da35042c23890c99d467d9ceb6c215c117e08b66bd9f3
|
7
|
+
data.tar.gz: c58dc6225ef2d3f34c987a7722e3c7d8afc7274154ab8189108ef6247f03524edf9e3a07526f5ec59315c62f5b0616f2c35b4c311e31c6c248794b92aad60639
|
data/sensu-transport.gemspec
CHANGED
data/spec/rabbitmq_spec.rb
CHANGED
@@ -108,6 +108,16 @@ describe "Sensu::Transport::RabbitMQ" do
|
|
108
108
|
end
|
109
109
|
end
|
110
110
|
|
111
|
+
it "can be configured for multiple brokers" do
|
112
|
+
async_wrapper do
|
113
|
+
@transport.connect([{:port => 5672}, {:port => 5672}])
|
114
|
+
timer(2) do
|
115
|
+
expect(@transport.connected?).to be(true)
|
116
|
+
async_done
|
117
|
+
end
|
118
|
+
end
|
119
|
+
end
|
120
|
+
|
111
121
|
it "can use TLS", :ssl => true do
|
112
122
|
ssl_dir = File.join(File.dirname(__FILE__), "assets", "ssl", "client")
|
113
123
|
async_wrapper do
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sensu-transport
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sean Porter
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-10-
|
11
|
+
date: 2014-10-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sensu-em
|
@@ -156,4 +156,3 @@ test_files:
|
|
156
156
|
- spec/helpers.rb
|
157
157
|
- spec/rabbitmq_spec.rb
|
158
158
|
- spec/transport_spec.rb
|
159
|
-
has_rdoc:
|