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

Adds Rails matcher for AST-scanners #433

Merged
merged 1 commit into from
Apr 10, 2022
Merged

Conversation

davidwessman
Copy link
Collaborator

  • AST-matching is extracted to a class.
  • Adds a class for matching Rails model translations.

@glebm
Copy link
Owner

glebm commented Mar 29, 2022

Shall we merge this before #436?

@davidwessman
Copy link
Collaborator Author

Shall we merge this before #436?

No, I think we should do the comments first. Will see if I can get some more time to work on it today.

@davidwessman davidwessman force-pushed the ast-match-rails branch 4 times, most recently from 22e1d38 to d24baa4 Compare April 2, 2022 14:20
@davidwessman davidwessman changed the title Refactors AST matching and adds Rails matcher Adds Rails matcher for AST-scanners Apr 3, 2022
@davidwessman davidwessman marked this pull request as ready for review April 3, 2022 07:57
@davidwessman davidwessman requested a review from glebm April 3, 2022 07:57
@davidwessman davidwessman force-pushed the ast-match-rails branch 2 times, most recently from 1b70818 to 43db5dc Compare April 9, 2022 12:26
@davidwessman davidwessman requested a review from glebm April 9, 2022 12:26
- Adds `add_ast_matcher` to tasks similar to scanners.
- Adds a class for matching Rails model translations.
- User.human_attribute_name('name') and User.model_name.human(count: 2).
@glebm glebm merged commit 31ba3e8 into glebm:main Apr 10, 2022
@davidwessman davidwessman deleted the ast-match-rails branch April 10, 2022 11:09
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