Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Ruby 2.6 #9

Merged
merged 3 commits into from
Sep 14, 2024
Merged

Conversation

dschweisguth
Copy link
Contributor

Current macOS (14, Sonoma) ships with Ruby 2.6.10. Current xmp works with that version of Ruby without any changes, so let's continue supporting that version of Ruby for now, so that programs which use xmp can run on macOS without installing Ruby.

macOS's copy of Ruby is deprecated, so we should only support Ruby 2.6 as long as it doesn't hold back xmp.

The nokogiri in Gemfile.lock requires Ruby 2.7, so anyone developing xmp on Ruby 2.6 will need to bundle update nokogiri. I don't think this PR should change Gemfile.lock, which would pin all developers to an old nokogiri (1.13).

I don't know whether Travis can build xmp on Ruby 2.6 given that Gemfile.lock requires Ruby 2.7. If it can't, and there isn't an easy fix, I'd withdraw this PR.

@wpiekutowski
Copy link
Member

I don't mind adding 2.6. I don't think there's anything in xmp that requires newer versions. I suppose we could mention in the README what nokogiri version is officially needed for each Ruby version:

  • nokogiri 1.13.10 is the last version officially working with Ruby 2.6
  • nokogiri 1.15.5 is the last version officially working with Ruby 2.7
  • please consult https://nokogiri.org/CHANGELOG.html for other Ruby versions support

@dschweisguth
Copy link
Contributor Author

@wpiekutowski does this seem sufficient? I'd be happy to have another release with this and #9.

@wpiekutowski
Copy link
Member

Thanks, looks good!

@wpiekutowski wpiekutowski merged commit 939ef8e into amberbit:master Sep 14, 2024
@dschweisguth dschweisguth deleted the support-ruby-2.6 branch September 16, 2024 18:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants