• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

aws / aws-sdk-ruby / 1944
92%
master: 97%

Build:
Build:
LAST BUILD BRANCH: v2.11.632
DEFAULT BRANCH: master
Ran 18 Apr 2016 10:59PM UTC
Jobs 12
Files 283
Run time 6min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
1944

push

travis-ci

trevorrowe
Fix for Aws::S3::Bucket#exists?

Fixed the following issue:

  s3 = Aws::S3::Resource.new(region: 'us-west-1')

  s3.bucket('us-west-2-bucket-you-dont-own').exists?
  #=> raises Aws::S3::Errors::BadRequest

If the bucket exists, but you are configured for the incorrect region,
the SDK fails to extract the actual bucket region from the 400 response.
This is due to the fact that HEAD reponses do not have a body.

Added a check for the "x-amz-bucket-region" header before checking the
body. This the SDK to determine the proper signing region for the
request.

This change currently lacks tests.

See #1161

10 of 10 new or added lines in 1 file covered. (100.0%)

7668 of 8327 relevant lines covered (92.09%)

7602.54 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
100.0
aws-sdk-core/lib/aws-sdk-core/plugins/s3_request_signer.rb
Jobs
ID Job ID Ran Files Coverage
1 1944.1 (1.9.3, PURE_RUBY=1) 18 Apr 2016 11:00PM UTC 0
91.31
Travis Job 1944.1
2 1944.2 (1.9.3, KITCHEN_SINK=1) 18 Apr 2016 11:01PM UTC 0
91.96
Travis Job 1944.2
3 1944.3 (2.0.0, PURE_RUBY=1) 18 Apr 2016 11:00PM UTC 0
89.29
Travis Job 1944.3
4 1944.4 (2.0.0, KITCHEN_SINK=1) 18 Apr 2016 11:01PM UTC 0
92.0
Travis Job 1944.4
5 1944.5 (2.1, PURE_RUBY=1) 18 Apr 2016 10:59PM UTC 0
91.34
Travis Job 1944.5
6 1944.6 (2.1, KITCHEN_SINK=1) 18 Apr 2016 11:02PM UTC 0
92.0
Travis Job 1944.6
7 1944.7 (2.2, PURE_RUBY=1) 18 Apr 2016 11:01PM UTC 0
91.34
Travis Job 1944.7
8 1944.8 (2.2, KITCHEN_SINK=1) 18 Apr 2016 11:02PM UTC 0
92.0
Travis Job 1944.8
9 1944.9 (2.3.0, PURE_RUBY=1) 18 Apr 2016 11:03PM UTC 0
91.34
Travis Job 1944.9
10 1944.10 (2.3.0, KITCHEN_SINK=1) 18 Apr 2016 11:04PM UTC 0
92.0
Travis Job 1944.10
11 1944.11 (jruby, PURE_RUBY=1) 18 Apr 2016 11:03PM UTC 0
90.37
Travis Job 1944.11
12 1944.12 (2.3.0, OLD_OJ=1) 18 Apr 2016 11:05PM UTC 0
92.0
Travis Job 1944.12
Source Files on build 1944
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1944
  • c3a61b63 on github
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc