lib/propono.rb in propono-1.3.0 vs lib/propono.rb in propono-1.4.0
- old
+ new
@@ -3,13 +3,12 @@
# Propono is a pub/sub gem built on top of Amazon Web Services (AWS). It uses Simple Notification Service (SNS) and Simple Queue Service (SQS) to seamlessly pass messages throughout your infrastructure.
require "propono/version"
require 'propono/propono_error'
require 'propono/logger'
require 'propono/configuration'
+require "propono/utils"
-require "propono/helpers/hash"
-
require 'propono/components/aws_config'
require 'propono/components/sns'
require 'propono/components/sqs'
require "propono/components/queue"
require "propono/components/topic"
@@ -43,9 +42,10 @@
# * <tt>:access_key</tt> - The AWS access key
# * <tt>:secret_key</tt> - The AWS secret key
# * <tt>:queue_region</tt> - The AWS region
# * <tt>:application_name</tt> - The name of the application Propono
# is included in.
+ # * <tt>:queue_suffix</tt> - Optional string to append to topic and queue names.
# * <tt>:udp_host</tt> - If using UDP, the host to send to.
# * <tt>:udp_port</tt> - If using UDP, the port to send to.
# * <tt>:logger</tt> - A logger object that responds to puts.
def self.config
@config ||= Configuration.new