daemon_objects 0.1.7 → 0.1.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -8,7 +8,7 @@ module DaemonObjects::AmqpSupport
8
8
  def run
9
9
  logger.info "Preparing to start the AMQP watcher."
10
10
 
11
- connection = Bunny.new("#{endpoint.gsub("/", "%2F")}")
11
+ connection = Bunny.new(endpoint)
12
12
  connection.start
13
13
 
14
14
  logger.info "Starting up the AMQP watcher."
@@ -13,6 +13,7 @@ class DaemonObjects::Base
13
13
  self.arguments.merge!(opts)
14
14
 
15
15
  logger.info "Configured to consume queue [#{queue}] at endpoint [#{endpoint}]"
16
+ logger.info "Worker class is '#{worker_class}'"
16
17
  end
17
18
 
18
19
  def self.pid_directory
@@ -1,3 +1,3 @@
1
1
  module DaemonObjects
2
- VERSION = "0.1.7"
2
+ VERSION = "0.1.8"
3
3
  end
@@ -91,7 +91,7 @@ describe DaemonObjects::Base do
91
91
  end
92
92
 
93
93
  bunny = double(Bunny).as_null_object
94
- Bunny.should_receive(:new).with('amqp:%2F%2Flocalhost:4567').and_return(bunny)
94
+ Bunny.should_receive(:new).with('amqp://localhost:4567').and_return(bunny)
95
95
  MyDaemon.run
96
96
  end
97
97
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: daemon_objects
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ version: 0.1.8
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-01-28 00:00:00.000000000 Z
12
+ date: 2014-02-04 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: daemons