Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Allow MIME::Types#type_for to search for multiple results #42

Closed
halostatue opened this issue Oct 16, 2013 · 0 comments
Closed

Allow MIME::Types#type_for to search for multiple results #42

halostatue opened this issue Oct 16, 2013 · 0 comments
Assignees
Labels
Milestone

Comments

@halostatue
Copy link
Member

Given an array input to #type_for, it should return the union of all of the MIME types that match the provided list.

>>> MIME::Types.type_for(%w(ogg ogx))
=> [application/ogg, audio/ogg, video/ogg]
@ghost ghost assigned halostatue Oct 16, 2013
halostatue added a commit that referenced this issue Oct 20, 2013
A substantial upgrade to the mime-types library. Major features:

- No longer compatible with Ruby 1.8.
- Several major API changes and deprecations.
- The default mime-types registry is now stored as JSON.
- Improved developer tools.
- Improved repackager tools.
- Fixes #28.
- Fixes #36.
- Fixes #37.
- Fixes #42.
- Fixes #43.
- Fixes #44.
halostatue added a commit that referenced this issue Oct 20, 2013
A substantial upgrade to the mime-types library. Major features:

- No longer compatible with Ruby 1.8.
- Several major API changes and deprecations.
- The default mime-types registry is now stored as JSON.
- Improved developer tools.
- Improved repackager tools.
- Fixes #28.
- Fixes #36.
- Fixes #37.
- Fixes #42.
- Fixes #43.
- Fixes #44.
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant