tipr / bagit

Ruby Library and Command Line tools for BagIt
MIT License
42 stars 32 forks source link

Manifest.write_checksum with checksum_algo: sha512 calls write_sha256 #44

Open ekilfeather opened 3 years ago

ekilfeather commented 3 years ago

The case switch seems incorrect to me?

https://github.com/tipr/bagit/blob/master/lib/bagit/manifest.rb#L52

Happy to do PR if I'm correct.

little9 commented 3 years ago

Yeah that seems wrong. Feel free to submit a PR.