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

adding Pearl Jam to the Music module #1962

Merged
merged 3 commits into from
May 20, 2020
Merged

Conversation

briri
Copy link
Contributor

@briri briri commented Apr 10, 2020

Adding Pearl Jam to the Music module

Description:

New Faker::Music::PearlJam class that contains the following methods:

  • musician - will return the name of a band member (former or current)
  • album - will return the name of one of the band's albums
  • song - will return the name of one of their songs

@lucasqueiroz
Copy link
Member

Hey! Thanks for the Pull Request.
Can you consider adding a documentation file along with the changes (something like https://github.com/faker-ruby/faker/blob/master/doc/music/music.md)?

Thanks!

@briri
Copy link
Contributor Author

briri commented Apr 13, 2020

absolutely. I knew I forgot something :)

# @example
# Faker::Music::PearlJam.musician #=> "Eddie Vedder"
#
# @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.

faker version should be next for new generators

Comment on lines 4 to 13
musicians: [ "Boom Gaspar",
"Dave Abbruzzese",
"Dave Krusen",
"Eddie Vedder",
"Jack Irons",
"Jeff Ament",
"Matt Cameron",
"Matt Chamberlain",
"Mike McCready",
"Stone Gossard" ]
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 the dash syntax for an array of values. (See CONTRIBUTING.md)

@briri
Copy link
Contributor Author

briri commented May 20, 2020

ok. updated the version reference and the yams syntax. Apologies, I based the original PR off of some existing code rather than referencing the contributing docs.

@Zeragamba
Copy link
Contributor

Perfect 👌

@Zeragamba Zeragamba merged commit b00b127 into faker-ruby:master May 20, 2020
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.

4 participants