mirror of
https://github.com/discourse/discourse.git
synced 2025-03-09 14:34:35 +00:00
Revert "Upgrade mail gem to drop dependency on mime-types
."
This reverts commit 498cc15aa988fa8a37c98bbcdacf593a86bee087. Noticed a certain amount of extra allocations due to this upgrade, reverting to confirm if this is the case
This commit is contained in:
parent
32e8cef0ad
commit
e456ae1b6c
7
.gitattributes
vendored
7
.gitattributes
vendored
@ -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
|
||||
|
1
Gemfile
1
Gemfile
@ -26,6 +26,7 @@ else
|
||||
end
|
||||
|
||||
gem 'mail'
|
||||
gem 'mime-types', require: 'mime/types/columnar'
|
||||
gem 'mini_mime'
|
||||
gem 'mini_suffix'
|
||||
|
||||
|
@ -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
|
||||
|
BIN
spec/fixtures/emails/encoded_display_name.eml
vendored
BIN
spec/fixtures/emails/encoded_display_name.eml
vendored
Binary file not shown.
BIN
spec/fixtures/emails/forwarded_email_3.eml
vendored
BIN
spec/fixtures/emails/forwarded_email_3.eml
vendored
Binary file not shown.
BIN
spec/fixtures/emails/inline_image.eml
vendored
BIN
spec/fixtures/emails/inline_image.eml
vendored
Binary file not shown.
BIN
spec/fixtures/emails/reply_with_8bit_encoding.eml
vendored
BIN
spec/fixtures/emails/reply_with_8bit_encoding.eml
vendored
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user