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

CI: Ruby 3.3.0-preview1 -> preview2 #2224

Merged
merged 3 commits into from
Sep 19, 2023
Merged

CI: Ruby 3.3.0-preview1 -> preview2 #2224

merged 3 commits into from
Sep 19, 2023

Conversation

fallwith
Copy link
Contributor

Test with Ruby v3.3.0-preview2

resolves #2223

Test with Ruby v3.3.0-preview2
@fallwith
Copy link
Contributor Author

@fallwith fallwith self-assigned this Sep 16, 2023
kaylareopelle
kaylareopelle previously approved these changes Sep 18, 2023
Ruby 3.3.0-preview2 causes an '(eval ...' String to be yielded for a
__FILE__ call performed within an `eval`. This String won't work
properly in contexts that expect a String representing a valid
filesystem path.

We don't want to touch the .gemspec file for the sake of the test, and
we don't yet want to refactor out the `eval` call that the test uses, so
for now let's just make sure the test never has to deal with a __FILE__
call within the `eval`.
- replace __FILE__ for `envfile.rb` `instance_eval` calls
- add `TODO` for __FILE__ swapping comments
@github-actions
Copy link
Contributor

SimpleCov Report

Coverage Threshold
Line 94.32% 94%
Branch 85.87% 85%

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

CI: Update Ruby v3.3.0preview1 to v3.3.0preview2
3 participants