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

Use gobuffalo/flect instead of markbates/inflect #107

Merged
merged 4 commits into from
Nov 29, 2018
Merged

Conversation

lukasschlueter
Copy link
Contributor

Currently, the tests are failing for label generation for "GaveAThing". This was working with flect, as in this case it basically treated A as an acronym (multiple uppercase letters get split at the last one) and separated it from the rest (returning "Gave A Thing"). Inflect is handling this in a different way and treats it as "Gave AThing".

I'm not sure which one is the expected result. I don't think the approach of flect is good (on the matter of how it's done), but on the other hand this is a breaking change and removes the ability of creating single char words in labels.

@markbates @paganotoni, what are your opinions on this?

@paganotoni paganotoni merged commit e8a80a4 into master Nov 29, 2018
@paganotoni paganotoni deleted the update-inflect branch November 29, 2018 21:11
@paganotoni
Copy link
Member

thanks @lukasschlueter !

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