faker-stoked 0.1.2 → 0.1.3

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: be624857c1d29eaac6c5ed9acafc14652797dfe4
4
- data.tar.gz: 18fda74afe1b8ba45b7ce7616c2eeba502be0986
3
+ metadata.gz: 35a47dbcce645f1eef4b4527b9fbdfce9c73187b
4
+ data.tar.gz: 15d856deab1582222188288335768440ef8281dc
5
5
  SHA512:
6
- metadata.gz: 8c3a2813d0cbb50b2756a40792340dd36deca9eb1a0404f3439379c6f2a8a00a3b3d75983acdcaeda0ae2e44b10fb61487635caa8931df36f73854de487ccf11
7
- data.tar.gz: ecd80bafb99e627d6c462ef142784488cffc549a1ece422d42aa1f2184b0c9eddb67668700eb540bb5bb4385097e2069bcea8355e85c13bd5c4eaa3a8e3bae64
6
+ metadata.gz: a46c5b3fc470ffa23d75986d6e777f32219b393e3bf69c68df911bccc3623f2fa4e518e2bc7e1c19454b7f6b86ab7fbd7e5ea02ca90771f86d9d4ba1f611b204
7
+ data.tar.gz: 7d035130f0802fdff518df4a439f9e3d3c71ccd6054ee507ee262ce64ac168e5b583f549a4b9db1a5bc430c4f359c254c5ea3e06d320cf6d0a76235db5860149
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.2
1
+ 0.1.3
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.2"
8
+ s.version = "0.1.3"
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-16"
12
+ s.date = "2013-10-17"
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 = [
@@ -28,7 +28,8 @@ Gem::Specification.new do |s|
28
28
  "faker_bro.rb",
29
29
  "faker_review.rb",
30
30
  "lib/faker/stoked.rb",
31
- "lib/faker_bro.rb",
31
+ "lib/faker_bro_bio.rb",
32
+ "lib/faker_bro_words.rb",
32
33
  "test/helper.rb",
33
34
  "test/test_faker-stoked.rb"
34
35
  ]
data/lib/faker/stoked.rb CHANGED
@@ -1 +1,2 @@
1
- require 'faker_bro'
1
+ require 'faker_bro_bio'
2
+ require 'faker_bro_words'
@@ -4,26 +4,6 @@ module Faker
4
4
 
5
5
  class << self
6
6
 
7
- def olympic_event
8
- ["Shredding sick pow"].sample
9
- end
10
-
11
- def olympian_country
12
- %w[Canada US Russia Japan China Australia Norway Austria Finland Sweden Germany Poland Belarus].sample
13
- end
14
-
15
- def olympian_music
16
- [
17
- "Miley Cyrus", "Robin Thicke", "MGMT", "Katy Perry", "Drake",
18
- "One Direction", "Gordon Lightfoot"
19
- ].sample
20
- end
21
-
22
- def olympian_home_region
23
-
24
- ["Whistler", "Lake Tahoe", "Sarajevo", "Nepal", "Lake Placid","Alps","Bavaria","Grand Tetons"]
25
- end
26
-
27
7
  def bio
28
8
  first = adj.capitalize + " " + intmodifier + " " + adj + " " + "snowboarder" + ". "
29
9
  second = adverb.capitalize + " " + olympian_hobby + ", " + adj + " " + olympian_hobby + ", " + strength + "."
@@ -0,0 +1,240 @@
1
+ module Faker
2
+
3
+ class Stoked
4
+
5
+ class << self
6
+ def bronoun
7
+ [
8
+ "barack brobama",
9
+ "don quibrote",
10
+ "adrien brody",
11
+ "broseph mengele",
12
+ "leonardo dicapribro",
13
+ "bro nye the science guy",
14
+ "selena bromez",
15
+ "broey deschanel",
16
+ "osama bro laden",
17
+ "Broseph Stalin",
18
+ "Broseidon King of the Brocean",
19
+ "Broback Brobama",
20
+ "Han Brolo",
21
+ "Broba Fett",
22
+ "Brosama Bin Laden",
23
+ "Brohammad",
24
+ "Bro Montana",
25
+ "AbrOham Lincoln",
26
+ "Josh Brolin",
27
+ "Brosalina",
28
+ "abroham lincoln",
29
+ "bro dimaggio",
30
+ "broprah winfrey",
31
+ "broby dick",
32
+ "brodo the hobbit bro",
33
+ "wolfgang amadaeus brozart",
34
+ "napoleon bronaparte",
35
+ "brosef stalin",
36
+ "brosef stalin",
37
+ "The Brope",
38
+ "Brocahontas",
39
+ "teddy brosevelt",
40
+ "mighty bro young",
41
+ "gallilebro gallilei",
42
+ "brobo cop",
43
+ "brodin, the sculptor",
44
+ "Brobespierre"
45
+ ].sample
46
+ end
47
+
48
+ def bromebase
49
+ [
50
+ "Brohannesberg",
51
+ "Bromerica",
52
+ "super brome",
53
+ "bromuda triangle",
54
+ "Broklahoma",
55
+ "Brolivia",
56
+ "Bromania"
57
+ ].sample
58
+ end
59
+
60
+ def bro_job
61
+ [
62
+ "Astbronaut",
63
+ "brommando",
64
+ "broducer",
65
+ "brofessor",
66
+ "brogrammer",
67
+ "brofessional broball player",
68
+ "amateur broxer",
69
+ "brotist",
70
+ "brotanist"
71
+ ].sample
72
+
73
+ end
74
+
75
+ def bro_food
76
+ [
77
+ "macabroni and cheese",
78
+ "bro-chop",
79
+ "rice-a-broni",
80
+ "brotato chip",
81
+ "brosicle",
82
+ "brOccoli",
83
+ "brotein shake",
84
+ "broast chicken breast",
85
+ "brorito",
86
+ "bro-b-q"
87
+ ].sample
88
+ end
89
+
90
+ def broscription
91
+
92
+ [
93
+ "brohemian",
94
+ "broficient",
95
+ "bromazing",
96
+ "bronificent",
97
+ "brorrific",
98
+ "brotesque",
99
+ "brotastic",
100
+ "brolicious",
101
+ "bronormous",
102
+ "brovine",
103
+ "crack brocaine"
104
+ ].sample
105
+ end
106
+
107
+ def bro_saying
108
+
109
+ [
110
+ "bro ho ho",
111
+ "broyo",
112
+ "yobro",
113
+ "hey bro",
114
+ ].sample
115
+ end
116
+
117
+ def bro_thing
118
+
119
+ [
120
+ "bromance",
121
+ "broordinates",
122
+ "brogramming",
123
+ "brodeo",
124
+ "broceed",
125
+ "broactive",
126
+ "brotally",
127
+ "Bromageddon",
128
+ "brozilla",
129
+ "Bromodo Dragon, native bronly to the island of Bromodo",
130
+ "brotocal",
131
+ "brogram",
132
+ "bromotion",
133
+ "Bromeo and Juliet",
134
+ "broductivity",
135
+ "bro-made",
136
+ "brohave",
137
+ "brofanity",
138
+ "The Brovinci Brode",
139
+ "Afbro",
140
+ "Super Maribro Bros.",
141
+ "autobrobile",
142
+ "brobot",
143
+ "Brorannosaurus Rex",
144
+ "bromosexual",
145
+ "bromosapien",
146
+ "brorontosaurus",
147
+ "broformance",
148
+ "broffice bromance",
149
+ "bromantic bromedy",
150
+ "brostache",
151
+ "brozone layer",
152
+ "brononamous tip",
153
+ "bronanomous",
154
+ "broletariat",
155
+ "brotor broat",
156
+ "brotomic brOmb",
157
+ "broa constrictor",
158
+ "bro-tie",
159
+ "herbrovore",
160
+ "brocodile",
161
+ "Land Brover",
162
+ "bro and arbrow",
163
+ "broca brola",
164
+ "lawn brome",
165
+ "brolap",
166
+ "chest of bros.",
167
+ "bromarang",
168
+ "bromobile",
169
+ "brohemian rhapsody",
170
+ ].sample
171
+
172
+ end
173
+
174
+ def camera_mount
175
+ ["head strap", "chesty", "junior chesty", "jaws", "suction cup", "roll bar"].sample
176
+ end
177
+
178
+ def brozak
179
+ [
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"]
188
+ end
189
+
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
200
+ end
201
+
202
+ def intmodifier
203
+ [
204
+ "but","and","almost","but equally","nearly","at the same time",
205
+ "yet paradoxically","nevertheless","yet oxymoronically","but inevitably"
206
+ ].sample
207
+ end
208
+
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
217
+ end
218
+
219
+ def adverb
220
+ [
221
+ "loves","amazed by","stoked for","Spends free time"
222
+ ].sample
223
+ end
224
+
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
231
+ end
232
+
233
+ def strength
234
+ [
235
+ "hard charging","forward","strong","outrageous work ethic","endurance"
236
+ ].sample
237
+ end
238
+ end
239
+ end
240
+ end
data/test/helper.rb CHANGED
@@ -7,14 +7,13 @@ rescue Bundler::BundlerError => e
7
7
  $stderr.puts "Run `bundle install` to install missing gems"
8
8
  exit e.status_code
9
9
  end
10
-
11
- require 'minitest/unit'
10
+ require 'minitest/autorun'
12
11
 
13
12
  $LOAD_PATH.unshift(File.dirname(__FILE__))
14
13
  $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
15
- require 'faker-stoked'
14
+ require 'faker/stoked'
16
15
 
17
- class MiniTest::Unit::TestCase
18
- end
16
+ # class MiniTest::Unit::TestCase
17
+ # end
19
18
 
20
- MiniTest::Unit.autorun
19
+ # MiniTest::Unit.autorun
@@ -1,8 +1,20 @@
1
1
  require 'helper'
2
2
 
3
- class TestFakerStoked < MiniTest::Unit::TestCase
3
+ class TestFakerStoked < Minitest::Test
4
4
 
5
- def test_something_for_real
6
- # flunk "hey buddy, you should probably rename this file and start testing for real"
5
+ describe "bloocher" do
6
+
7
+ stoked_methods = Faker::Stoked.methods - Object.methods
8
+
9
+ stoked_methods.each do |method|
10
+
11
+ if method.to_s. == method.to_s
12
+
13
+ it "#{method} should not be empty" do
14
+
15
+ Faker::Stoked.respond_to?(method)
16
+ end
17
+ end
18
+ end
7
19
  end
8
20
  end
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.2
4
+ version: 0.1.3
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-16 00:00:00.000000000 Z
11
+ date: 2013-10-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faker
@@ -101,7 +101,8 @@ files:
101
101
  - faker_bro.rb
102
102
  - faker_review.rb
103
103
  - lib/faker/stoked.rb
104
- - lib/faker_bro.rb
104
+ - lib/faker_bro_bio.rb
105
+ - lib/faker_bro_words.rb
105
106
  - test/helper.rb
106
107
  - test/test_faker-stoked.rb
107
108
  homepage: http://github.com/fdschoeneman/faker-stoked