Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Litestack (https://github.com/oldmoe/litestack) provides a production-optimized wrapper around the SQLite3 gem, and names its adapter "litedb" (i.e.
adapter: litedb
in database.yml).Previously, this project threw an "unsupported adapter: litedb" error, even though litedb is just SQLite3 with some production tweaks.
This adds support for litestack/litedb by registering both names to point to Groupdate::Adapters::SQLiteAdapter.
I looked through the test suite, and didn't see a good place to test this change. If you'd like to add litestack as a test dependency so we can make sure it doesn't throw an error I can add that, but I'll tell you too, I booted this up in a litestack-based app and it works great.