Skip to content

Commit

Permalink
mime-types 3.0
Browse files Browse the repository at this point in the history
- Require Ruby 2.0 or later. Resolves #97.
- Remove deprecated methods.
- Update known registries when a MIME type extension changes. Resolves #84.
- Relicensed mime-types 3.0 as MIT only. Resolves #95.
- Extracted data from this gem to mime-types-data; removed deprecated data.
- Rewrote tests to better understand what is being tested—some of the tests
  were almost ten years old and didn’t make a lot of sense with this version. I
  have switched to minitest/spec with assertions.
- Columnar data is now the default registry store. Because JSON is not required
  by default, this change resolves #85.
- MIME::Types containers are now implemented with Set instead of Array to
  prevent data duplication. Resolves #79.
  • Loading branch information
halostatue committed Nov 21, 2015
1 parent 5c7f7de commit 026ceea
Show file tree
Hide file tree
Showing 70 changed files with 1,574 additions and 50,166 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,5 @@ pkg
publish
test/cache.tst
tmp/
.rubocop.yml
.byebug_history
8 changes: 4 additions & 4 deletions .hoerc
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,19 @@
exclude: !ruby/regexp '/
\.(tmp|swp)$
|
CVS/
(CVS|tmp)\/
|
(?i:TAGS)
|
\.(svn|git|hg|DS_Store|idea|vagrant)\/
|
Gemfile(?:\.lock)?
|
type-lists\/
|
\.(coveralls|pullreview|travis).yml$
\.(rubocop|coveralls|pullreview|travis).yml$
|
\.gemspec
|
\.byebug_history
|
Vagrantfile
/x'
3 changes: 0 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,7 @@ rvm:
- 2.2.3
- 2.1.6
- 2.0.0
- 1.9.3
- jruby-1.7
- jruby-9.0.0.0.pre2
- jruby-19mode
- jruby-head
- ruby-head
- ruby-head-clang
Expand Down
3 changes: 0 additions & 3 deletions Contributing.rdoc
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,6 @@ in +type-lists/application.yml+.
extensions:
- xml
- xsl
references:
- IANA
- RFC3023
xrefs: !ruby/hash:MIME::Types::Container
rfc:
- rfc3023
Expand Down
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# NOTE: This file is present to keep Travis CI happy. Edits to it will not
# be accepted.

source "https://rubygems.org/"
source 'https://rubygems.org/'
gemspec

# vim: syntax=ruby
Loading

0 comments on commit 026ceea

Please sign in to comment.