This website works better with JavaScript.
Home
Explore
Help
Sign In
closed-social
/
mastodon
Watch
3
Star
0
Fork
2
Code
Issues
5
Pull Requests
0
Projects
0
Releases
3
Wiki
Activity
Browse Source
Explicitly require MIME::Types (
#4083
)
pull/4/head
Akihiko Odaki (@fn_aki@pawoo.net)
6 years ago
committed by
Eugen Rochko
parent
5e6acf9601
commit
a37cf9548c
3 changed files
with
4 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
Gemfile
+1
-0
Gemfile.lock
+2
-0
app/models/media_attachment.rb
+ 1
- 0
Gemfile
View File
@ -35,6 +35,7 @@ gem 'http_accept_language', '~> 2.1'
gem
'httplog'
,
'~> 0.99'
gem
'kaminari'
,
'~> 1.0'
gem
'link_header'
,
'~> 0.0'
gem
'mime-types'
,
'~> 3.1'
gem
'nokogiri'
,
'~> 1.7'
gem
'oj'
,
'~> 3.0'
gem
'ostatus2'
,
'~> 2.0'
+ 1
- 0
Gemfile.lock
View File
@ -516,6 +516,7 @@ DEPENDENCIES
link_header (~> 0.0)
lograge (~> 0.5)
microformats2 (~> 3.0)
mime-types (~> 3.1)
nokogiri (~> 1.7)
oj (~> 3.0)
ostatus2 (~> 2.0)
+ 2
- 0
app/models/media_attachment.rb
View File
@ -18,6 +18,8 @@
# file_meta :json
#
require
'mime/types'
class
MediaAttachment
<
ApplicationRecord
self
.
inheritance_column
=
nil
Write
Preview
Loading…
Cancel
Save