Sha256: f25fa144fe8856d89c1bc2a80f951b98336cfc5d6c60f24764654708ae5c016a

Contents?: true

Size: 331 Bytes

Versions: 5

Compression:

Stored size: 331 Bytes

Contents

#!/usr/bin/env bash

PS4='[script/test:${LINENO}] $ '
set -euo pipefail
set -x

cd example

# Reset database:
bin/rake db:drop
dropdb example_test_data 2>/dev/null || true

# Reset files:
git checkout app/models/boop.rb
git checkout config/application.rb
git checkout config/database.yml
git checkout db/schema.rb
git clean -xdf .

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
test_data-0.3.2 script/reset_example_app
test_data-0.3.1 script/reset_example_app
test_data-0.3.0 script/reset_example_app
test_data-0.2.2 script/reset_example_app
test_data-0.2.1 script/reset_example_app