Skip to content
This repository has been archived by the owner on Mar 26, 2021. It is now read-only.

Externalise source data #3

Merged
merged 17 commits into from
Mar 25, 2021
Merged
Show file tree
Hide file tree
Changes from 6 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@
Gemfile.lock
.bundle
.yardoc
vendor
360 changes: 21 additions & 339 deletions LICENSE

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions lib/mimemagic.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@

require 'stringio'

MimeMagic.parse_database

# Mime type detection
class MimeMagic
attr_reader :type, :mediatype, :subtype
Expand Down
Loading