Skip to content

Latest commit

 

History

History
37 lines (24 loc) · 722 Bytes

CONTRIBUTING.md

File metadata and controls

37 lines (24 loc) · 722 Bytes

Contributing

Fork the repo:

git clone [email protected]:rgeo/activerecord-postgis-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:

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.