Project

General

Profile

Actions

Patch #29383

closed

Update mini_mime gem (~> 1.0.1)

Patch #29383: Update mini_mime gem (~> 1.0.1)

Added by Pavel Rosický over 8 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
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)


Files

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

Related issues 1 (0 open — 1 closed)

Related to Redmine - Patch #29359: Switch to mini_mime from mime-typesClosedGo MAEDAActions

Updated by Go MAEDA over 8 years ago Actions #1

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.

Updated by Go MAEDA over 8 years ago Actions #2

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

Updated by Go MAEDA over 8 years ago Actions #3

  • Category set to Code cleanup/refactoring

Updated by Go MAEDA over 8 years ago Actions #4

  • Status changed from New to Closed

mini_mime has been updated to 1.0.1 in r17473.

Actions

Also available in: PDF Atom