Patch #29383

Update mini_mime gem (~> 1.0.1)

Added by Pavel Rosický 9 months ago. Updated 9 months ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:Code cleanup/refactoring
Target version:-

Description

mini_mime 1.0.1 was released

as discussed in #29359, now we can use lookup_by_extension directly

MiniMime.lookup_by_filename("x.#{ext}").try(:content_type)
MiniMime.lookup_by_extension(ext).try(:content_type)

minimime101.patch Magnifier (928 Bytes) Pavel Rosický, 2018-08-14 10:58


Related issues

Related to Redmine - Patch #29359: Switch to mini_mime from mime-types Closed

History

#1 Updated by Go MAEDA 9 months ago

Pavel Rosický wrote:

mini_mime 1.0.1 was released

as discussed in #29359, now we can use lookup_by_extension directly
[...][...]

Great! I will reopen #29359 and attach a new patch.

#2 Updated by Go MAEDA 9 months ago

  • Related to Patch #29359: Switch to mini_mime from mime-types added

#3 Updated by Go MAEDA 9 months ago

  • Category set to Code cleanup/refactoring

#4 Updated by Go MAEDA 9 months ago

  • Status changed from New to Closed

mini_mime has been updated to 1.0.1 in r17473.

Also available in: Atom PDF