Skip to content

Commit

Permalink
Update repo URLs to luarocks.org instead of rocks.moonscript.org
Browse files Browse the repository at this point in the history
Previously, this used an old URL and downloaded over HTTP, in cleartext. This commit updates to the URL that the old one redirects to, and changes to HTTPS encryption for security. HTTPS is currently impossible on rocks.moonscript.org because the security certificate for that domain expired in May 2015.
  • Loading branch information
jcgoble3 committed Jan 22, 2016
1 parent d725a42 commit 6f52c02
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/testing.bat
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@echo off
Setlocal EnableDelayedExpansion EnableExtensions

if not defined LUAROCKS_REPO set LUAROCKS_REPO=http://rocks.moonscript.org
if not defined LUAROCKS_REPO set LUAROCKS_REPO=https://luarocks.org

appveyor DownloadFile %LUAROCKS_REPO%/stdlib-41.0.0-1.src.rock
luarocks build stdlib
Expand Down
2 changes: 1 addition & 1 deletion test/testing.sh
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ luarocks_admin_nocov="run_lua --nocov luarocks-admin"
mkdir -p "$testing_server"
(
cd "$testing_server"
luarocks_repo="http://rocks.moonscript.org"
luarocks_repo="https://luarocks.org"
get() { [ -e `basename "$1"` ] || wget -c "$1"; }
get "$luarocks_repo/luacov-${verrev_luacov}.src.rock"
get "$luarocks_repo/luacov-${verrev_luacov}.rockspec"
Expand Down

0 comments on commit 6f52c02

Please sign in to comment.