-
Notifications
You must be signed in to change notification settings - Fork 145
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix broken calls to get_object_http_url #412
Conversation
@@ -6,12 +6,11 @@ def get_object_http_url(bucket_name, object_name, expires, options = {}) | |||
raise ArgumentError.new("bucket_name is required") unless bucket_name | |||
raise ArgumentError.new("object_name is required") unless object_name | |||
|
|||
https_url(options.merge(:headers => {}, | |||
http_url(options.merge(:headers => {}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Layout/SpaceAroundOperators: Operator => should be surrounded by a single space.
Also makes the option parameter in get_object_https_url optional.
f0975ed
to
154bf89
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Makes sense to me. cc @Temikus wanna merge since you reviewed the first change to this?
Relates to carrierwaveuploader/carrierwave#2332 |
That is my mistake, should've noticed it during #409 - I'll pull this in when tests pass and roll a new release out. |
Codecov Report
@@ Coverage Diff @@
## master #412 +/- ##
=======================================
Coverage 84.11% 84.11%
=======================================
Files 339 339
Lines 5771 5771
=======================================
Hits 4854 4854
Misses 917 917 Continue to review full report at Codecov.
|
Also makes the option parameter in get_object_https_url optional.