ActiveTriples / linked-data-fragments

Basic linked data fragments endpoint.
Creative Commons Zero v1.0 Universal
15 stars 0 forks source link

Refactor Models for Independence from the Rails App #41

Closed no-reply closed 7 years ago

no-reply commented 7 years ago

Migrates models and their associated builders from app to lib. This makes it possible to require and work with the models, independent from any dependency on rails.

Documentation and tests are added, where they were lacking in the app versions.

The commits are structured to keep the refactor under green. I'm happy to squash them into larger chunks, if that's best.

Setting is aliased to the newer LinkedDataFragments::Settings, due to the stubbing described in #38. If that ticket is resolved, we can deprecate the alias.

This is a follow-up to the work in #38.