chef-rabbit 1.0.4 → 1.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/lib/chef/rabbit.rb +2 -1
- data/lib/chef/rabbit/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
YmJiOTk5N2JiNmJhZDlhMDAyNmU2YWNlYjY4NzA4ODljYTVlMWFmMw==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
YzRlZGY4NDQ4ZWYyMTdiMTE0NDc5ZGFhZDA0N2ViZGJjMmM0NzdkYg==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
YTZlODdiZmRlZjE2OTM1OGI3N2ZiMWEwZGU1NzVlZmIzYTIwYzkwMzg4Mjc4
|
10
|
+
NzNhYzg1M2I2NDhjNmU4M2IyOTYzNWVjZTk3NGM5YmNmYmRlOTVhMzYwMmMw
|
11
|
+
NTViY2YwNTgwMDUxOTkzMTIzNjI3ODQyYmYwNDQ5NjExNDA4YTE=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
NTM0OWI1ZjVmMzQxMmNiNDc2MjA1OWYyNjgzMzRiYTBmM2Y1YjFhNTVhZmYz
|
14
|
+
ZDYzNTU5YmZiMmI0NDE1NTBlZTEzZDAxMjExYTM5MGEwMmNmZjM3Zjg4Y2Jl
|
15
|
+
NjYxZDFiNWJjNjRiZjgzNjUzMDNhMWQ1MjkzNTM2YzA3MWFjMWM=
|
data/lib/chef/rabbit.rb
CHANGED
@@ -50,9 +50,10 @@ class Chef
|
|
50
50
|
|
51
51
|
def report
|
52
52
|
Chef::Log.debug "Reporting #{run_status.inspect}"
|
53
|
+
Chef::Log.debug "Options for RABBIT handler are: #{@options.pretty_inspect}"
|
53
54
|
|
54
55
|
channel = @connection.create_channel
|
55
|
-
exchange = (@options[:exchange] == nil) ? channel.
|
56
|
+
exchange = (@options[:exchange] == nil) ? channel.default_exchange : channel.direct(@options[:exchange][:name], @options[:exchange][:params])
|
56
57
|
channel.queue(@options[:queue][:name], @options[:queue][:params]).bind(exchange)
|
57
58
|
|
58
59
|
timestamp = (@options[:timestamp_tag] == nil) ? "timestamp" : @options[:timestamp_tag]
|
data/lib/chef/rabbit/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: chef-rabbit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- MTN Satellite Communications
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-04-
|
11
|
+
date: 2014-04-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bunny
|