plexus / yaks

Ruby library for building hypermedia APIs
http://rubygems.org/gems/yaks
MIT License
236 stars 26 forks source link

Update or inline anima? #123

Closed backus closed 7 years ago

backus commented 7 years ago

I'm really interested in using yaks but the project I want to use it on uses anima 0.3. The changes are very straightforward but 0.3 also is limited to ruby 2.1. I'm happy to do the work to update this project and Attribs and I imagine you would prefer one of two options:

  1. Simply update to Anima 0.3 and push a new release of yaks that only supports 2.1 and up. Ruby 1.9 and 2.0 are EOL so I think this is totally reasonable but I realize there is a small chance that you might still want to support these older rubies.

  2. Inline Anima 0.2 or 0.3 into either yaks or attribs to skirt the ruby dependency issues.

Would you be open to a PR making these changes?

plexus commented 7 years ago

Hi John,

Yes, please! Dropping compatibility is fine I think in this case, I rather do that than forcing people to older versions of gems. So, pull request very welcome!

Thanks, Arne