Sha256: 3fe26639cb0b8435398ea5e78d4bd7d58dfb1dc329d4f4f17a39a9c6207d750a

Contents?: true

Size: 828 Bytes

Versions: 60

Compression:

Stored size: 828 Bytes

Contents

#!/bin/bash

VER=1.15.pre
DBCFG=../database.yml.local
SEEDSQL=../mdummy_test.sql
cd wagn/
gem build wagn.gemspec
mv *.gem ../card/
cd ../decko-rails
gem build decko.gemspec
mv *.gem ../card/
cd ../card
gem build card.gemspec
gem install *-${VER}.gem
cd ../test_work
rbenv which wagn
echo Generate a wagn app
wagn new test_wagn_app -c --gem-path='../../'
cd test_wagn_app
# load seed db (customize to your database.yml)
echo "Load seed db (enter the pw)"
mysql -u decko_user -p mdummy_test < ${SEEDSQL}
# copy db config (populate .local with you user/pw)
cp ${DBCFG} config/database.yml
echo "migrating"
#RAILS_ENV=test bundle exec rake db:migrate --trace
RAILS_ENV=test bundle exec rake wagn:migrate --trace
#RAILS_ENV=development bundle exec rake db:migrate --trace
#RAILS_ENV=development bundle exec rake wagn:migrate --trace

Version data entries

60 entries across 60 versions & 2 rubygems

Version Path
wagn-1.19.1 test/script/run_mig.sh
wagn-1.19.0 test/script/run_mig.sh
wagn-1.18.6 test/script/run_mig.sh
wagn-1.18.5 test/script/run_mig.sh
wagn-1.18.4 test/script/run_mig.sh
wagn-1.18.3 test/script/run_mig.sh
wagn-1.18.2 test/script/run_mig.sh
wagn-1.18.1 test/script/run_mig.sh
wagn-1.18.0 test/script/run_mig.sh
wagn-1.17.4 test/script/run_mig.sh
wagn-1.17.3 test/script/run_mig.sh
wagn-1.17.2 test/script/run_mig.sh
wagn-1.17.1 test/script/run_mig.sh
wagn-1.17.0 test/script/run_mig.sh
wagn-1.16.15 test/script/run_mig.sh
wagn-1.16.14 test/script/run_mig.sh
wagn-1.16.13 test/script/run_mig.sh
wagn-1.16.12 test/script/run_mig.sh
wagn-1.16.11 test/script/run_mig.sh
wagn-1.16.10 test/script/run_mig.sh