random_title 0.0.5 → 1.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 +86 -87
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a7f2c9346578cfb97151aaf55cf67972287b37f1
|
|
4
|
+
data.tar.gz: 57238aa5da60d09c54a6b0257ac67cc5c0c76893
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d5edf9d01166f6bbaff44a4d752d559200677f84773a5d427201b3f1717e884ea76fe75a8cb45bbb3cbbf25c5b12105d337a4edef7a4812906ae3bcdfd93fe31
|
|
7
|
+
data.tar.gz: aba1a8318a3818e245ad402d6cd8d6da748b25c4ff465dcb765d6bda92880be80c2f630061f3ceeb5a0a2dddaca141db97a14b196c4cb08912bd88d3426ca618
|
data/lib/random_title.rb
CHANGED
|
@@ -1,91 +1,90 @@
|
|
|
1
|
-
#Code as Javascript taken from http://www.ruggenberg.nl/titels.html
|
|
2
|
-
@nouns = ["Dream","Dreamer","Dreams","Waves",
|
|
3
|
-
"Sword","Kiss","Sex","Lover",
|
|
4
|
-
"Slave","Slaves","Pleasure","Servant",
|
|
5
|
-
"Servants","Snake","Soul","Touch",
|
|
6
|
-
"Men","Women","Gift","Scent",
|
|
7
|
-
"Ice","Snow","Night","Silk","Secret","Secrets",
|
|
8
|
-
"Game","Fire","Flame","Flames", "Chicken",
|
|
9
|
-
"Husband","Wife","Man","Woman","Boy","Girl",
|
|
10
|
-
"Truth","Edge","Boyfriend","Girlfriend",
|
|
11
|
-
"Body","Captive","Male","Wave","Predator",
|
|
12
|
-
"Female","Healer","Trainer","Teacher",
|
|
13
|
-
"Hunter","Obsession","Hustler","Consort",
|
|
14
|
-
"Dream", "Dreamer", "Dreams","Rainbow",
|
|
15
|
-
"Dreaming","Flight","Flying","Soaring",
|
|
16
|
-
"Wings","Mist","Sky","Wind",
|
|
17
|
-
"Winter","Misty","River","Door",
|
|
18
|
-
"Gate","Cloud","Fairy","Dragon",
|
|
19
|
-
"End","Blade","Beginning","Tale",
|
|
20
|
-
"Tales","Emperor","Prince","Princess",
|
|
21
|
-
"Willow","Birch","Petals","Destiny",
|
|
22
|
-
"Theft","Thief","Legend","Prophecy",
|
|
23
|
-
"Spark","Sparks","Stream","Streams","Waves",
|
|
24
|
-
"Sword","Darkness","Swords","Silence","Kiss",
|
|
25
|
-
"Butterfly","Shadow","Ring","Rings","Emerald",
|
|
26
|
-
"Storm","Storms","Mists","World","Worlds",
|
|
27
|
-
"Alien","Lord","Lords","Ship","Ships","Star",
|
|
28
|
-
"Stars","Force","Visions","Vision","Magic",
|
|
29
|
-
"Wizards","Wizard","Heart","Heat","Twins",
|
|
30
|
-
"Twilight","Moon","Moons","Planet","Shores",
|
|
31
|
-
"Pirates","Courage","Time","Academy",
|
|
32
|
-
"School","Rose","Roses","Stone","Stones",
|
|
33
|
-
"Sorcerer","Shard","Shards","Slave","Slaves",
|
|
34
|
-
"Servant","Servants","Serpent","Serpents",
|
|
35
|
-
"Snake","Soul","Souls","Savior","Spirit",
|
|
36
|
-
"Spirits","Voyage","Voyages","Voyager","Voyagers",
|
|
37
|
-
"Return","Legacy","Birth","Healer","Healing",
|
|
38
|
-
"Year","Years","Death","Dying","Luck","Elves",
|
|
39
|
-
"Tears","Touch","Son","Sons","Child","Children",
|
|
40
|
-
"Illusion","Sliver","Destruction","Crying","Weeping",
|
|
41
|
-
"Gift","Word","Words","Thought","Thoughts","Scent",
|
|
42
|
-
"Ice","Snow","Night","Silk","Guardian","Angel",
|
|
43
|
-
"Angels","Secret","Secrets","Search","Eye","Eyes",
|
|
44
|
-
"Danger","Game","Fire","Flame","Flames","Bride",
|
|
45
|
-
"Husband","Wife","Time","Flower","Flowers",
|
|
46
|
-
"Light","Lights","Door","Doors","Window","Windows",
|
|
47
|
-
"Bridge","Bridges","Ashes","Memory","Thorn",
|
|
48
|
-
"Thorns","Name","Names","Future","Past",
|
|
49
|
-
"History","Something","Nothing","Someone",
|
|
50
|
-
"Nobody","Person","Man","Woman","Boy","Girl",
|
|
51
|
-
"Way","Mage","Witch","Witches","Lover",
|
|
52
|
-
"Tower","Valley","Abyss","Hunter",
|
|
53
|
-
"Truth","Edge"]
|
|
54
|
-
|
|
55
|
-
@adjectives = ["Lost","Only","Last","First",
|
|
56
|
-
"Third","Sacred","Bold","Lovely",
|
|
57
|
-
"Final","Missing","Shadowy","Seventh",
|
|
58
|
-
"Dwindling","Missing","Absent",
|
|
59
|
-
"Vacant","Cold","Hot","Burning","Forgotten",
|
|
60
|
-
"Weeping","Dying","Lonely","Silent",
|
|
61
|
-
"Laughing","Whispering","Forgotten","Smooth",
|
|
62
|
-
"Silken","Rough","Frozen","Wild",
|
|
63
|
-
"Trembling","Fallen","Ragged","Broken",
|
|
64
|
-
"Cracked","Splintered","Slithering","Silky",
|
|
65
|
-
"Wet","Magnificent","Luscious","Swollen",
|
|
66
|
-
"Erect","Bare","Naked","Stripped",
|
|
67
|
-
"Captured","Stolen","Sucking","Licking",
|
|
68
|
-
"Growing","Kissing","Green","Red","Blue",
|
|
69
|
-
"Azure","Rising","Falling","Elemental",
|
|
70
|
-
"Bound","Prized","Obsessed","Unwilling",
|
|
71
|
-
"Hard","Eager","Ravaged","Sleeping",
|
|
72
|
-
"Wanton","Professional","Willing","Devoted",
|
|
73
|
-
"Misty","Lost","Only","Last","First",
|
|
74
|
-
"Final","Missing","Shadowy","Seventh",
|
|
75
|
-
"Dark","Darkest","Silver","Silvery","Living",
|
|
76
|
-
"Black","White","Hidden","Entwined","Invisible",
|
|
77
|
-
"Next","Seventh","Red","Green","Blue",
|
|
78
|
-
"Purple","Grey","Bloody","Emerald","Diamond",
|
|
79
|
-
"Frozen","Sharp","Delicious","Dangerous",
|
|
80
|
-
"Deep","Twinkling","Dwindling","Missing","Absent",
|
|
81
|
-
"Vacant","Cold","Hot","Burning","Forgotten",
|
|
82
|
-
"Some","No","All","Every","Each","Which","What",
|
|
83
|
-
"Playful","Silent","Weeping","Dying","Lonely","Silent",
|
|
84
|
-
"Laughing","Whispering","Forgotten","Smooth","Silken",
|
|
85
|
-
"Rough","Frozen","Wild","Trembling","Fallen",
|
|
86
|
-
"Ragged","Broken","Cracked","Splintered"]
|
|
87
|
-
|
|
88
1
|
def random_title
|
|
2
|
+
#Code as Javascript taken from http://www.ruggenberg.nl/titels.html
|
|
3
|
+
@nouns = ["Dream","Dreamer","Dreams","Waves",
|
|
4
|
+
"Sword","Kiss","Sex","Lover",
|
|
5
|
+
"Slave","Slaves","Pleasure","Servant",
|
|
6
|
+
"Servants","Snake","Soul","Touch",
|
|
7
|
+
"Men","Women","Gift","Scent",
|
|
8
|
+
"Ice","Snow","Night","Silk","Secret","Secrets",
|
|
9
|
+
"Game","Fire","Flame","Flames", "Chicken",
|
|
10
|
+
"Husband","Wife","Man","Woman","Boy","Girl",
|
|
11
|
+
"Truth","Edge","Boyfriend","Girlfriend",
|
|
12
|
+
"Body","Captive","Male","Wave","Predator",
|
|
13
|
+
"Female","Healer","Trainer","Teacher",
|
|
14
|
+
"Hunter","Obsession","Hustler","Consort",
|
|
15
|
+
"Dream", "Dreamer", "Dreams","Rainbow",
|
|
16
|
+
"Dreaming","Flight","Flying","Soaring",
|
|
17
|
+
"Wings","Mist","Sky","Wind",
|
|
18
|
+
"Winter","Misty","River","Door",
|
|
19
|
+
"Gate","Cloud","Fairy","Dragon",
|
|
20
|
+
"End","Blade","Beginning","Tale",
|
|
21
|
+
"Tales","Emperor","Prince","Princess",
|
|
22
|
+
"Willow","Birch","Petals","Destiny",
|
|
23
|
+
"Theft","Thief","Legend","Prophecy",
|
|
24
|
+
"Spark","Sparks","Stream","Streams","Waves",
|
|
25
|
+
"Sword","Darkness","Swords","Silence","Kiss",
|
|
26
|
+
"Butterfly","Shadow","Ring","Rings","Emerald",
|
|
27
|
+
"Storm","Storms","Mists","World","Worlds",
|
|
28
|
+
"Alien","Lord","Lords","Ship","Ships","Star",
|
|
29
|
+
"Stars","Force","Visions","Vision","Magic",
|
|
30
|
+
"Wizards","Wizard","Heart","Heat","Twins",
|
|
31
|
+
"Twilight","Moon","Moons","Planet","Shores",
|
|
32
|
+
"Pirates","Courage","Time","Academy",
|
|
33
|
+
"School","Rose","Roses","Stone","Stones",
|
|
34
|
+
"Sorcerer","Shard","Shards","Slave","Slaves",
|
|
35
|
+
"Servant","Servants","Serpent","Serpents",
|
|
36
|
+
"Snake","Soul","Souls","Savior","Spirit",
|
|
37
|
+
"Spirits","Voyage","Voyages","Voyager","Voyagers",
|
|
38
|
+
"Return","Legacy","Birth","Healer","Healing",
|
|
39
|
+
"Year","Years","Death","Dying","Luck","Elves",
|
|
40
|
+
"Tears","Touch","Son","Sons","Child","Children",
|
|
41
|
+
"Illusion","Sliver","Destruction","Crying","Weeping",
|
|
42
|
+
"Gift","Word","Words","Thought","Thoughts","Scent",
|
|
43
|
+
"Ice","Snow","Night","Silk","Guardian","Angel",
|
|
44
|
+
"Angels","Secret","Secrets","Search","Eye","Eyes",
|
|
45
|
+
"Danger","Game","Fire","Flame","Flames","Bride",
|
|
46
|
+
"Husband","Wife","Time","Flower","Flowers",
|
|
47
|
+
"Light","Lights","Door","Doors","Window","Windows",
|
|
48
|
+
"Bridge","Bridges","Ashes","Memory","Thorn",
|
|
49
|
+
"Thorns","Name","Names","Future","Past",
|
|
50
|
+
"History","Something","Nothing","Someone",
|
|
51
|
+
"Nobody","Person","Man","Woman","Boy","Girl",
|
|
52
|
+
"Way","Mage","Witch","Witches","Lover",
|
|
53
|
+
"Tower","Valley","Abyss","Hunter",
|
|
54
|
+
"Truth","Edge"]
|
|
55
|
+
|
|
56
|
+
@adjectives = ["Lost","Only","Last","First",
|
|
57
|
+
"Third","Sacred","Bold","Lovely",
|
|
58
|
+
"Final","Missing","Shadowy","Seventh",
|
|
59
|
+
"Dwindling","Missing","Absent",
|
|
60
|
+
"Vacant","Cold","Hot","Burning","Forgotten",
|
|
61
|
+
"Weeping","Dying","Lonely","Silent",
|
|
62
|
+
"Laughing","Whispering","Forgotten","Smooth",
|
|
63
|
+
"Silken","Rough","Frozen","Wild",
|
|
64
|
+
"Trembling","Fallen","Ragged","Broken",
|
|
65
|
+
"Cracked","Splintered","Slithering","Silky",
|
|
66
|
+
"Wet","Magnificent","Luscious","Swollen",
|
|
67
|
+
"Erect","Bare","Naked","Stripped",
|
|
68
|
+
"Captured","Stolen","Sucking","Licking",
|
|
69
|
+
"Growing","Kissing","Green","Red","Blue",
|
|
70
|
+
"Azure","Rising","Falling","Elemental",
|
|
71
|
+
"Bound","Prized","Obsessed","Unwilling",
|
|
72
|
+
"Hard","Eager","Ravaged","Sleeping",
|
|
73
|
+
"Wanton","Professional","Willing","Devoted",
|
|
74
|
+
"Misty","Lost","Only","Last","First",
|
|
75
|
+
"Final","Missing","Shadowy","Seventh",
|
|
76
|
+
"Dark","Darkest","Silver","Silvery","Living",
|
|
77
|
+
"Black","White","Hidden","Entwined","Invisible",
|
|
78
|
+
"Next","Seventh","Red","Green","Blue",
|
|
79
|
+
"Purple","Grey","Bloody","Emerald","Diamond",
|
|
80
|
+
"Frozen","Sharp","Delicious","Dangerous",
|
|
81
|
+
"Deep","Twinkling","Dwindling","Missing","Absent",
|
|
82
|
+
"Vacant","Cold","Hot","Burning","Forgotten",
|
|
83
|
+
"Some","No","All","Every","Each","Which","What",
|
|
84
|
+
"Playful","Silent","Weeping","Dying","Lonely","Silent",
|
|
85
|
+
"Laughing","Whispering","Forgotten","Smooth","Silken",
|
|
86
|
+
"Rough","Frozen","Wild","Trembling","Fallen",
|
|
87
|
+
"Ragged","Broken","Cracked","Splintered"]
|
|
89
88
|
case rand(4)
|
|
90
89
|
when 0 then @adjectives.sample + " " + @nouns.sample
|
|
91
90
|
when 1 then "The " + @adjectives.sample + " " + @nouns.sample
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: random_title
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version:
|
|
4
|
+
version: 1.0.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Jonah Broh
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-11-
|
|
11
|
+
date: 2016-11-13 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: A random title generator
|
|
14
14
|
email: thepigking@gmail.com
|