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

Ruby3 support #31

Merged
merged 1 commit into from
Feb 15, 2024
Merged

Ruby3 support #31

merged 1 commit into from
Feb 15, 2024

Conversation

edsu
Copy link
Contributor

@edsu edsu commented Feb 7, 2024

Thanks for maintaining this useful library! We use it at Stanford to ingest content into our GeoServer instances.

I noticed when running the tests under Ruby 3.2 that there were some test failures due to changes in YAML.safe_load and how parameters are passed in Ruby3, since hashes are no longer automatically turned into named parameters by default.

I updated the github action to run under ruby 3.3, but I'm not 100% sure it will work until it runs.

Copy link
Member

@eliotjordan eliotjordan left a comment

Choose a reason for hiding this comment

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

This looks great. All that's needed is to change the one line. Thanks so much!

.github/workflows/ruby.yml Outdated Show resolved Hide resolved
@edsu
Copy link
Contributor Author

edsu commented Feb 12, 2024

I noticed we're now seeing coveralls errors and a bit of googling seems to indicate that people have switched to coveralls_reborn? I pushed that up to see if CI is happier.

@eliotjordan
Copy link
Member

@edsu We're not using the coveralls gem anymore. I made some updates to the main branch that will help here. If you remove that last commit (7d52ca5), pull main from upstream, and rebase your branch, it should pass CI.

I noticed when running the tests under Ruby 3.2 that there were some
test failures due to changes in YAML.safe_load and how parameters are
passed in Ruby3 (hashes passed aren't automatically turned into named
parameters by default).
@edsu
Copy link
Contributor Author

edsu commented Feb 15, 2024

@eliotjordan ok, looks like tests are passing now!

@eliotjordan eliotjordan merged commit a6e19e6 into samvera-labs:main Feb 15, 2024
2 checks passed
@edsu edsu deleted the ruby3 branch February 15, 2024 21:04
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.

None yet

2 participants