From 19cbf5fd598ac9214ac4cd55e62789b50dba9260 Mon Sep 17 00:00:00 2001 From: Patryk Date: Fri, 23 Oct 2020 09:48:53 +0200 Subject: [PATCH] Revert "Add faker for hiphop artist (#1923)" This reverts commit 01494d44a41ff89a66b4d8a92e366f496277c054. --- doc/music/hiphop.md | 10 - lib/faker/music/hiphop.rb | 48 --- lib/locales/en/music.yml | 480 ++------------------------ test/faker/music/test_faker_hiphop.rb | 21 -- 4 files changed, 29 insertions(+), 530 deletions(-) delete mode 100644 doc/music/hiphop.md delete mode 100644 lib/faker/music/hiphop.rb delete mode 100644 test/faker/music/test_faker_hiphop.rb diff --git a/doc/music/hiphop.md b/doc/music/hiphop.md deleted file mode 100644 index 4b9b138740..0000000000 --- a/doc/music/hiphop.md +++ /dev/null @@ -1,10 +0,0 @@ -# Faker::Music::HipHop - -```ruby -Faker::Music::HipHop.artist #=> "Lil Wayne" - -Faker::Music::HipHop.groups #=> "G-Unit" - -Faker::Music::HipHop.subgenres #=> "Alternative" - -``` diff --git a/lib/faker/music/hiphop.rb b/lib/faker/music/hiphop.rb deleted file mode 100644 index 7f6ba38bac..0000000000 --- a/lib/faker/music/hiphop.rb +++ /dev/null @@ -1,48 +0,0 @@ -# frozen_string_literal: true - -module Faker - class Music - class Hiphop < Base - class << self - ## - # Produces the name of a Hip Hop Artist - # - # @return [String] - # - # @example - # Faker::Music::Hiphop.artist #=> "Lil Wayne" - # - # @faker.version next - def artist - fetch('hiphop.artist') - end - - ## - # Produces the name of a Hip Hop Group - # - # @return [String] - # - # @example - # Faker::Music::Hiphop.groups #=> "OVO" - # - # @faker.version next - def groups - fetch('hiphop.groups') - end - - ## - # Produces the name of a Hip Hop Subgenre - # - # @return [String] - # - # @example - # Faker::Music::Hiphop.subgeneres #=> "Alternative" - # - # @faker.version next - def subgenres - fetch('hiphop.subgenres') - end - end - end - end -end diff --git a/lib/locales/en/music.yml b/lib/locales/en/music.yml index 933f9d92c1..3f9d64d004 100644 --- a/lib/locales/en/music.yml +++ b/lib/locales/en/music.yml @@ -1,454 +1,32 @@ en: faker: music: - instruments: - - Electric Guitar - - Acoustic Guitar - - Flute - - Trumpet - - Clarinet - - Cello - - Harp - - Xylophone - - Harmonica - - Accordion - - Organ - - Piano - - Ukelele - - Saxophone - - Drums - - Violin - - Bass Guitar - - Oboe - bands: - - AC/DC - - Adam and the Ants - - Afrika Bambaataa - - Al Foster - - Alan Parsons - - Alex Chilton - - Amy Winehouse - - Annie Lennox - - Arctic Monkeys - - B.B. King - - Bauhaus - - The Beatles - - Beck - - Billy Idol - - The Birthday Party - - Björk - - Blinker The Star - - Blondie - - Blur - - Bob Dylan - - Bob Marley (and the Wailers) - - Brian Wilson - - Bruce Springsteen - - Buzzcocks - - Captain Beefheart - - Carlos Santana - - Cat Anderson - - Cat Stevens - - Catherine Wheel - - Chic - - Chris Isaak - - Chrissie Hynde - - Chuck Berry - - The Clash - - Cliff Richard (and the Shadows) - - Coldplay - - Cootie Williams - - Cortinas - - " The" - - The Cramps - - The Cranberries - - Cream - - The Cure - - David Bowie - - David Gilmour - - Deepest Blue - - Devo - - Dizzy Gillespie - - Dr Feelgood - - Duke Ellington - - Ed Sheeran - - Ella Fitzgerald - - Elton John - - Elvis Costello - - Elvis Presley - - Eric Clapton - - The Faces - - Fats Domino - - Flaming Lips - - Florence and the Machine - - Foo Fighters - - Frank Sinatra - - Frank Zappa - - Frightened Rabbit - - George Michael - - Grace Jones - - Green Day - - Guns N' Roses - - Herbie Hancock - - Horace Silver - - Hugh Masekela - - Ian Dury - - Iggy Pop - - The Jam - - James Brown - - Jeff Beck - - Jeff Buckley - - Jimi Hendrix - - John Coltrane - - John Lydon - - Johnny Borrell - - Johnny Cash - - Johnny Marr - - Joni Mitchell - - Joy Division - - K.D Lang - - Kasabian - - Kate Bush - - Keith Moon - - Keith Richards - - The Kinks - - Kiss - - The La's - - Led Zeppelin - - Lenny Kravitz - - Leonard Cohen - - Liam Gallagher - - The Libertines - - Madness - - Madonna - - Manic Street Preachers - - Marc Bolan - - Marianne Faithfull - - Marilyn Manson - - Maroon 5 - - The Mars Volta - - Max Roach - - Michael Jackson - - Miles Davis - - Morrissey - - Muddy Waters - - Mumford and Sons - - Muse - - Neil Young - - New Order - - Nick Cave - - Nigel Kennedy - - Nina Simone - - Nirvana - - Noel Gallagher - - O.A.R. - - Oasis - - Offspring - - Ozzy Osbourne - - Paramore - - Pat Metheny - - Patti Smith - - Paul Weller - - Pearl Jam - - Pete Townshend - - Phil Collins - - Phish - - Pink Floyd - - PJ Harvey - - The Police - - The Pretenders - - Primal Scream - - Prince - - Program The Dead - - Pulp - - Queen - - Radiohead - - The Ramones - - Red Hot Chili Peppers - - R.E.M. - - Rick Wright - - Rod Stewart - - The Rolling Stones - - Rory Gallagher - - Roxy Music - - Roy Hargrove - - Rufus Wainwright - - Run-D.M.C. - - Ryan Adams - - Sex Pistols - - Simply Red - - Sinead O'connor - - Siouxsie and The Banshees - - The Slits - - The Smiths - - Sonic Youth - - The Specials - - Squeeze - - Status Quo - - Stereophonics - - Stone Roses - - Syd Barrett - - Thelonius Monk - - Thin Lizzy - - Thornley - - Tina Turner - - Tom Jones - - Tom Robinson - - Tom Waits - - U2 - - The Undertones - - Van Morrison - - Velvet Revolver - - White Stripes - - The Who - - The Yardbirds - - Yumi Matsutoya - albums: - - Thriller - - Back in Black - - The Dark Side of the Moon - - Bat Out of Hell - - The Bodyguard - - Their Greatest Hits (1971–1975) - - Saturday Night Fever - - Rumours - - 'Grease: The Original Soundtrack from the Motion Picture' - - Led Zeppelin IV - - Bad - - Jagged Little Pill - - Come On Over - - Falling into You - - Sgt. Pepper's Lonely Hearts Club Band - - Hotel California - - Dirty Dancing - - '21' - - Let's Talk About Love - - '1' - - 'Gold: Greatest Hits' - - Dangerous - - The Immaculate Collection - - Abbey Road - - Born in the U.S.A. - - Brothers in Arms - - 'Titanic: Music from the Motion Picture' - - Metallica - - Nevermind - - The Wall - - Supernatural - - Appetite for Destruction - - Slippery When Wet - - Music Box - - The Eminem Show - - Hybrid Theory - - Come Away with Me - - Unplugged - - True Blue - - 'Legend: The Best of Bob Marley & The Wailers' - - Tapestry - - No Jacket Required - - Greatest Hits - - Bridge over Troubled Water - - The Joshua Tree - - "...Baby One More Time" - - Backstreet's Back - - Backstreet Boys - - Millennium - - Spice - - Happy Nation - - The Sign - - Whitney Houston - - "(What's the Story) Morning Glory?" - - The Marshall Mathers LP - - Like a Virgin - - Cross Road - - '25' - - Boston - - Oops!... I Did It Again - - The Colour of My Love - - Hysteria - - Faith - - Dookie - - Can't Slow Down - - Daydream - - 'HIStory: Past, Present and Future, Book I' - - Off the Wall - - The Woman in Me - - Breakfast in America - - Tracy Chapman - - '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: - subgenres: - - Low Fi - - Grime - - Drill - - Alternative - - Country - - Undeground - - West Coast - - East Coast - - Conscious - - Christian - - Gangsta - - Old School - - Southern - - Mid West - - Trap - - Boom Bap - - Melodic - groups: - - Outcast - - Griselda - - Wu-Tang Clan - - YMCMB - - Maybach Music - - Bad Boyz - - Rock Nation - - Jack Boys - - OVO - - Tribe Call Quest - - Cypress Hill - - Digital Undeground - - Naughty By Nature - - EPMD - - Run D.M.C - - N.W.A - - Salt & Pepa - - TLC - - G Unit - - Bone Thugs & Harmony - - Destiny's Child - - Public Enemy - - Mobb Deep - - Eric B. & Rakim - - Fugees - - The Sugarhill Gang - - D12 - - Three 6 Mafia - - Migos - - Clipse - - Odd Future - - 2 Live Crew - - The Lox - - Dipset - artist: - - Drake - - Jay-Z - - Lil Wayne - - Travis Scott - - Ice Cube - - Wutang Clan - - Tribe Called Quest - - Nas - - Foxy Brown - - TI - - TPain - - Big Krit - - Joey BadA$$ - - A$AP Rocky - - Tyler The Creator - - Frank Ocean - - 50 Cent - - Snoop Dogg - - Wiz Khalifa - - Tupac - - The Notorious B.I.G - - Missy Elliot - - DMX - - Eminem - - Method Man - - Red Man - - Kanye West - - Gucci Mane - - Baby Keem - - Roddy Ricch - - Nipsey Hussle - - Queen Latifah - - Pusha T - - Chief Keef - - Lil Reese - - Lil Peep - - Lil Snupe - - Meek Mill - - Wale - - Busta Rhymes - - Ludacris - - Ashanti - - Shy Glizzy - - Fredo Santana - - Fat Joe - - Don Toliver - - Sheck Wes - - Bobby Smurda - - Dave East - - J Holiday - - Chris Brown - - Omarion - - Fabulous - - Jadakiss - - Nicki Minaj - - Meg The Stallion - - Saweetie - - Larry June - - Quavo - - Offset - - Takeoff - - Stormzy - - xxxTentacion - - Juice Wrld - - Juicy J - - P Diddy - - Young Thug - - Gunna - - Lil Tecca - - Da Baby - - Lil Baby - - Lil Uzi - - 21 Savage - - 2 Chainz - - Craig Mac - - Cardi B - - Chance The Rapper - - Mac Miller - - The Game - - Styles P - - Paul Wall - - Cam'ron - - Jeezy - - Dr. Dre - - Nate Dogg - - Kurupt - - Twista + instruments: ['Electric Guitar', 'Acoustic Guitar', 'Flute', 'Trumpet', 'Clarinet', 'Cello', 'Harp', 'Xylophone', 'Harmonica', 'Accordion', 'Organ', 'Piano', 'Ukelele', 'Saxophone', 'Drums', 'Violin', 'Bass Guitar', 'Oboe'] + bands: ["AC/DC", "Adam and the Ants", "Afrika Bambaataa", "Al Foster", "Alan Parsons", "Alex Chilton", "Amy Winehouse", "Annie Lennox", "Arctic Monkeys", "B.B. King", + "Bauhaus", "The Beatles", "Beck", "Billy Idol", "The Birthday Party", "Björk", "Blinker The Star", "Blondie", "Blur", "Bob Dylan", "Bob Marley (and the Wailers)", + "Brian Wilson", "Bruce Springsteen", "Buzzcocks", "Captain Beefheart", "Carlos Santana", "Cat Anderson", "Cat Stevens", "Catherine Wheel", "Chic", "Chris Isaak", + "Chrissie Hynde", "Chuck Berry", "The Clash", "Cliff Richard (and the Shadows)", "Coldplay", "Cootie Williams", "Cortinas", " The", "The Cramps", "The Cranberries", + "Cream", "The Cure", "David Bowie", "David Gilmour", "Deepest Blue", "Devo", "Dizzy Gillespie", "Dr Feelgood", "Duke Ellington", "Ed Sheeran", "Ella Fitzgerald", + "Elton John", "Elvis Costello", "Elvis Presley", "Eric Clapton", "The Faces", "Fats Domino", "Flaming Lips", "Florence and the Machine", "Foo Fighters", "Frank Sinatra", + "Frank Zappa", "Frightened Rabbit", "George Michael", "Grace Jones", "Green Day", "Guns N' Roses", "Herbie Hancock", "Horace Silver", "Hugh Masekela", "Ian Dury", "Iggy Pop", + "The Jam", "James Brown", "Jeff Beck", "Jeff Buckley", "Jimi Hendrix", "John Coltrane", "John Lydon", "Johnny Borrell", "Johnny Cash", "Johnny Marr", "Joni Mitchell", "Joy Division", + "K.D Lang", "Kasabian", "Kate Bush", "Keith Moon", "Keith Richards", "The Kinks", "Kiss", "The La's", "Led Zeppelin", "Lenny Kravitz", "Leonard Cohen", "Liam Gallagher", + "The Libertines", "Madness", "Madonna", "Manic Street Preachers", "Marc Bolan", "Marianne Faithfull", "Marilyn Manson", "Maroon 5", "The Mars Volta", "Max Roach", "Michael Jackson", + "Miles Davis", "Morrissey", "Muddy Waters", "Mumford and Sons", "Muse", "Neil Young", "New Order", "Nick Cave", "Nigel Kennedy", "Nina Simone", "Nirvana", "Noel Gallagher", + "O.A.R.", "Oasis", "Offspring", "Ozzy Osbourne", "Paramore", "Pat Metheny", "Patti Smith", "Paul Weller", "Pearl Jam", "Pete Townshend", "Phil Collins", "Phish", "Pink Floyd", "PJ Harvey", + "The Police", "The Pretenders", "Primal Scream", "Prince", "Program The Dead", "Pulp", "Queen", "Radiohead", "The Ramones", "Red Hot Chili Peppers", "R.E.M.", "Rick Wright", + "Rod Stewart", "The Rolling Stones", "Rory Gallagher", "Roxy Music", "Roy Hargrove", "Rufus Wainwright", "Run-D.M.C.", "Ryan Adams", "Sex Pistols", "Simply Red", + "Sinead O'connor", "Siouxsie and The Banshees", "The Slits", "The Smiths", "Sonic Youth", "The Specials", "Squeeze", "Status Quo", "Stereophonics", "Stone Roses", + "Syd Barrett", "Thelonius Monk", "Thin Lizzy", "Thornley", "Tina Turner", "Tom Jones", "Tom Robinson", "Tom Waits", "U2", "The Undertones", "Van Morrison", "Velvet Revolver", + "White Stripes", "The Who", "The Yardbirds", "Yumi Matsutoya"] + albums: ["Thriller", "Back in Black", "The Dark Side of the Moon", "Bat Out of Hell", "The Bodyguard", "Their Greatest Hits (1971–1975)", "Saturday Night Fever", "Rumours", + "Grease: The Original Soundtrack from the Motion Picture", "Led Zeppelin IV", "Bad", "Jagged Little Pill", "Come On Over", "Falling into You", "Sgt. Pepper's Lonely Hearts Club Band", + "Hotel California", "Dirty Dancing", "21", "Let's Talk About Love", "1", "Gold: Greatest Hits", "Dangerous", "The Immaculate Collection", "Abbey Road", "Born in the U.S.A.", + "Brothers in Arms", "Titanic: Music from the Motion Picture", "Metallica", "Nevermind", "The Wall", "Supernatural", "Appetite for Destruction", "Slippery When Wet", "Music Box", + "The Eminem Show", "Hybrid Theory", "Come Away with Me", "Unplugged", "True Blue", "Legend: The Best of Bob Marley & The Wailers", "Tapestry", "No Jacket Required", "Greatest Hits", + "Bridge over Troubled Water", "The Joshua Tree", "...Baby One More Time", "Backstreet's Back", "Backstreet Boys", "Millennium", "Spice", "Happy Nation", "The Sign", "Whitney Houston", + "(What's the Story) Morning Glory?", "The Marshall Mathers LP", "Like a Virgin", "Cross Road", "25", "Boston", "Oops!... I Did It Again", "The Colour of My Love", "Hysteria", "Faith", + "Dookie", "Can't Slow Down", "Daydream", "HIStory: Past, Present and Future, Book I", "Off the Wall", "The Woman in Me", "Breakfast in America", "Tracy Chapman", + "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"] diff --git a/test/faker/music/test_faker_hiphop.rb b/test/faker/music/test_faker_hiphop.rb deleted file mode 100644 index 668eb70c89..0000000000 --- a/test/faker/music/test_faker_hiphop.rb +++ /dev/null @@ -1,21 +0,0 @@ -# frozen_string_literal: true - -require_relative '../../test_helper' - -class TestFakerHiphop < Test::Unit::TestCase - def setup - @tester = Faker::Music::Hiphop - end - - def test_artist - assert @tester.artist.match(/\w+/) - end - - def test_groups - assert @tester.groups.match(/\w+/) - end - - def test_subgenres - assert @tester.subgenres.match(/\w+/) - end -end