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 CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- YzQwNTRiZWU4Njc5MmQxNDBiMjFkMjMwM2U5MDgzZjQxM2E3NjdmNQ==
4
+ YmJiOTk5N2JiNmJhZDlhMDAyNmU2YWNlYjY4NzA4ODljYTVlMWFmMw==
5
5
  data.tar.gz: !binary |-
6
- ZTcyZWVhYjgyNjVkNTZkZjRjYmNiODA2YjJhMmRkZWEyODJkMjZiMg==
6
+ YzRlZGY4NDQ4ZWYyMTdiMTE0NDc5ZGFhZDA0N2ViZGJjMmM0NzdkYg==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- MzVmNzJlMWYxMDZmNTc1ODA1YmFiNWQxNTdlZWI1Yjc1YzhlY2Y5MmFkMzUz
10
- MDE0NmY0ZjI4NGM2ZDU3MWZiMmI1MWM5M2MxNzY2ZDU5ZjAzN2ZkYmI4NTA3
11
- ODk1MjI3OTRlYmUyNWI5ZmYwMWUwMTk1MzMxZGU3YTNlMzJiZGY=
9
+ YTZlODdiZmRlZjE2OTM1OGI3N2ZiMWEwZGU1NzVlZmIzYTIwYzkwMzg4Mjc4
10
+ NzNhYzg1M2I2NDhjNmU4M2IyOTYzNWVjZTk3NGM5YmNmYmRlOTVhMzYwMmMw
11
+ NTViY2YwNTgwMDUxOTkzMTIzNjI3ODQyYmYwNDQ5NjExNDA4YTE=
12
12
  data.tar.gz: !binary |-
13
- ODk1OTM5YmY5MmQ4Mzk3MTk5YzlmN2Y1Y2RhNzY1MmIyNmYwN2ZkMTM5MGZk
14
- NTc5ODc5MWQ3NjEwNGU4YWUxYzQyNzJiNWJkNzlmNGI4N2Y2NDk5YjE4Yzg3
15
- MWZiZTJjYzRiYTQxYzA2MTAyYzA1YjMzZDIzM2I4OWUxZGNiMzk=
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.default_echange : channel.direct(@options[:exchange][:name], @options[:exchange][:params])
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]
@@ -23,6 +23,6 @@
23
23
 
24
24
  class Chef
25
25
  module RABBIT
26
- VERSION = "1.0.4"
26
+ VERSION = "1.0.5"
27
27
  end
28
28
  end
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
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-23 00:00:00.000000000 Z
11
+ date: 2014-04-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bunny