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.
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.