Sha256: b12222aaf273a98ad35d8661041728616f40ec331e0b5027695c14fe9232493a

Contents?: true

Size: 1.07 KB

Versions: 14

Compression:

Stored size: 1.07 KB

Contents

#!/bin/bash

set -e

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 run {
	value=$( gem list --local bundler )
	if [[ ! $value =~ "^bundler " ]]; then
		gem install bundler --no-ri --no-rdoc
	fi

	echo 'Running bundle exec rspec spec against activesupport / activerecord 3.2.17'
	HAS_DYNAMIC_COLUMNS_ACTIVERECORD_VERSION=3.2.17 bundle update activerecord
	bundle exec rspec spec

	echo 'Running bundle exec rspec spec against activesupport / activerecord 4.2.0'
	HAS_DYNAMIC_COLUMNS_ACTIVERECORD_VERSION=4.2.0 bundle update activerecord
	bundle exec rspec spec

	echo 'Running bundle exec rspec spec against activesupport / activerecord edge'
	HAS_DYNAMIC_COLUMNS_ACTIVERECORD_VERSION="edge" bundle update activerecord
	bundle exec rspec spec
}

rvm use ruby-2.1.1@has_dynamic_columns --create
run

rvm use ruby-2.0.0@has_dynamic_columns --create
run

rvm use ruby-1.9.3@has_dynamic_columns --create
run

Version data entries

14 entries across 14 versions & 2 rubygems

Version Path
active_record_survey-0.1.9 rspec_rvm
active_record_survey-0.1.8 rspec_rvm
active_record_survey-0.1.7 rspec_rvm
active_record_survey-0.1.6 rspec_rvm
active_record_survey-0.1.5 rspec_rvm
active_record_survey-0.1.4 rspec_rvm
active_record_survey-0.1.3 rspec_rvm
has_dynamic_columns-0.3.10 rspec_rvm
has_dynamic_columns-0.3.9 rspec_rvm
has_dynamic_columns-0.3.8 rspec_rvm
has_dynamic_columns-0.3.6 rspec_rvm
has_dynamic_columns-0.3.5 rspec_rvm
has_dynamic_columns-0.3.3 rspec_rvm
has_dynamic_columns-0.3.2 rspec_rvm