Skip to content

Commit

Permalink
Update RUBY_BUILD_MIRROR_URL to use https://
Browse files Browse the repository at this point in the history
  • Loading branch information
reedloden authored and mislav committed Jul 20, 2015
1 parent 3cee1b9 commit a902621
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/cache.bats
Expand Up @@ -59,7 +59,7 @@ setup() {

stub shasum true "echo invalid" "echo $checksum"
stub curl "-*I* : true" \
"-q -o * -*S* http://?*/$checksum : cp $FIXTURE_ROOT/package-1.0.0.tar.gz \$3"
"-q -o * -*S* https://?*/$checksum : cp $FIXTURE_ROOT/package-1.0.0.tar.gz \$3"

touch "${RUBY_BUILD_CACHE_PATH}/package-1.0.0.tar.gz"

Expand Down
2 changes: 1 addition & 1 deletion test/mirror.bats
Expand Up @@ -92,7 +92,7 @@ export RUBY_BUILD_MIRROR_URL=http://mirror.example.com

stub shasum true "echo $checksum"
stub curl "-*I* : true" \
"-q -o * -*S* http://?*/$checksum : cp $FIXTURE_ROOT/package-1.0.0.tar.gz \$3" \
"-q -o * -*S* https://?*/$checksum : cp $FIXTURE_ROOT/package-1.0.0.tar.gz \$3" \

install_fixture definitions/with-checksum
[ "$status" -eq 0 ]
Expand Down

0 comments on commit a902621

Please sign in to comment.