Loading bin/rbenv-install +1 −1 Original line number Diff line number Diff line Loading @@ -19,7 +19,7 @@ # # For detailed information on installing Ruby versions with # ruby-build, including a list of environment variables for adjusting # compilation, see: https://github.com/sstephenson/ruby-build#usage # compilation, see: https://github.com/rbenv/ruby-build#usage # set -e [ -n "$RBENV_DEBUG" ] && set -x Loading test/version.bats +2 −2 Original line number Diff line number Diff line Loading @@ -14,7 +14,7 @@ static_version="$(grep VERSION "$bats_bin" | head -1 | cut -d'"' -f 2)" @test "ruby-build git version" { stub git \ 'remote -v : echo origin https://github.com/sstephenson/ruby-build.git' \ 'remote -v : echo origin https://github.com/rbenv/ruby-build.git' \ "describe --tags HEAD : echo v1984-12-gSHA" run ruby-build --version assert_success "ruby-build 1984-12-gSHA" Loading @@ -23,7 +23,7 @@ static_version="$(grep VERSION "$bats_bin" | head -1 | cut -d'"' -f 2)" @test "git describe fails" { stub git \ 'remote -v : echo origin https://github.com/sstephenson/ruby-build.git' \ 'remote -v : echo origin https://github.com/rbenv/ruby-build.git' \ "describe --tags HEAD : echo ASPLODE >&2; exit 1" run ruby-build --version assert_success "ruby-build ${static_version}" Loading Loading
bin/rbenv-install +1 −1 Original line number Diff line number Diff line Loading @@ -19,7 +19,7 @@ # # For detailed information on installing Ruby versions with # ruby-build, including a list of environment variables for adjusting # compilation, see: https://github.com/sstephenson/ruby-build#usage # compilation, see: https://github.com/rbenv/ruby-build#usage # set -e [ -n "$RBENV_DEBUG" ] && set -x Loading
test/version.bats +2 −2 Original line number Diff line number Diff line Loading @@ -14,7 +14,7 @@ static_version="$(grep VERSION "$bats_bin" | head -1 | cut -d'"' -f 2)" @test "ruby-build git version" { stub git \ 'remote -v : echo origin https://github.com/sstephenson/ruby-build.git' \ 'remote -v : echo origin https://github.com/rbenv/ruby-build.git' \ "describe --tags HEAD : echo v1984-12-gSHA" run ruby-build --version assert_success "ruby-build 1984-12-gSHA" Loading @@ -23,7 +23,7 @@ static_version="$(grep VERSION "$bats_bin" | head -1 | cut -d'"' -f 2)" @test "git describe fails" { stub git \ 'remote -v : echo origin https://github.com/sstephenson/ruby-build.git' \ 'remote -v : echo origin https://github.com/rbenv/ruby-build.git' \ "describe --tags HEAD : echo ASPLODE >&2; exit 1" run ruby-build --version assert_success "ruby-build ${static_version}" Loading