lib/amqp/session.rb in amqp-0.9.5 vs lib/amqp/session.rb in amqp-0.9.6
- old
+ new
@@ -37,15 +37,15 @@
# @group Connecting, reconnecting, disconnecting
def initialize(*args, &block)
super(*args, &block)
- @client_properties = {
+ @client_properties.merge!({
:platform => ::RUBY_DESCRIPTION,
:product => "AMQP gem",
:information => "http://github.com/ruby-amqp/amqp",
:version => AMQP::VERSION
- }
+ })
end # initialize(*args, &block)
# @return [Boolean] true if this AMQP connection is currently open
# @api plugin
def connected?