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

fix(deps): support Rails 7 syntax #29

Merged
merged 7 commits into from
May 24, 2024
Merged

Conversation

rafasoares
Copy link
Owner

@rafasoares rafasoares commented May 24, 2024

Thanks to @guilhermearaujo for his help with #21.

However, I felt that a bigger refactor was necessary. Particularly with the specs, as they didn't come close to cover all the possible scenarios.

There are still some edge cases missing, but this makes me much more confident to do such updates in the future.

Note: I've deprecated both the class and instance human_enum_value methods, as they seem to be redundant. I don't think they are used for anything, but please open a new issue if you're affected.

Fixes #20

@rafasoares rafasoares self-assigned this May 24, 2024
@rafasoares rafasoares force-pushed the fix/deps/support-rails-7 branch 4 times, most recently from 4aff3d2 to fe6b69b Compare May 24, 2024 21:43
@rafasoares rafasoares force-pushed the fix/deps/support-rails-7 branch from fe6b69b to b537d80 Compare May 24, 2024 21:54
@rafasoares
Copy link
Owner Author

Need to fix the flakiness with actions/upload-artifact@v4 before merging.

With the new version matrix setup, multiple uploads to the same artifact could fail, even with `overwrite: true`.
@rafasoares rafasoares added dependencies Pull requests that update a dependency file bug labels May 24, 2024
@rafasoares rafasoares marked this pull request as ready for review May 24, 2024 22:18
Copy link

codeclimate bot commented May 24, 2024

Code Climate has analyzed commit f9fbf42 and detected 0 issues on this pull request.

The test coverage on the diff in this pull request is 100.0% (50% is the threshold).

This pull request will bring the total coverage in the repository to 100.0% (0.0% change).

View more on Code Climate.

@rafasoares rafasoares merged commit 400c625 into main May 24, 2024
16 checks passed
@rafasoares rafasoares deleted the fix/deps/support-rails-7 branch May 24, 2024 22:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

syntax for declaring enums is incompatible with rails conventions
1 participant