-
Notifications
You must be signed in to change notification settings - Fork 501
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 warnings caused by Ruby 2.7 update #530
Conversation
Cam anyone review my PR? |
Hi @chopraanmol1 , @simonoff , |
Adding my 👍 to get this reviewed and release. It a blocker for folks trying to upgrade to Ruby 2.7.x |
Maybe we should just drop Ruby 2.3 and 2.4 given they're both end of support. |
@jonspalmer would be great! |
lib/roo/csv.rb
Outdated
|
||
# From Ruby 2.5, options argument of CSV.new/CSV.foreach is a keyword argument. | ||
# Before Ruby 2.5, that argument is a Hash. | ||
# Therefore, this workaround can be removed if Ruby 2.3 and 2.4 are dropped. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, please remove such workaround.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can I edit gemspec
and .travis.yml
to drop ruby 2.3 & 2.4 in this branch: ruby_27_support
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I removed WA for Ruby 2.3 & 2.4 and also edited gemspec
and .travis.yml
too.
Can we get this published?? 🙏 |
Summary
Fixed following warnings caused by Ruby 2.7 update.