random_title 3.0.3 → 3.0.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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/random_title.rb +8 -6
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0864cc46190c1affc7d20d7123318747adb60d3f
4
- data.tar.gz: b646ed7dcee4eaf2da3fe648f83aca95efc31238
3
+ metadata.gz: 07e66f6aed609db41a40813d1b9fb540f2039b11
4
+ data.tar.gz: 282752e4be023827f18eb8fa5cb46f80b8112d78
5
5
  SHA512:
6
- metadata.gz: c0bca45d4b724afd2d39ef64dce278c67a5fc7019c806ec5670cfae69f3e3fbd59b7eddeee7aff8dd9eba08e33f700f3ace048127b09283f0fa5c4b90df68c88
7
- data.tar.gz: 5f002ccb7abaf696764ee865f2edcab626e7b771f7b683bf60992d7a7fa990bfbeb0a20d4d71e97e0afff1c39e143bacbc59d8c23ef1b060563ac5c658d818ac
6
+ metadata.gz: fe7adf1cd65c99c91ec138d6a74f6343c3f3a7a576595052e21aa424d9ab269ca3113186b45ac4b7f225afd037850a94db934f7f13c1695c81ac521edb565132
7
+ data.tar.gz: 277c9e155ae872d94d8de6b789cadab530ae689997e33b03a94497b715e6ddc31421ec81d47575c98667d51a9a51702fc90348bfcc9b35d416d52ada664bde4f
data/lib/random_title.rb CHANGED
@@ -81,7 +81,7 @@ def random_title
81
81
  "ducks", "geese", "peacocks", "lizard-people",
82
82
  "olives", "trees", "marriages", "ants",
83
83
  "aunts", "pebbles", "horses", "oceans",
84
- "puddles", "allergies", "goats", "mud all over the carpet",
84
+ "puddles", "allergies", "goats", "Mud All Over the Carpet",
85
85
  "turtles", "spiders", "weaving", "war",
86
86
  "violence", "magics", "disguises", "sneezes",
87
87
  "opinions", "capitalism", "cats", "wisdom",
@@ -148,7 +148,7 @@ def random_title
148
148
  "stains", "witches", "syntax error", "Tiffany", "Monster Energy Drink",
149
149
  "Funny Hat", "Oregano", "Sheriff", "Hoop", "1337 Hacker", 'Realm',
150
150
  "Funny Shoes", "Orange Man", "President Elect Doland Drumpf",
151
- "Foot", "Bro"].Capitalize!
151
+ "Foot", "Bro"].map{|word| word.Capitalize}
152
152
 
153
153
  @adjectives = ["Lost","Only","Last","First",
154
154
  "Third","Sacred","Bold","Lovely", "Profane",
@@ -209,8 +209,8 @@ def random_title
209
209
  "Two-faced", "vengeful", "overrated", "foul-Smelling",
210
210
  "sweet-Smelling", "infested", "divine", "destroying",
211
211
  "building", "defeating", "cyclopean",
212
- "all-consuming",
213
- "self-consuming", "Self-Contradicting", "poorly-Timed", "time-Traveling",
212
+ "all-Consuming",
213
+ "self-Consuming", "Self-Contradicting", "poorly-Timed", "time-Traveling",
214
214
  "paradoxical", "cursed", "blessed", "fantastical",
215
215
  "evil", "primal", "several",
216
216
  "mediocre", "homemade",
@@ -226,9 +226,11 @@ def random_title
226
226
  "forbidden", "begetting", "doomed",
227
227
  "gently-used", "abducting", "tricking",
228
228
  "poisonous", "celestial", "blind", "Draconian",
229
- "Big 'ol", "glistening", "mortal",
229
+ "Big Ol'", "glistening", "mortal",
230
230
  "questionable", "explosive", "solar", "pygmy",
231
- "aspiring", "predestined", "merry", "elephantine"].Capitalize!
231
+ "aspiring", "predestined", "merry", "elephantine"].map do |word|
232
+ word.Capitalize
233
+ end
232
234
  case rand(10)
233
235
  when 0 then @adjectives.sample + " " + @nouns.sample
234
236
  when 1 then "The " + @adjectives.sample + " " + @nouns.sample
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: random_title
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.3
4
+ version: 3.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jonah Broh