Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix issue with Postgres adapter check when using a subclassed adapter #42

Merged

Conversation

shaer
Copy link
Contributor

@shaer shaer commented Jan 16, 2020

since instance_of? only returns true if the object is an instance of that exact class, I changed it to kind_of? to support all subclassed apdabters, for example activerecord-postgis-adapter.

@shaer
Copy link
Contributor Author

shaer commented Jan 28, 2020

any thoughts about this?

@derrickreimer
Copy link
Owner

Hey @shaer thanks for this. I would like to have a passing test suite before releasing a new version. I'm a little short on bandwidth at the moment; would you be willing to take a look at what's going on with the test suite?

@shaer
Copy link
Contributor Author

shaer commented Jan 29, 2020

I fixed two issues with travis configuration. (updating ruby version, starting postgresql service), now all the checks have passed.

@derrickreimer
Copy link
Owner

Perfect, thanks!

@derrickreimer derrickreimer merged commit 57408df into derrickreimer:master Jan 29, 2020
@derrickreimer
Copy link
Owner

Version 3.2.0 released

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants