-
Notifications
You must be signed in to change notification settings - Fork 23
Libraries used by Valkyrie
Draper is a decorator library. Draper decorators wrap models in a class to add presentation logic in an encapsulated way.
Valkyrie resources include Draper::Decoratable, which gives them a decorate
method.
These are utility libraries from the dry-rb community. They underlie Valyrie's property typing functionality.
Dry::Types powers Valkyrie's data mapping functionality by defining storage-agnostic types which can be cast to storage-specific types on a per-adapter basis.
Dry::Struct provides the ability to associate types to attributes; it is the superclass for Valkyrie::Resource and Valkyrie::StorageAdapter::File.
Reform underlies Valkyrie's change sets, providing storage-agnostic validations and change tracking.
Ruby-rdf allows Valkyrie to read / write data from / to semantic web backends (e.g. fedora).