bin/radiosonde in radiosonde-0.0.4 vs bin/radiosonde in radiosonde-0.0.5

- old
+ new

@@ -57,14 +57,14 @@ opt.parse! aws_opts = {} if access_key and secret_key - aws_opts = { + aws_opts.update( :access_key_id => access_key, - :secret_access_key => secret_key, - } + :secret_access_key => secret_key + ) elsif profile_name provider = AWS::Core::CredentialProviders::SharedCredentialFileProvider.new( :profile_name => profile_name ) aws_opts[:credential_provider] = provider @@ -82,13 +82,13 @@ end String.colorize = options[:color] if options[:debug] - AWS.config({ + Aws.config.update( :http_wire_trace => true, - :logger => Radiosonde::Logger.instance, - }) + :logger => Radiosonde::Logger.instance + ) end begin logger = Radiosonde::Logger.instance logger.set_debug(options[:debug])