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

Fix compatibility with Ruby 3.2 #174

Merged
merged 1 commit into from
Jan 17, 2022
Merged

Fix compatibility with Ruby 3.2 #174

merged 1 commit into from
Jan 17, 2022

Conversation

casperisfine
Copy link
Contributor

3.1 and older: def foo(*) => [[:rest]]
3.2 and newer: def foo(*) => [[:rest, :*]]

@@ -11,7 +11,7 @@ gemspec
gem "sidekiq"
gem "resque"

gem "mysql2", "~> 0.5"
gem "mysql2", github: "brianmario/mysql2"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unfortunately the last published version no longer compile on modern rubies.

3.1 and older: `def foo(*) => [[:rest]]`
3.2 and newer: `def foo(*) => [[:rest, :*]]`
@casperisfine casperisfine merged commit ef564e8 into main Jan 17, 2022
@casperisfine casperisfine deleted the ruby-3.2 branch January 17, 2022 16:25
@shopify-shipit shopify-shipit bot temporarily deployed to rubygems January 18, 2022 12:25 Inactive
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.

3 participants