Sha256: d317c65a4e3af31f7b910f93d1da3a97ad19ea1435f2557a2712c11d450d69dc

Contents?: true

Size: 840 Bytes

Versions: 13

Compression:

Stored size: 840 Bytes

Contents

#!/bin/bash

if [[ -s "$HOME/.rvm/scripts/rvm" ]] ; then
  source "$HOME/.rvm/scripts/rvm"
elif [[ -s "/usr/local/rvm/scripts/rvm" ]] ; then
  source "/usr/local/rvm/scripts/rvm"
else
  printf "ERROR: An RVM installation was not found.\n"
fi

function build_version() {
  echo "Bundling for Rails $1..."
  BUNDLE_GEMFILE=gemfiles/Gemfile.rails-$1 bundle install --quiet
  BUNDLE_GEMFILE=gemfiles/Gemfile.rails-$1 bundle exec rake -t spec
}

function build_versions() {
  build_version "3.2.x"
  build_version "3.1.x"
  build_version "3.0.x"
  build_version "2.3.x"
}

function build_with_ruby() {
  rvm use ruby-$1@errplane_gem --create
  build_versions
}

function build() {
  build_with_ruby "1.9.3-p194"
  build_with_ruby "1.9.2-p290"
  build_with_ruby "1.8.7-p357"
}

function clean() {
  rvm gemset empty errplane_gem --force
}

build

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
errplane-0.5.23 spec/suite.sh
errplane-0.5.22 spec/suite.sh
errplane-0.5.21 spec/suite.sh
errplane-0.5.20 spec/suite.sh
errplane-0.5.19 spec/suite.sh
errplane-0.5.17 spec/suite.sh
errplane-0.5.15 spec/suite.sh
errplane-0.5.14 spec/suite.sh
errplane-0.5.13 spec/suite.sh
errplane-0.5.12 spec/suite.sh
errplane-0.5.11 spec/suite.sh
errplane-0.5.10 spec/suite.sh
errplane-0.5.9 spec/suite.sh