faker-stoked 0.2.3 → 0.2.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 427ce15d58e1033d24ecd49bfee0a79f88a22aed
4
- data.tar.gz: bb64ee47a4eaf4d412ba2a97a1d16a8b40bf9956
3
+ metadata.gz: ef3f77585202335171b0a711c97e3fa8a1213f57
4
+ data.tar.gz: 6631cce2dfcdfbc73f6612877b7a1c832339ebb1
5
5
  SHA512:
6
- metadata.gz: 19d246e15e3238e267d727f8052f5a020620d5c7008e7d616689a2ee3ce8ff1c934b8d375dcbbd609d680fd84b9fb7ef3a562081ff8810aed664f0cfa09e2f5c
7
- data.tar.gz: 8e80b6b7ea561494001cb1de9559816be19eb26a72c6f11b80b0d53cf0e7ce84e16770c0ba730f7586187de349743ffe0fa23d3863b2eba7e3c5ec3fcb294fbd
6
+ metadata.gz: 5ab97918fce234ea27c8b2e64fbe88ea6006750df79a3f454a2483a4f6eb43a55a462724b0bd8c444e44c4e788c5650075d5c8228ebe893bf8cbea629ae2b85e
7
+ data.tar.gz: f74d1147b8549ce421365e5e19e2ef12e4cbf931ed6d463d223b3ddb6654687c90aa03b3b2065467162f57028600a80a9688fa019ca48887b61d4ab065449b20
data/.ruby-version ADDED
@@ -0,0 +1 @@
1
+ ruby-2.0.0-p247
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.3
1
+ 0.2.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.2.3"
8
+ s.version = "0.2.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-11-17"
12
+ s.date = "2013-12-05"
13
13
  s.description = "This is an extension of the faker gem, allowing stoked bros and brodies to effortlessly generate stoked bios, that are both radical and awesome while simultaneously pitted. It also provides a rich, creamy variety of methods to generate bro words."
14
14
  s.email = "fred.schoeneman@gmail.com"
15
15
  s.extra_rdoc_files = [
@@ -19,6 +19,7 @@ Gem::Specification.new do |s|
19
19
  s.files = [
20
20
  ".document",
21
21
  ".ruby-gemset",
22
+ ".ruby-version",
22
23
  ".travis.yml",
23
24
  "Gemfile",
24
25
  "Gemfile.lock",
data/lib/stoke_bot.rb CHANGED
@@ -4,34 +4,35 @@ module Faker
4
4
 
5
5
  class << self
6
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()
7
+ # A stoked developer might want multiple stoked paragraphs for her bros
8
+ # and/or brodies. Takes an argument for the desired number of paragraphs and
9
+ # sentences per paragraph with a default of two paragraphs with 3 sentences
10
+ # in each paragraph.
18
11
  #
19
- # Faker::StokeBot.paragraphs(2)
12
+ # Faker::StokeBot.paragraphs(2, 3)
20
13
  # "Whoah? the athlete/groupie constructed intuition suffices to account
21
14
  # for an important distinction in language use. By combining stoke and certain
22
15
  # reformulations of the dominant extreme paradigm, the appearance of
23
- # non-stoked gaps in domains relatively inaccessible to ordinary"
24
-
16
+ # non-stoked gaps in domains relatively inaccessible to ordinary..."
17
+
18
+ def paragraphs(paragraph_count = 2, sentence_count = 3)
19
+ paragraphs = []
20
+ paragraph_count.times do
21
+ paragraphs << paragraph(sentence_count)
22
+ end
23
+ paragraphs.join("\n ")
24
+ end
25
25
 
26
- def paragraph
27
- sentences(5)
26
+ def paragraph(sentence_count = 3)
27
+ sentences(sentence_count)
28
28
  end
29
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.
30
+ # A stoked developer might want multiple stoked sentences for her bros and/or
31
+ # brokies, in which case would would pass in the desired number fof sentences
32
+ # as an argument. Shout out to chomskybot by John Lawler and Kevin McGowan
33
+ # (http://www-personal.umich.edu/~jlawler/foggy.faq.html)
33
34
  #
34
- # Faker::StokeBot.sentence(8)
35
+ # Faker::StokeBot.sentences(8)
35
36
  # "Whoah? the athlete/groupie constructed intuition suffices to account
36
37
  # for an important distinction in language use. By combining stoke and certain
37
38
  # reformulations of the dominant extreme paradigm, the appearance of
@@ -55,11 +56,12 @@ module Faker
55
56
  sentences.join(" ")
56
57
  end
57
58
 
58
- # a stoked developer bro might need a stoked sentence for his bros
59
+ # A stoked developer bro might need a stoked sentence for his bros
59
60
  #
60
61
  # Faker::StokeBot.sentence
61
- # "Brotastic but stokealicious skeleton rider. Love shredding sick pow,
62
- # brodacious raising money for breast cancer, Gordon Lightfoot.""
62
+ # "By combining stoke and certain reformulations of the dominant extreme
63
+ # paradigm, any broficient supporting stoke graph suffices to account
64
+ # for the system of base bro-words exclusive of the bro dialect."
63
65
  def sentence
64
66
  [intro, subject, verb, object].join(" ")
65
67
  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.2.3
4
+ version: 0.2.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-11-17 00:00:00.000000000 Z
11
+ date: 2013-12-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faker
@@ -120,6 +120,7 @@ extra_rdoc_files:
120
120
  files:
121
121
  - .document
122
122
  - .ruby-gemset
123
+ - .ruby-version
123
124
  - .travis.yml
124
125
  - Gemfile
125
126
  - Gemfile.lock