Skip to content
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

AO3-5192: Add sites to https list, rescue to after task #3099

Merged
merged 1 commit into from Oct 4, 2017

Conversation

elzj
Copy link
Contributor

@elzj elzj commented Oct 4, 2017

Issue

https://otwarchive.atlassian.net/browse/AO3-5192

Purpose

Expand https list

Testing

See issue

@@ -568,9 +568,16 @@ namespace :After do
desc "Enforce HTTPS where available for embedded media"
task(enforce_https: :environment) do
Chapter.find_each do |chapter|
if chapter.id % 1000 == 0

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use (chapter.id % 1000).zero? instead of chapter.id % 1000 == 0.

@elzj elzj added Awaiting Review Priority: High - Broken on Test Merge immediately after approval labels Oct 4, 2017
@elzj elzj requested review from sarken and zz9pzza October 4, 2017 18:03
@zz9pzza zz9pzza merged commit fc42034 into otwcode:master Oct 4, 2017
@elzj elzj deleted the AO3-5192-https-embeds2 branch August 14, 2018 16:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants