-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Add sports documentation and update sports #2600
Conversation
- Add links to existing docs (Mountaineering and Volleyball) - Add docs and link for Faker::Sports - Update lists of olympic sports based on latest information
I don't know why that test had an error on Ruby head. It's exactly the same logic as 9 other tests in the same file (and probably 1,000-1,500 other tests in the codebase) that didn't error out. There doesn't seem to be a way for me to re-run the tests so I'm going to close and re-open the PR to see if that runs them again. Sorry for any unwanted notifications. Update: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks for adding docs! just one small fix and it should be good to go!
Interesting. Looks like the problem is that, sometimes, the generator will return an array of sports instead of just one sport. This is a bug.
I opened this issue: #2608 |
Summary
Primarily a documentation change, with minor changes to the list of sports (in English):
lib/locales/en/sport.yml
Other Information
When I first added sports, I added YARD style docs for the methods. As I write this PR I'm wondering if I shouldn't have written these docs manually? Are they supposed to be generated automatically by YARD?