Sha256: 8f225c52f2b0f2befa1c29cd781c35837317ae94e17477e6b6c03c3758c74e95

Contents?: true

Size: 1.07 KB

Versions: 38

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'
	ACTIVE_RECORD_SURVEY_ACTIVERECORD_VERSION=3.2.17 bundle update activerecord
	bundle exec rspec spec

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

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

rvm use ruby-2.1.1@active_record_survey --create
run

rvm use ruby-2.0.0@active_record_survey --create
run

rvm use ruby-1.9.3@active_record_survey --create
run

Version data entries

38 entries across 38 versions & 1 rubygems

Version Path
active_record_survey-0.1.49 rspec_rvm
active_record_survey-0.1.48 rspec_rvm
active_record_survey-0.1.47 rspec_rvm
active_record_survey-0.1.46 rspec_rvm
active_record_survey-0.1.45 rspec_rvm
active_record_survey-0.1.44 rspec_rvm
active_record_survey-0.1.43 rspec_rvm
active_record_survey-0.1.42 rspec_rvm
active_record_survey-0.1.41 rspec_rvm
active_record_survey-0.1.40 rspec_rvm
active_record_survey-0.1.39 rspec_rvm
active_record_survey-0.1.38 rspec_rvm
active_record_survey-0.1.37 rspec_rvm
active_record_survey-0.1.36 rspec_rvm
active_record_survey-0.1.35 rspec_rvm
active_record_survey-0.1.34 rspec_rvm
active_record_survey-0.1.32 rspec_rvm
active_record_survey-0.1.31 rspec_rvm
active_record_survey-0.1.30 rspec_rvm
active_record_survey-0.1.29 rspec_rvm