tubular-faker 0.0.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 +7 -0
  2. data/lib/tubular-faker.rb +41 -0
  3. metadata +44 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 8cdeabe6d2e54bce9159115a29b43b5694ff7264
4
+ data.tar.gz: 27aa494fe9a57fcec9e72a8b80cc20cba10afb89
5
+ SHA512:
6
+ metadata.gz: cc97fd7dd18e2e51dffacfdcccdf1751080ee8c9798c13d7790b2d99849eef5d776c3d1f17f743e3014e08c86f9347d9f0fc9f9afcf969cf74534397f1c9db03
7
+ data.tar.gz: 8fd9a18ff9d6955b5d3604a2ff8ddfe8da36829d821b046702ba3f23969f5768bf081a388a7ff628ef17beedd14c89bef3968339cb7817caccff73291ec303b3
@@ -0,0 +1,41 @@
1
+ module TubularFaker
2
+
3
+ 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"]
5
+ }
6
+ 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"]
9
+ }
10
+ ADDRESSES = {
11
+ city_prefix: ["North", "East", "West", "South", "New", "Lake", "Port"],
12
+ city_suffix: ["town", "land", "ville", "berg", "view", "furt", "chester", "haven", "shire"]
13
+ }
14
+ 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"]
16
+ }
17
+
18
+ def self.name
19
+ "#{NAMES[:first_names].shuffle.pop} #{NAMES[:last_names].shuffle.pop}"
20
+ end
21
+
22
+ def self.company
23
+ "#{GENERAL[:adjectives].shuffle.pop} #{COMPANIES[:products].shuffle.pop}"
24
+ end
25
+
26
+ def self.city
27
+ "#{ADDRESSES[:city_prefix].shuffle.pop} #{GENERAL[:adjectives].shuffle.pop}#{ADDRESSES[:city_suffix].shuffle.pop}"
28
+ end
29
+
30
+ end
31
+
32
+ ########################### Examples: ####################################
33
+
34
+ # TubularFaker.name
35
+ #=> Bjork Duchovny
36
+
37
+ # TubularFaker.company
38
+ #=> Whatever Cereal
39
+
40
+ # TubularFaker.city
41
+ #=> East Cowabungatown
metadata ADDED
@@ -0,0 +1,44 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: tubular-faker
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Lucian Kahn
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2015-04-08 00:00:00.000000000 Z
12
+ dependencies: []
13
+ description:
14
+ email: luciankahn@gmail.com
15
+ executables: []
16
+ extensions: []
17
+ extra_rdoc_files: []
18
+ files:
19
+ - lib/tubular-faker.rb
20
+ homepage: http://rubygems.org/gems/hola
21
+ licenses:
22
+ - MIT
23
+ metadata: {}
24
+ post_install_message:
25
+ rdoc_options: []
26
+ require_paths:
27
+ - lib
28
+ required_ruby_version: !ruby/object:Gem::Requirement
29
+ requirements:
30
+ - - ">="
31
+ - !ruby/object:Gem::Version
32
+ version: '0'
33
+ required_rubygems_version: !ruby/object:Gem::Requirement
34
+ requirements:
35
+ - - ">="
36
+ - !ruby/object:Gem::Version
37
+ version: '0'
38
+ requirements: []
39
+ rubyforge_project:
40
+ rubygems_version: 2.2.2
41
+ signing_key:
42
+ specification_version: 4
43
+ summary: 90's-themed fake data gem for seeding databases, lorem ipsum, etc.
44
+ test_files: []