chef-rabbit 1.0.1 → 1.0.3

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
- YjY4OWVkNTZiNDhjYzU3ZTIxZGJjNWJmNzc3NTUzMGE0YjhmYzEwMA==
4
+ ZGI2NWE3ZGRjMzI0NTNhYTgyMTMxMGVlOTNiYTgwZjVmMWUwOTNkZQ==
5
5
  data.tar.gz: !binary |-
6
- MDk1NDI0YWMwMTI0YTZkYjMzY2NmY2NiNGRmOGU3NDMzZmQ1NDc1Yg==
6
+ YTM5MDYyNTI0MTc0MTkzMDU5MDU5YTI0OGM1ZDA4NWY2OTIzN2E2YQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- YjZkNDkzNmE3NTRjNTcwNjBhNTJjMjI3NGQ0OTBmOTY3NzE3NmUwMmMxYjBj
10
- MDIyOGNiODk1OTI0NDA4NjNjN2JmZjY0OTc0ZGJmOTkyYmIxNTQxZTg1YTk1
11
- YTNhYTMyMGExOTBiNDNiNDIwYzRhZWFjNGJhM2I5ZDBkYzk2ZWQ=
9
+ ZjczNmE5ODJlZjRjZmU4Yjg4YjIxNTUxNGVhNDRkMWI5YjRmNjg2N2M1MjE5
10
+ YjVhMTQ0YzJhZWE0NWRmNWQzOTg3ZWZiNzkzY2RmMzBlODUzYjA3NzFmNmM2
11
+ NGVkOTA2MjM1ZTcyMTQxMzUxNThkNjljYzZhNmIxNWNjM2EzNjU=
12
12
  data.tar.gz: !binary |-
13
- NTJkMzM1NWY0ZmY0ZWQ5OTkyZjZmZGQyYjMxZmMyYmFhMjk4NjJkMTc0NGYw
14
- YTAwNGYwMWFhNmRmMWZjMmUxZmI4ZmMwOWQxNDAwMGNhZmM0NDI2MDJiZDFm
15
- YjBkZmRiMGQ5OGJjM2Y0MTlmZmJkYWRhNTBjOTc4YzA5ZDMzMGQ=
13
+ MzljYjFkNjkzNDE5N2FhMjI2NjE5OGVjYTM4ZjJhODk4OTNiMTM5OGMyZDg5
14
+ NjM3OTJjMDNlNWRkZmM0OWYwMjRkMTc5MDg4ZTFiZWQzMWJmNDBkMGFiMmU5
15
+ M2MzMzg2MDk4M2VmZjhjMGMzNjIzMWQyODliYjY5MWU0OGM4M2I=
@@ -11,6 +11,7 @@
11
11
  require "chef/rabbit/version"
12
12
  require 'bunny'
13
13
  require 'chef/log'
14
+ require "chef/handler"
14
15
 
15
16
  class Chef
16
17
  module RABBIT
@@ -52,7 +53,7 @@ class Chef
52
53
 
53
54
  channel = @connection.create_channel
54
55
  exchange = (@options[:exchange] == nil) ? channel.default_echange : channel.direct(@options[:exchange][:name], @options[:exchange][:params])
55
- channel.queue(@options[:queue][:name], @options[:queue][:params]).bind(exch)
56
+ channel.queue(@options[:queue][:name], @options[:queue][:params]).bind(exchange)
56
57
 
57
58
  timestamp = (@options[:timestamp_tag] == nil) ? "timestamp" : @options[:timestamp_tag]
58
59
 
@@ -23,6 +23,6 @@
23
23
 
24
24
  class Chef
25
25
  module RABBIT
26
- VERSION = "1.0.1"
26
+ VERSION = "1.0.3"
27
27
  end
28
28
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chef-rabbit
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - MTN Satellite Communications