relaton / relaton-bib

MIT License
3 stars 1 forks source link

Extend hash to biblio mappers through the rest of the relaton stack #7

Closed opoudjis closed 5 years ago

opoudjis commented 5 years ago

This is part of the Relaton YAML refactor.

I have created in relaton-bib the function hash_to_bib(), which maps a pure hash of Ruby primitive types (such as we expect to be expressed through YAML) into the mix of classes and hashes which Relaton requires.

The various *_hash_to_bib routines I have created need to be extended to the rest of the relaton stack, including both relaton-iso-bib, and the bibdata/ext components specific to each relaton flavour gem. rspec will need to be authored to test each addition properly; refer to the rspec added for relaton-bib.