lib/aws/s3/object.rb in isaacfeliu-aws-s3-0.4.0 vs lib/aws/s3/object.rb in isaacfeliu-aws-s3-0.4.1

- old
+ new

@@ -293,9 +293,10 @@ # We're using the second argument for options if bucket.is_a?(Hash) options.replace(bucket) bucket = nil end + self.current_host = bucket_name(bucket) "/#{name}" end private