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 faker for hiphop artist #1923

Merged
merged 5 commits into from
Oct 5, 2020
Merged

Conversation

Josiassejod1
Copy link
Contributor

This PR adds names of Hip Hop Artist & Groups to Faker Gem For Users to use

# @example
# Faker::Music::Hiphop.group #=> "OVO"
#
# @faker.version 1.9.2
Copy link
Contributor

Choose a reason for hiding this comment

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

should be @faker.version next so that we can just find and replace when this gets merged

Comment on lines 20 to 22
# @example
# Faker::Music::Hiphop.artist #=> "Lil Wayne"
#
Copy link
Contributor

Choose a reason for hiding this comment

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

incomplete DocBlock

# @return [String]
#
# @example
# Faker::Music::Hiphop.group #=> "OVO"
Copy link
Contributor

Choose a reason for hiding this comment

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

example shows the wrong method

@Josiassejod1
Copy link
Contributor Author

@Zeragamba if you got a chance

Copy link
Contributor

@Zeragamba Zeragamba left a comment

Choose a reason for hiding this comment

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

Minor changes needed, and this is good to go

# Faker::Music::Hiphop.groups #=> "OVO"
#
# @faker.version next

Copy link
Contributor

Choose a reason for hiding this comment

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

Extra space here that can be removed

lib/faker/music/hiphop.rb Show resolved Hide resolved
@@ -0,0 +1,127 @@
en:
faker:
hiphop:
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we shift this down to en.faker.music.hiphop?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@Zeragamba got all the comments knocked out.

end

##
# Produces the name of a Hip Hop Group
Copy link
Contributor

Choose a reason for hiding this comment

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

Copy and paste issue :P

@@ -30,3 +30,14 @@ en:
"Flashdance: Original Soundtrack from the Motion Picture", "Whitney", "Confessions", "X&Y", "High School Musical", "High School Musical 2", "Viva la Vida or Death and All His Friends",
"I Dreamed a Dream", "Recovery", "Midnight Memories", "Frozen", "Lemonade", "Brand New Eyes", "All We Know Is Falling", "Riot!", "Songs About Jane", "Hands All Over"]
genres: ["Rock", "Pop", "Electronic", "Folk", "World", "Country", "Jazz", "Funk", "Soul", "Hip Hop", "Classical", "Latin", "Reggae", "Stage And Screen", "Blues", "Non Music", "Rap"]
hiphop:
Copy link
Contributor

Choose a reason for hiding this comment

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

We would prefer single item per line for yaml arrays so that it's easier to see when something is added or removed

Copy link
Contributor Author

Choose a reason for hiding this comment

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

can you past an example so I do it right @Zeragamba

Copy link
Contributor

Choose a reason for hiding this comment

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

Sorry for the radio silence. Check CONTRIBUTING.md

Copy link
Contributor Author

Choose a reason for hiding this comment

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

should be fixed now @Zeragamba

@Zeragamba Zeragamba merged commit 039e13a into faker-ruby:master Oct 5, 2020
@Zeragamba
Copy link
Contributor

Thanks!

droznyk pushed a commit to droznyk/faker that referenced this pull request Oct 23, 2020
* add faker for hiphop artist

* update faker docs

* update comments based on feedback

* clean up

* reformat
droznyk added a commit to droznyk/faker that referenced this pull request Oct 23, 2020
droznyk added a commit to droznyk/faker that referenced this pull request Oct 23, 2020
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