aws/aws-sdk-ruby — pull request #202 by cwholt (2013-03-19 17:05:43+00:00)
Title: bucket.objects[object].exists? should rescue Errors::Forbidden on non-existent object.

bucket.objects[object].exists? should rescue Errors::Forbidden on non-existent object and result in false.

fixes #201

> bucket.objects["test.js"].exists?
=> true
> bucket.objects["test.js-nonexistent"].exists?
AWS::S3::Errors::Forbidden: AWS::S3::Errors::Forbidden