lib/alephant/publisher/env.rb in alephant-publisher-queue-2.5.0 vs lib/alephant/publisher/env.rb in alephant-publisher-queue-2.6.0
- old
+ new
@@ -1,12 +1,10 @@
-require "aws-sdk"
+require "aws-sdk-sqs"
require "yaml"
require "alephant/logger"
config_file = "config/aws.yaml"
-AWS.eager_autoload!
-
if File.exist? config_file
config = YAML.load(File.read(config_file))
- AWS.config(config)
+ Aws.config.update(config)
end