projecthydra/rubydora — pull request #62 by dchandekstark (2014-01-31 23:10:06+00:00)
Title: Refactored file content type discernment from add_datastream and modify_...

...datastream into private method.

Added better support for Rails uploaded files by calling :content_type on file if available.
Added constant for default content type.
Removed Ruby 1.8.7 workaround.
Added tests!
Fixes #61.