Avoid ruby 2.4+ methods#2
Closed
kachick wants to merge 1 commit intoruby:masterfrom
kachick:fix-on-ruby2.3
Closed
Conversation
Still failed in running tests.
Member
|
Thanks for providing two different fix patterns. Looks like default gems, in general, seem to respect Ruby's EOL cycles. Since erb.gem has been released very recently and it has been broken, dropping the support should have no practical impact, and this is reversing [Feature 13943] too. So I'd like to accept the other patch #3. |
Member
Author
|
Oh I didn't know the existing ruby-lang issue, Thank you for letting me know! 👍 to #3 direction |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
erb/.github/workflows/test.yml
Lines 9 to 15 in 9cef102
erb/erb.gemspec
Line 17 in 9cef102
Currently supporting as 2.3+, but testing in 2.5+
This does not run from some reasons.
Both are not in ruby 2.3
So I think need some changes.
This PR aims
Avoid 2.4+ feature, but some test still fail onrubylang/ruby:2.3.8-bioniceven after applied this patch.I'm not sure the root cause.
But this change might be work on Ruby 2.3, Iguess.
I'll create another PR for
Clarify to support 2.4+ or 2.5+.