Rack: Required Ruby >= 2.2.2?

Created on 29 Jul 2016  路  4Comments  路  Source: rack/rack

Rack 2.x seems to force Ruby >= 2.2.2 in the gemspec, but tests seem to pass under Ruby 2.1.x: https://travis-ci.org/lsegal/rack/jobs/148182677

Is there a reason for enforcing a minimum Ruby version requirement _for this library_? The related gemspec commits offer no explanation of why the requirement was added, and why it is so strict. This is extremely cumbersome when dealing with Ruby 2.1 apps that have large dependency graphs (eventually, one of them explicitly asks for Rack 2.x).

Most helpful comment

Is there a reason for enforcing a minimum Ruby version requirement for this library?

2.1 has ended normal maintenance, so I don't really want to support it. Since major releases of Rack are very few and far between, it gives us a good chance to trim dependencies. Given the previous maintainers burn out, it seems better for project longevity.

All 4 comments

@lsegal it's due to Rails 5

@deepj can you elaborate on this? Rack does not depend on Rails, and Rails itself already has its own minimum Ruby version specification.

@lsegal The best answer can give you @tenderlove. I might be wrong here. But I guess it's due to what I said.

Is there a reason for enforcing a minimum Ruby version requirement for this library?

2.1 has ended normal maintenance, so I don't really want to support it. Since major releases of Rack are very few and far between, it gives us a good chance to trim dependencies. Given the previous maintainers burn out, it seems better for project longevity.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

olegantonyan picture olegantonyan  路  15Comments

mensfeld picture mensfeld  路  6Comments

mwpastore picture mwpastore  路  3Comments

dmitry picture dmitry  路  6Comments

dchelimsky picture dchelimsky  路  4Comments