grim-object 0.0.0
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 +7 -0
- data/lib/grim-object.rb +22 -0
- data/lib/locations.yml +167 -0
- metadata +44 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 1a13819867de580418f5bf8a093bffcbdf896c6a
|
4
|
+
data.tar.gz: 1e1a5b9d13218539dd8f96c6346b88ae23f83d85
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 3a9c195c4ecd514bb9f6ce4195d019fe3d278b65f0a4e889c96a964011d0013babe7f69f2864386fdc4ef0f298773572ae5b78938b2de5277956a6dc2bfd98f7
|
7
|
+
data.tar.gz: 11f0da400cad2dd5e93ad243733fa463f965b001f0ba6f9324e3c005fbddce8857f558a4a63df96df587b9cc9763b09653bd814f3425d1787bc6f74a9d909bf2
|
data/lib/grim-object.rb
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
require 'yaml'
|
2
|
+
|
3
|
+
module GrimObject
|
4
|
+
class Generator
|
5
|
+
@@descriptors = []
|
6
|
+
@@places = []
|
7
|
+
def initialize
|
8
|
+
data = YAML.load_file "lib/locations.yml"
|
9
|
+
yaml_descriptors = data["descriptors"]
|
10
|
+
yaml_places = data["places"]
|
11
|
+
yaml_descriptors.each do |descriptor|
|
12
|
+
@@descriptors.push(descriptor)
|
13
|
+
end
|
14
|
+
yaml_places.each do |place|
|
15
|
+
@@places.push(place)
|
16
|
+
end
|
17
|
+
end
|
18
|
+
def name
|
19
|
+
"#{@@descriptors.sample}-#{@@places.sample}-#{rand(1000..9999).floor}"
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
data/lib/locations.yml
ADDED
@@ -0,0 +1,167 @@
|
|
1
|
+
descriptors:
|
2
|
+
- ancient
|
3
|
+
- submerged
|
4
|
+
- subterranean
|
5
|
+
- hidden
|
6
|
+
- unspeakable
|
7
|
+
- unfathomable
|
8
|
+
- impossible
|
9
|
+
- thorny
|
10
|
+
- desolate
|
11
|
+
- bleak
|
12
|
+
- stark
|
13
|
+
- bare
|
14
|
+
- dismal
|
15
|
+
- grim
|
16
|
+
- wild
|
17
|
+
- inhospitable
|
18
|
+
- deserted
|
19
|
+
- uninhabited
|
20
|
+
- godforsaken
|
21
|
+
- abandoned
|
22
|
+
- empty
|
23
|
+
- barren
|
24
|
+
- mysterious
|
25
|
+
- ravaged
|
26
|
+
- gloomy
|
27
|
+
- dreary
|
28
|
+
- dark
|
29
|
+
- murky
|
30
|
+
- concealed
|
31
|
+
- remote
|
32
|
+
- cryptic
|
33
|
+
- secret
|
34
|
+
- esoteric
|
35
|
+
- strange
|
36
|
+
- mystic
|
37
|
+
- obscured
|
38
|
+
- underground
|
39
|
+
- melancholy
|
40
|
+
- sombre
|
41
|
+
- wretched
|
42
|
+
- scourged
|
43
|
+
- plagued
|
44
|
+
- sunless
|
45
|
+
- ominous
|
46
|
+
- unforgiving
|
47
|
+
- harsh
|
48
|
+
- freezing
|
49
|
+
- barren
|
50
|
+
- cursed
|
51
|
+
- veiled
|
52
|
+
- lost
|
53
|
+
- scarred
|
54
|
+
- burnt
|
55
|
+
- blighted
|
56
|
+
- corrupted
|
57
|
+
- weeping
|
58
|
+
- shadowed
|
59
|
+
- broken
|
60
|
+
- secret
|
61
|
+
|
62
|
+
places:
|
63
|
+
- desert
|
64
|
+
- wasteland
|
65
|
+
- wilderness
|
66
|
+
- wastes
|
67
|
+
- dust bowl
|
68
|
+
- wilds
|
69
|
+
- sandscape
|
70
|
+
- badlands
|
71
|
+
- plain
|
72
|
+
- grassland
|
73
|
+
- prairie
|
74
|
+
- flatland
|
75
|
+
- lowland
|
76
|
+
- pasture
|
77
|
+
- meadowland
|
78
|
+
- savanna
|
79
|
+
- steppe
|
80
|
+
- taiga
|
81
|
+
- mud flats
|
82
|
+
- salt marsh
|
83
|
+
- lowland
|
84
|
+
- mossland
|
85
|
+
- mudland
|
86
|
+
- glade
|
87
|
+
- mireland
|
88
|
+
- swampland
|
89
|
+
- swamp
|
90
|
+
- bog
|
91
|
+
- meadow
|
92
|
+
- tundra
|
93
|
+
- heath
|
94
|
+
- savanna
|
95
|
+
- mesa
|
96
|
+
- grasslands
|
97
|
+
- expanse
|
98
|
+
- marshland
|
99
|
+
- marsh
|
100
|
+
- wetland
|
101
|
+
- quagmire
|
102
|
+
- lake
|
103
|
+
- lakes
|
104
|
+
- mountain
|
105
|
+
- highlands
|
106
|
+
- highland
|
107
|
+
- sierra
|
108
|
+
- sierras
|
109
|
+
- hills
|
110
|
+
- bluff
|
111
|
+
- bluffs
|
112
|
+
- overlook
|
113
|
+
- peak
|
114
|
+
- volcano
|
115
|
+
- archipelago
|
116
|
+
- island
|
117
|
+
- crater
|
118
|
+
- cliffs
|
119
|
+
- crags
|
120
|
+
- crag
|
121
|
+
- precipice
|
122
|
+
- cape
|
123
|
+
- slopes
|
124
|
+
- coast
|
125
|
+
- beaches
|
126
|
+
- beach
|
127
|
+
- shoreline
|
128
|
+
- edge
|
129
|
+
- waterside
|
130
|
+
- riverbank
|
131
|
+
- glacier
|
132
|
+
- iceberg
|
133
|
+
- ice fields
|
134
|
+
- ice field
|
135
|
+
- frostland
|
136
|
+
- iceland
|
137
|
+
- shrubland
|
138
|
+
- pines
|
139
|
+
- wildwood
|
140
|
+
- forest
|
141
|
+
- grove
|
142
|
+
- woodland
|
143
|
+
- thicket
|
144
|
+
- basin
|
145
|
+
- foothills
|
146
|
+
- isle
|
147
|
+
- reaches
|
148
|
+
- ridge
|
149
|
+
- point
|
150
|
+
- lair
|
151
|
+
- reef
|
152
|
+
- rainforest
|
153
|
+
- rainforests
|
154
|
+
- woodland
|
155
|
+
- woodlands
|
156
|
+
- jungle
|
157
|
+
- cave
|
158
|
+
- caves
|
159
|
+
- ruins
|
160
|
+
- cavern
|
161
|
+
- caverns
|
162
|
+
- hollow
|
163
|
+
- hollows
|
164
|
+
- moor
|
165
|
+
- moors
|
166
|
+
- ravine
|
167
|
+
- peninsula
|
metadata
ADDED
@@ -0,0 +1,44 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: grim-object
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Benjamin Brandall
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2018-05-21 00:00:00.000000000 Z
|
12
|
+
dependencies: []
|
13
|
+
description:
|
14
|
+
email: benjbrandall@protonmail.ch
|
15
|
+
executables: []
|
16
|
+
extensions: []
|
17
|
+
extra_rdoc_files: []
|
18
|
+
files:
|
19
|
+
- lib/grim-object.rb
|
20
|
+
- lib/locations.yml
|
21
|
+
homepage:
|
22
|
+
licenses: []
|
23
|
+
metadata: {}
|
24
|
+
post_install_message:
|
25
|
+
rdoc_options: []
|
26
|
+
require_paths:
|
27
|
+
- lib
|
28
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
29
|
+
requirements:
|
30
|
+
- - ">="
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '0'
|
33
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
34
|
+
requirements:
|
35
|
+
- - ">="
|
36
|
+
- !ruby/object:Gem::Version
|
37
|
+
version: '0'
|
38
|
+
requirements: []
|
39
|
+
rubyforge_project:
|
40
|
+
rubygems_version: 2.6.14
|
41
|
+
signing_key:
|
42
|
+
specification_version: 4
|
43
|
+
summary: Generate grim Heroku-like object names.
|
44
|
+
test_files: []
|