Open arthurnn opened 7 years ago
S3::Object#bucket_request
is delegating to S3::Bucket#bucket_request
which is a private method. This was identified as an unwanted "fixed" bug... as you should not be able to delegate to private methods, but it was decided to throw a warning instead. I believe this will be removed at some point. I'll try to open a PR with a fix for this asap.
thanks @joseairosa
Getting same warning
Still didn't have time to do this, apologies :(
This issue is still present?
Is the aim to remove the warning? Or stop delegation to the private method? Would like to help how I can to close this out this week if possible @joseairosa
@stevebissett definitely still needs to be fixed, I just haven't been able to get around it and do it.
I'll try to do it this upcoming weekend.
I've just released 0.3.26 - let me know if something is still broken.
0.3.26 broke something for us. I didn't investigate and just pinned Gemfile to 0.3.25. I'll try to take a look at what it was next week.
The symptom was that object.content was always 27 bytes compressed when sent over the wire using code like this:
send_data object.content, filename: "somename.jpeg", type: "application/octet-stream"
ruby 2.3.5p376 (2017-09-14 revision 59905) [x86_64-linux-gnu]
rails 3.2.22
Forwardable is used in S3::Object
too, which is causing similar issues on newer Ruby. The S3::Bucket
fix worked nicely, however.
getting the following warning on ruby 2.4.0
that is happening at the
service.buckets.find
method