When generating stub method names words like entries became entrie when they should have become entry.
Fixed creation of in generateEntityStubMethod() to deal with the sing…
…ular of ies -> y
thank you for positing this Pull Request. I have automatically opened an issue on our Jira Bug Tracker for you with the details of this Pull-Request. See the Link:
@jbergler can you add a test case for this one?
Added some tests for the correct plural->singular conversion (also bo…
…oks now have birthdays)
@Ocramius I've updated the existing test case, slightly awkward use of some words to fit the criteria, but they are tests nonetheless.
@jbergler looks good to me
Well, why handling only 1 particular case of irregular plural ? If you start supporting them, it should support all possible cases
@jbergler are you sure the inflector is the right place for this?
In addition of companies/companie, I was hit by addresses/addresse and bonuses/bonuse.
Personally, I would be satisfied with a property that lets me override the singular form (or the method names) in the YAML.
See notes on implementation in GH-530