1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

Merge pull request #393 from masterkain/master

Fix for #388
This commit is contained in:
Wesley Beary 2011-07-06 10:27:11 -07:00
commit 17866d025c

View file

@ -18,7 +18,7 @@ module Fog
# http://docs.amazonwebservices.com/AmazonS3/latest/dev/S3_QSAuth.html
def get_object_url(bucket_name, object_name, expires)
Formatador.display_line("[yellow][WARN] Fog::Storage::AWS => ##{get_object_url} is deprecated, use ##{get_object_https_url} instead[/] [light_black](#{caller.first})[/]")
Formatador.display_line("[yellow][WARN] Fog::Storage::AWS => #get_object_url is deprecated, use #get_object_https_url instead[/] [light_black](#{caller.first})[/]")
get_object_https_url(bucket_name, object_name, expires)
end
@ -27,7 +27,7 @@ module Fog
class Mock # :nodoc:all
def get_object_url(bucket_name, object_name, expires)
Formatador.display_line("[yellow][WARN] Fog::Storage::AWS => ##{get_object_url} is deprecated, use ##{get_object_https_url} instead[/] [light_black](#{caller.first})[/]")
Formatador.display_line("[yellow][WARN] Fog::Storage::AWS => #get_object_url is deprecated, use #get_object_https_url instead[/] [light_black](#{caller.first})[/]")
get_object_https_url(bucket_name, object_name, expires)
end