lib/amq/client/settings.rb in amq-client-0.9.4 vs lib/amq/client/settings.rb in amq-client-0.9.5
- old
+ new
@@ -43,17 +43,18 @@
:frame_max => 131072,
:heartbeat => 0
}
end
-
+ CLIENT_PROPERTIES = {
+ :platform => ::RUBY_DESCRIPTION,
+ :product => "AMQ Client",
+ :information => "http://github.com/ruby-amqp/amq-client",
+ :version => AMQ::Client::VERSION
+ }
+
def self.client_properties
- @client_properties ||= {
- :platform => ::RUBY_DESCRIPTION,
- :product => "AMQ Client",
- :information => "http://github.com/ruby-amqp/amq-client",
- :version => AMQ::Client::VERSION
- }
+ @client_properties ||= CLIENT_PROPERTIES
end
# Merges given configuration parameters with defaults and returns
# the result.