ponymizer 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/ponymizer.rb +124 -0
  2. metadata +45 -0
data/lib/ponymizer.rb ADDED
@@ -0,0 +1,124 @@
1
+ # encoding: utf-8
2
+
3
+ class Ponymizer
4
+ # to generate a non-normalized version of this list of names
5
+ # go to http://mlp.wikia.com/wiki/List_of_ponies and run
6
+ # [].slice.apply(document.querySelectorAll('table.wikitable tr td:first-child'))
7
+ # .map(function(x){ return x.innerText }).join(', ')
8
+ NAMES = <<-RAINBOW_ENDS
9
+ Applejack, Pinkie Pie, Fluttershy, Rainbow Dash, Rarity, Twilight Sparkle, Apple Bloom,
10
+ Scootaloo, Sweetie Belle, Big McIntosh, Braeburn, Caramel, Mr. Carrot Cake, Mrs. Cup Cake,
11
+ Cheerilee, Filthy Rich, Granny Smith, Ms. Harshwhinny, Hoity Toity, Mayor Mare, Ms. Peachbottom,
12
+ Photo Finish, Sapphire Shores, Daring Do, Derpy, Lightning Dust, Flash Sentry, Pegasus royal guards,
13
+ Soarin, Spitfire, Princess Cadance, Princess Celestia, Princess Luna, Fancy Pants, Flam,
14
+ Flim, Joe, King Sombra, Prince Blueblood, Shining Armor, The Great and Powerful Trixie,
15
+ Sunset Shimmer, Unicorn royal guards, Babs Seed, Diamond Tiara, Featherweight, Pipsqueak, Pound Cake,
16
+ Pumpkin Cake, Silver Spoon, Snails, Snips, Twist, Aunt Orange, Uncle Orange, Pinkie's mom,
17
+ Cloudy Quartz, Pinkie's dad, Igneous Rock, Granny Smith's father, Pokey Oaks, Granny Smith's mother,
18
+ Sew 'n Sow, Stinkin' Rich, Apple Bumpkin, Apple Cider, Apple Cinnamon, Apple Cobbler, Apple Dumpling,
19
+ Apple Fritter, Apple Honey, Apple Leaves, Apple Pie, Apple Rose, Apple Split, Apple Strudel, Apple Top,
20
+ Auntie Applesauce, Bushel, Candy Apples, Caramel Apple, Curly Cobbler, Florina, Golden Delicious,
21
+ Half Baked Apple, Happy Trails, Hayseed Turnip Truck, Jonagold, Lavender Fritter, Magdalena,
22
+ Peachy Sweet, Pink Lady, Prairie Tune, Red Delicious, Red Gala, Sundowner, Wensley, Twilight's dad,
23
+ Night Light, Twilight's mom, Twilight Velvet, Rarity's dad, Magnum, Rarity's mom, Pearl,
24
+ Pinkie's sister, Limestone Pie, Pinkie's sister, Marble Pie, Apple Bud, Apple Crumble, Apple Flora,
25
+ Apple Mint, Apple Squash, Liberty Belle, Red June, Sweet Tooth, Ace, Affero, All Aboard, Aloe,
26
+ Amaranthine, Ambrosia, Amira, Apple Bottom, Apple Bread, Apple Munchies, Apple Slice, Apricot Bow,
27
+ Baritone, Beauty Brass, Bell Perin, Belle Star, Berry Dreams, Berry Frost, Berry Icicle,
28
+ Berryshine, Big Wig, Professor Bill Neigh, Black Stone, Blue Bonnet, Bonnie, Bottlecap, Mr. Breezy,
29
+ Brindle Young, Burnt Oak, Caboose, Caesar, Candy Mane, Candy Twirl, Charcoal Bakes, Charlie Coal,
30
+ Chelsea Porcelain, Cherry Berry, Cherry Fizzy, Cherry Jubilee, Cherry Strudel, Chilly Puddle,
31
+ Chocolate Haze, Classy Clover, Clip Clop, Cloudy Haze, Cobalt, Cobalt Shade, Coconut, Concerto,
32
+ Cormano, Cornflower, Cosmic, Creme Brulee, Crescendo, Crest Crown, Dainty Dove, Daisy, Flashy Pony,
33
+ Dance Fever, Davenport, Doseydotes, Dosie Dough, Dry Wheat, Eiffel, Elphaba Trot, Emerald Beacon,
34
+ Evening Star, Felix, Fiddlesticks, Film Reel, Flounder, Flurry, Forest Spirit, Frederick Horseshoepin,
35
+ Fuzzy Slippers, G. Raff, Geri, Gingerbread, Ginger Gold, Giselle, Gizmo, Golden Harvest, Goldengrape,
36
+ Grape Crush, Grape Delight, Green Jewel, Mr. Greenhooves, Haakim, Hard Knocks, Harry Trotter,
37
+ Hay Fever, Haymish, Hazel Harvest, The Headless Horse, Herald, Hercules, High Style, Hippocrates,
38
+ Dr. Hooves, Horte Cuisine, Hugh Jelly, Icy Drop, Jangles, Jeff Letrotski, Jesús Pezuña, Jim Beam,
39
+ John Bull, Jubileena, Junebug, Karat, Kazooie, Klein, Knit Knot, Lavender Blush, Lavenderhoof,
40
+ Lemon Chiffon, Lilac Links, Lily Valley, Lincoln, Linked Hearts, Little Po, Lotus Blossom,
41
+ Lucky Clover, Lyrica Lilac, Majesty, Dr. Mane Goodall, Mango Juice, Marigold, Maroon Carrot,
42
+ Masquerade, Master, Maybelline, Meadow Song, Melilot, Midnight Fun, Millie, Mint Swirl, Mjölna,
43
+ Morton Saltworthy, Noteworthy, Nurse Redheart, Nurse Snowheart, Nurse Sweetheart, Nurse,
44
+ enderheart, Oakey Doke, Obscurity, Octavia Melody, The Olden Pony, Oregon Trail, Orion,
45
+ Paisley Pastel, Pampered Pearl, Parish Nandermane, Peachy Cream, Persnickety, Petunia,
46
+ Picture Perfect, Pigpen, Pine Breeze, Pipe Down, Pish Posh, Pitch Perfect, Play Write,
47
+ Post Haste, Powder Rouge, Pretty Vision, Promontory, Purple Haze, Purple Wave, Masseuse Pony,
48
+ Quake, Raggedy Doctor, Ragtime, Reflective Rock, Regal Candent, Rick Shaw, Roma, Rose, Roxie,
49
+ Royal Riff, Salt Lick, Sandy Soles, Screw Loose, Screwball, Seasong, Serena, Shamrock,
50
+ Sheriff Silverstar, Shoeshine, Shortround, Sir Pony Moore, Sky View, Smokestack, Snappy Scoop,
51
+ Soigne Folio, Soot Stain, Spring Flower, Spring Water, Squeaky Clean, Star Gazer, Starlight,
52
+ Steamer, Steel Wright, Stella, Storm, Strawberry Cream, Sun Streak, Sunset Bliss, Surf, Swan Dive,
53
+ Sweetie Drops, Swift Justice, Symphony, Theodore Donald Kerabatsos, Toffee, Tourist Trap,
54
+ Tree Sap, Tropical Spring, Turf, Twilight Sky, Uncle Wing, Vanilla Sweets, Vera, Vigilance,
55
+ Wacky Hair Day and Spray, Mr. Waddle, Bowling Pony, Walter, Welly, Wildwood Flower,
56
+ William Wright, Wilma, Winter Withers, Wisp, Yooess Dee, Mr. Zippy, Agatha, Amberlocks,
57
+ Amber Waves, Arctic Lily, Ardent, Autumn Gem, Berry Splash, Castle, Check Mate, Crystal Arrow,
58
+ Dandy Brush, Esmeralda, Fleur de Verre, Golden Glitter, Goldilocks, Honey Tone, Honeycomb,
59
+ Ivory, Jade, Long Jump, Night Knight, Paradise, Purple Polish, Quicksilver, Rapid Rush,
60
+ Rose Quartz, Rubinstein, Sapphire Rose, Sugar Glass, Sunshine Splash, Toastie, Winnow Wind,
61
+ Zirconic, Glass Slipper, Hope, Opal Bloom, Blaze, Fire Streak, Fleetfoot, High Winds,
62
+ Lightning Streak, Misty Fly, Rapidfire, Silver Lining, Surprise, Wave Chill, Crescent Pony
63
+ Crescent Moon, Manerick, Whiplash, Airheart, April Showers, Big Shot, Blossomforth,
64
+ Blue October, Blueberry Muffin, Blue Skies, Bluebell, Blueberry Cloud, Bluebird Happiness,
65
+ Bon Voyage, Brolly, Buddy, Candy Floss, Cappuccino, Luke, Chocolate Blueberry, Cinnamon Swirl,
66
+ Cloud Break, Cloud Kicker, Cloud Showers, Cloudchaser, Crafty Crate, Cream Tangerine, Deep Blue,
67
+ Descent, Dewdrop, Dizzy Twister, Drizzle, Dumb-Bell, Dust Devil, Electric Blue, Endless Clouds,
68
+ Flash Bulb, Flitter, Golden Glory, Graceful Falls, Grape Soda, Great Scott, Green Gem, Helia,
69
+ Honey Rays, Hoops, Jack Hammer, Juicy Fruit, Laurette, Lavender Skies, Lightning Bolt,
70
+ Lime Jelly, Lucy Packard, Madden, Merry May, Midnight Strike, Milky Way, Nana Knits,
71
+ Nightingale, Northern Lights, Opal Water, Orange Blossom, Orange Box, Parasol, Parula,
72
+ Peppermint Crunch, Pink Cloud, Pizzelle, Prism Glider, Pumpkin Tart, Q. T. Prism, Rain Dance,
73
+ Rainbow Drop, Rainbow Strike, Rainbowshine, Raindrops, Riverdance, Rivet, Rosewing, Sandstorm,
74
+ Sassaflash, Score, Serenity, Sightseer, Silver Script, Silverspeed, Silverwing, Skyra,
75
+ Slipstream, Snow Flight, Snowflake, Special Delivery, Spectrum, Spring Skies, Sprinkle Medley,
76
+ Star Hunter, Starburst, Stardancer, Starsong / Sugar Apple, Strawberry Sunrise, Stormfeather,
77
+ Sunburst, Sunlight, Sunny Rays, Sunstone, Doctor Whooves, Thorn, Thunderlane, Tiger Lily,
78
+ Tin Tailor, Tracy Flash, Shutterfly, Tropical Storm, Vanilla Skies, Wild Fire, Wild Flower,
79
+ Wing Wishes, Yo-Yo, Gumdrop, Allie Way, Amethyst Star, Apple Polish, Apple Stars, Arpeggio,
80
+ Ballad, Banana Fluff, Black Marble, Blue Belle, Brass Blare, Bright Idea, Charm, Chocolate Sun,
81
+ Chocolate Tail, Cinnabelle, Cold Front, Comet Tail, Crystal Clear, Diamond Mint
82
+ Doctor Stable, Earl Grey, Eliza, Faraday, Flank Sinatra, Fleur Dis Lee, Fly Wishes,
83
+ Gold Slipper, Graphite, Holly Dash, Hors D'oeuvre, The Inquisitor, Jet Set, Lemon Hearts,
84
+ Lemony Gem, Lyra Heartstrings, Marey Fetlock, Maxie, Madmax, Minuette, Mochaccino,
85
+ Monochrome Sunset, Neon Lights, Nixie, Noble Laureate, North Pole, Ocean Breeze, Orchid Dew,
86
+ Perfect Timing, Perry Pierce, Pixie, Pokey Pierce, Ponet, Poppycock, Primrose, Pristine,
87
+ Quick Fix, Raven, Red Rose, Rhythm, Night Shade, Rosewood Brook, Royal Ribbon, Sea Spray,
88
+ Sea Swirl, South Pole, Spring Fresh, Star Bright, Star Dream, Sky Dream, Strawberry Lime,
89
+ Sugarberry, Sweet Dreams, Top Notch, Twinkleshine, Upper Crust, Vance Van Vendington,
90
+ Violet Velvet, Written Script, Amethyst Beat, Apple Bytes, Archer, Atlas, Aura, Bee Bop,
91
+ Berry Pinch, Bloo, Blueberry Cake, Brown Sugar, Button Mash, Caramel Coffee, Checkered Flag,
92
+ Cheery, Chip Mint, Coronet, Cotton Cloudy, Cotton Top, Cream Puff, Cyan Skies, Dinky Doo, Dipsy,
93
+ Firelock, Fruitbasket, Grace Lightning, Green Daze, Honey Drop, Hot Wheels, Key Lime, Lance,
94
+ Lemon Daze, Lemon Scratch, Lickety Split, Lily Dache, Mango Dash, Melody, Noi, Nursery Rhyme,
95
+ Peachy Petal, Peachy Pie, Piña Colada, Pinkie Feather, Pomegranate, Princess Erroria,
96
+ Purpletastic, Purpleskies, Rainy Feather, Royal Blue, Rumble, Shady Daze, Shining Star, Strike,
97
+ Sugar Plum, Sun Glimmer, Sunny Daze, Sweet Pop, Sweet Tart, Tootsie Flute, Tornado Bolt,
98
+ Treasure, Teacher's Pet, Truffle Shuffle, Crafty Crate, Crescent Moon, Green Gem, Helia,
99
+ Jack Hammer, Lyra Heartstrings, Minuette, Raven, Rivet, Spectrum, Sprinkle Medley,
100
+ Star Hunter, Sunburst, Doctor Whooves, Tin Tailor, Meadow Song,
101
+ Twilight Sky, Goldengrape, Horte Cuisine, Lucy Packard, Master, Orion, Red Gala, Swan Dive,
102
+ Applejack, Berry Pinch, Big McIntosh, Cheerilee, Derpy, Fluttershy, Liberty Belle, Pinkie Pie,
103
+ Princess Erroria, Rainbow Dash, Rarity, Red June, Tornado Bolt, Twilight Sparkle,
104
+ Prince Blue Dream, Chancellor Puddinghead, Smart Cookie, Commander Hurricane, Private Pansy,
105
+ Princess Golden Dream, Clover the Clever, Moondancer, Princess Platinum, Star Swirl the Bearded,
106
+ Unicorn King, Apple Brioche, Apple Brown Betty, Apple Cinnamon Crisp, Apple Tart,
107
+ Babs Seed's big sis, Baked Apples, Bumpkin, Calamity Mane, Crystal Queen, Granny Pie,
108
+ Mr. Kingpin, Namby-Pamby, Nana Pinkie, Thornhoof, Wild Bull Hickok
109
+ RAINBOW_ENDS
110
+ .split(',').map(&:strip).freeze
111
+
112
+ def initialize(options = {})
113
+ end
114
+
115
+ def generate(options = {})
116
+ options = { :size => 100 }.merge!(options)
117
+ Array.new(options[:size]){ gimmie_a_pony! }
118
+ end
119
+
120
+ def gimmie_a_pony!
121
+ NAMES.shuffle.first
122
+ end
123
+
124
+ end
metadata ADDED
@@ -0,0 +1,45 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: ponymizer
3
+ version: !ruby/object:Gem::Version
4
+ prerelease:
5
+ version: 0.0.1
6
+ platform: ruby
7
+ authors:
8
+ - Thomas Fuchs
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2013-11-10 00:00:00.000000000 Z
13
+ dependencies: []
14
+ description: Generator of random pony names to be used as friendly and fun test data.
15
+ email: thomas@slash7.com
16
+ executables: []
17
+ extensions: []
18
+ extra_rdoc_files: []
19
+ files:
20
+ - lib/ponymizer.rb
21
+ homepage: http://github.com/madrobby/ponymizer
22
+ licenses: []
23
+ post_install_message:
24
+ rdoc_options: []
25
+ require_paths:
26
+ - lib
27
+ required_ruby_version: !ruby/object:Gem::Requirement
28
+ requirements:
29
+ - - ! '>='
30
+ - !ruby/object:Gem::Version
31
+ version: '0'
32
+ none: false
33
+ required_rubygems_version: !ruby/object:Gem::Requirement
34
+ requirements:
35
+ - - ! '>='
36
+ - !ruby/object:Gem::Version
37
+ version: '0'
38
+ none: false
39
+ requirements: []
40
+ rubyforge_project:
41
+ rubygems_version: 1.8.23
42
+ signing_key:
43
+ specification_version: 3
44
+ summary: Random pony names
45
+ test_files: []