microformats/microformats-ruby

Supported Ruby versions?

jgarber623 opened this issue · 2 comments

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)

My recommendations would be…

  1. Update microformats.gemspec:
    spec.required_ruby_version = ['>= 2.4', '< 2.6']
  2. Develop against Ruby 2.4.4 (update .ruby-version to 2.4.4).
  3. Test against 2.4.4 and 2.5.1.
  4. Bump the gem version to a major version to account for the breaking change in compatibility.

Closing this one as it's resolved by 1ab3b4a (and in #84).