faker-stoked 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 35a47dbcce645f1eef4b4527b9fbdfce9c73187b
4
- data.tar.gz: 15d856deab1582222188288335768440ef8281dc
3
+ metadata.gz: 4c6a5e33196d14d44e01fbb06cec25a822d3cc05
4
+ data.tar.gz: 73668e9056bb43cd2e97601c3dc99b952347a37d
5
5
  SHA512:
6
- metadata.gz: a46c5b3fc470ffa23d75986d6e777f32219b393e3bf69c68df911bccc3623f2fa4e518e2bc7e1c19454b7f6b86ab7fbd7e5ea02ca90771f86d9d4ba1f611b204
7
- data.tar.gz: 7d035130f0802fdff518df4a439f9e3d3c71ccd6054ee507ee262ce64ac168e5b583f549a4b9db1a5bc430c4f359c254c5ea3e06d320cf6d0a76235db5860149
6
+ metadata.gz: 1a72cb17f104ee1069d3deff25a7c6e0ae498a2f591a378948730a93f3f8fb9f5f3487537315f6afc2dec5730756fc093c5c5b7a33208c91dba9e00d108cc33d
7
+ data.tar.gz: e73072f1622b6a772e960d0d047bf853efa2fa516fa3e3acc72feb23231bb5c1962d235d674ebfdd82f0a93786986e6c7ad6eb6c768cb83dfe002cafb0ebe86b
data/README.rdoc CHANGED
@@ -4,20 +4,26 @@ This is an extension of the faker gem, allowing stoked bros and brodies to effor
4
4
 
5
5
  == Installation
6
6
 
7
- with Bundler, add it to your Gemfile:
7
+ with Bundler, add faker and the faker-stoked gems to your Gemfile:
8
8
 
9
9
  > gem 'faker'
10
+ > gem 'faker-stoked'
10
11
 
11
- or do:
12
+ == Usage
12
13
 
13
- > gem install faker
14
+ > Faker::Stoked.bronoun
15
+ => "don quibrote"
14
16
 
17
+ > Faker::Stoked.bio
18
+ => "Bodacious but inevitably rad snowboarder. Loves Miley Cyrus, radical defying death, endurance."
15
19
 
16
- == Usage
20
+ > Faker::Stoked.bro_food
21
+ => "broast chicken breast"
22
+
23
+ > Faker::Stoked.bro_job
24
+ => "brogrammer"
17
25
 
18
- * require "stoked"
19
26
 
20
- Faker::stoked.bio
21
27
 
22
28
 
23
29
  == Contributing to faker-stoked
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.3
1
+ 0.1.4
data/faker-stoked.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "faker-stoked"
8
- s.version = "0.1.3"
8
+ s.version = "0.1.4"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Frederick D. Schoeneman"]
12
- s.date = "2013-10-17"
12
+ s.date = "2013-10-22"
13
13
  s.description = "This is an extension of the faker gem, allowing stoked \n bros and bro-ladies to effortlessly generate stoked bios, that are both \n radical and awesome while simultaneously pitted."
14
14
  s.email = "fred.schoeneman@gmail.com"
15
15
  s.extra_rdoc_files = [
@@ -25,8 +25,6 @@ Gem::Specification.new do |s|
25
25
  "Rakefile",
26
26
  "VERSION",
27
27
  "faker-stoked.gemspec",
28
- "faker_bro.rb",
29
- "faker_review.rb",
30
28
  "lib/faker/stoked.rb",
31
29
  "lib/faker_bro_bio.rb",
32
30
  "lib/faker_bro_words.rb",
data/lib/faker_bro_bio.rb CHANGED
@@ -5,17 +5,11 @@ module Faker
5
5
  class << self
6
6
 
7
7
  def bio
8
- first = adj.capitalize + " " + intmodifier + " " + adj + " " + "snowboarder" + ". "
9
- second = adverb.capitalize + " " + olympian_hobby + ", " + adj + " " + olympian_hobby + ", " + strength + "."
8
+ first = broscription.capitalize + " " + intmodifier + " " + broscription + " " + sport + ". "
9
+ second = bro_verb.capitalize + " " + bro_hobby + ", " + broscription + " " + bro_hobby + ", " + brozak + "."
10
10
  first + second
11
11
  end
12
12
 
13
- def adj
14
- %w[ awesome radical rad bodacious free-spirited cerebral all-natural american-made
15
- stoked stokealicious stokified stokastic fearless
16
- ].sample
17
- end
18
-
19
13
  def intmodifier
20
14
  [
21
15
  "but","and","almost","but equally","nearly","at the same time",
@@ -23,28 +17,28 @@ module Faker
23
17
  ].sample
24
18
  end
25
19
 
26
- def olympic_sport
20
+ def sports
27
21
  [
28
- "figure skater","speed skater","short track speed skater","ice hockey player",
22
+ "figure skater",
23
+ "speed skater",
24
+ "short track speed skater",
25
+ "ice hockey player",
29
26
  "curler",
30
- "cross-country skier","nordic skier","alpine racer",
31
- "ski jumper","freestyle skier","snowboarder","biathlete","Luger","bobsleigher",
27
+ "cross-country skier",
28
+ "nordic skier",
29
+ "alpine racer",
30
+ "ski jumper",
31
+ "freestyle skier",
32
+ "snowboarder",
33
+ "biathlete",
34
+ "Luger",
35
+ "bobsleigher",
32
36
  "skeleton rider"
33
- ].sample
34
- end
35
-
36
- def adverb
37
- [
38
- "loves","amazed by","stoked for","Spends free time"
39
- ].sample
37
+ ]
40
38
  end
41
39
 
42
- def olympian_hobby
43
- [
44
- "hamburgers", "world peace","techno dancing","my mom","teachers","painting",
45
- "Miley Cyrus","GoPro","country music","defying death",
46
- "defying that which should be defied","work with orphans","raising money for cancer"
47
- ].sample
40
+ def sport
41
+ sports.sample
48
42
  end
49
43
 
50
44
  def strength
@@ -3,7 +3,7 @@ module Faker
3
3
  class Stoked
4
4
 
5
5
  class << self
6
- def bronoun
6
+ def bronouns
7
7
  [
8
8
  "barack brobama",
9
9
  "don quibrote",
@@ -42,10 +42,14 @@ module Faker
42
42
  "brobo cop",
43
43
  "brodin, the sculptor",
44
44
  "Brobespierre"
45
- ].sample
45
+ ]
46
46
  end
47
47
 
48
- def bromebase
48
+ def bronoun
49
+ bronouns.sample
50
+ end
51
+
52
+ def brobases
49
53
  [
50
54
  "Brohannesberg",
51
55
  "Bromerica",
@@ -54,10 +58,14 @@ module Faker
54
58
  "Broklahoma",
55
59
  "Brolivia",
56
60
  "Bromania"
57
- ].sample
61
+ ]
62
+ end
63
+
64
+ def brobase
65
+ bronouns.sample
58
66
  end
59
67
 
60
- def bro_job
68
+ def bro_jobs
61
69
  [
62
70
  "Astbronaut",
63
71
  "brommando",
@@ -68,11 +76,14 @@ module Faker
68
76
  "amateur broxer",
69
77
  "brotist",
70
78
  "brotanist"
71
- ].sample
79
+ ]
80
+ end
72
81
 
82
+ def bro_job
83
+ bro_jobs.sample
73
84
  end
74
85
 
75
- def bro_food
86
+ def bro_foods
76
87
  [
77
88
  "macabroni and cheese",
78
89
  "bro-chop",
@@ -84,13 +95,21 @@ module Faker
84
95
  "broast chicken breast",
85
96
  "brorito",
86
97
  "bro-b-q"
87
- ].sample
98
+ ]
99
+ end
100
+
101
+ def bro_food
102
+ bro_foods.sample
88
103
  end
89
104
 
90
- def broscription
105
+ def broscriptions
91
106
 
92
107
  [
108
+ "american-made",
109
+ "all-natural",
110
+ "awesome",
93
111
  "brohemian",
112
+ "brodacious",
94
113
  "broficient",
95
114
  "bromazing",
96
115
  "bronificent",
@@ -99,22 +118,40 @@ module Faker
99
118
  "brotastic",
100
119
  "brolicious",
101
120
  "bronormous",
102
- "brovine",
103
- "crack brocaine"
104
- ].sample
121
+ "cerebral",
122
+ "fearless",
123
+ "free-spirited",
124
+ "radical",
125
+ "rad",
126
+ "stoked",
127
+ "stokealicious",
128
+ "stokified",
129
+ "all stoked up"
130
+ ]
105
131
  end
106
132
 
107
- def bro_saying
133
+ def broscription
134
+ broscriptions.sample
135
+ end
136
+
137
+ def broisms
108
138
 
109
139
  [
110
140
  "bro ho ho",
111
141
  "broyo",
112
142
  "yobro",
113
143
  "hey bro",
114
- ].sample
144
+ "gribbled",
145
+ "soaked",
146
+ "Toad"
147
+ ]
148
+ end
149
+
150
+ def broism
151
+ broisms.sample
115
152
  end
116
153
 
117
- def bro_thing
154
+ def bro_things
118
155
 
119
156
  [
120
157
  "bromance",
@@ -155,9 +192,9 @@ module Faker
155
192
  "brotor broat",
156
193
  "brotomic brOmb",
157
194
  "broa constrictor",
195
+ "brocodile",
158
196
  "bro-tie",
159
197
  "herbrovore",
160
- "brocodile",
161
198
  "Land Brover",
162
199
  "bro and arbrow",
163
200
  "broca brola",
@@ -167,73 +204,83 @@ module Faker
167
204
  "bromarang",
168
205
  "bromobile",
169
206
  "brohemian rhapsody",
170
- ].sample
207
+ ]
171
208
 
172
209
  end
173
210
 
174
- def camera_mount
175
- ["head strap", "chesty", "junior chesty", "jaws", "suction cup", "roll bar"].sample
211
+ def bro_thing
212
+ bro_things.sample
176
213
  end
177
214
 
178
- def brozak
215
+ def brozaks
179
216
  [
180
- "Miley Cyrus", "Robin Thicke", "MGMT", "Katy Perry", "Drake",
181
- "One Direction", "Gordon Lightfoot"
182
- ].sample
183
- end
184
-
185
- def brome_base
186
-
187
- ["Whistler", "Lake Tahoe", "Sarajevo", "Nepal", "Lake Placid","Alps","Bavaria","Grand Tetons"]
217
+ "Miley Cyrus",
218
+ "Robin Thicke",
219
+ "MGMT",
220
+ "Katy Perry",
221
+ "Drake",
222
+ "One Direction",
223
+ "Tool",
224
+ "Warren Zevon",
225
+ "Jem",
226
+ "Justin Bieber",
227
+ "Gordon Lightfoot"
228
+ ]
188
229
  end
189
230
 
190
- def biography
191
- first = adj.capitalize + " " + intmodifier + " " + adj + " " + "snowboarder" + ". "
192
- second = adverb.capitalize + " " + olympian_hobby + ", " + adj + " " + olympian_hobby + ", " + strength + "."
193
- first + second
194
- end
195
-
196
- def adj
197
- %w[ awesome radical rad bodacious free-spirited cerebral all-natural american-made
198
- stoked stokealicious stokified stokastic fearless
199
- ].sample
231
+ def brozak
232
+ brozaks.sample
200
233
  end
201
234
 
202
- def intmodifier
235
+ def bro_verbs
203
236
  [
204
- "but","and","almost","but equally","nearly","at the same time",
205
- "yet paradoxically","nevertheless","yet oxymoronically","but inevitably"
206
- ].sample
237
+ "loves",
238
+ "amazed by",
239
+ "stoked for",
240
+ "Spends free time",
241
+ "pumped about"
242
+ ]
207
243
  end
208
244
 
209
- def olympic_sport
210
- [
211
- "figure skater","speed skater","short track speed skater","ice hockey player",
212
- "curler",
213
- "cross-country skier","nordic skier","alpine racer",
214
- "ski jumper","freestyle skier","snowboarder","biathlete","Luger","bobsleigher",
215
- "skeleton rider"
216
- ].sample
245
+ def bro_verb
246
+ bro_verbs.sample
217
247
  end
218
248
 
219
- def adverb
220
- [
221
- "loves","amazed by","stoked for","Spends free time"
222
- ].sample
249
+ def bro_hobbies
250
+ [
251
+ "defying that which should be defied",
252
+ "hamburgers",
253
+ "painting",
254
+ "country music",
255
+ "defying death",
256
+ "hamburgers",
257
+ "kale",
258
+ "kiteboarding",
259
+ "techno dancing",
260
+ "parasailing",
261
+ "teaching yoga",
262
+ "teaching broga",
263
+ "techno dancing",
264
+ "raising money for breast cancer",
265
+ "shredding sick pow",
266
+ "speedflying",
267
+ "working with orphans",
268
+ "world peace"
269
+ ]
223
270
  end
224
271
 
225
- def hobby
226
- [
227
- "shredding sick pow", "hamburgers", "world peace","techno dancing","my mom","teachers","painting",
228
- "Miley Cyrus","GoPro","country music","defying death",
229
- "defying that which should be defied","work with orphans","raising money for cancer"
230
- ].sample
272
+ def bro_hobby
273
+ bro_hobbies.sample
231
274
  end
232
275
 
233
- def strength
276
+ def strengths
234
277
  [
235
278
  "hard charging","forward","strong","outrageous work ethic","endurance"
236
- ].sample
279
+ ]
280
+ end
281
+
282
+ def strength
283
+ strengths.sample
237
284
  end
238
285
  end
239
286
  end
@@ -2,7 +2,7 @@ require 'helper'
2
2
 
3
3
  class TestFakerStoked < Minitest::Test
4
4
 
5
- describe "bloocher" do
5
+ describe "Stoked" do
6
6
 
7
7
  stoked_methods = Faker::Stoked.methods - Object.methods
8
8
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: faker-stoked
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Frederick D. Schoeneman
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-10-17 00:00:00.000000000 Z
11
+ date: 2013-10-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faker
@@ -98,8 +98,6 @@ files:
98
98
  - Rakefile
99
99
  - VERSION
100
100
  - faker-stoked.gemspec
101
- - faker_bro.rb
102
- - faker_review.rb
103
101
  - lib/faker/stoked.rb
104
102
  - lib/faker_bro_bio.rb
105
103
  - lib/faker_bro_words.rb
data/faker_bro.rb DELETED
@@ -1,81 +0,0 @@
1
- module Faker
2
-
3
- class Stoked
4
-
5
- class << self
6
-
7
- def olympic_event
8
- ["Shredding sick pow"].sample
9
- end
10
-
11
- def camera_mount
12
- ["head strap", "chesty", "junior chesty", "jaws", "suction cup", "roll bar"].sample
13
- end
14
-
15
- def olympian_country
16
- %w[Canada US Russia Japan China Australia Norway Austria Finland Sweden Germany Poland Belarus].sample
17
- end
18
-
19
- def olympian_music
20
- [
21
- "Miley Cyrus", "Robin Thicke", "MGMT", "Katy Perry", "Drake",
22
- "One Direction", "Gordon Lightfoot"
23
- ].sample
24
- end
25
-
26
- def olympian_home_region
27
-
28
- ["Whistler", "Lake Tahoe", "Sarajevo", "Nepal", "Lake Placid","Alps","Bavaria","Grand Tetons"]
29
- end
30
-
31
- def bio
32
- first = adj.capitalize + " " + intmodifier + " " + adj + " " + "snowboarder" + ". "
33
- second = adverb.capitalize + " " + olympian_hobby + ", " + adj + " " + olympian_hobby + ", " + strength + "."
34
- first + second
35
- end
36
-
37
- def adj
38
- %w[ awesome radical rad bodacious free-spirited cerebral all-natural american-made
39
- stoked stokealicious stokified stokastic fearless
40
- ].sample
41
- end
42
-
43
- def intmodifier
44
- [
45
- "but","and","almost","but equally","nearly","at the same time",
46
- "yet paradoxically","nevertheless","yet oxymoronically","but inevitably"
47
- ].sample
48
- end
49
-
50
- def olympic_sport
51
- [
52
- "figure skater","speed skater","short track speed skater","ice hockey player",
53
- "curler",
54
- "cross-country skier","nordic skier","alpine racer",
55
- "ski jumper","freestyle skier","snowboarder","biathlete","Luger","bobsleigher",
56
- "skeleton rider"
57
- ].sample
58
- end
59
-
60
- def adverb
61
- [
62
- "loves","amazed by","stoked for","Spends free time"
63
- ].sample
64
- end
65
-
66
- def olympian_hobby
67
- [
68
- "hamburgers", "world peace","techno dancing","my mom","teachers","painting",
69
- "Miley Cyrus","GoPro","country music","defying death",
70
- "defying that which should be defied","work with orphans","raising money for cancer"
71
- ].sample
72
- end
73
-
74
- def strength
75
- [
76
- "hard charging","forward","strong","outrageous work ethic","endurance"
77
- ].sample
78
- end
79
- end
80
- end
81
- end
data/faker_review.rb DELETED
@@ -1,116 +0,0 @@
1
- module Faker
2
-
3
- class Boontling
4
-
5
- class << self
6
-
7
- def review
8
- first = intro + " " + intmodifier + " " + adjective + " " + varietal + ". "
9
- second = adverb + " " + flavor + ", " + adjective + " " + flavor + ", " + strength + " " + flavor
10
- third = ". Drink now through " + end_date + "."
11
- first + second + third
12
- end
13
-
14
- def intro
15
- [
16
- "Remarkable","Francophonic","Juicy","Desperate","Serviceable","Generous","Glassy",
17
- "Blunt","Sturdy","Elegant","Lean","Spare","Simple","Self-righteous",
18
- "Chewy","Powerful","Soft","Ripe in flavor","Ready to drink","Well focused",
19
- "Medium-weight","Heavy-weight", "Light-weight","Austere",
20
- "Light, simple","Modest","Markedly improved",
21
- "Nearly matured","Almost matured","Somewhat matured","Overaged",
22
- "Finely balanced","A firm, full textured",
23
- "Fully refined","Unnatural","Historic","Classic","Crisp",
24
- "Neo-classic","Modern","Overdone",
25
- "Meaty","Unrefined","Direct","Deep and smokey",
26
- "Dark and mysterious","Good","Evil","Impressive","Unimpressive",
27
- "Big and strong","Wicked","Raw","Wimpy","Overdressed","Sweet","Rude",
28
- "Creepy","Open-ended","Rounded","Corpulent","Overbearing","Twisted","Clean",
29
- "Fun","Intense","Egocentric","Intelligently done","Unstinting","Flourished"
30
- ].sample
31
- end
32
-
33
- def intmodifier
34
- [
35
- "but","and","almost","but equally","nearly","at the same time",
36
- "yet paradoxically","nevertheless","yet oxymoronically","but inevitably"
37
- ].sample
38
- end
39
-
40
- def varietal
41
- [
42
- "white","Barbera","Cabernet Franc","Cabernet","Gamay","Merlot","Syrah",
43
- "Pinot Noir","Zinfandel","Chardonnay","Chenin Blanc",
44
- "Gewurztraminer","Marsanne","Pinot Gris","Viognier","Sauvingnon Blanc",
45
- "Semillon","Port","Dessert wine","Edelzwicker","Eiswein","Sticky","Sauterne"
46
- ].sample
47
- end
48
-
49
- def adjective
50
- [
51
- "sassy","desperate","romantic","sad","hopeless","intense","focused",
52
- "meandering","melancholy","putrid","yellowed","degraded","acidic monster",
53
- "graceful","open-ended","freakishly evil","plump","spiney", "brackish","ripe",
54
- "closed","supple","broad-shouldered","big and plump","attractive",
55
- "complex and stunning","sturdy","elegant","structured","hedonistic",
56
- "aggressive","limp","lacking in character","morally superior","over-ripe",
57
- "middle-aged","unripe","overdone","sweet","smoked","lackluster","hoppy",
58
- "acidic","turgid","understated","fleshy","extra-ripe","zelous",
59
- "underdone","oaky","over-oaked","american-oaked","french-oaked","musty",
60
- "soggy","fat","wicked","whimsical","oily","astounding","corpulent",
61
- "cotton","boggling","unripe","overcooked","sugary","over-the-top"
62
- ].sample
63
- end
64
-
65
- def adverb
66
- [
67
- "Contains","Shows","Detectable","Hints of","Forces","A mouthfull of",
68
- "Strong","Spews","Resembles","Aromas of","Whispers of","Drops",
69
- "Essenses of","Kicks you with","Throws out","Hits you with","Displays",
70
- "Opens with","Reminecent of","Attacks with","Begins with","Starts with",
71
- "Forcefully bites you with","Reminds one of","Evokes"
72
- ].sample
73
- end
74
-
75
- def flavor
76
- [
77
- "roast pork","apple","pear","peach-pit","anise","leather","used beer",
78
- "blackberry","black-cherry","lemon","citrus","citron","toasty oak",
79
- "cardboard","salted beef","beef","rosemary lamb","cafeteria fish sticks",
80
- "gatorade but not in a bad way","prison oatmeal","guvmint cheese",
81
- "ginger","tobacco","cigar box","fruit punch","acid","blueberry","mint",
82
- "spice","currant","cedar","loganberry","coffee","herbs","dirt","cassis",
83
- "earth","lime","raspberry","plum","toast","rye","tea notes","green tea",
84
- "sun-dried tomato","caramel","dried berry","vanilla","bing-cherry","herbs",
85
- "juniper","sage","wild berry","orange peel","lemon rind","banana","mocha",
86
- "smoked bacon","clay","thyme","pepper","salt","buttered scones","onion",
87
- "shallot","fois gras","kalamata olive","celery","fig","bacon-wrapped fig",
88
- "pineapple","salad","taint","boot-leather","victory","napalm","bug spray",
89
- "tomato","papaya","mango","chutney","mint julip","bourbon","marmalade",
90
- "strawberry jam","barley","carrot","roasted vegetables","roasted meat",
91
- "prune","prune juice","stewed prune","raisin","seedless watermelon",
92
- "tangerine","peach","nectarine","honey","garlic","melon","cocoa",
93
- "maple syrup","spruce","sweat","dog-breath","cat breath","carburetor cleaner",
94
- "WD-40", "10w-30 Motor oil","lollipop","new car smell","talcum"
95
- ].sample
96
- end
97
-
98
- def strength
99
- [
100
- "lingering","forward","strong","weak","bashful","corpulent","insipid","banal",
101
- "light","aggressive","hopeful","semi-weak","traces of","forceful",
102
- "total absence of","perceptable","dainty","strong-willed","atomic traces of",
103
- "scant","a modicum of"
104
- ].sample
105
- end
106
-
107
- def end_date
108
- [
109
- "2014","2015","2016","2017","2018","2019","2020","2021","2022",
110
- "eternity","never","April","May","June","graduation",
111
- "Christmas","Tuesday","Friday"
112
- ].sample
113
- end
114
- end
115
- end
116
- end