I've updated @titanous fork which implements DataMapper support. I issued a pull request to @titanous, but haven't heard anything back (it's been a while), so I'm offering these changes directly back to you.
On top of the DataMapper support, I switch the default testing DB from MySQL to SQLite so that tests can be run with no external dependencies.
Finally, I moved the ActiveRecord models in the specs into an AR module, for clarity and to ensure no collisions with models from other ORMs (the DataMapper spec models are namespaced in a DM module).
Well, looks like @d11wtq beat me to the punch with notahat/machinist#85, so I'm going to rebase this work on top of his to separate out my 'extra' changes from the DataMapper support.
Hi,
I've updated @titanous fork which implements DataMapper support. I issued a pull request to @titanous, but haven't heard anything back (it's been a while), so I'm offering these changes directly back to you.
On top of the DataMapper support, I switch the default testing DB from MySQL to SQLite so that tests can be run with no external dependencies.
Finally, I moved the ActiveRecord models in the specs into an
AR
module, for clarity and to ensure no collisions with models from other ORMs (the DataMapper spec models are namespaced in aDM
module).Thanks for Machinist!