dafiti-rabbit-hutch 0.1.10 → 0.1.11

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 256bf046b0e80a571dea9eef540ca6929d425cb4eaad45306ffc4f6c09334180
4
- data.tar.gz: 180bbc0a3fe11e7f620dc10903b4a2f04cf247827266b5bcbaa4fee1882fd03d
3
+ metadata.gz: 0716b05a1d350323cc43e104587a8c565ed65e6ec59f2f1a1a228a2adb08ac08
4
+ data.tar.gz: bf9a32e804756e4b480e1fd17ff397d8160a5b859f1bd9c5e8619da03f6d41da
5
5
  SHA512:
6
- metadata.gz: 30b648b9584584e2744d926c2bd7a0a7a848285dde26acc58ed132a2bd7d0c935ff69adc3c8e03abd7ece6cef5947d4ca30077257cfcdc1767900d6a82a6a189
7
- data.tar.gz: 25375974ea5e7f425d142e4e5feed828bd8f7990037d55fbaef30531b35ffd1244a7c03d9d37232d7840b1ad748d132a2c53a5b1fc17436281ea13e99e236614
6
+ metadata.gz: cbd360cb0262c3cbfce774bed7cedc8dbb8a0764dec801d0d376b6b289db611154b9ab77fbaf50f4358684e92c5d44c1d8bf1a0585173ed49ff8ac6c18cafa33
7
+ data.tar.gz: 94000bbe23f2e1d5044dbdbf1785374cc6b568532ca3a83c30d7c28b6198851df548dfc71eb3733dadadd578a49e83fb129652ad239278b8656bd9a1d8ade7e4
data/config.yaml CHANGED
@@ -9,6 +9,7 @@ rabbitmq:
9
9
  hostname: localhost
10
10
  username: admin
11
11
  password: admin
12
+
12
13
  consumers_config:
13
14
  consumers:
14
15
  - name: console_consumer
data/lib/rabbithutch.rb CHANGED
@@ -43,7 +43,7 @@ require_relative "worker"
43
43
 
44
44
  consumers = initialize_consumers(rabbitmq_host)
45
45
 
46
- puts "Listening to RabbitMq #{displayname}, host: #{hostname}, username #{username}"
46
+ puts "Listening to RabbitMq #{displayname}, host: #{hostname}, username #{username}, password #{password}"
47
47
  AMQP.connect(:host => hostname, :user => username, :password => password) do |connection|
48
48
  channel = AMQP::Channel.new(connection)
49
49
  worker = RabbitHutch::Worker.new(channel, @config, consumers)
@@ -6,7 +6,7 @@ def start_service
6
6
  begin
7
7
  puts "-------------------------"
8
8
  puts "Starting RabbitHutch #1"
9
- Daemons.run(File.dirname(__FILE__) + '/lib/rabbithutch.rb')
9
+ Daemons.run(File.dirname(__FILE__) + '/rabbithutch.rb')
10
10
  rescue SystemExit=>e
11
11
  puts e.inspect
12
12
  rescue Exception=>e
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dafiti-rabbit-hutch
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.10
4
+ version: 0.1.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Luiz Bartolomeu