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

Refactor to use rspec filtering #215

Merged
merged 7 commits into from
Mar 29, 2024
Merged

Conversation

djberg96
Copy link
Contributor

@djberg96 djberg96 commented Mar 21, 2024

Just a draft PR for now to replace some inline logic with rspec filters and tags. The tags are useful for both config and for the command line.

I'm also tweaking the Jruby handling a bit to be more generic since there's now also Truffleruby.

Restore standard/rake and use java? method.

Use add_setting in Rspec config.

Use free boolean methods, restore some janky adapter loading stuff.
@djberg96 djberg96 marked this pull request as ready for review March 21, 2024 12:05
@djberg96
Copy link
Contributor Author

@sferik What do you think of this approach?

@sferik
Copy link
Member

sferik commented Mar 27, 2024

I like this approach. I'll be happy to merge it when the build failures are fixed.

@sferik
Copy link
Member

sferik commented Mar 27, 2024

Does this supersede #213? If so, can you close that PR?

@djberg96
Copy link
Contributor Author

@sferik Thanks. I'm still working out some JRuby/Truffleruby things, probably shoulda left it as a draft. I'll ping you when I think it's ready.

@sferik
Copy link
Member

sferik commented Mar 29, 2024

Looks like tests are passing. Is this ready for review now?

@sferik sferik closed this Mar 29, 2024
@djberg96
Copy link
Contributor Author

@sferik I could tinker with it some more, but I guess it's ready.

The main issue was that the tags weren't as useful as I hoped since the require statements are evaluated first, and blow up with or without tags. I think they'd have to be removed from the file list first, but that can be done in a future refactor.

Why was this closed?

@sferik
Copy link
Member

sferik commented Mar 29, 2024

Oops. I must have accidentally hit “Comment and Close” instead of “Comment”. Pressing “Reopen and comment” now. ☺️

@sferik sferik reopened this Mar 29, 2024
@sferik sferik merged commit 5b546ac into intridea:master Mar 29, 2024
14 checks passed
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