From bc69e8970eda21986ac7e314fe0f68e0290bddd7 Mon Sep 17 00:00:00 2001 From: Jim Myhrberg Date: Tue, 22 Feb 2011 12:04:44 +0000 Subject: [PATCH 1/2] Version bump to 0.0.3 --- lib/amqp/failover/version.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/amqp/failover/version.rb b/lib/amqp/failover/version.rb index 4085153..24cac5f 100644 --- a/lib/amqp/failover/version.rb +++ b/lib/amqp/failover/version.rb @@ -2,6 +2,6 @@ module AMQP class Failover - VERSION = "0.0.2" + VERSION = "0.0.3" end end From 18c89b1e0fc0b927cea7829afa561ea126688c6a Mon Sep 17 00:00:00 2001 From: Jim Myhrberg Date: Tue, 22 Feb 2011 12:05:26 +0000 Subject: [PATCH 2/2] fixed an issue with loading configs --- lib/amqp/failover/config.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/amqp/failover/config.rb b/lib/amqp/failover/config.rb index c8a5fb3..1b63c92 100644 --- a/lib/amqp/failover/config.rb +++ b/lib/amqp/failover/config.rb @@ -7,7 +7,7 @@ module AMQP attr_accessor :last_fail def initialize(hash = {}, last_fail_date = nil) - self.replace(symbolize_keys(defaults.merge(hash))) + self.replace(defaults.merge(symbolize_keys(hash))) self.last_fail = last_fail_date if last_fail_date end