aboutsummaryrefslogtreecommitdiffstats
path: root/railties/Rakefile
diff options
context:
space:
mode:
authorAkira Matsuda <ronnie@dio.jp>2010-12-26 01:19:55 +0900
committerSantiago Pastorino <santiago@wyeworks.com>2010-12-26 08:20:36 -0200
commita329e7d9afb24e3be8146fe0303ee6a6cac14efc (patch)
treefe6bd976ff8d8e0293af48e3bf649fc5f73ee82c /railties/Rakefile
parentd767252d72063af053fdf1391461704a1a5e1f4a (diff)
downloadrails-a329e7d9afb24e3be8146fe0303ee6a6cac14efc.tar.gz
rails-a329e7d9afb24e3be8146fe0303ee6a6cac14efc.tar.bz2
rails-a329e7d9afb24e3be8146fe0303ee6a6cac14efc.zip
use https to fetch files from GitHub
see: https://github.com/blog/738-sidejack-prevention-phase-2-ssl-everywhere [#6223 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
Diffstat (limited to 'railties/Rakefile')
-rwxr-xr-xrailties/Rakefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/Rakefile b/railties/Rakefile
index 5137bee761..1b469543cc 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 -------------------------------------------------------------------------