Skip to content

Latest commit

 

History

History
38 lines (25 loc) · 677 Bytes

CONTRIBUTING.md

File metadata and controls

38 lines (25 loc) · 677 Bytes

Contributing

Fork the repo:

git clone [email protected]:rgeo/activerecord-postgis-adapter.git

Set up your test database:

createdb postgis_adapter_test
createuser -s postgres
psql postgis_adapter_test
=# CREATE EXTENSION postgis;

Install dependencies:

bundle install

Make sure the tests pass:

rake

Run tests against both ActiveRecord 4.0 and 4.1 test gemfiles:

run rake appraisal or run the tests manually:

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

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

Make your changes and submit a pull request.