Supported Ruby versions?
jgarber623 opened this issue · 2 comments
jgarber623 commented
Based on some of the conversation in #84…
Which versions of Ruby should we continue supporting?
Some data:
- Ruby 2.2.10 and 2.3.7 are both in security maintenance phase and will EOL soon (according to ruby-lang.org.
- Ruby 2.4.4 and 2.5.1 are listed as stable releases.
- Ruby 2.6.0 is in preview with (I believe) a target release date around the end of December 2018.
Some related questions:
- For folks using microformats-ruby, what versions of Ruby are they using in their relying projects?
- Who, if anyone, would be left behind if we restricted microformats-ruby to more recent Ruby versions (e.g. >2.4)?
- Which version should we develop against? (apart from the versions we test against with Travis CI)
jgarber623 commented
My recommendations would be…
- Update
microformats.gemspec
:spec.required_ruby_version = ['>= 2.4', '< 2.6']
- Develop against Ruby 2.4.4 (update
.ruby-version
to2.4.4
). - Test against 2.4.4 and 2.5.1.
- Bump the gem version to a major version to account for the breaking change in compatibility.
jgarber623 commented