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

Chore: bump mongoid 9 and support ruby 3.3 #214

Conversation

eqladios
Copy link
Contributor

@eqladios eqladios commented Sep 27, 2024

This is draft, dependent on mongoid-grid_fs supporting mongoid 9

This include a couple of updates, hopefully it's relevant:

  • adds ruby 3.3 to test matrix
  • bump mongoid dependency to <10
  • tests were failing with mini_magick > 4 with carrierwave with calls to imagemagick run_command so I constrained it in the dev environment to < v5
  • update the cat command in the ci workflow to use the ruby version used in matrix as the cat command was failing to run on failures. Probably need to check hardcoded mimemagic-0.4.3 too
  • update actions/checkout to v4 as v2 was logging errors about deprecated node 12

Fixes #213

@rmm5t rmm5t marked this pull request as ready for review November 15, 2024 16:00
@zoltanlantos
Copy link

Hello @eqladios, @rmm5t, my team is eagerly waiting for this release and I wondered if you have seen the recent update from grid_fs to support v9?

Thank you for getting this PR ready early on 💖

@eqladios
Copy link
Contributor Author

Hello @eqladios, @rmm5t, my team is eagerly waiting for this release and I wondered if you have seen the recent update from grid_fs to support v9?

Thank you for getting this PR ready early on 💖

Thank you @zoltanlantos, grid_fs has already released 2.6 which supports mongoid 9 so this is no longer a draft

Taking another look on the PR from my side and hopefully it can be reviewed by @rmm5t and maintainers soon

Passed the test by ensuring that the embedded `mongo_location` document is saved first before saving and checking the parent document.
@@ -6,12 +6,13 @@ jobs:
strategy:
matrix:
mongodb: [4.4]
ruby: [2.7, "3.0", 3.1, 3.2]
ruby: [2.7, "3.0", 3.1, 3.2, 3.3]
Copy link
Member

Choose a reason for hiding this comment

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

Thank you!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

🙏

@rmm5t rmm5t merged commit 4f649ef into carrierwaveuploader:master Nov 22, 2024
35 checks passed
@rmm5t
Copy link
Member

rmm5t commented Nov 22, 2024

Thanks v1.5.0 released:
https://rubygems.org/gems/carrierwave-mongoid

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.

Could we please support Mongoid 9?
3 participants