unique_names_generator 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.github/workflows/ruby.yml +31 -0
- data/.pryrc +8 -0
- data/.rspec +1 -0
- data/.rubocop.yml +31 -0
- data/Gemfile +6 -0
- data/Gemfile.lock +32 -0
- data/LICENSE +21 -0
- data/README.md +93 -0
- data/Rakefile +6 -0
- data/lib/unique_names_generator/dictionaries/adjectives.rb +1217 -0
- data/lib/unique_names_generator/dictionaries/animals.rb +370 -0
- data/lib/unique_names_generator/dictionaries/colors.rb +67 -0
- data/lib/unique_names_generator/dictionaries/languages.rb +111 -0
- data/lib/unique_names_generator/dictionaries/names.rb +4955 -0
- data/lib/unique_names_generator/dictionaries/numbers.rb +14 -0
- data/lib/unique_names_generator/dictionaries/star_wars.rb +97 -0
- data/lib/unique_names_generator/seed.rb +42 -0
- data/lib/unique_names_generator/version.rb +5 -0
- data/lib/unique_names_generator.rb +192 -0
- data/unique_names_generator.gemspec +28 -0
- metadata +81 -0
@@ -0,0 +1,370 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module UniqueNamesGenerator
|
4
|
+
module Dictionaries
|
5
|
+
# Dictionary containing animals
|
6
|
+
module Animals
|
7
|
+
TERMS = [
|
8
|
+
'aardvark',
|
9
|
+
'aardwolf',
|
10
|
+
'albatross',
|
11
|
+
'alligator',
|
12
|
+
'alpaca',
|
13
|
+
'amphibian',
|
14
|
+
'anaconda',
|
15
|
+
'angelfish',
|
16
|
+
'anglerfish',
|
17
|
+
'ant',
|
18
|
+
'anteater',
|
19
|
+
'antelope',
|
20
|
+
'antlion',
|
21
|
+
'ape',
|
22
|
+
'aphid',
|
23
|
+
'armadillo',
|
24
|
+
'asp',
|
25
|
+
'baboon',
|
26
|
+
'badger',
|
27
|
+
'bandicoot',
|
28
|
+
'barnacle',
|
29
|
+
'barracuda',
|
30
|
+
'basilisk',
|
31
|
+
'bass',
|
32
|
+
'bat',
|
33
|
+
'bear',
|
34
|
+
'beaver',
|
35
|
+
'bedbug',
|
36
|
+
'bee',
|
37
|
+
'beetle',
|
38
|
+
'bird',
|
39
|
+
'bison',
|
40
|
+
'blackbird',
|
41
|
+
'boa',
|
42
|
+
'boar',
|
43
|
+
'bobcat',
|
44
|
+
'bobolink',
|
45
|
+
'bonobo',
|
46
|
+
'booby',
|
47
|
+
'bovid',
|
48
|
+
'bug',
|
49
|
+
'butterfly',
|
50
|
+
'buzzard',
|
51
|
+
'camel',
|
52
|
+
'canid',
|
53
|
+
'canidae',
|
54
|
+
'capybara',
|
55
|
+
'cardinal',
|
56
|
+
'caribou',
|
57
|
+
'carp',
|
58
|
+
'cat',
|
59
|
+
'caterpillar',
|
60
|
+
'catfish',
|
61
|
+
'catshark',
|
62
|
+
'cattle',
|
63
|
+
'centipede',
|
64
|
+
'cephalopod',
|
65
|
+
'chameleon',
|
66
|
+
'cheetah',
|
67
|
+
'chickadee',
|
68
|
+
'chicken',
|
69
|
+
'chimpanzee',
|
70
|
+
'chinchilla',
|
71
|
+
'chipmunk',
|
72
|
+
'cicada',
|
73
|
+
'clam',
|
74
|
+
'clownfish',
|
75
|
+
'cobra',
|
76
|
+
'cockroach',
|
77
|
+
'cod',
|
78
|
+
'condor',
|
79
|
+
'constrictor',
|
80
|
+
'coral',
|
81
|
+
'cougar',
|
82
|
+
'cow',
|
83
|
+
'coyote',
|
84
|
+
'crab',
|
85
|
+
'crane',
|
86
|
+
'crawdad',
|
87
|
+
'crayfish',
|
88
|
+
'cricket',
|
89
|
+
'crocodile',
|
90
|
+
'crow',
|
91
|
+
'cuckoo',
|
92
|
+
'damselfly',
|
93
|
+
'deer',
|
94
|
+
'dingo',
|
95
|
+
'dinosaur',
|
96
|
+
'dog',
|
97
|
+
'dolphin',
|
98
|
+
'donkey',
|
99
|
+
'dormouse',
|
100
|
+
'dove',
|
101
|
+
'dragon',
|
102
|
+
'dragonfly',
|
103
|
+
'duck',
|
104
|
+
'eagle',
|
105
|
+
'earthworm',
|
106
|
+
'earwig',
|
107
|
+
'echidna',
|
108
|
+
'eel',
|
109
|
+
'egret',
|
110
|
+
'elephant',
|
111
|
+
'elk',
|
112
|
+
'emu',
|
113
|
+
'ermine',
|
114
|
+
'falcon',
|
115
|
+
'felidae',
|
116
|
+
'ferret',
|
117
|
+
'finch',
|
118
|
+
'firefly',
|
119
|
+
'fish',
|
120
|
+
'flamingo',
|
121
|
+
'flea',
|
122
|
+
'fly',
|
123
|
+
'flyingfish',
|
124
|
+
'fowl',
|
125
|
+
'fox',
|
126
|
+
'frog',
|
127
|
+
'galliform',
|
128
|
+
'gamefowl',
|
129
|
+
'gayal',
|
130
|
+
'gazelle',
|
131
|
+
'gecko',
|
132
|
+
'gerbil',
|
133
|
+
'gibbon',
|
134
|
+
'giraffe',
|
135
|
+
'goat',
|
136
|
+
'goldfish',
|
137
|
+
'goose',
|
138
|
+
'gopher',
|
139
|
+
'gorilla',
|
140
|
+
'grasshopper',
|
141
|
+
'grouse',
|
142
|
+
'guan',
|
143
|
+
'guanaco',
|
144
|
+
'guineafowl',
|
145
|
+
'gull',
|
146
|
+
'guppy',
|
147
|
+
'haddock',
|
148
|
+
'halibut',
|
149
|
+
'hamster',
|
150
|
+
'hare',
|
151
|
+
'harrier',
|
152
|
+
'hawk',
|
153
|
+
'hedgehog',
|
154
|
+
'heron',
|
155
|
+
'herring',
|
156
|
+
'hippopotamus',
|
157
|
+
'hookworm',
|
158
|
+
'hornet',
|
159
|
+
'horse',
|
160
|
+
'hoverfly',
|
161
|
+
'hummingbird',
|
162
|
+
'hyena',
|
163
|
+
'iguana',
|
164
|
+
'impala',
|
165
|
+
'jackal',
|
166
|
+
'jaguar',
|
167
|
+
'jay',
|
168
|
+
'jellyfish',
|
169
|
+
'junglefowl',
|
170
|
+
'kangaroo',
|
171
|
+
'kingfisher',
|
172
|
+
'kite',
|
173
|
+
'kiwi',
|
174
|
+
'koala',
|
175
|
+
'koi',
|
176
|
+
'krill',
|
177
|
+
'ladybug',
|
178
|
+
'lamprey',
|
179
|
+
'landfowl',
|
180
|
+
'lark',
|
181
|
+
'leech',
|
182
|
+
'lemming',
|
183
|
+
'lemur',
|
184
|
+
'leopard',
|
185
|
+
'leopon',
|
186
|
+
'limpet',
|
187
|
+
'lion',
|
188
|
+
'lizard',
|
189
|
+
'llama',
|
190
|
+
'lobster',
|
191
|
+
'locust',
|
192
|
+
'loon',
|
193
|
+
'louse',
|
194
|
+
'lungfish',
|
195
|
+
'lynx',
|
196
|
+
'macaw',
|
197
|
+
'mackerel',
|
198
|
+
'magpie',
|
199
|
+
'mammal',
|
200
|
+
'manatee',
|
201
|
+
'mandrill',
|
202
|
+
'marlin',
|
203
|
+
'marmoset',
|
204
|
+
'marmot',
|
205
|
+
'marsupial',
|
206
|
+
'marten',
|
207
|
+
'mastodon',
|
208
|
+
'meadowlark',
|
209
|
+
'meerkat',
|
210
|
+
'mink',
|
211
|
+
'minnow',
|
212
|
+
'mite',
|
213
|
+
'mockingbird',
|
214
|
+
'mole',
|
215
|
+
'mollusk',
|
216
|
+
'mongoose',
|
217
|
+
'monkey',
|
218
|
+
'moose',
|
219
|
+
'mosquito',
|
220
|
+
'moth',
|
221
|
+
'mouse',
|
222
|
+
'mule',
|
223
|
+
'muskox',
|
224
|
+
'narwhal',
|
225
|
+
'newt',
|
226
|
+
'nightingale',
|
227
|
+
'ocelot',
|
228
|
+
'octopus',
|
229
|
+
'opossum',
|
230
|
+
'orangutan',
|
231
|
+
'orca',
|
232
|
+
'ostrich',
|
233
|
+
'otter',
|
234
|
+
'owl',
|
235
|
+
'ox',
|
236
|
+
'panda',
|
237
|
+
'panther',
|
238
|
+
'parakeet',
|
239
|
+
'parrot',
|
240
|
+
'parrotfish',
|
241
|
+
'partridge',
|
242
|
+
'peacock',
|
243
|
+
'peafowl',
|
244
|
+
'pelican',
|
245
|
+
'penguin',
|
246
|
+
'perch',
|
247
|
+
'pheasant',
|
248
|
+
'pig',
|
249
|
+
'pigeon',
|
250
|
+
'pike',
|
251
|
+
'pinniped',
|
252
|
+
'piranha',
|
253
|
+
'planarian',
|
254
|
+
'platypus',
|
255
|
+
'pony',
|
256
|
+
'porcupine',
|
257
|
+
'porpoise',
|
258
|
+
'possum',
|
259
|
+
'prawn',
|
260
|
+
'primate',
|
261
|
+
'ptarmigan',
|
262
|
+
'puffin',
|
263
|
+
'puma',
|
264
|
+
'python',
|
265
|
+
'quail',
|
266
|
+
'quelea',
|
267
|
+
'quokka',
|
268
|
+
'rabbit',
|
269
|
+
'raccoon',
|
270
|
+
'rat',
|
271
|
+
'rattlesnake',
|
272
|
+
'raven',
|
273
|
+
'reindeer',
|
274
|
+
'reptile',
|
275
|
+
'rhinoceros',
|
276
|
+
'roadrunner',
|
277
|
+
'rodent',
|
278
|
+
'rook',
|
279
|
+
'rooster',
|
280
|
+
'roundworm',
|
281
|
+
'sailfish',
|
282
|
+
'salamander',
|
283
|
+
'salmon',
|
284
|
+
'sawfish',
|
285
|
+
'scallop',
|
286
|
+
'scorpion',
|
287
|
+
'seahorse',
|
288
|
+
'shark',
|
289
|
+
'sheep',
|
290
|
+
'shrew',
|
291
|
+
'shrimp',
|
292
|
+
'silkworm',
|
293
|
+
'silverfish',
|
294
|
+
'skink',
|
295
|
+
'skunk',
|
296
|
+
'sloth',
|
297
|
+
'slug',
|
298
|
+
'smelt',
|
299
|
+
'snail',
|
300
|
+
'snake',
|
301
|
+
'snipe',
|
302
|
+
'sole',
|
303
|
+
'sparrow',
|
304
|
+
'spider',
|
305
|
+
'spoonbill',
|
306
|
+
'squid',
|
307
|
+
'squirrel',
|
308
|
+
'starfish',
|
309
|
+
'stingray',
|
310
|
+
'stoat',
|
311
|
+
'stork',
|
312
|
+
'sturgeon',
|
313
|
+
'swallow',
|
314
|
+
'swan',
|
315
|
+
'swift',
|
316
|
+
'swordfish',
|
317
|
+
'swordtail',
|
318
|
+
'tahr',
|
319
|
+
'takin',
|
320
|
+
'tapir',
|
321
|
+
'tarantula',
|
322
|
+
'tarsier',
|
323
|
+
'termite',
|
324
|
+
'tern',
|
325
|
+
'thrush',
|
326
|
+
'tick',
|
327
|
+
'tiger',
|
328
|
+
'tiglon',
|
329
|
+
'toad',
|
330
|
+
'tortoise',
|
331
|
+
'toucan',
|
332
|
+
'trout',
|
333
|
+
'tuna',
|
334
|
+
'turkey',
|
335
|
+
'turtle',
|
336
|
+
'tyrannosaurus',
|
337
|
+
'unicorn',
|
338
|
+
'urial',
|
339
|
+
'vicuna',
|
340
|
+
'viper',
|
341
|
+
'vole',
|
342
|
+
'vulture',
|
343
|
+
'wallaby',
|
344
|
+
'walrus',
|
345
|
+
'warbler',
|
346
|
+
'wasp',
|
347
|
+
'weasel',
|
348
|
+
'whale',
|
349
|
+
'whippet',
|
350
|
+
'whitefish',
|
351
|
+
'wildcat',
|
352
|
+
'wildebeest',
|
353
|
+
'wildfowl',
|
354
|
+
'wolf',
|
355
|
+
'wolverine',
|
356
|
+
'wombat',
|
357
|
+
'woodpecker',
|
358
|
+
'worm',
|
359
|
+
'wren',
|
360
|
+
'xerinae',
|
361
|
+
'yak',
|
362
|
+
'zebra'
|
363
|
+
].freeze
|
364
|
+
|
365
|
+
def self.list_all
|
366
|
+
TERMS
|
367
|
+
end
|
368
|
+
end
|
369
|
+
end
|
370
|
+
end
|
@@ -0,0 +1,67 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module UniqueNamesGenerator
|
4
|
+
module Dictionaries
|
5
|
+
# Dictionary containing colors
|
6
|
+
module Colors
|
7
|
+
TERMS = [
|
8
|
+
'amaranth',
|
9
|
+
'amber',
|
10
|
+
'amethyst',
|
11
|
+
'apricot',
|
12
|
+
'aqua',
|
13
|
+
'aquamarine',
|
14
|
+
'azure',
|
15
|
+
'beige',
|
16
|
+
'black',
|
17
|
+
'blue',
|
18
|
+
'blush',
|
19
|
+
'bronze',
|
20
|
+
'brown',
|
21
|
+
'chocolate',
|
22
|
+
'coffee',
|
23
|
+
'copper',
|
24
|
+
'coral',
|
25
|
+
'crimson',
|
26
|
+
'cyan',
|
27
|
+
'emerald',
|
28
|
+
'fuchsia',
|
29
|
+
'gold',
|
30
|
+
'gray',
|
31
|
+
'green',
|
32
|
+
'harlequin',
|
33
|
+
'indigo',
|
34
|
+
'ivory',
|
35
|
+
'jade',
|
36
|
+
'lavender',
|
37
|
+
'lime',
|
38
|
+
'magenta',
|
39
|
+
'maroon',
|
40
|
+
'moccasin',
|
41
|
+
'olive',
|
42
|
+
'orange',
|
43
|
+
'peach',
|
44
|
+
'pink',
|
45
|
+
'plum',
|
46
|
+
'purple',
|
47
|
+
'red',
|
48
|
+
'rose',
|
49
|
+
'salmon',
|
50
|
+
'sapphire',
|
51
|
+
'scarlet',
|
52
|
+
'silver',
|
53
|
+
'tan',
|
54
|
+
'teal',
|
55
|
+
'tomato',
|
56
|
+
'turquoise',
|
57
|
+
'violet',
|
58
|
+
'white',
|
59
|
+
'yellow'
|
60
|
+
].freeze
|
61
|
+
|
62
|
+
def self.list_all
|
63
|
+
TERMS
|
64
|
+
end
|
65
|
+
end
|
66
|
+
end
|
67
|
+
end
|
@@ -0,0 +1,111 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module UniqueNamesGenerator
|
4
|
+
module Dictionaries
|
5
|
+
# Dictionary containing languages
|
6
|
+
module Languages
|
7
|
+
TERMS = [
|
8
|
+
'Akan',
|
9
|
+
'Amharic',
|
10
|
+
'Arabic',
|
11
|
+
'Assamese',
|
12
|
+
'Awadhi',
|
13
|
+
'Azerbaijani',
|
14
|
+
'Balochi',
|
15
|
+
'Belarusian',
|
16
|
+
'Bengali',
|
17
|
+
'Bhojpuri',
|
18
|
+
'Burmese',
|
19
|
+
'Cebuano',
|
20
|
+
'Chewa',
|
21
|
+
'Chhattisgarhi',
|
22
|
+
'Chittagonian',
|
23
|
+
'Czech',
|
24
|
+
'Deccan',
|
25
|
+
'Dhundhari',
|
26
|
+
'Dutch',
|
27
|
+
'English',
|
28
|
+
'French',
|
29
|
+
'Fula',
|
30
|
+
'Gan',
|
31
|
+
'German',
|
32
|
+
'Greek',
|
33
|
+
'Gujarati',
|
34
|
+
'Hakka',
|
35
|
+
'Haryanvi',
|
36
|
+
'Hausa',
|
37
|
+
'Hiligaynon',
|
38
|
+
'Hindi',
|
39
|
+
'Hmong',
|
40
|
+
'Hungarian',
|
41
|
+
'Igbo',
|
42
|
+
'Ilocano',
|
43
|
+
'Italian',
|
44
|
+
'Japanese',
|
45
|
+
'Javanese',
|
46
|
+
'Jin',
|
47
|
+
'Kannada',
|
48
|
+
'Kazakh',
|
49
|
+
'Khmer',
|
50
|
+
'Kinyarwanda',
|
51
|
+
'Kirundi',
|
52
|
+
'Konkani',
|
53
|
+
'Korean',
|
54
|
+
'Kurdish',
|
55
|
+
'Madurese',
|
56
|
+
'Magahi',
|
57
|
+
'Maithili',
|
58
|
+
'Malagasy',
|
59
|
+
'Malay',
|
60
|
+
'Malayalam',
|
61
|
+
'Mandarin',
|
62
|
+
'Marathi',
|
63
|
+
'Marwari',
|
64
|
+
'Min',
|
65
|
+
'Mossi',
|
66
|
+
'Nepali',
|
67
|
+
'Odia',
|
68
|
+
'Oromo',
|
69
|
+
'Pashto',
|
70
|
+
'Persian',
|
71
|
+
'Polish',
|
72
|
+
'Portuguese',
|
73
|
+
'Punjabi',
|
74
|
+
'Quechua',
|
75
|
+
'Romanian',
|
76
|
+
'Russian',
|
77
|
+
'Saraiki',
|
78
|
+
'Shona',
|
79
|
+
'Sindhi',
|
80
|
+
'Sinhala',
|
81
|
+
'Somali',
|
82
|
+
'Spanish',
|
83
|
+
'Sundanese',
|
84
|
+
'Swedish',
|
85
|
+
'Sylheti',
|
86
|
+
'Tagalog',
|
87
|
+
'Tamil',
|
88
|
+
'Telugu',
|
89
|
+
'Thai',
|
90
|
+
'Turkish',
|
91
|
+
'Turkmen',
|
92
|
+
'Ukrainian',
|
93
|
+
'Urdu',
|
94
|
+
'Uyghur',
|
95
|
+
'Uzbek',
|
96
|
+
'Vietnamese',
|
97
|
+
'Wu',
|
98
|
+
'Xhosa',
|
99
|
+
'Xiang',
|
100
|
+
'Yoruba',
|
101
|
+
'Yue',
|
102
|
+
'Zhuang',
|
103
|
+
'Zulu'
|
104
|
+
].freeze
|
105
|
+
|
106
|
+
def self.list_all
|
107
|
+
TERMS
|
108
|
+
end
|
109
|
+
end
|
110
|
+
end
|
111
|
+
end
|