tubular-faker 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/tubular-faker.rb +34 -7
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5888e807e14c2c24c23ad6d9e4bd4ecb76728f48
4
- data.tar.gz: 1b503f806dc68220a296776e18a7e2c7185a74a4
3
+ metadata.gz: 4640118ce0afcdd9c04bcdea4d7409799854a5fd
4
+ data.tar.gz: 10a58f6c57124bb1e5d2d798f98bf65cfdca2597
5
5
  SHA512:
6
- metadata.gz: 7251b8f7f452654d5dd1eb01aa1c5d28d6d4e6fb996bd737060c9bd34de32d76061cc9315823ce843982a9145828a54af548959d988855ec85d0790efdd984cc
7
- data.tar.gz: 01188ed40f89745e4d0366551744f337955566ac6936e215b0f3bb362a6f074d7aff964bb1f4e30c8ba6b1887162cd893d405ed4fe85c4607f8a6a12d47c7fe3
6
+ metadata.gz: 389b38037f4401cf8a1f45023908c7098553fa0ab2b0b77359365185ec74d07e00984a4edf7d1f20f6681412e0113fc72bfda9bc1616cb83a744ca87007050d8
7
+ data.tar.gz: db2cdd367f2edbe76a760afdf1f0aa5125a043cefbdcf530380c31800c3f8cd9167e64421b2bddfd92b78a65c5419e74c41baf8616ba25271267784c63a891c2
data/lib/tubular-faker.rb CHANGED
@@ -1,30 +1,57 @@
1
1
  module TubularFaker
2
2
 
3
+ #### OPTIONS
4
+
3
5
  GENERAL = {
4
- adjectives: ["Awesome", "Tubular", "Radical", "Mega", "Bomb", "Tight", "Dope", "Chillin'", "Rockin' Rappin'", "Cowabunga", "Far Out", "Whatever", "Booyah", "Hasta la Vista", "Fly", "Phat", "Wild and Crazy", "Bogus", "Busted", "Mondo", "Exactamundo", "Tubuloso", "Rad", "Wicked", "Hella", "Gnarly", "Cyber", "Nuclear", "Grunge", "Creepy", "Spooky", "Absolute", "Total", "Extreme", "Bummer"]
6
+ adjectives: ["Awesome", "Tubular", "Radical", "Mega", "Bomb", "Tight", "Dope", "Chillin'", "Rockin' Rappin'", "Cowabunga", "Far Out", "Whatever", "Booyah", "Hasta la Vista", "Shady", "Fly", "Phat", "Wild and Crazy", "Bogus", "Busted", "Mondo", "Exactamundo", "Kewl", "Tubuloso", "Rad", "Wicked", "Hella", "Gnarly", "Cyber", "Nuclear", "Grunge", "Creepy", "Spooky", "Absolute", "Total", "Extreme", "Bummer", "l33t"],
7
+ numbers: ["2K", "64", "1994", "1995", "1996", "1997", "1998", "1999", "2000", "360", "180", "69", "1001", "3000", "311", "94", "95", "96", "97", "98", "99", "666", "667", "1337"],
8
+ years: ["1990", "1991", "1992", "1993", "1994", "1995", "1996", "1997", "1998", "1999"]
5
9
  }
6
10
  NAMES = {
7
- first_names: ["Kurt", "Eddie", "Dylan", "2Pac", "Mariah", "Madonna", "Bono", "The Notorious", "Janet", "Thom", "Tre", "Lauryn", "Lars", "Ice", "Vanilla", "Snoop", "Trent", "Beck", "Alanis", "Axl", "Bjork", "Gwen", "Prince", "Whitney", "Tori", "Ani", "Missy", "Seal", "Gavin", "Sinead", "Coolio", "Krist", "Courtney", "Sheryl", "Busta", "Hootie", "Sarah Michelle", "Neve", "Heather", "Luke", "Mark-Paul", "Melissa Joan", "Calista", "Tiffani", "River", "Blossom", "Clarissa", "Balki", "Frasier", "Regis", "Geraldo", "Beavis", "Butthead", "Roseanne", "Screech", "MacGyver", "Chandler", "Bart", "Zack", "Billy", "Kevin", "Jessica", "Uma"],
8
- last_names: ["Cobain", "Vedder", "Corgan", "Shakur", "Carey", "Bono", "Dre", "Kiedis", "B.I.G.", "Jackson", "Cool J.", "Ulrich", "Cube", "Ice", "Dogg", "Reznor", "Blige", "Rza", "Morissette", "Rose", "Latifah", "Stefani", "Houston", "DiFranco", "Amos", "Weiland", "Rossdale", "Manson", "Phair", "Grohl", "Novaselic", "Love", "Crow", "Rhymes", "Loder", "Clooney", "Aniston", "Gellar", "Duchovny", "Stamos", "Locklear", "Priestley", "Perry", "Doherty", "Gosselaar", "Taylor Thomas", "Lawless", "Applegate", "Soprano", "Flockhart", "Sorbo", "Love Hewitt", "Cosby", "Elfman", "Brandis", "Phoenix", "Pickles", "Carrey", "Kramer", "Seinfeld", "Simpson", "Urkel"]
11
+ first_names: ["Kurt", "Eddie", "Dylan", "2Pac", "Mariah", "Madonna", "Bono", "The Notorious", "Janet", "Thom", "Tre", "Lauryn", "Lars", "Ice", "Vanilla", "Snoop", "Trent", "Beck", "Alanis", "Axl", "Bjork", "Gwen", "Prince", "Whitney", "Tori", "Ani", "Missy", "Seal", "Gavin", "Sinead", "Coolio", "Krist", "Courtney", "Sheryl", "Busta", "Hootie", "Sarah Michelle", "Neve", "Heather", "Luke", "Mark-Paul", "Melissa Joan", "Calista", "Tiffani", "River", "Blossom", "Clarissa", "Balki", "Frasier", "Regis", "Geraldo", "Beavis", "Butthead", "Roseanne", "Screech", "MacGyver", "Chandler", "Bart", "Zack", "Billy", "Kevin", "Jessica", "Uma", "Scully"],
12
+ last_names: ["Cobain", "Vedder", "Corgan", "Shakur", "Carey", "Bono", "Dre", "Kiedis", "B.I.G.", "Jackson", "Cool J.", "Ulrich", "Cube", "Ice", "Dogg", "Reznor", "Blige", "Rza", "Morissette", "Rose", "Latifah", "Stefani", "Houston", "DiFranco", "Amos", "Weiland", "Rossdale", "Manson", "Phair", "Grohl", "Novaselic", "Love", "Crow", "Rhymes", "Loder", "Clooney", "Aniston", "Gellar", "Duchovny", "Stamos", "Locklear", "Priestley", "Perry", "Doherty", "Gosselaar", "Taylor Thomas", "Lawless", "Applegate", "Soprano", "Flockhart", "Sorbo", "Love Hewitt", "Cosby", "Elfman", "Brandis", "Phoenix", "Pickles", "Carrey", "Kramer", "Seinfeld", "Simpson", "Urkel", "Lewinsky"]
9
13
  }
10
14
  ADDRESSES = {
11
15
  city_prefix: ["North", "East", "West", "South", "New", "Lake", "Port"],
12
16
  city_suffix: ["town", "land", "ville", "berg", "view", "furt", "chester", "haven", "shire"]
13
17
  }
14
18
  COMPANIES = {
15
- products: ["Juice", "Soakers", "Beans", "3D", "Dudes", "Dudettes", "Babies", "Cards", "Net", "Cereal", "Pogs", "Soda", "Beepers", "IIGS", "Headphones", "Sneakers", "Arcade", "2K", "64", "Body Splash", "Shimmer", "Trolls", "Flannel", "Boots", "Jewels", "Stickers", "Tapes", "Scrunchies", "Beanies", "Applets", "Frames", "Dot-Com", "Superhighway", "Netiquette", "Screensavers", "Virtual Reality", "BBS", "Hot Links", "Snax"]
19
+ products: ["Juice", "Soakers", "Beans", "3D", "Dudes", "Dudettes", "Babies", "Cards", "Net", "Cereal", "Pogs", "Soda", "Beepers", "IIGS", "Headphones", "Sneakers", "Arcade", "Body Splash", "Shimmer", "Trolls", "Flannel", "Boots", "Jewels", "Stickers", "Tapes", "Scrunchies", "Beanies", "Applets", "Frames", "Dot-Com", "Superhighway", "Netiquette", "Screensavers", "Virtual Reality", "BBS", "Hot Links", "Snax"]
20
+ }
21
+
22
+ INTERNET = {
23
+ domains: ["aol", "hotmail", "geocities", "tripod", "angelfire", "earthlink"],
24
+ dot: [".com", ".net"],
25
+ pages: ["index", "applet", "hotlinks", "guestbook", "homepage", "website", "cyber", "fanpage", "chatroom"]
16
26
  }
27
+ LINGO = {
28
+ catchphrases: ["Did I do that?", "D'oh!", "You got it, dude.", "It's not a tumor.", "There's no crying in baseball.", "Scha-wing!", "I am the great cornholio!", "Run Forrest, run!", "Allllllrighty then.", "No soup for you!", "As if!", "Oh my god, they killed Kenny!", "I see dead people.", "All that and a bag of chips.", "Don't go there!", "Eat my shorts!", "How's it hangin'?", "It's all good.", "NOT!", "PSYCH!", "No duh.", "Doy hickey.", "Oh snap!", "It's da bomb!", "So is your FACE.", "Talk to the hand.", "What up, dawg?", "What's the dillio?", "Yadda yadda yadda.", "Yoink!", "Your mom.", "So funny I forgot to laugh.", "Then why don't you marry it?", "Take a chill pill!", "You go girl!", "Kewl beans.", "L8r sk8r!", "Peace out, cub scout!", "Bling bling!", "Let's bounce!", "Mad props.", "Score!"]
29
+ }
30
+
31
+ #### METHODS
17
32
 
18
33
  def self.name
19
- "#{NAMES[:first_names].shuffle.pop} #{NAMES[:last_names].shuffle.pop}"
34
+ "#{NAMES[:first_names].sample} #{NAMES[:last_names].sample}"
20
35
  end
21
36
 
22
37
  def self.company
23
- "#{GENERAL[:adjectives].shuffle.pop} #{COMPANIES[:products].shuffle.pop}"
38
+ "#{GENERAL[:adjectives].sample} #{COMPANIES[:products].sample}"
24
39
  end
25
40
 
26
41
  def self.city
27
- "#{ADDRESSES[:city_prefix].shuffle.pop} #{GENERAL[:adjectives].shuffle.pop}#{ADDRESSES[:city_suffix].shuffle.pop}"
42
+ "#{ADDRESSES[:city_prefix].sample} #{GENERAL[:adjectives].sample}#{ADDRESSES[:city_suffix].sample}"
43
+ end
44
+
45
+ def self.url
46
+ "http://www.#{INTERNET[:domains].sample}#{INTERNET[:dot].sample}/#{NAMES[:first_names].sample.downcase.strip}#{GENERAL[:numbers].sample}/#{INTERNET[:pages].sample}.html"
47
+ end
48
+
49
+ def self.date
50
+ "#{rand(12)+1}/#{rand(29)+1}/#{GENERAL[:years].sample}"
51
+ end
52
+
53
+ def self.lingo
54
+ "#{LINGO[:catchphrases].sample}"
28
55
  end
29
56
 
30
57
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tubular-faker
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lucian Kahn
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-04-08 00:00:00.000000000 Z
11
+ date: 2015-04-09 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description:
14
14
  email: luciankahn@gmail.com