lib/propono/components/queue_subscription.rb in propono-2.0.0.rc3 vs lib/propono/components/queue_subscription.rb in propono-2.0.0

- old
+ new

@@ -13,10 +13,10 @@ @aws_client = aws_client @propono_config = propono_config @topic_name = topic_name @suffixed_topic_name = "#{topic_name}#{propono_config.queue_suffix}" @suffixed_slow_topic_name = "#{topic_name}#{propono_config.queue_suffix}-slow" - @queue_name = "#{propono_config.application_name.gsub(" ", "_")}-#{@suffixed_topic_name}" + @queue_name = "#{propono_config.application_name.tr(" ", "_")}-#{@suffixed_topic_name}" end def create raise ProponoError.new("topic_name is nil") unless @topic_name create_and_subscribe_main_queue