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.
- checksums.yaml +4 -4
- data/lib/tubular-faker.rb +34 -7
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4640118ce0afcdd9c04bcdea4d7409799854a5fd
|
4
|
+
data.tar.gz: 10a58f6c57124bb1e5d2d798f98bf65cfdca2597
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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", "
|
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].
|
34
|
+
"#{NAMES[:first_names].sample} #{NAMES[:last_names].sample}"
|
20
35
|
end
|
21
36
|
|
22
37
|
def self.company
|
23
|
-
"#{GENERAL[:adjectives].
|
38
|
+
"#{GENERAL[:adjectives].sample} #{COMPANIES[:products].sample}"
|
24
39
|
end
|
25
40
|
|
26
41
|
def self.city
|
27
|
-
"#{ADDRESSES[:city_prefix].
|
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.
|
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-
|
11
|
+
date: 2015-04-09 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description:
|
14
14
|
email: luciankahn@gmail.com
|