Skip to content

Supported Ruby versions? #7

Closed
Closed
@jgarber623

Description

@jgarber623

Hello!

First off, thanks for keeping this gem going for 15+ years. Also, I acknowledge the note in the README regarding the project's current status. So, if you don't feel like addressing the following, I completely understand.


This gem incidentally supports any Ruby version since it doesn't specify a required_ruby_version in its gemspec. I'd be interested in knowing more about that choice and whether or not you'd be open to implementing a minimum required Ruby version of some kind.

Given the popular libraries that depend on this gem, a choice of a minimum supported Ruby version should be carefully considered.

Most notably, pdf-reader (65 million downloads) specifies ruby >= 2.0. pdf-reader is a development dependency of prawn (60 million downloads) which itself specifies ruby >= 2.7.

Additionally, implementing a minimum supported Ruby version would:

  • streamline CI and resolve the current Ruby 2.2 failures
  • obviate (I think) the need for # -*- encoding: utf-8 -*- magic comments

While it's been EOL'ed since March 2023, Ruby 2.7 as a minimum would be my choice (to the degree that I have a vote!).

Thanks for considering! I'd be happy to PR a change if any of the above is reasonable.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions