-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Faker::Games::SuperSmashBros (#1427)
* Add Faker::Games::SuperSmashBros * Add newline at end of file
- Loading branch information
Showing
6 changed files
with
244 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# Faker::Games::SuperSmashBros | ||
|
||
Data up to date as of October 2018, preceding any final announcements on *Super Smash Bros. Ultimate*. | ||
|
||
```ruby | ||
# Any playable fighter from the series | ||
Faker::Games::SuperSmashBros.fighter #=> "Simon Belmont" | ||
|
||
# Any stage from the series | ||
Faker::Games::SuperSmashBros.stage #=> "Temple" | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# frozen_string_literal: true | ||
|
||
module Faker | ||
module Games | ||
class SuperSmashBros < Base | ||
class << self | ||
def fighter | ||
fetch('games.super_smash_bros.fighter') | ||
end | ||
|
||
def stage | ||
fetch('games.super_smash_bros.stage') | ||
end | ||
end | ||
end | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,197 @@ | ||
en: | ||
faker: | ||
games: | ||
super_smash_bros: | ||
fighter: | ||
- Bayonetta | ||
- Bowser | ||
- Bowser Jr. | ||
- Captain Falcon | ||
- Charizard | ||
- Chrom | ||
- Cloud | ||
- Corrin | ||
- Daisy | ||
- Dark Pit | ||
- Dark Samus | ||
- Diddy Kong | ||
- Donkey Kong | ||
- Dr. Mario | ||
- Duck Hunt Duo | ||
- Falco | ||
- Fox | ||
- Ganondorf | ||
- Greninja | ||
- Ice Climbers | ||
- Ike | ||
- Inkling | ||
- Isabelle | ||
- Ivysaur | ||
- Jigglypuff | ||
- King Dedede | ||
- King K. Rool | ||
- Kirby | ||
- Link | ||
- Little Mac | ||
- Lucario | ||
- Lucas | ||
- Lucina | ||
- Luigi | ||
- Mario | ||
- Marth | ||
- Mega Man | ||
- Meta Knight | ||
- Mewtwo | ||
- Mii Fighter | ||
- Mii Gunner | ||
- Mii Sword Fighter | ||
- Mr. Game & Watch | ||
- Ness | ||
- Olimar | ||
- Pac-Man | ||
- Palutena | ||
- Peach | ||
- Pichu | ||
- Pikachu | ||
- Pit | ||
- Pokémon Trainer | ||
- R.O.B. | ||
- Richter Belmont | ||
- Ridley | ||
- Robin | ||
- Rosalina | ||
- Roy | ||
- Ryu | ||
- Samus | ||
- Sheik | ||
- Shulk | ||
- Simon Belmont | ||
- Snake | ||
- Sonic | ||
- Squirtle | ||
- Toon Link | ||
- Villager | ||
- Wario | ||
- Wii Fit Trainer | ||
- Wolf | ||
- Yoshi | ||
- Young Link | ||
- Zelda | ||
- Zero Suit Samus | ||
stage: | ||
- 3D Land | ||
- 75m | ||
- Arena Ferox | ||
- Balloon Fight | ||
- Battlefield | ||
- Big Battlefield | ||
- Big Blue | ||
- Boxing Ring | ||
- Bridge of Eldin | ||
- Brinstar | ||
- Brinstar Depths | ||
- Castle Siege | ||
- Coliseum | ||
- Corneria | ||
- Delfino Plaza | ||
- Distant Planet | ||
- Dracula's Castle | ||
- Dream Land | ||
- Duck Hunt | ||
- Figure-8 Circuit | ||
- Final Destination | ||
- Find Mii | ||
- Flat Zone | ||
- Flat Zone 2 | ||
- Flat Zone X | ||
- Fountain of Dreams | ||
- Fourside | ||
- Frigate Orpheon | ||
- Gamer | ||
- Garden of Hope | ||
- Gaur Plain | ||
- Gerudo Valley | ||
- Golden Plains | ||
- Great Bay | ||
- The Great Cave Offensive | ||
- Great Plateau Tower | ||
- Green Greens | ||
- Green Hill Zone | ||
- Halberd | ||
- Hanenbow | ||
- Hyrule Castle | ||
- Icicle Mountain | ||
- Jungle Hijinxs | ||
- Jungle Japes | ||
- Kalos Pokémon League | ||
- Kongo Falls | ||
- Kongo Jungle | ||
- Living Room | ||
- Luigi's Mansion | ||
- Lylat Cruise | ||
- Magicant | ||
- Mario Bros. | ||
- Mario Circuit | ||
- Mario Galaxy | ||
- Midgar | ||
- Miiverse | ||
- Moray Towers | ||
- Mushroom Kingdom | ||
- Mushroom Kingdom II | ||
- Mushroomy Kingdom | ||
- Mushroom Kingdom U | ||
- Mute City | ||
- New Donk City Hall | ||
- New Pork City | ||
- Norfair | ||
- Onett | ||
- Orbital Gate Assault | ||
- Pac-Land | ||
- Pac-Maze | ||
- Palutena's Temple | ||
- Paper Mario | ||
- Peach's Castle | ||
- Princess Peach's Castle | ||
- PictoChat | ||
- PictoChat 2 | ||
- Pilotwings | ||
- Pirate Ship | ||
- Planet Zebes | ||
- Poké Floats | ||
- Pokémon Stadium | ||
- Pokémon Stadium 2 | ||
- Port Town Aero Dive | ||
- Prism Tower | ||
- Pyrosphere | ||
- Rainbow Cruise | ||
- Rainbow Road | ||
- Reset Bomb Forest | ||
- Rumble Falls | ||
- Saffron City | ||
- Sector Z | ||
- Shadow Moses Island | ||
- Skyloft | ||
- Skyworld | ||
- Smashville | ||
- Spear Pillar | ||
- Spirit Train | ||
- Summit | ||
- Super Happy Tree | ||
- Super Mario Maker | ||
- Suzaku Castle | ||
- Temple | ||
- Tomodachi Life | ||
- Tortimer Island | ||
- Town and City | ||
- Umbra Clock Tower | ||
- Unova Pokémon League | ||
- Venom | ||
- WarioWare, Inc. | ||
- Wii Fit Studio | ||
- Wily Castle | ||
- Windy Hill Zone | ||
- Woolly World | ||
- Wrecking Crew | ||
- Wuhu Island | ||
- Yoshi's Island | ||
- Yoshi's Story |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# frozen_string_literal: true | ||
|
||
require_relative 'test_helper' | ||
|
||
class TestFakerGamesSuperSmashBros < Test::Unit::TestCase | ||
def setup | ||
@tester = Faker::Games::SuperSmashBros | ||
end | ||
|
||
def test_fighter | ||
assert @tester.fighter.match(/\w+/) | ||
end | ||
|
||
def test_stage | ||
assert @tester.stage.match(/\w+/) | ||
end | ||
end |