Skip to content

Latest commit

 

History

History
34 lines (22 loc) · 622 Bytes

CONTRIBUTING.md

File metadata and controls

34 lines (22 loc) · 622 Bytes

Contributing

Fork the repo:

git clone git@github.com:stadia/activerecord-mysql2rgeo-adapter.git

Set up your test database:

createuser -s postgres
psql -U postgres -c "create database postgis_adapter_test"
psql -U postgres -d postgis_adapter_test -c "create extension postgis"

Install dependencies:

bundle install

Make sure the tests pass:

bundle exec rake

Run tests against the test gemfiles:

run rake appraisal or run the tests manually:

BUNDLE_GEMFILE=./gemfiles/ar51.gemfile bundle
BUNDLE_GEMFILE=./gemfiles/ar51.gemfile rake

Make your changes and submit a pull request.