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
CDN support #451
CDN support #451
Conversation
Any problem with the pull/patch? |
My apologies. I haven’t had the time to review it yet. |
@@ -65,6 +72,7 @@ def run | |||
files = files + set | |||
end | |||
keys_to_destroy = files.all.map { |file| file.key } | |||
keys_to_invalidate = Array.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.
Idiomatic Ruby uses []
instead of Array.new
.
Thanks. implemented all suggestions. Let me know if there's anything else. |
Looks good otherwise. Can you squash your six commits together? I’ll merge afterwards. |
That should be it. |
Thanks! |
Implemented support for CDN
if cdn_id is specified, it will invalidate objects on CDN.
Implemented fixes as Fog does not support dry run. Also, basic test is implemented.