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

Properly constrain version of meilisearch ruby gem #387

Merged

Conversation

ellnix
Copy link
Collaborator

@ellnix ellnix commented Jan 14, 2025

twiddle-wakka (~>) operator is not meant only for minor versions, its behavior depends on how you specify the version. ~> 0.28 will grab anything >= 0.28 and < 1, while ~> 0.28.0 will grab >= 0.28.0 to < 0.29.

For more information, see #386 .

Pull Request

Related issue

Fixes #386

twiddle-wakka (~>) operator is not meant only for minor versions, its behavior depends on how you specify the version. ~> 0.28 will grab anything >= 0.28 and < 1, while ~> 0.28.0 will grab >= 0.28.0 to < 0.29.

For more information, see meilisearch#386 .
Copy link

codecov bot commented Jan 14, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 88.96%. Comparing base (d0a6f1a) to head (cebc486).
Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #387   +/-   ##
=======================================
  Coverage   88.96%   88.96%           
=======================================
  Files          13       13           
  Lines         761      761           
=======================================
  Hits          677      677           
  Misses         84       84           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@brunoocasali brunoocasali left a comment

Choose a reason for hiding this comment

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

LGTM! Always good to learn new tricks 😅

@ellnix
Copy link
Collaborator Author

ellnix commented Jan 14, 2025

bors merge

@meili-bors meili-bors bot merged commit 0086588 into meilisearch:main Jan 14, 2025
12 checks passed
ellnix added a commit to ellnix/meilisearch-rails that referenced this pull request Jan 14, 2025
meili-bors bot added a commit that referenced this pull request Jan 15, 2025
388: Update version for the next release (v0.14.2) r=curquiza a=ellnix

Apply hotfix: #387


Co-authored-by: ellnix <[email protected]>
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.

Pessimistic version constraint operator misused
2 participants