Sha256: c15d527da41ecfbca3029044c5268013ad4af75f37127a0f86f674889eff8cd0

Contents?: true

Size: 343 Bytes

Versions: 16

Compression:

Stored size: 343 Bytes

Contents

#!/bin/bash

set -e
trap 'rm .ruby-version' 0

VERSIONS=(
  2.0.0
  2.1.6
  2.2.2
)

function test_with() {
  version=$1
  rbenv local $version
  if ! bundle check > /dev/null; then
    bundle install
  fi
  ruby -v
  rake spec
}

for version in ${VERSIONS[@]}; do
  test_with $version
done

rbenv local ${VERSIONS[2]}
ruby -v
rake rails:spec

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
hamlit-1.7.2 test
hamlit-1.7.1 test
hamlit-1.7.0 test
hamlit-1.6.7 test
hamlit-1.6.6 test
hamlit-1.6.5 test
hamlit-1.6.4 test
hamlit-1.6.3 test
hamlit-1.6.2 test
hamlit-1.6.1 test
hamlit-1.6.0 test
hamlit-1.5.9 test
hamlit-1.5.8 test
hamlit-1.5.7 test
hamlit-1.5.6 test
hamlit-1.5.5 test