Updates the adapter code to work with the changes made to Trilogy's error classes (see above PR).
The diff is pretty minimal -- we change DatabaseError to ProtocolError in a couple of spots, and the base Trilogy::Error is now Trilogy::BaseError.
Curious about the release process -- do we make the changes to the Trilogy Ruby bindings, release a new version X, and then merge these changes in a new version of activerecord-trilogy-adapter that specifies X as the minimum required version for trilogy?
Related to: https://github.com/github/trilogy/pull/15
Updates the adapter code to work with the changes made to Trilogy's error classes (see above PR). The diff is pretty minimal -- we change
DatabaseError
toProtocolError
in a couple of spots, and the baseTrilogy::Error
is nowTrilogy::BaseError
.Curious about the release process -- do we make the changes to the Trilogy Ruby bindings, release a new version X, and then merge these changes in a new version of
activerecord-trilogy-adapter
that specifies X as the minimum required version fortrilogy
?cc @composerinteralia @casperisfine