From 9f832d26226131f50e514350acacc8e150c2084e Mon Sep 17 00:00:00 2001 From: Akira Matsuda Date: Sun, 26 Dec 2010 01:19:55 +0900 Subject: [PATCH] use https to fetch files from GitHub see: https://github.com/blog/738-sidejack-prevention-phase-2-ssl-everywhere --- railties/Rakefile | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/railties/Rakefile b/railties/Rakefile index 5137bee..1b46954 100755 --- a/railties/Rakefile +++ b/railties/Rakefile @@ -46,8 +46,8 @@ task :generate_guides do end task :update_ujs do - system "curl http://github.com/rails/prototype-ujs/raw/master/src/rails.js > lib/rails/generators/rails/app/templates/public/javascripts/prototype_ujs.js" - system "curl http://github.com/rails/jquery-ujs/raw/master/src/rails.js > lib/rails/generators/rails/app/templates/public/javascripts/jquery_ujs.js" + system "curl https://github.com/rails/prototype-ujs/raw/master/src/rails.js > lib/rails/generators/rails/app/templates/public/javascripts/prototype_ujs.js" + system "curl https://github.com/rails/jquery-ujs/raw/master/src/rails.js > lib/rails/generators/rails/app/templates/public/javascripts/jquery_ujs.js" end # Validate guides ------------------------------------------------------------------------- -- 1.7.3.4