-
Notifications
You must be signed in to change notification settings - Fork 32
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
Extract S3 code to Bucket #217
Conversation
rescue Aws::S3::Errors::NotFound | ||
@rubys3_client.create_bucket(bucket: bucket) | ||
end | ||
Bucket.getClient.create_bucket(bucket) | ||
s3_presigner = Aws::S3::Presigner.new |
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.
Presigning will vary by cloud
} | ||
) | ||
end | ||
|
||
def self.list_files_before_time(bucket, prefix, time) | ||
rubys3_client = Aws::S3::Client.new |
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.
This file should be renamed to bucket_utilities and use Bucket.
Codecov ReportBase: 74.00% // Head: 74.21% // Increases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## master #217 +/- ##
==========================================
+ Coverage 74.00% 74.21% +0.20%
==========================================
Files 414 416 +2
Lines 25669 25667 -2
Branches 562 562
==========================================
+ Hits 18997 19048 +51
+ Misses 6586 6533 -53
Partials 86 86
Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
No description provided.