random_title 3.0.4 → 3.0.5
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 +2 -2
- 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: 2cc5ce7b33e0cfc0609ce34bce472ac3e5bdb9bb
|
|
4
|
+
data.tar.gz: 0cce5f0614a3e4dada427c74a13d16b94cc84468
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 301bbc561a2103815d826a88e8f5d0a9f333acd21bd8e5fe89273466719cfac29cd43fb5bc8fb3a377503fb3a552d30a95b844cee3caa80a76788a80a47a78f3
|
|
7
|
+
data.tar.gz: 4bf7cfc196d1921e1d8478efb3f5bbbc58f538c268c5b7ab40112853625cc27936eee4a3b9fdabe03c95c4cac13ace22a1a8ddcad966a0923c2572fe0fd22893
|
data/lib/random_title.rb
CHANGED
|
@@ -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"].map{|word| word.
|
|
151
|
+
"Foot", "Bro"].map{|word| word.capitalize}
|
|
152
152
|
|
|
153
153
|
@adjectives = ["Lost","Only","Last","First",
|
|
154
154
|
"Third","Sacred","Bold","Lovely", "Profane",
|
|
@@ -229,7 +229,7 @@ def random_title
|
|
|
229
229
|
"Big Ol'", "glistening", "mortal",
|
|
230
230
|
"questionable", "explosive", "solar", "pygmy",
|
|
231
231
|
"aspiring", "predestined", "merry", "elephantine"].map do |word|
|
|
232
|
-
word.
|
|
232
|
+
word.capitalize
|
|
233
233
|
end
|
|
234
234
|
case rand(10)
|
|
235
235
|
when 0 then @adjectives.sample + " " + @nouns.sample
|