rails/activestorage/test/models
Vipul A M 3d414f3986 Remove mini_mime usage in favour of marcel
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
2023-03-27 23:24:43 +05:30
..
attached Remove deprecated purge and purge_later methods from the attachments association 2023-03-03 00:38:43 +00:00
attachment_test.rb Enable Style/ExplicitBlockArgument cop 2021-09-05 17:06:19 +02:00
blob_test.rb Remove deprecated invalid default content types in Active Storage configurations 2023-03-03 00:38:40 +00:00
filename_test.rb Enable Performance/UnfreezeString cop 2018-09-23 08:56:55 +09:00
presence_validation_test.rb Store newly-uploaded files on save rather than assignment 2018-07-07 23:25:33 -04:00
preview_test.rb Make vips the default variant processor for new apps 2021-07-14 14:26:43 -03:00
reflection_test.rb Extend audio_tag and video_tag to accept Active Storage attachments. 2022-03-14 02:05:37 -03:00
representation_test.rb Make vips the default variant processor for new apps 2021-07-14 14:26:43 -03:00
strict_loading_test.rb Add strict loading for active storage 2020-11-16 22:09:15 +08:00
variant_test.rb Remove mini_mime usage in favour of marcel 2023-03-27 23:24:43 +05:30
variant_with_record_test.rb Allow destroying active storage variant 2023-02-08 18:36:45 +09:00