lib/basquiat/adapters/rabbitmq/configuration.rb in basquiat-1.3.1 vs lib/basquiat/adapters/rabbitmq/configuration.rb in basquiat-1.3.2
- old
+ new
@@ -36,10 +36,10 @@
# @option user_opts [Hash{Symbol=>Object}] :exchange
# @option user_opts [Hash{Symbol=>Object}] :publisher
# @option user_opts [Hash{Symbol=>Object}] :requeue
# @return [Hash] the configuration option hash
def merge_user_options(**user_opts)
- @options.merge!(user_opts)
+ @options.deep_merge(user_opts)
end
# @return [Hash] the connection options
def connection_options
@options[:connection]