Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Use the latest mime-types (2.5, just released) #425

Closed
halostatue opened this issue Apr 26, 2015 · 5 comments
Closed

Use the latest mime-types (2.5, just released) #425

halostatue opened this issue Apr 26, 2015 · 5 comments

Comments

@halostatue
Copy link

There have been a lot of mime-types added since 1.25.1, and there will be no updates at all to 1.x after October 27th, 2015. I also expect to release 3.0 later this year (absolutely no later than November 15th).

Because sup requires Ruby 2.0 or higher, you have no incompatibilities, and the mail gem is already using mime-types 2.x (and I expect to release another version soon that will enable lazy loading to reduce the memory usage by default).

@gauteh
Copy link
Member

gauteh commented Apr 26, 2015

Duplicate in #182.

Has the API changed? Note that we are still using RMail (although there is a stale branch which changes sup over to the mail gem)

@halostatue
Copy link
Author

I can check against RMail (which may be your larger limiting factor), but 2.x does not remove features from the API, except 1.8 support. It does mark a number of interfaces as deprecated that will be removed for 3.x.

@gauteh
Copy link
Member

gauteh commented Apr 26, 2015

Ok, thanks. There is some effort in #127 to get changed over to mail.

On Sun, Apr 26, 2015 at 3:02 PM, Austin Ziegler [email protected]
wrote:

I can check against RMail (which may be your larger limiting factor), but
2.x does not remove features from the API, except 1.8 support. It does mark
a number of interfaces as deprecated that will be removed for 3.x.


Reply to this email directly or view it on GitHub
#425 (comment).

@halostatue
Copy link
Author

I have scanned both rmail (no mime-types dependency) and sup. You should be able to switch your dependency to '~> 2.0' with no problems whatsoever, and when 3.0 comes out, the interfaces you are using should still be good. The only thing you need to be aware of (for the 3.x line) is that I am going to be working on some behind-the-scene changes that will make certain lookups more reliably return registered types.

@halostatue halostatue changed the title Use the latest mime-types (2.5, just release last night) Use the latest mime-types (2.5, just released) Apr 26, 2015
gauteh added a commit to gauteh/sup that referenced this issue Apr 28, 2015
@gauteh
Copy link
Member

gauteh commented May 22, 2015

Fixed.

@gauteh gauteh closed this as completed May 22, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants