Revert "Upgrade mail gem to drop dependency on `mime-types`."

This reverts commit 498cc15aa9.

Noticed a certain amount of extra allocations due to this upgrade,
reverting to confirm if this is the case
This commit is contained in:
Sam 2018-02-16 07:04:22 +11:00
parent 32e8cef0ad
commit e456ae1b6c
7 changed files with 9 additions and 7 deletions

7
.gitattributes vendored
View File

@ -1,14 +1,11 @@
# Set default behaviour, in case users don't have core.autocrlf set.
* text=auto
# Treat email fixtures as binary files so CRLF are not converted to LF.
*.eml binary
# Explicitly declare text files we want to always be normalized and converted
# Explicitly declare text files we want to always be normalized and converted
# to native line endings on checkout.
*.yml text
# Custom for Visual Studio, very unlikely, but lets keep it
# Custom for Visual Studio, very unlikely, but lets keep it
*.cs diff=csharp
*.sln merge=union
*.csproj merge=union

View File

@ -26,6 +26,7 @@ else
end
gem 'mail'
gem 'mime-types', require: 'mime/types/columnar'
gem 'mini_mime'
gem 'mini_suffix'

View File

@ -162,13 +162,16 @@ GEM
crass (~> 1.0.2)
nokogiri (>= 1.5.9)
lru_redux (1.1.0)
mail (2.7.0)
mini_mime (>= 0.1.1)
mail (2.6.6)
mime-types (>= 1.16, < 4)
memory_profiler (0.9.10)
message_bus (2.1.2)
rack (>= 1.1.3)
metaclass (0.0.4)
method_source (0.8.2)
mime-types (3.1)
mime-types-data (~> 3.2015)
mime-types-data (3.2016.0521)
mini_mime (0.1.3)
mini_portile2 (2.3.0)
mini_racer (0.1.15)
@ -439,6 +442,7 @@ DEPENDENCIES
mail
memory_profiler
message_bus
mime-types
mini_mime
mini_racer
mini_suffix

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.