faker-stoked 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/faker-stoked.gemspec +7 -1
- data/lib/faker/stoked.rb +3 -0
- data/lib/faker_bro_bio.rb +5 -0
- data/lib/faker_bro_words.rb +63 -5
- data/lib/intro_file.txt +39 -0
- data/lib/object_file.txt +17 -0
- data/lib/stoke_bot.rb +84 -0
- data/lib/subject_file.txt +18 -0
- data/lib/verb_file.txt +17 -0
- data/test/helper.rb +1 -0
- data/test/test_faker-stokebot.rb +23 -0
- data/test/test_faker-stoked.rb +3 -6
- metadata +7 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2f11ff4df6ba6da363d6127b66b62463d904d157
|
4
|
+
data.tar.gz: 58ce629b30a35387e044937e21b48f8bd8e1b5b3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a5d6b758421b12667940fa58fdab9e9fc0e39a397010e4d2c5d849afa538c015df84c76773d456cf5b57c5e98ed7cde61404a92804a8d4a8b47cb2fc9a95727c
|
7
|
+
data.tar.gz: 7e384dc4c5da19dd2780ac9b667830f0124712cf9e00dfec2966229f5b1a7064e5513880584fecb2e02711dcfe96243a2507be9784f8bc20d41fd701f02a7e11
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.2.
|
1
|
+
0.2.1
|
data/faker-stoked.gemspec
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = "faker-stoked"
|
8
|
-
s.version = "0.2.
|
8
|
+
s.version = "0.2.1"
|
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"]
|
@@ -30,7 +30,13 @@ Gem::Specification.new do |s|
|
|
30
30
|
"lib/faker/stoked.rb",
|
31
31
|
"lib/faker_bro_bio.rb",
|
32
32
|
"lib/faker_bro_words.rb",
|
33
|
+
"lib/intro_file.txt",
|
34
|
+
"lib/object_file.txt",
|
35
|
+
"lib/stoke_bot.rb",
|
36
|
+
"lib/subject_file.txt",
|
37
|
+
"lib/verb_file.txt",
|
33
38
|
"test/helper.rb",
|
39
|
+
"test/test_faker-stokebot.rb",
|
34
40
|
"test/test_faker-stoked.rb"
|
35
41
|
]
|
36
42
|
s.homepage = "http://github.com/fdschoeneman/faker-stoked"
|
data/lib/faker/stoked.rb
CHANGED
data/lib/faker_bro_bio.rb
CHANGED
@@ -4,6 +4,11 @@ module Faker
|
|
4
4
|
|
5
5
|
class << self
|
6
6
|
|
7
|
+
# a stoked bro might might need to write a stoked user profile
|
8
|
+
#
|
9
|
+
# Faker::Stoked.bio
|
10
|
+
# => "Brotastic but stokealicious skeleton rider. Love shredding sick pow,
|
11
|
+
# brodacious raising money for breast cancer, Gordon Lightfoot.
|
7
12
|
def bio
|
8
13
|
first = adjective.capitalize + " " + intmodifier + " " + adjective + " " + sport + ". "
|
9
14
|
second = opener.capitalize + " " + interest + ", " + adjective + " " + interest + ", " + band + "."
|
data/lib/faker_bro_words.rb
CHANGED
@@ -54,6 +54,11 @@ module Faker
|
|
54
54
|
]
|
55
55
|
end
|
56
56
|
|
57
|
+
# Faker::Stoked.fullname
|
58
|
+
# => "Broderick Broeneman"
|
59
|
+
# => "Jeremonious Collyerunk"
|
60
|
+
# => "Jessicka Hamilton"
|
61
|
+
# => "Devonian Brocreature"
|
57
62
|
def fullname
|
58
63
|
fullnames.sample
|
59
64
|
end
|
@@ -66,6 +71,8 @@ module Faker
|
|
66
71
|
firstnames
|
67
72
|
end
|
68
73
|
|
74
|
+
# Faker::Stoked.firstname
|
75
|
+
# => "Bronathan"
|
69
76
|
def firstname
|
70
77
|
firstnames.sample
|
71
78
|
end
|
@@ -86,6 +93,11 @@ module Faker
|
|
86
93
|
lastnames
|
87
94
|
end
|
88
95
|
|
96
|
+
# Faker::Stoked.lastname
|
97
|
+
# => "Broeneman"
|
98
|
+
# => "Collyerunk"
|
99
|
+
# => "Hamilton"
|
100
|
+
# => "McStallion"
|
89
101
|
def lastname
|
90
102
|
lastnames.sample
|
91
103
|
end
|
@@ -131,6 +143,12 @@ module Faker
|
|
131
143
|
]
|
132
144
|
end
|
133
145
|
|
146
|
+
# Faker::Stoked.celebroty
|
147
|
+
# => "don quibrote
|
148
|
+
# => "Bronan the barbarian"
|
149
|
+
# => "brodo the hobbit bro"
|
150
|
+
# => "Broba Fett"
|
151
|
+
|
134
152
|
def celebroty
|
135
153
|
celebroties.sample
|
136
154
|
end
|
@@ -154,6 +172,10 @@ module Faker
|
|
154
172
|
]
|
155
173
|
end
|
156
174
|
|
175
|
+
# Somewhere a stoked bro might call home
|
176
|
+
#
|
177
|
+
# Faker::Stoked.place
|
178
|
+
# => "stokoslavia"
|
157
179
|
def place
|
158
180
|
places.sample
|
159
181
|
end
|
@@ -189,7 +211,13 @@ module Faker
|
|
189
211
|
"brotanist"
|
190
212
|
]
|
191
213
|
end
|
192
|
-
|
214
|
+
|
215
|
+
# Somewhere a stoked bro might do to pay for her brotomobile insurance
|
216
|
+
#
|
217
|
+
# Faker::Stoked.job
|
218
|
+
# => "brommando"
|
219
|
+
# => "brogrammer"
|
220
|
+
# => "brofessor"
|
193
221
|
def job
|
194
222
|
jobs.sample
|
195
223
|
end
|
@@ -223,6 +251,12 @@ module Faker
|
|
223
251
|
]
|
224
252
|
end
|
225
253
|
|
254
|
+
# Some food that a stoked bro might want to mange
|
255
|
+
#
|
256
|
+
# Faker::Stoked.food
|
257
|
+
# => "brozilian bbq"
|
258
|
+
# => "broissant"
|
259
|
+
# => "rice-a-broni"
|
226
260
|
def food
|
227
261
|
foods.sample
|
228
262
|
end
|
@@ -240,6 +274,10 @@ module Faker
|
|
240
274
|
]
|
241
275
|
end
|
242
276
|
|
277
|
+
# something a stoked bro might say
|
278
|
+
#
|
279
|
+
# Faker::Stoked.saying
|
280
|
+
# => "bro ho ho"
|
243
281
|
def saying
|
244
282
|
sayings.sample
|
245
283
|
end
|
@@ -312,7 +350,11 @@ module Faker
|
|
312
350
|
]
|
313
351
|
|
314
352
|
end
|
315
|
-
|
353
|
+
|
354
|
+
# something a stoked bro might be intereseted in
|
355
|
+
#
|
356
|
+
# Faker::Stoked.thing
|
357
|
+
# => "bromarang"
|
316
358
|
def thing
|
317
359
|
things.sample
|
318
360
|
end
|
@@ -334,6 +376,10 @@ module Faker
|
|
334
376
|
]
|
335
377
|
end
|
336
378
|
|
379
|
+
# band or musical act a stoked bro might listen to
|
380
|
+
#
|
381
|
+
# Faker::Stoked.band
|
382
|
+
# => "Gordon Lightfoot"
|
337
383
|
def band
|
338
384
|
bands.sample
|
339
385
|
end
|
@@ -364,7 +410,11 @@ module Faker
|
|
364
410
|
"all stoked up"
|
365
411
|
]
|
366
412
|
end
|
367
|
-
|
413
|
+
|
414
|
+
# band or musical act a stoked bro might listen to
|
415
|
+
#
|
416
|
+
# Faker::Stoked.band
|
417
|
+
# => "brodacious"
|
368
418
|
def adjective
|
369
419
|
adjectives.sample
|
370
420
|
end
|
@@ -391,7 +441,11 @@ module Faker
|
|
391
441
|
"world peace"
|
392
442
|
]
|
393
443
|
end
|
394
|
-
|
444
|
+
|
445
|
+
# a stoked bro might be interested in
|
446
|
+
#
|
447
|
+
# Faker::Stoked.interest
|
448
|
+
# => "defying that which should be defied"
|
395
449
|
def interest
|
396
450
|
interests.sample
|
397
451
|
end
|
@@ -401,7 +455,11 @@ module Faker
|
|
401
455
|
"hard charging","forward","strong","outrageous work ethic","endurance"
|
402
456
|
]
|
403
457
|
end
|
404
|
-
|
458
|
+
|
459
|
+
# a stoked bro might describe himself as having a stregh like this
|
460
|
+
#
|
461
|
+
# Faker::Stoked.strength
|
462
|
+
# => "hard charging"
|
405
463
|
def strength
|
406
464
|
strengths.sample
|
407
465
|
end
|
data/lib/intro_file.txt
ADDED
@@ -0,0 +1,39 @@
|
|
1
|
+
To properly understand a stoke factor (S),
|
2
|
+
On the other hand,
|
3
|
+
From the non-racical point of view
|
4
|
+
This suggests that
|
5
|
+
It appears that
|
6
|
+
Furthermore,
|
7
|
+
We will blow your mind with the following paradigm:
|
8
|
+
To bestow a bodacious structure for T(Z,K),
|
9
|
+
From C1, it follows that
|
10
|
+
For any radicalization which is sufficiently awesome in pursuit of any level of stoke,
|
11
|
+
Analogously,
|
12
|
+
Crystal clearly,
|
13
|
+
Note that
|
14
|
+
Of course,
|
15
|
+
Whoah?
|
16
|
+
Bro?
|
17
|
+
Suppose, like, for instance, that
|
18
|
+
Thus
|
19
|
+
Por ejemplo
|
20
|
+
With this trip,
|
21
|
+
Conversely,
|
22
|
+
We have already been knowledge that
|
23
|
+
By combining stoke and certain reformulations of the dominant extreme paradigm,
|
24
|
+
I suggested that these bodaciouus images would flow from the realization that
|
25
|
+
If the gestalt of the grinding in (99c) were only partially tangible to stokeologists,
|
26
|
+
However, this awe-assumption is not correct, since
|
27
|
+
Comparing these extreme stoked videos with their bestoked gap aficionados in (96) and (97), we see that
|
28
|
+
In the discussion of stoked endeavors following (81),
|
29
|
+
So far,
|
30
|
+
Nevertheless,
|
31
|
+
For one thing,
|
32
|
+
Summarizing, then, we assume that
|
33
|
+
A consequence of the approach just knowledged to you is that
|
34
|
+
Presumably,
|
35
|
+
On our assumptions,
|
36
|
+
It may be, then, that
|
37
|
+
It must be emphasized, once again, that
|
38
|
+
Let us continue to suppose that
|
39
|
+
Notice, incidentally, that
|
data/lib/object_file.txt
ADDED
@@ -0,0 +1,17 @@
|
|
1
|
+
problems of athletic and free-spirited analysis.
|
2
|
+
a corpus of bro-isms and bro-sayings upon which conformity has been defined by the paired bro-ism text.
|
3
|
+
the traditional practice of stoked bros.
|
4
|
+
the levels of stoke from fairly high (eg (99a)) to virtual clown car antics (eg (98d)).
|
5
|
+
a stipulation to place the stoked/awesome/radical/clowncar into these various categories.
|
6
|
+
a bromazing fact.
|
7
|
+
a YOLO gap bro-ism.
|
8
|
+
the extended YOLO/BrOLO construct discussed in connection with (34).
|
9
|
+
the ultimate standard that determines the brohemian level of any proposed radicalization.
|
10
|
+
the system of base bro-words exclusive of the bro dialect.
|
11
|
+
irrelevant intervening contexts in selectional rules.
|
12
|
+
nondistinctness in the sense of distinctive bro theory.
|
13
|
+
a general convention regarding the forms of the stoke linguistics.
|
14
|
+
an abstract underlying sub-stoke order.
|
15
|
+
an important distinction in stoked language use.
|
16
|
+
the requirement that stoke-branching is not tolerated within the dominance stoke-scope of a complex bro-symbol.
|
17
|
+
the strong generative capacity of the stoke-theory.
|
data/lib/stoke_bot.rb
ADDED
@@ -0,0 +1,84 @@
|
|
1
|
+
module Faker
|
2
|
+
|
3
|
+
class StokeBot
|
4
|
+
|
5
|
+
class << self
|
6
|
+
|
7
|
+
def paragraphs(paragraph_count = 3)
|
8
|
+
paragraphs = []
|
9
|
+
paragraph_count.times do
|
10
|
+
paragraphs << paragraph
|
11
|
+
end
|
12
|
+
paragraphs.join(" ")
|
13
|
+
end
|
14
|
+
|
15
|
+
# a stoked developer brodie might want multiple stoked paragraphs for her bros
|
16
|
+
# and/or brodies, and can pass in the number of paragraphs she would
|
17
|
+
# like go generate as an argument. Output similar to sentences()
|
18
|
+
#
|
19
|
+
# Faker::StokeBot.paragraphs(2)
|
20
|
+
# => ""Whoah? the athlete/groupie constructed intuition suffices to account
|
21
|
+
# for an important distinction in language use. By combining stoke and certain
|
22
|
+
# reformulations of the dominant extreme paradigm, the appearance of
|
23
|
+
# non-stoked gaps in domains relatively inaccessible to ordinary
|
24
|
+
|
25
|
+
|
26
|
+
def paragraph
|
27
|
+
sentences(5)
|
28
|
+
end
|
29
|
+
|
30
|
+
# a stoked developer bro might multiple stoked sentences for his bros,
|
31
|
+
# in which case the bro would pass in the number of sentences he would
|
32
|
+
# like go generate as an argument. shout out to chomskybot, bro.
|
33
|
+
#
|
34
|
+
# Faker::StokeBot.sentence(8)
|
35
|
+
# => ""Whoah? the athlete/groupie constructed intuition suffices to account
|
36
|
+
# for an important distinction in language use. By combining stoke and certain
|
37
|
+
# reformulations of the dominant extreme paradigm, the appearance of
|
38
|
+
# non-stoked gaps in domains relatively inaccessible to ordinary
|
39
|
+
# radicalization raises serious doubts about irrelevant intervening
|
40
|
+
# contexts in selectional rules. Note that this analysis of a stoked
|
41
|
+
# construct as a pair of sets of awesome features appears to correlate
|
42
|
+
# rather closely with the system of base rules exclusive of the bro dialect.
|
43
|
+
# For one thing, the systematic use of complex bro-isms is not subject to
|
44
|
+
# the strong generative capacity of the theory. To bestow a bodacious structure
|
45
|
+
# for T(Z,K), the systematic use of complex bro-isms is not to be considered
|
46
|
+
# in determining a descriptive fact. From C1, it follows that a case of
|
47
|
+
# semicenteredness of a different sort raises serious doubts about an abstract
|
48
|
+
# underlying order. So far, the earlier discussion of deviance is, apparently,
|
49
|
+
# ...
|
50
|
+
def sentences(sentence_count = 3)
|
51
|
+
sentences = []
|
52
|
+
sentence_count.times do
|
53
|
+
sentences << sentence
|
54
|
+
end
|
55
|
+
sentences.join(" ")
|
56
|
+
end
|
57
|
+
|
58
|
+
# a stoked developer bro might need a stoked sentence for his bros
|
59
|
+
#
|
60
|
+
# Faker::StokeBot.sentence
|
61
|
+
# => "Brotastic but stokealicious skeleton rider. Love shredding sick pow,
|
62
|
+
# brodacious raising money for breast cancer, Gordon Lightfoot.
|
63
|
+
def sentence
|
64
|
+
[intro, subject, verb, object].join(" ")
|
65
|
+
end
|
66
|
+
|
67
|
+
def intro
|
68
|
+
File.readlines("lib/intro_file.txt").sample.delete("\n")
|
69
|
+
end
|
70
|
+
|
71
|
+
def subject
|
72
|
+
File.readlines("lib/subject_file.txt").sample.delete("\n")
|
73
|
+
end
|
74
|
+
|
75
|
+
def verb
|
76
|
+
File.readlines("lib/verb_file.txt").sample.delete("\n")
|
77
|
+
end
|
78
|
+
|
79
|
+
def object
|
80
|
+
File.readlines("lib/object_file.txt").sample.delete("\n")
|
81
|
+
end
|
82
|
+
end
|
83
|
+
end
|
84
|
+
end
|
@@ -0,0 +1,18 @@
|
|
1
|
+
the notion of level of awesomeness or even pitted awesomeness
|
2
|
+
a case of pitted stoke of a different sort
|
3
|
+
most of the methodological fearlessness rampant in modern stokeology
|
4
|
+
a subset of stoked concepts interesting on pitted, yet non-determinate grounds
|
5
|
+
the natural general bro-principle that will stoke this case
|
6
|
+
an important bro-property or broperty of these three stochetypes of EC
|
7
|
+
any broficient supporting stoke graph
|
8
|
+
the appearance of non-stoked gaps in domains relatively immune to ordinary pitted radicalization
|
9
|
+
the athlete/groupie constructed intuition or bro-sense
|
10
|
+
the descriptive power of the base bro-paradigm
|
11
|
+
the earlier bro discussion of brofanity
|
12
|
+
this analysis of a stoked construct as a pair of sets of awesome features
|
13
|
+
this selectionally introduced bro-contextual feature
|
14
|
+
a descriptively adequate bro-language
|
15
|
+
the fundamental error of regarding bros and/or brodies as less than intellectual
|
16
|
+
relational information vis-a-vis stoke-factor and bro/brodiness
|
17
|
+
the systematic and stoked use of complex bro-isms
|
18
|
+
the theory of stoked bro characteristics developed earlier
|
data/lib/verb_file.txt
ADDED
@@ -0,0 +1,17 @@
|
|
1
|
+
can be defined in such a way as to impose
|
2
|
+
delimits in a stoked/non-stoked construct
|
3
|
+
suffices to account for
|
4
|
+
cannot be non-pitted in
|
5
|
+
is not stoked or pitted to
|
6
|
+
does not readily tolerate
|
7
|
+
raises all-natural doubts about
|
8
|
+
is not quite bronalogous to
|
9
|
+
does not bromanticize the structure of
|
10
|
+
may remedy and, at the same time, de-fearify
|
11
|
+
is not to be considered in bro metamorphosis
|
12
|
+
is to be regarded as
|
13
|
+
is unspecified with respect to
|
14
|
+
is, apparently, brotesquley cerebralized by
|
15
|
+
is necessary to impose an interpretation on
|
16
|
+
appears to correlate rather fearelessly with
|
17
|
+
is rather bronificent relative to
|
data/test/helper.rb
CHANGED
@@ -0,0 +1,23 @@
|
|
1
|
+
require 'helper'
|
2
|
+
require 'active_support/inflector'
|
3
|
+
require 'debugger'
|
4
|
+
|
5
|
+
class TestFakerStokeBot < Minitest::Test
|
6
|
+
|
7
|
+
describe "StokeBot" do
|
8
|
+
|
9
|
+
stokebot_methods = Faker::StokeBot.methods(false)
|
10
|
+
# standalone_methods = [:bio, :intmodifier]
|
11
|
+
stokebot_methods.each do |stokebot_method|
|
12
|
+
|
13
|
+
it "must respond to #{stokebot_method}" do
|
14
|
+
Faker::StokeBot.must_respond_to(stokebot_method.to_sym)
|
15
|
+
end
|
16
|
+
|
17
|
+
it "#{stokebot_method} must return a string" do
|
18
|
+
stokebot_output = Faker::StokeBot.send(stokebot_method)
|
19
|
+
stokebot_output.class.must_equal String
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
data/test/test_faker-stoked.rb
CHANGED
@@ -10,12 +10,9 @@ class TestFakerStoked < Minitest::Test
|
|
10
10
|
standalone_methods = [:bio, :intmodifier]
|
11
11
|
stoked_methods.each do |stoked_method|
|
12
12
|
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
Faker::Stoked.must_respond_to(stoked_method.to_sym)
|
17
|
-
end
|
18
|
-
# end
|
13
|
+
it "must respond to #{stoked_method}" do
|
14
|
+
Faker::Stoked.must_respond_to(stoked_method.to_sym)
|
15
|
+
end
|
19
16
|
|
20
17
|
unless standalone_methods.include? stoked_method
|
21
18
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: faker-stoked
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Frederick D. Schoeneman
|
@@ -131,7 +131,13 @@ files:
|
|
131
131
|
- lib/faker/stoked.rb
|
132
132
|
- lib/faker_bro_bio.rb
|
133
133
|
- lib/faker_bro_words.rb
|
134
|
+
- lib/intro_file.txt
|
135
|
+
- lib/object_file.txt
|
136
|
+
- lib/stoke_bot.rb
|
137
|
+
- lib/subject_file.txt
|
138
|
+
- lib/verb_file.txt
|
134
139
|
- test/helper.rb
|
140
|
+
- test/test_faker-stokebot.rb
|
135
141
|
- test/test_faker-stoked.rb
|
136
142
|
homepage: http://github.com/fdschoeneman/faker-stoked
|
137
143
|
licenses:
|