X Tutup
The Wayback Machine - https://web.archive.org/web/20201218091516/https://github.com/faker-ruby/faker/pull/2004
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

Add YARD docs to Faker::String #2004

Merged
merged 2 commits into from May 23, 2020
Merged

Conversation

@danielTiringer
Copy link
Contributor

@danielTiringer danielTiringer commented May 21, 2020

Issue#

#1762

Description:

Add complete YARD docs for Faker::String methods.

danielTiringer
@danielTiringer
Copy link
Contributor Author

@danielTiringer danielTiringer commented May 21, 2020

Some of the symbols listed in the documentation's examples aren't ascii.
Rubocop doesn't like that: Style/AsciiComments: Use only ascii symbols in comments.
Please advise if you think I should prune those out or even replace with something complex-looking but compliant. Or turn off rubocop for those lines.

@Zeragamba
Copy link
Contributor

@Zeragamba Zeragamba commented May 21, 2020

I think it's important to show that utf8 characters are returned, and I would prefer to see their visual representation instead of an encoded one. I think we can ask robocop to back off a bit there.

@Zeragamba
Copy link
Contributor

@Zeragamba Zeragamba commented May 23, 2020

Looks good to me. We should have a looks to see if we can tell YARD to ignore robocop commands.

@Zeragamba Zeragamba merged commit b77c6c0 into faker-ruby:master May 23, 2020
6 checks passed
6 checks passed
Ruby 2.3
Details
Ruby 2.4
Details
Ruby 2.5
Details
Ruby 2.6
Details
Ruby 2.7
Details
Ruby head
Details
@connorshea connorshea mentioned this pull request May 31, 2020
181 of 181 tasks complete
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

3 participants
You can’t perform that action at this time.
X Tutup