From 0e2b7484498cd6d25222aabdfa80fc649f2f3908 Mon Sep 17 00:00:00 2001 From: Oleg Vivtash Date: Tue, 18 Aug 2015 18:41:51 +0300 Subject: [PATCH] Ruby187 hash syntax --- .../rackspace/requests/storage/get_object_https_url.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/fog/rackspace/requests/storage/get_object_https_url.rb b/lib/fog/rackspace/requests/storage/get_object_https_url.rb index a6ad7a568..e7ad6127d 100644 --- a/lib/fog/rackspace/requests/storage/get_object_https_url.rb +++ b/lib/fog/rackspace/requests/storage/get_object_https_url.rb @@ -34,11 +34,11 @@ module Fog sig = sig_to_hex(hmac.sign(string_to_sign)) temp_url_query = { - temp_url_sig: sig, - temp_url_expires: expires + :temp_url_sig => sig, + :temp_url_expires => expires } - temp_url_query.merge!(inline: true) if options[:inline] - temp_url_query.merge!(filename: options[:filename]) if options[:filename] + temp_url_query.merge!(:inline => true) if options[:inline] + temp_url_query.merge!(:filename => options[:filename]) if options[:filename] temp_url_options = { :scheme => options[:scheme] || @uri.scheme, :host => @uri.host,