diff options
author | Austin Ziegler <austin@zieglers.ca> | 2015-04-24 14:17:01 -0400 |
---|---|---|
committer | Austin Ziegler <austin@zieglers.ca> | 2015-04-24 14:17:01 -0400 |
commit | 5ce0e7d3d2bf68efe0214d040f5d4c9b61a6647d (patch) | |
tree | b7543cd168a25803cdce2c24b09670810068701d | |
parent | b8df0fa4a18c7d2dfbda810b6f1729caf784545a (diff) | |
download | mime-types-5ce0e7d3d2bf68efe0214d040f5d4c9b61a6647d.tar.gz |
Fix a bug with importing Apache Mime Types.
-rw-r--r-- | support/apache_mime_types.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/support/apache_mime_types.rb b/support/apache_mime_types.rb index a5d1ba4..1786fa4 100644 --- a/support/apache_mime_types.rb +++ b/support/apache_mime_types.rb @@ -11,6 +11,10 @@ require 'yaml' ENV['RUBY_MIME_TYPES_LAZY_LOAD'] = 'yes' require 'mime/types' +class MIME::Type + public_constant :UNREGISTERED_RE +end + class ApacheMIMETypes DEFAULTS = { url: %q(http://svn.apache.org/repos/asf/httpd/httpd/trunk/docs/conf/mime.types), |