3d414f3986
We are using two libraries to do the same job. This commit removes the usage of mini_mime in favour of Marcel instead. Changes are as follows: - Replace MiniMime lookup by extension with Marcel Mimetype for lookup with extension - Replaces usage of MiniMime lookup by content type to fetch extension with usage of Marcel Magic lookup. Marcel has multiple extentions being returned, we pick the first one. MiniMime always returns just one - Removes specs which we specifically checking failing identification issue of MiniMine on jpeg images - Removes mini_mime from gemspec |
||
---|---|---|
.. | ||
attached | ||
attachment_test.rb | ||
blob_test.rb | ||
filename_test.rb | ||
presence_validation_test.rb | ||
preview_test.rb | ||
reflection_test.rb | ||
representation_test.rb | ||
strict_loading_test.rb | ||
variant_test.rb | ||
variant_with_record_test.rb |