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.
- checksums.yaml +4 -4
- data/lib/random_title.rb +8 -6
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 07e66f6aed609db41a40813d1b9fb540f2039b11
|
|
4
|
+
data.tar.gz: 282752e4be023827f18eb8fa5cb46f80b8112d78
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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", "
|
|
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-
|
|
213
|
-
"self-
|
|
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 '
|
|
229
|
+
"Big Ol'", "glistening", "mortal",
|
|
230
230
|
"questionable", "explosive", "solar", "pygmy",
|
|
231
|
-
"aspiring", "predestined", "merry", "elephantine"].
|
|
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
|