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 doc for Faker::Code #2058

Merged
merged 10 commits into from
Jul 16, 2020
Merged

Add YARD doc for Faker::Code #2058

merged 10 commits into from
Jul 16, 2020

Conversation

Zeragamba
Copy link
Contributor

Issue#

#1762 (includes #1961)

Description:

The PR adds YARD docs for Faker::Code

@connorshea connorshea mentioned this pull request Jun 12, 2020
@Zeragamba Zeragamba changed the title Faker code docs Add YARD doc for Faker::Code Jun 12, 2020
# Retrieves a real Amazon ASIN code list taken from
# https://archive.org/details/asin_listing
##
# Retrieves a real Amazon ASIN code from https://archive.org/details/asin_listing.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This URL no longer works. Not sure if it should be kept here?
I tried to find another listing but couldn't find anything

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@lucasqueiroz https://archive.org/details/asin_listing works for me, were you including the period in the URL?

@Zeragamba maybe we should just remove the period at the end of the URL.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's probably it then, thanks!

Copy link
Member

@connorshea connorshea left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Needs a few changes but looks good otherwise! :) Ping me once it's updated and I'll review it again.

@Zeragamba Zeragamba requested a review from connorshea June 24, 2020 20:22
Copy link
Member

@connorshea connorshea left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Two small things

lib/faker/default/code.rb Show resolved Hide resolved
lib/faker/default/code.rb Outdated Show resolved Hide resolved
@Zeragamba Zeragamba requested a review from connorshea July 2, 2020 01:51
@Zeragamba
Copy link
Contributor Author

sorry for the delay. Thought I had made those changes... apparently not :P

@Zeragamba Zeragamba requested a review from lucasqueiroz July 15, 2020 16:37
Copy link
Member

@vbrazo vbrazo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Copy link
Member

@connorshea connorshea left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Zeragamba One last thing and then I swear it's done! You can apply these changes and then merge :)

lib/faker/default/code.rb Outdated Show resolved Hide resolved
lib/faker/default/code.rb Outdated Show resolved Hide resolved
lib/faker/default/code.rb Outdated Show resolved Hide resolved
lib/faker/default/code.rb Outdated Show resolved Hide resolved
@vbrazo vbrazo merged commit 484f776 into faker-ruby:master Jul 16, 2020
gabrielbaldao pushed a commit to gabrielbaldao/faker that referenced this pull request Jul 22, 2020
* Add YARD doc for Faker::Code

* update version tags

* use ascii characters

* fix documentation

* restrict values for base

* fix code review comments

* Update lib/faker/default/code.rb

Co-authored-by: Connor Shea <[email protected]>

* Update lib/faker/default/code.rb

Co-authored-by: Connor Shea <[email protected]>

* Update lib/faker/default/code.rb

Co-authored-by: Connor Shea <[email protected]>

* Update lib/faker/default/code.rb

Co-authored-by: Connor Shea <[email protected]>

Co-authored-by: Cuthbert Guerrero <[email protected]>
Co-authored-by: Vitor Oliveira <[email protected]>
Co-authored-by: Connor Shea <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants