idgen 1.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/.gitignore +10 -0
- data/Gemfile +3 -0
- data/LICENSE.txt +21 -0
- data/README.md +49 -0
- data/Rakefile +1 -0
- data/bin/bundler +16 -0
- data/bin/console +14 -0
- data/bin/htmldiff +16 -0
- data/bin/ldiff +16 -0
- data/bin/rake +16 -0
- data/bin/rspec +16 -0
- data/bin/setup +5 -0
- data/idgen.gemspec +25 -0
- data/lib/idgen.rb +33 -0
- metadata +100 -0
checksums.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
SHA1:
|
|
3
|
+
metadata.gz: c00a3f08dcb7ecb7df1852c330f2e413c5d8f358
|
|
4
|
+
data.tar.gz: 1737e48e96f65a357573bdb2118d4cda88e19ee8
|
|
5
|
+
SHA512:
|
|
6
|
+
metadata.gz: f051b0af277d2cd827c756b2a8b8387dbb32697e0c2cc8f34d35b99afbae0855f6658a1d1a45a4a16968e4f9bf1770f056e366a30a24c1481b5bb50be1f75ee1
|
|
7
|
+
data.tar.gz: 176dbe1f117432d3543e95574cead595938080e597c7cf4abeef26f1f0dff2bb1c7cff28aca7292e276f061068d75f6829a9bd52308b19ef16347f6567b02074
|
data/.gitignore
ADDED
data/Gemfile
ADDED
data/LICENSE.txt
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
The MIT License (MIT)
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2016 Gytis Daujotas
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
|
13
|
+
all copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
21
|
+
THE SOFTWARE.
|
data/README.md
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
# IDGen
|
|
2
|
+
|
|
3
|
+
IDGen is a gem for generating easy-to-remember IDs out of nouns, adjectives and verbs.
|
|
4
|
+
|
|
5
|
+
## Installation
|
|
6
|
+
|
|
7
|
+
Add this line to your application's Gemfile:
|
|
8
|
+
|
|
9
|
+
```ruby
|
|
10
|
+
gem 'idgen'
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
And then execute:
|
|
14
|
+
|
|
15
|
+
$ bundle
|
|
16
|
+
|
|
17
|
+
Or install it yourself as:
|
|
18
|
+
|
|
19
|
+
$ gem install idgen
|
|
20
|
+
|
|
21
|
+
## Usage
|
|
22
|
+
|
|
23
|
+
```ruby
|
|
24
|
+
Idgen.pattern("noun") # => "attic"
|
|
25
|
+
Idgen.pattern("noun adjective verb") # => "aunt minimum collapse"
|
|
26
|
+
Idgen.pattern("noun-noun-noun") # => "dentist-fruit-pencil"
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
Three types of capitalisation are supported:
|
|
30
|
+
|
|
31
|
+
```ruby
|
|
32
|
+
Idgen.pattern("adjective") # => "endless"
|
|
33
|
+
Idgen.pattern("Adjective") # => "Genuine"
|
|
34
|
+
Idgen.pattern("ADJECTIVE") # => "UGLY"
|
|
35
|
+
|
|
36
|
+
Idgen.pattern("<Adjective-Adjective-Noun>" # => "<Official-Familiar-Bedroom>"
|
|
37
|
+
Idgen.pattern("verbVerbVerb") # => beatRelateTravel
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
## Development
|
|
41
|
+
|
|
42
|
+
After checking out the repo, run `bin/setup` to install dependencies. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
|
43
|
+
|
|
44
|
+
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
|
45
|
+
|
|
46
|
+
## License
|
|
47
|
+
|
|
48
|
+
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
|
49
|
+
|
data/Rakefile
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
require "bundler/gem_tasks"
|
data/bin/bundler
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
#!/usr/bin/env ruby
|
|
2
|
+
#
|
|
3
|
+
# This file was generated by Bundler.
|
|
4
|
+
#
|
|
5
|
+
# The application 'bundler' is installed as part of a gem, and
|
|
6
|
+
# this file is here to facilitate running it.
|
|
7
|
+
#
|
|
8
|
+
|
|
9
|
+
require "pathname"
|
|
10
|
+
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
|
|
11
|
+
Pathname.new(__FILE__).realpath)
|
|
12
|
+
|
|
13
|
+
require "rubygems"
|
|
14
|
+
require "bundler/setup"
|
|
15
|
+
|
|
16
|
+
load Gem.bin_path("bundler", "bundler")
|
data/bin/console
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
#!/usr/bin/env ruby
|
|
2
|
+
|
|
3
|
+
require "bundler/setup"
|
|
4
|
+
require "idgen"
|
|
5
|
+
|
|
6
|
+
# You can add fixtures and/or initialization code here to make experimenting
|
|
7
|
+
# with your gem easier. You can also use a different console, if you like.
|
|
8
|
+
|
|
9
|
+
# (If you use this, don't forget to add pry to your Gemfile!)
|
|
10
|
+
# require "pry"
|
|
11
|
+
# Pry.start
|
|
12
|
+
|
|
13
|
+
require "irb"
|
|
14
|
+
IRB.start
|
data/bin/htmldiff
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
#!/usr/bin/env ruby
|
|
2
|
+
#
|
|
3
|
+
# This file was generated by Bundler.
|
|
4
|
+
#
|
|
5
|
+
# The application 'htmldiff' is installed as part of a gem, and
|
|
6
|
+
# this file is here to facilitate running it.
|
|
7
|
+
#
|
|
8
|
+
|
|
9
|
+
require "pathname"
|
|
10
|
+
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
|
|
11
|
+
Pathname.new(__FILE__).realpath)
|
|
12
|
+
|
|
13
|
+
require "rubygems"
|
|
14
|
+
require "bundler/setup"
|
|
15
|
+
|
|
16
|
+
load Gem.bin_path("diff-lcs", "htmldiff")
|
data/bin/ldiff
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
#!/usr/bin/env ruby
|
|
2
|
+
#
|
|
3
|
+
# This file was generated by Bundler.
|
|
4
|
+
#
|
|
5
|
+
# The application 'ldiff' is installed as part of a gem, and
|
|
6
|
+
# this file is here to facilitate running it.
|
|
7
|
+
#
|
|
8
|
+
|
|
9
|
+
require "pathname"
|
|
10
|
+
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
|
|
11
|
+
Pathname.new(__FILE__).realpath)
|
|
12
|
+
|
|
13
|
+
require "rubygems"
|
|
14
|
+
require "bundler/setup"
|
|
15
|
+
|
|
16
|
+
load Gem.bin_path("diff-lcs", "ldiff")
|
data/bin/rake
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
#!/usr/bin/env ruby
|
|
2
|
+
#
|
|
3
|
+
# This file was generated by Bundler.
|
|
4
|
+
#
|
|
5
|
+
# The application 'rake' is installed as part of a gem, and
|
|
6
|
+
# this file is here to facilitate running it.
|
|
7
|
+
#
|
|
8
|
+
|
|
9
|
+
require "pathname"
|
|
10
|
+
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
|
|
11
|
+
Pathname.new(__FILE__).realpath)
|
|
12
|
+
|
|
13
|
+
require "rubygems"
|
|
14
|
+
require "bundler/setup"
|
|
15
|
+
|
|
16
|
+
load Gem.bin_path("rake", "rake")
|
data/bin/rspec
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
#!/usr/bin/env ruby
|
|
2
|
+
#
|
|
3
|
+
# This file was generated by Bundler.
|
|
4
|
+
#
|
|
5
|
+
# The application 'rspec' is installed as part of a gem, and
|
|
6
|
+
# this file is here to facilitate running it.
|
|
7
|
+
#
|
|
8
|
+
|
|
9
|
+
require "pathname"
|
|
10
|
+
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
|
|
11
|
+
Pathname.new(__FILE__).realpath)
|
|
12
|
+
|
|
13
|
+
require "rubygems"
|
|
14
|
+
require "bundler/setup"
|
|
15
|
+
|
|
16
|
+
load Gem.bin_path("rspec-core", "rspec")
|
data/bin/setup
ADDED
data/idgen.gemspec
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
|
+
require_relative 'lib/idgen.rb'
|
|
5
|
+
|
|
6
|
+
Gem::Specification.new do |spec|
|
|
7
|
+
spec.name = "idgen"
|
|
8
|
+
spec.version = Idgen::VERSION
|
|
9
|
+
spec.authors = ["Gytis Daujotas"]
|
|
10
|
+
spec.email = ["gytdau@gmail.com"]
|
|
11
|
+
|
|
12
|
+
spec.summary = %q{A gem for generating easy-to-remember IDs out of nouns, adjectives and verbs.}
|
|
13
|
+
spec.homepage = "https://github.com/gytdau/idgen"
|
|
14
|
+
spec.license = "MIT"
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
|
18
|
+
spec.bindir = "exe"
|
|
19
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
|
20
|
+
spec.require_paths = ["lib"]
|
|
21
|
+
|
|
22
|
+
spec.add_development_dependency "bundler", "~> 1.10"
|
|
23
|
+
spec.add_development_dependency "rake", "~> 10.0"
|
|
24
|
+
spec.add_development_dependency "rspec", "~> 3.0"
|
|
25
|
+
end
|
data/lib/idgen.rb
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# This module is used for generating random IDs with verbs, adjectives and nouns
|
|
2
|
+
|
|
3
|
+
module Idgen
|
|
4
|
+
|
|
5
|
+
VERSION = "1.0"
|
|
6
|
+
|
|
7
|
+
# 829 adjectives
|
|
8
|
+
@adjectives = ["other", "new", "good", "high", "old", "great", "big", "american", "small", "large", "national", "young", "different", "black", "long", "little", "important", "political", "bad", "white", "real", "best", "right", "social", "only", "public", "sure", "low", "early", "able", "human", "local", "late", "hard", "major", "better", "economic", "strong", "possible", "whole", "free", "military", "true", "federal", "international", "full", "special", "easy", "clear", "recent", "certain", "personal", "open", "red", "difficult", "available", "likely", "short", "single", "medical", "current", "wrong", "private", "past", "foreign", "fine", "common", "poor", "natural", "significant", "similar", "hot", "dead", "central", "happy", "serious", "ready", "simple", "left", "physical", "general", "environmental", "financial", "blue", "democratic", "dark", "various", "entire", "close", "legal", "religious", "cold", "final", "main", "green", "nice", "huge", "popular", "traditional", "cultural", "wide", "particular", "top", "far", "deep", "individual", "specific", "necessary", "middle", "beautiful", "heavy", "sexual", "tough", "commercial", "total", "modern", "positive", "civil", "safe", "interesting", "rich", "western", "senior", "key", "professional", "successful", "southern", "fresh", "global", "critical", "concerned", "effective", "original", "basic", "powerful", "perfect", "involved", "nuclear", "british", "african", "very", "sorry", "normal", "chinese", "front", "supposed", "soviet", "future", "potential", "european", "independent", "christian", "willing", "previous", "interested", "wild", "average", "quick", "light", "bright", "tiny", "additional", "present", "warm", "annual", "french", "responsible", "regular", "soft", "female", "afraid", "native", "broad", "wonderful", "growing", "indian", "quiet", "aware", "complete", "active", "chief", "cool", "dangerous", "moral", "united", "academic", "healthy", "negative", "following", "historical", "direct", "daily", "fair", "famous", "familiar", "appropriate", "eastern", "primary", "clean", "tall", "male", "alive", "extra", "domestic", "northern", "dry", "russian", "sweet", "corporate", "strange", "urban", "mental", "educational", "favorite", "greatest", "complex", "scientific", "impossible", "married", "alone", "presidential", "emotional", "supreme", "thin", "empty", "regional", "iraqi", "expensive", "yellow", "prime", "like", "obvious", "comfortable", "angry", "japanese", "thick", "unique", "internal", "ethnic", "actual", "sick", "catholic", "slow", "brown", "standard", "english", "funny", "correct", "jewish", "crazy", "just", "ancient", "golden", "german", "used", "equal", "official", "typical", "conservative", "smart", "rare", "separate", "mean", "industrial", "surprised", "busy", "cheap", "gray", "overall", "initial", "terrible", "contemporary", "multiple", "essential", "criminal", "careful", "upper", "tired", "vast", "limited", "proud", "increased", "enormous", "liberal", "massive", "rural", "narrow", "solid", "useful", "secret", "unusual", "sharp", "creative", "outside", "gay", "proper", "live", "guilty", "living", "technical", "weak", "illegal", "fun", "israeli", "spiritual", "musical", "dramatic", "excellent", "lucky", "unable", "sad", "brief", "existing", "remaining", "visual", "violent", "silent", "later", "immediate", "mass", "leading", "arab", "double", "spanish", "formal", "joint", "opposite", "consistent", "grand", "racial", "mexican", "online", "glad", "ordinary", "numerous", "practical", "amazing", "intense", "visible", "competitive", "congressional", "fundamental", "severe", "fat", "still", "asian", "digital", "usual", "psychological", "increasing", "holy", "constant", "capable", "nervous", "crucial", "electronic", "pure", "fellow", "smooth", "nearby", "inner", "junior", "due", "straight", "pretty", "permanent", "wet", "pink", "historic", "apparent", "sensitive", "reasonable", "wooden", "elementary", "aggressive", "false", "extreme", "latin", "honest", "palestinian", "giant", "substantial", "conventional", "fast", "biological", "flat", "mad", "alternative", "armed", "clinical", "muslim", "islamic", "ultimate", "valuable", "minor", "developing", "classic", "extraordinary", "rough", "pregnant", "distant", "italian", "canadian", "universal", "super", "bottom", "lost", "unlikely", "constitutional", "broken", "electric", "literary", "stupid", "strategic", "remarkable", "blind", "genetic", "chemical", "accurate", "olympic", "odd", "tight", "solar", "square", "complicated", "friendly", "tremendous", "innocent", "remote", "raw", "surprising", "mutual", "advanced", "attractive", "diverse", "relevant", "ideal", "working", "unknown", "assistant", "extensive", "loose", "considerable", "intellectual", "external", "confident", "sudden", "dirty", "defensive", "comprehensive", "prominent", "stable", "elderly", "steady", "vital", "mere", "exciting", "radical", "irish", "pale", "round", "ill", "vulnerable", "scared", "ongoing", "athletic", "slight", "efficient", "closer", "wealthy", "given", "ok", "incredible", "rapid", "painful", "helpful", "organic", "proposed", "sophisticated", "asleep", "controversial", "desperate", "loud", "sufficient", "modest", "agricultural", "curious", "downtown", "eager", "detailed", "romantic", "orange", "temporary", "relative", "brilliant", "absolute", "offensive", "terrorist", "dominant", "hungry", "naked", "legitimate", "dependent", "institutional", "civilian", "weekly", "wise", "gifted", "firm", "running", "distinct", "artistic", "impressive", "ugly", "worried", "moderate", "subsequent", "continued", "frequent", "awful", "widespread", "lovely", "everyday", "adequate", "principal", "concrete", "changing", "colonial", "dear", "sacred", "cognitive", "collective", "exact", "okay", "homeless", "gentle", "related", "fit", "magic", "superior", "acceptable", "continuous", "excited", "bitter", "bare", "subtle", "pleased", "ethical", "secondary", "experimental", "net", "evident", "harsh", "suburban", "retail", "classical", "estimated", "patient", "missing", "reliable", "roman", "occasional", "administrative", "deadly", "hispanic", "monthly", "korean", "mainstream", "unlike", "longtime", "legislative", "plain", "strict", "inevitable", "unexpected", "overwhelming", "written", "maximum", "medium", "outdoor", "random", "minimum", "fiscal", "uncomfortable", "welcome", "continuing", "chronic", "peaceful", "retired", "grateful", "virtual", "indigenous", "closed", "weird", "outer", "drunk", "intelligent", "convinced", "driving", "endless", "mechanical", "profound", "genuine", "horrible", "behavioral", "exclusive", "meaningful", "technological", "pleasant", "frozen", "theoretical", "delicate", "electrical", "invisible", "mild", "identical", "precise", "anxious", "structural", "residential", "nonprofit", "handsome", "promising", "conscious", "evil", "teenage", "decent", "oral", "generous", "purple", "bold", "reluctant", "judicial", "regulatory", "diplomatic", "elegant", "interior", "casual", "productive", "civic", "steep", "dynamic", "scary", "disappointed", "precious", "representative", "content", "realistic", "hidden", "tender", "outstanding", "lonely", "artificial", "abstract", "silly", "shared", "revolutionary", "rear", "coastal", "burning", "verbal", "tribal", "ridiculous", "automatic", "divine", "dutch", "greek", "talented", "stiff", "extended", "toxic", "alleged", "mysterious", "parental", "protective", "faint", "shallow", "improved", "bloody", "associated", "near", "optimistic", "symbolic", "hostile", "combined", "mixed", "tropical", "cuban", "spectacular", "sheer", "prior", "immune", "fascinating", "secure", "ideological", "secular", "intimate", "neutral", "flexible", "progressive", "terrific", "functional", "cooperative", "tragic", "underlying", "sexy", "costly", "ambitious", "influential", "uncertain", "statistical", "metropolitan", "rolling", "aesthetic", "expected", "royal", "minimal", "anonymous", "instructional", "fixed", "experienced", "upset", "cute", "passing", "known", "encouraging", "accessible", "dried", "pro", "surrounding", "ecological", "unprecedented", "preliminary", "shy", "disabled", "gross", "damn", "associate", "innovative", "vertical", "instant", "required", "colorful", "organizational", "nasty", "emerging", "fierce", "rational", "vocal", "unfair", "risky", "depressed", "closest", "supportive", "informal", "persian", "perceived", "sole", "partial", "added", "excessive", "logical", "blank", "dying", "developmental", "faster", "striking", "embarrassed", "fucking", "isolated", "suspicious", "eligible", "demographic", "intact", "elaborate", "comparable", "awake", "feminist", "dumb", "philosophical", "municipal", "neat", "mobile", "brutal", "voluntary", "valid", "unhappy", "coming", "distinctive", "calm", "theological", "fragile", "crowded", "fantastic", "level", "liquid", "suitable", "cruel", "loyal", "rubber", "favorable", "veteran", "integrated", "blond", "explicit", "disturbing", "magnetic", "devastating", "neighboring", "consecutive", "republican", "worldwide", "brave", "dense", "sunny", "compelling", "troubled", "balanced", "flying", "sustainable", "skilled", "managing", "marine", "organized", "boring", "fatal", "inherent", "selected", "naval"]
|
|
9
|
+
|
|
10
|
+
# 1001 verbs
|
|
11
|
+
@verbs = ["be", "have", "do", "say", "go", "can", "get", "would", "make", "know", "will", "think", "take", "see", "come", "could", "want", "look", "use", "find", "give", "tell", "work", "may", "should", "call", "try", "ask", "need", "feel", "become", "leave", "put", "mean", "keep", "let", "begin", "seem", "help", "talk", "turn", "start", "might", "show", "hear", "play", "run", "move", "like", "live", "believe", "hold", "bring", "happen", "must", "write", "provide", "sit", "stand", "lose", "pay", "meet", "include", "continue", "set", "learn", "change", "lead", "understand", "watch", "follow", "stop", "create", "speak", "read", "allow", "add", "spend", "grow", "open", "walk", "win", "offer", "remember", "love", "consider", "appear", "buy", "wait", "serve", "die", "send", "expect", "build", "stay", "fall", "cut", "reach", "kill", "remain", "suggest", "raise", "pass", "sell", "require", "report", "decide", "pull", "return", "explain", "hope", "develop", "carry", "drive", "break", "thank", "receive", "join", "agree", "pick", "wear", "support", "end", "hit", "base", "produce", "eat", "teach", "face", "cover", "describe", "catch", "draw", "choose", "cause", "point", "listen", "realize", "place", "close", "involve", "increase", "seek", "deal", "fight", "throw", "fill", "represent", "focus", "drop", "plan", "push", "reduce", "note", "enter", "share", "rise", "shoot", "save", "protect", "lie", "occur", "accept", "identify", "determine", "prepare", "argue", "recognize", "indicate", "wonder", "lay", "fail", "arrive", "name", "present", "answer", "compare", "miss", "act", "state", "discuss", "force", "check", "laugh", "guess", "study", "prove", "hang", "design", "forget", "claim", "remove", "sound", "enjoy", "form", "establish", "visit", "care", "avoid", "imagine", "finish", "respond", "maintain", "reveal", "contain", "head", "control", "apply", "shake", "fly", "manage", "perform", "discover", "treat", "affect", "worry", "mention", "improve", "sign", "reflect", "sing", "exist", "address", "test", "step", "beat", "tend", "notice", "wish", "smile", "figure", "relate", "travel", "prevent", "born", "admit", "assume", "suffer", "publish", "cost", "release", "own", "recall", "stare", "hurt", "strike", "achieve", "refer", "conduct", "announce", "examine", "touch", "attend", "vote", "sleep", "experience", "replace", "encourage", "complete", "stick", "define", "introduce", "drink", "handle", "refuse", "roll", "gain", "hide", "express", "ride", "deliver", "observe", "emerge", "earn", "operate", "contribute", "settle", "feed", "collect", "promote", "count", "marry", "order", "survive", "lift", "jump", "gather", "limit", "fit", "cry", "associate", "result", "insist", "approach", "spread", "ignore", "measure", "demonstrate", "engage", "cross", "threaten", "commit", "deny", "blow", "destroy", "cook", "charge", "burn", "view", "dress", "promise", "extend", "combine", "demand", "remind", "fire", "depend", "grab", "participate", "hire", "tie", "train", "lean", "hate", "press", "intend", "attack", "shut", "welcome", "nod", "paint", "direct", "climb", "expand", "disappear", "explore", "obtain", "surround", "invite", "repeat", "predict", "bear", "adopt", "attempt", "connect", "belong", "organize", "acknowledge", "record", "fear", "struggle", "conclude", "last", "shift", "mark", "locate", "recommend", "generate", "propose", "capture", "prefer", "search", "feature", "link", "select", "declare", "appreciate", "launch", "defend", "matter", "judge", "ought", "ensure", "mix", "wake", "challenge", "warn", "steal", "pursue", "slip", "influence", "blame", "estimate", "investigate", "kick", "solve", "eliminate", "trust", "score", "afford", "confirm", "fix", "rely", "complain", "issue", "back", "range", "attract", "file", "clear", "pour", "stir", "clean", "grant", "account", "stretch", "rest", "separate", "aim", "cite", "divide", "oppose", "question", "rush", "employ", "dance", "match", "lack", "emphasize", "decline", "invest", "expose", "succeed", "celebrate", "accuse", "hand", "land", "reject", "escape", "cast", "convince", "assess", "lower", "approve", "acquire", "compete", "mind", "list", "regard", "knock", "review", "wrap", "display", "suspect", "permit", "scream", "drag", "recover", "arrest", "wash", "purchase", "shout", "suppose", "perceive", "slow", "slide", "inform", "abandon", "transform", "bother", "consist", "enable", "bend", "shall", "rule", "preserve", "arrange", "reply", "lock", "deserve", "tear", "pose", "benefit", "resolve", "contact", "interview", "quote", "urge", "breathe", "elect", "pack", "implement", "inspire", "adjust", "retire", "kiss", "dominate", "transfer", "analyze", "attach", "coach", "exercise", "enhance", "impose", "evaluate", "trade", "accomplish", "illustrate", "monitor", "concentrate", "vary", "ring", "race", "smell", "light", "toss", "bury", "pray", "block", "confront", "glance", "shape", "accompany", "whisper", "swing", "dig", "plant", "resist", "embrace", "supply", "assist", "construct", "line", "date", "secure", "smoke", "bind", "favor", "weigh", "install", "quit", "comment", "negotiate", "restore", "pop", "advise", "criticize", "assure", "arise", "schedule", "dream", "snap", "incorporate", "switch", "graduate", "assign", "wave", "yell", "sweep", "spin", "house", "yield", "wind", "found", "react", "communicate", "taste", "disagree", "advance", "proceed", "track", "bet", "overcome", "occupy", "encounter", "wipe", "honor", "retain", "translate", "process", "interpret", "detect", "balance", "flow", "market", "guarantee", "pause", "withdraw", "testify", "imply", "dismiss", "bake", "freeze", "sink", "respect", "evolve", "justify", "possess", "tap", "double", "swim", "tire", "free", "relax", "rub", "practice", "fade", "characterize", "alter", "spot", "constitute", "squeeze", "target", "convert", "load", "appeal", "pretend", "split", "violate", "stress", "adapt", "flee", "distribute", "doubt", "guide", "witness", "owe", "sustain", "mount", "differ", "store", "damage", "satisfy", "consume", "fund", "trace", "educate", "calculate", "rid", "waste", "qualify", "derive", "impress", "resemble", "surprise", "strengthen", "rate", "explode", "prompt", "request", "absorb", "sue", "overlook", "float", "undergo", "assert", "print", "bite", "risk", "suit", "register", "appoint", "sense", "dry", "wander", "submit", "anticipate", "shrug", "cope", "host", "depict", "collapse", "borrow", "brush", "devote", "crack", "ease", "seize", "function", "distinguish", "correct", "portray", "persuade", "ban", "admire", "exceed", "crash", "exhibit", "chase", "document", "recruit", "swear", "defeat", "reinforce", "sigh", "attribute", "dare", "cool", "highlight", "decrease", "compose", "peer", "rank", "regulate", "shine", "upset", "resign", "invent", "interrupt", "concern", "hunt", "echo", "integrate", "rent", "delay", "shop", "finance", "beg", "sponsor", "slam", "melt", "entitle", "park", "exclude", "greet", "murder", "march", "pitch", "excuse", "fold", "reverse", "flash", "tip", "confuse", "plead", "initiate", "swallow", "motivate", "render", "trap", "restrict", "enforce", "lend", "contend", "assemble", "burst", "speed", "protest", "facilitate", "rip", "top", "label", "consult", "forgive", "warm", "project", "drift", "drain", "hurry", "suck", "leap", "dump", "execute", "average", "tune", "endure", "behave", "administer", "guard", "await", "trigger", "spill", "convict", "modify", "award", "boost", "undermine", "survey", "research", "stuff", "govern", "accommodate", "praise", "injure", "abuse", "apologize", "scatter", "convey", "twist", "relieve", "suspend", "desire", "resume", "rebuild", "bounce", "click", "signal", "dedicate", "carve", "ship", "scare", "rescue", "diagnose", "crawl", "frame", "hug", "punish", "endorse", "program", "picture", "age", "volunteer", "advocate", "strip", "cancel", "blend", "slice", "peel", "hesitate", "flip", "debate", "vanish", "trail", "confess", "enroll", "diminish", "value", "minimize", "chop", "isolate", "pump", "repair", "prohibit", "command", "stumble", "descend", "hook", "cooperate", "seal", "scan", "undertake", "reserve", "spring", "oversee", "stem", "credit", "shock", "please", "slap", "donate", "tackle", "heat", "tuck", "post", "specialize", "sail", "condemn", "unite", "equip", "exchange", "grin", "bless", "rock", "root", "conceive", "grasp", "position", "calm", "haul", "concede", "ruin", "discourage", "divorce", "star", "draft", "instruct", "manipulate", "edit", "whip", "boil", "seat", "utilize", "dissolve", "object", "spell", "insert", "crush", "tolerate", "harm", "scramble", "decorate", "sort", "interact", "punch", "persist", "shed", "foster", "cheat", "access", "heal", "exploit", "shove", "comprise", "counter", "disclose", "interfere", "outline", "gaze", "uncover", "reward", "stimulate", "sacrifice", "compel", "proclaim", "hike", "cease", "inherit", "shrink", "model", "envision", "weaken", "deploy", "distract", "invade", "classify", "wound", "aid", "skip", "flood", "dip", "tighten", "boast", "pat", "unfold", "joke", "deem", "sneak", "disturb", "pile", "spare", "cure", "regret", "cling", "blink", "plunge", "color", "rain", "steer", "cheer", "thrive", "chew", "comply", "transport", "scratch", "compromise", "strain", "sprinkle", "arm", "forbid", "poke", "opt", "trouble", "soar", "enact", "round", "remark", "exhaust", "circle", "prevail", "screw", "battle", "drill", "authorize", "pound", "frown", "regain", "broadcast", "overwhelm", "contemplate", "update", "spark", "speculate", "preach", "bomb", "provoke", "fish", "mutter", "depart", "soak", "transmit", "screen", "coordinate", "specify", "frustrate", "crowd", "articulate", "swell", "soften", "photograph", "straighten", "bow", "weave", "copy", "trim", "accelerate", "drown", "spit", "harvest", "kneel", "dictate", "kid"]
|
|
12
|
+
|
|
13
|
+
# 2330 nouns
|
|
14
|
+
# [Desi Quintans (desiquintans.com/nounlist)]
|
|
15
|
+
@nouns = ["aardvark", "abyssinian", "accelerator", "accordion", "account", "accountant", "acknowledgment", "acoustic", "acrylic", "act", "action", "active", "activity", "actor", "actress", "adapter", "addition", "address", "adjustment", "adult", "advantage", "advertisement", "advice", "afghanistan", "africa", "aftermath", "afternoon", "aftershave", "afterthought", "age", "agenda", "agreement", "air", "airbus", "airmail", "airplane", "airport", "airship", "alarm", "albatross", "alcohol", "algebra", "algeria", "alibi", "alley", "alligator", "alloy", "almanac", "alphabet", "alto", "aluminium", "aluminum", "ambulance", "america", "amount", "amusement", "anatomy", "anethesiologist", "anger", "angle", "angora", "animal", "anime", "ankle", "answer", "ant", "antarctica", "anteater", "antelope", "anthony", "anthropology", "apartment", "apology", "apparatus", "apparel", "appeal", "appendix", "apple", "appliance", "approval", "april", "aquarius", "arch", "archaeology", "archeology", "archer", "architecture", "area", "argentina", "argument", "aries", "arithmetic", "arm", "armadillo", "armchair", "armenian", "army", "arrow", "art", "ash", "ashtray", "asia", "asparagus", "asphalt", "asterisk", "astronomy", "athlete", "atm", "atom", "attack", "attempt", "attention", "attic", "attraction", "august", "aunt", "australia", "australian", "author", "authorisation", "authority", "authorization", "avenue", "babies", "baboon", "baby", "back", "backbone", "bacon", "badge", "badger", "bag", "bagel", "bagpipe", "bail", "bait", "baker", "bakery", "balance", "balinese", "ball", "balloon", "bamboo", "banana", "band", "bandana", "bangladesh", "bangle", "banjo", "bank", "bankbook", "banker", "bar", "barbara", "barber", "barge", "baritone", "barometer", "base", "baseball", "basement", "basin", "basket", "basketball", "bass", "bassoon", "bat", "bath", "bathroom", "bathtub", "battery", "battle", "bay", "beach", "bead", "beam", "bean", "bear", "beard", "beast", "beat", "beautician", "beauty", "beaver", "bed", "bedroom", "bee", "beech", "beef", "beer", "beet", "beetle", "beggar", "beginner", "begonia", "behavior", "belgian", "belief", "believe", "bell", "belt", "bench", "bengal", "beret", "berry", "bestseller", "betty", "bibliography", "bicycle", "bike", "bill", "billboard", "biology", "biplane", "birch", "bird", "birth", "birthday", "bit", "bite", "black", "bladder", "blade", "blanket", "blinker", "blizzard", "block", "blood", "blouse", "blow", "blowgun", "blue", "board", "boat", "bobcat", "body", "bolt", "bomb", "bomber", "bone", "bongo", "bonsai", "book", "bookcase", "booklet", "boot", "border", "botany", "bottle", "bottom", "boundary", "bow", "bowl", "bowling", "box", "boy", "bra", "brace", "bracket", "brain", "brake", "branch", "brand", "brandy", "brass", "brazil", "bread", "break", "breakfast", "breath", "brian", "brick", "bridge", "british", "broccoli", "brochure", "broker", "bronze", "brother", "brow", "brown", "brush", "bubble", "bucket", "budget", "buffer", "buffet", "bugle", "building", "bulb", "bull", "bulldozer", "bumper", "bun", "burglar", "burma", "burn", "burst", "bus", "bush", "business", "butane", "butcher", "butter", "button", "buzzard", "cabbage", "cabinet", "cable", "cactus", "cafe", "cake", "calculator", "calculus", "calendar", "calf", "call", "camel", "camera", "camp", "can", "canada", "canadian", "cancer", "candle", "cannon", "canoe", "canvas", "cap", "capital", "cappelletti", "capricorn", "captain", "caption", "car", "caravan", "carbon", "card", "cardboard", "cardigan", "care", "carnation", "carol", "carp", "carpenter", "carriage", "carrot", "cart", "cartoon", "case", "cast", "castanet", "cat", "catamaran", "caterpillar", "cathedral", "catsup", "cattle", "cauliflower", "cause", "caution", "cave", "cd", "ceiling", "celery", "celeste", "cell", "cellar", "cello", "celsius", "cement", "cemetery", "cent", "centimeter", "century", "ceramic", "cereal", "certification", "chain", "chair", "chalk", "chance", "change", "channel", "character", "chard", "charles", "chauffeur", "check", "cheek", "cheese", "cheetah", "chef", "chemistry", "cheque", "cherries", "cherry", "chess", "chest", "chick", "chicken", "chicory", "chief", "child", "children", "chill", "chime", "chimpanzee", "chin", "china", "chinese", "chive", "chocolate", "chord", "christmas", "christopher", "chronometer", "church", "cicada", "cinema", "circle", "circulation", "cirrus", "citizenship", "city", "clam", "clarinet", "class", "claus", "clave", "clef", "clerk", "click", "client", "climb", "clipper", "cloakroom", "clock", "close", "closet", "cloth", "cloud", "cloudy", "clover", "club", "clutch", "coach", "coal", "coast", "coat", "cobweb", "cockroach", "cocktail", "cocoa", "cod", "coffee", "coil", "coin", "coke", "cold", "collar", "college", "collision", "colombia", "colon", "colony", "color", "colt", "column", "columnist", "comb", "comfort", "comic", "comma", "command", "commission", "committee", "community", "company", "comparison", "competition", "competitor", "composer", "composition", "computer", "condition", "condor", "cone", "confirmation", "conga", "congo", "conifer", "connection", "consonant", "continent", "control", "cook", "cooking", "copper", "copy", "copyright", "cord", "cork", "cormorant", "corn", "cornet", "correspondent", "cost", "cotton", "couch", "cougar", "cough", "country", "course", "court", "cousin", "cover", "cow", "cowbell", "crab", "crack", "cracker", "craftsman", "crate", "crawdad", "crayfish", "crayon", "cream", "creator", "creature", "credit", "creditor", "creek", "crib", "cricket", "crime", "criminal", "crocodile", "crocus", "croissant", "crook", "crop", "cross", "crow", "crowd", "crown", "crush", "cry", "cub", "cuban", "cucumber", "cultivator", "cup", "cupboard", "cupcake", "curler", "currency", "current", "curtain", "curve", "cushion", "custard", "customer", "cut", "cuticle", "cycle", "cyclone", "cylinder", "cymbal", "dad", "daffodil", "dahlia", "daisy", "damage", "dance", "dancer", "danger", "daniel", "dash", "dashboard", "database", "date", "daughter", "david", "day", "dead", "deadline", "deal", "death", "deborah", "debt", "debtor", "decade", "december", "decimal", "decision", "decrease", "dedication", "deer", "defense", "deficit", "degree", "delete", "delivery", "den", "denim", "dentist", "deodorant", "department", "deposit", "description", "desert", "design", "desire", "desk", "dessert", "destruction", "detail", "detective", "development", "dew", "diamond", "diaphragm", "dibble", "dictionary", "dietician", "difference", "digestion", "digger", "digital", "dill", "dime", "dimple", "dinghy", "dinner", "dinosaur", "diploma", "dipstick", "direction", "dirt", "disadvantage", "discovery", "discussion", "disease", "disgust", "dish", "distance", "distribution", "distributor", "diving", "division", "dock", "doctor", "dog", "dogsled", "doll", "dollar", "dolphin", "domain", "donald", "donkey", "donna", "door", "dorothy", "double", "doubt", "downtown", "dragon", "dragonfly", "drain", "drake", "drama", "draw", "drawbridge", "drawer", "dream", "dredger", "dress", "dresser", "dressing", "drill", "drink", "drive", "driver", "driving", "drizzle", "drop", "drug", "drum", "dry", "dryer", "duck", "duckling", "dugout", "dungeon", "dust", "eagle", "ear", "earth", "earthquake", "ease", "east", "edge", "edger", "editor", "editorial", "education", "edward", "eel", "effect", "egg", "eggnog", "eggplant", "egypt", "eight", "elbow", "element", "elephant", "elizabeth", "ellipse", "emery", "employee", "employer", "encyclopedia", "end", "enemy", "energy", "engine", "engineer", "engineering", "english", "enquiry", "entrance", "environment", "epoch", "epoxy", "equinox", "equipment", "era", "error", "estimate", "ethernet", "ethiopia", "euphonium", "europe", "evening", "event", "examination", "example", "exchange", "exclamation", "exhaust", "existence", "expansion", "experience", "expert", "explanation", "eye", "eyebrow", "eyelash", "eyeliner", "face", "facilities", "fact", "factory", "fahrenheit", "fairies", "fall", "family", "fan", "fang", "farm", "farmer", "fat", "father", "faucet", "fear", "feast", "feather", "feature", "february", "fedelini", "feedback", "feeling", "feet", "felony", "female", "fender", "ferry", "ferryboat", "fertilizer", "fiber", "fiberglass", "fibre", "fiction", "field", "fifth", "fight", "fighter", "file", "find", "fine", "finger", "fir", "fire", "fireman", "fireplace", "firewall", "fish", "fisherman", "flag", "flame", "flare", "flat", "flavor", "flax", "flesh", "flight", "flock", "flood", "floor", "flower", "flugelhorn", "flute", "fly", "foam", "fog", "fold", "font", "food", "foot", "football", "footnote", "force", "forecast", "forehead", "forest", "forgery", "fork", "form", "format", "fortnight", "foundation", "fountain", "fowl", "fox", "foxglove", "fragrance", "frame", "france", "freckle", "freeze", "freezer", "freighter", "french", "freon", "friction", "friday", "fridge", "friend", "frog", "front", "frost", "frown", "fruit", "fuel", "fur", "furniture", "galley", "gallon", "game", "gander", "garage", "garden", "garlic", "gas", "gasoline", "gate", "gateway", "gauge", "gazelle", "gear", "gearshift", "geese", "gemini", "gender", "geography", "geology", "geometry", "george", "geranium", "german", "germany", "ghana", "ghost", "giant", "giraffe", "girdle", "girl", "gladiolus", "glass", "glider", "gliding", "glockenspiel", "glove", "glue", "goal", "goat", "gold", "goldfish", "golf", "gondola", "gong", "goose", "gorilla", "gosling", "government", "governor", "grade", "grain", "gram", "granddaughter", "grandfather", "grandmother", "grandson", "grape", "graphic", "grass", "grasshopper", "gray", "grease", "greece", "greek", "green", "grenade", "grey", "grill", "grip", "ground", "group", "grouse", "growth", "guarantee", "guatemalan", "guide", "guilty", "guitar", "gum", "gun", "gym", "gymnast", "hacksaw", "hail", "hair", "haircut", "halibut", "hall", "hallway", "hamburger", "hammer", "hamster", "hand", "handball", "handicap", "handle", "handsaw", "harbor", "hardboard", "hardcover", "hardhat", "hardware", "harmonica", "harmony", "harp", "hat", "hate", "hawk", "head", "headlight", "headline", "health", "hearing", "heart", "heat", "heaven", "hedge", "height", "helen", "helicopter", "helium", "hell", "helmet", "help", "hemp", "hen", "heron", "herring", "hexagon", "hill", "himalayan", "hip", "hippopotamus", "history", "hobbies", "hockey", "hoe", "hole", "holiday", "home", "honey", "hood", "hook", "hope", "horn", "horse", "hose", "hospital", "hot", "hour", "hourglass", "house", "hovercraft", "hub", "hubcap", "humidity", "humor", "hurricane", "hyacinth", "hydrant", "hydrofoil", "hydrogen", "hyena", "hygienic", "ice", "icebreaker", "icicle", "icon", "idea", "ikebana", "illegal", "imprisonment", "improvement", "impulse", "inch", "income", "increase", "index", "india", "indonesia", "industry", "ink", "innocent", "input", "insect", "instruction", "instrument", "insulation", "insurance", "interactive", "interest", "internet", "interviewer", "intestine", "invention", "inventory", "invoice", "iran", "iraq", "iris", "iron", "island", "israel", "italian", "italy", "jacket", "jaguar", "jail", "jam", "james", "january", "japan", "japanese", "jar", "jasmine", "jason", "jaw", "jeans", "jeep", "jeff", "jelly", "jellyfish", "jennifer", "jet", "jewel", "jogging", "john", "join", "joke", "joseph", "journey", "judge", "judo", "juice", "july", "jumbo", "jump", "jumper", "june", "jury", "justice", "jute", "kale", "kamikaze", "kangaroo", "karate", "karen", "kayak", "kendo", "kenneth", "kenya", "ketchup", "kettle", "kettledrum", "kevin", "key", "keyboard", "keyboarding", "kick", "kidney", "kilogram", "kilometer", "kimberly", "kiss", "kitchen", "kite", "kitten", "kitty", "knee", "knickers", "knife", "knight", "knot", "knowledge", "kohlrabi", "korean", "laborer", "lace", "ladybug", "lake", "lamb", "lamp", "lan", "land", "landmine", "language", "larch", "lasagna", "latency", "latex", "lathe", "laugh", "laundry", "laura", "law", "lawyer", "layer", "lead", "leaf", "learning", "leather", "leek", "leg", "legal", "lemonade", "lentil", "leo", "leopard", "letter", "lettuce", "level", "libra", "library", "license", "lier", "lift", "light", "lightning", "lilac", "lily", "limit", "linda", "line", "linen", "link", "lion", "lip", "lipstick", "liquid", "liquor", "lisa", "list", "literature", "litter", "liver", "lizard", "llama", "loaf", "loan", "lobster", "lock", "locket", "locust", "look", "loss", "lotion", "love", "low", "lumber", "lunch", "lunchroom", "lung", "lunge", "lute", "luttuce", "lycra", "lynx", "lyocell", "lyre", "lyric", "macaroni", "machine", "macrame", "magazine", "magic", "magician", "maid", "mail", "mailbox", "mailman", "makeup", "malaysia", "male", "mall", "mallet", "man", "manager", "mandolin", "manicure", "manx", "map", "maple", "maraca", "marble", "march", "margaret", "margin", "maria", "marimba", "mark", "market", "mary", "mascara", "mask", "mass", "match", "math", "mattock", "may", "mayonnaise", "meal", "measure", "meat", "mechanic", "medicine", "meeting", "melody", "memory", "men", "menu", "mercury", "message", "metal", "meteorology", "meter", "methane", "mexican", "mexico", "mice", "michael", "michelle", "microwave", "middle", "mile", "milk", "milkshake", "millennium", "millimeter", "millisecond", "mimosa", "mind", "mine", "minibus", "minister", "mint", "minute", "mirror", "missile", "mist", "mistake", "mitten", "moat", "modem", "mole", "mom", "monday", "money", "monkey", "month", "moon", "morning", "morocco", "mosque", "mosquito", "mother", "motion", "motorboat", "motorcycle", "mountain", "mouse", "moustache", "mouth", "move", "multimedia", "muscle", "museum", "music", "musician", "mustard", "myanmar", "nail", "name", "nancy", "napkin", "narcissus", "nation", "neck", "need", "needle", "neon", "nepal", "nephew", "nerve", "nest", "net", "network", "news", "newsprint", "newsstand", "nic", "nickel", "niece", "nigeria", "night", "nitrogen", "node", "noise", "noodle", "north", "north america", "north korea", "norwegian", "nose", "note", "notebook", "notify", "novel", "november", "number", "numeric", "nurse", "nut", "nylon", "oak", "oatmeal", "objective", "oboe", "observation", "occupation", "ocean", "ocelot", "octagon", "octave", "october", "octopus", "odometer", "offence", "offer", "office", "oil", "okra", "olive", "onion", "open", "opera", "operation", "ophthalmologist", "opinion", "option", "orange", "orchestra", "orchid", "order", "organ", "organisation", "organization", "ornament", "ostrich", "otter", "ounce", "output", "outrigger", "oval", "oven", "overcoat", "owl", "owner", "ox", "oxygen", "oyster", "package", "packet", "page", "pail", "pain", "paint", "pair", "pajama", "pakistan", "palm", "pamphlet", "pan", "pancake", "pancreas", "panda", "pansy", "panther", "panties", "pantry", "pants", "panty", "pantyhose", "paper", "paperback", "parade", "parallelogram", "parcel", "parent", "parentheses", "park", "parrot", "parsnip", "part", "particle", "partner", "partridge", "party", "passbook", "passenger", "passive", "pasta", "paste", "pastor", "pastry", "patch", "path", "patient", "patio", "patricia", "paul", "payment", "pea", "peace", "peak", "peanut", "pear", "pedestrian", "pediatrician", "peen", "pelican", "pen", "penalty", "pencil", "pendulum", "pentagon", "peony", "pepper", "perch", "perfume", "period", "periodical", "peripheral", "permission", "persian", "person", "peru", "pest", "pet", "pharmacist", "pheasant", "philippines", "philosophy", "phone", "physician", "piano", "piccolo", "pickle", "picture", "pie", "pig", "pigeon", "pike", "pillow", "pilot", "pimple", "pin", "pine", "ping", "pink", "pint", "pipe", "pisces", "pizza", "place", "plain", "plane", "planet", "plant", "plantation", "plaster", "plasterboard", "plastic", "plate", "platinum", "play", "playground", "playroom", "pleasure", "plier", "plot", "plough", "plow", "plywood", "pocket", "poet", "point", "poison", "poland", "police", "policeman", "polish", "politician", "pollution", "polo", "polyester", "pond", "popcorn", "poppy", "population", "porch", "porcupine", "port", "porter", "position", "possibility", "postage", "postbox", "pot", "potato", "poultry", "pound", "powder", "power", "precipitation", "preface", "pressure", "price", "priest", "print", "printer", "prison", "probation", "process", "processing", "produce", "product", "production", "professor", "profit", "promotion", "propane", "property", "prose", "prosecution", "protest", "protocol", "pruner", "psychiatrist", "psychology", "ptarmigan", "puffin", "pull", "puma", "pump", "pumpkin", "punch", "punishment", "puppy", "purchase", "purple", "purpose", "push", "pvc", "pyjama", "pyramid", "quail", "quality", "quart", "quarter", "quartz", "queen", "question", "quicksand", "quiet", "quill", "quilt", "quince", "quit", "quiver", "quotation", "rabbi", "rabbit", "racing", "radar", "radiator", "radio", "radish", "raft", "rail", "railway", "rain", "rainbow", "raincoat", "rainstorm", "rake", "ramie", "random", "range", "rat", "rate", "raven", "ravioli", "ray", "rayon", "reaction", "reading", "reason", "receipt", "recess", "record", "recorder", "rectangle", "red", "reduction", "refrigerator", "refund", "regret", "reindeer", "relation", "relative", "religion", "relish", "reminder", "repair", "replace", "report", "representative", "request", "resolution", "respect", "responsibility", "rest", "restaurant", "result", "retailer", "revolve", "revolver", "reward", "rhinoceros", "rhythm", "rice", "richard", "riddle", "rifle", "ring", "rise", "risk", "river", "riverbed", "road", "roadway", "roast", "robert", "robin", "rock", "rocket", "rod", "roll", "romania", "romanian", "ronald", "roof", "room", "rooster", "root", "rose", "rotate", "route", "router", "rowboat", "rub", "rubber", "rugby", "rule", "run", "russia", "russian", "rutabaga", "ruth", "sack", "sagittarius", "sail", "sailboat", "sailor", "salad", "salary", "sale", "salesman", "salmon", "salt", "sampan", "samurai", "sand", "sandra", "sandwich", "santa", "sarah", "sardine", "satin", "saturday", "sauce", "saudi arabia", "sausage", "save", "saw", "saxophone", "scale", "scallion", "scanner", "scarecrow", "scarf", "scene", "scent", "schedule", "school", "science", "scissors", "scooter", "scorpio", "scorpion", "scraper", "screen", "screw", "screwdriver", "sea", "seagull", "seal", "seaplane", "search", "seashore", "season", "seat", "second", "secretary", "secure", "security", "seed", "seeder", "segment", "select", "selection", "self", "semicircle", "semicolon", "sense", "sentence", "september", "servant", "server", "session", "sex", "shade", "shadow", "shake", "shallot", "shame", "shampoo", "shape", "share", "shark", "sharon", "shears", "sheep", "sheet", "shelf", "shell", "shield", "shingle", "ship", "shirt", "shock", "shoe", "shoemaker", "shop", "shorts", "shoulder", "shovel", "show", "shrimp", "shrine", "siamese", "siberian", "side", "sideboard", "sidecar", "sidewalk", "sign", "signature", "silica", "silk", "silver", "sing", "singer", "single", "sink", "sister", "size", "skate", "skiing", "skill", "skin", "skirt", "sky", "slash", "slave", "sled", "sleep", "sleet", "slice", "slime", "slip", "slipper", "slope", "smash", "smell", "smile", "smoke", "snail", "snake", "sneeze", "snow", "snowboarding", "snowflake", "snowman", "snowplow", "snowstorm", "soap", "soccer", "society", "sociology", "sock", "soda", "sofa", "softball", "softdrink", "software", "soil", "soldier", "son", "song", "soprano", "sort", "sound", "soup", "sousaphone", "south africa", "south america", "south korea", "soy", "soybean", "space", "spade", "spaghetti", "spain", "spandex", "spark", "sparrow", "spear", "specialist", "speedboat", "sphere", "sphynx", "spider", "spike", "spinach", "spleen", "sponge", "spoon", "spot", "spring", "sprout", "spruce", "spy", "square", "squash", "squid", "squirrel", "stage", "staircase", "stamp", "star", "start", "starter", "state", "statement", "station", "statistic", "steam", "steel", "stem", "step", "stepdaughter", "stepmother", "stepson", "steven", "stew", "stick", "stinger", "stitch", "stock", "stocking", "stomach", "stone", "stool", "stop", "stopsign", "stopwatch", "store", "storm", "story", "stove", "stranger", "straw", "stream", "street", "streetcar", "stretch", "string", "structure", "study", "sturgeon", "submarine", "substance", "subway", "success", "sudan", "suede", "sugar", "suggestion", "suit", "summer", "sun", "sunday", "sundial", "sunflower", "sunshine", "supermarket", "supply", "support", "surfboard", "surgeon", "surname", "surprise", "susan", "sushi", "swallow", "swamp", "swan", "sweater", "sweatshirt", "sweatshop", "swedish", "sweets", "swim", "swimming", "swing", "swiss", "switch", "sword", "swordfish", "sycamore", "syria", "syrup", "system", "table", "tablecloth", "tabletop", "tachometer", "tadpole", "tail", "tailor", "taiwan", "talk", "tank", "tanker", "tanzania", "target", "taste", "taurus", "tax", "taxi", "taxicab", "tea", "teacher", "teaching", "team", "technician", "teeth", "television", "teller", "temper", "temperature", "temple", "tempo", "tendency", "tennis", "tenor", "tent", "territory", "test", "text", "textbook", "texture", "thailand", "theater", "theory", "thermometer", "thing", "thistle", "thomas", "thought", "thread", "thrill", "throat", "throne", "thumb", "thunder", "thunderstorm", "thursday", "ticket", "tie", "tiger", "tights", "tile", "timbale", "time", "timer", "timpani", "tin", "tip", "tire", "titanium", "title", "toad", "toast", "toe", "toenail", "toilet", "tomato", "ton", "tongue", "tooth", "toothbrush", "toothpaste", "top", "tornado", "tortellini", "tortoise", "touch", "tower", "town", "toy", "tractor", "trade", "traffic", "trail", "train", "tramp", "transaction", "transmission", "transport", "trapezoid", "tray", "treatment", "tree", "trial", "triangle", "trick", "trigonometry", "trip", "trombone", "trouble", "trousers", "trout", "trowel", "truck", "trumpet", "trunk", "tsunami", "tub", "tuba", "tuesday", "tugboat", "tulip", "tuna", "tune", "turkey", "turkish", "turn", "turnip", "turnover", "turret", "turtle", "tv", "twig", "twilight", "twine", "twist", "typhoon", "tyvek", "uganda", "ukraine", "ukrainian", "umbrella", "uncle", "underclothes", "underpants", "undershirt", "underwear", "unit", "united kingdom", "use", "utensil", "uzbekistan", "vacation", "vacuum", "valley", "value", "van", "vase", "vault", "vegetable", "vegetarian", "veil", "vein", "velvet", "venezuela", "venezuelan", "verdict", "vermicelli", "verse", "vessel", "vest", "veterinarian", "vibraphone", "vietnam", "view", "vinyl", "viola", "violet", "violin", "virgo", "viscose", "vise", "vision", "visitor", "voice", "volcano", "volleyball", "voyage", "vulture", "waiter", "waitress", "walk", "wall", "wallaby", "wallet", "walrus", "war", "warm", "wash", "washer", "wasp", "waste", "watch", "watchmaker", "water", "waterfall", "wave", "wax", "way", "wealth", "weapon", "weasel", "weather", "wedge", "wednesday", "weed", "weeder", "week", "weight", "whale", "wheel", "whip", "whiskey", "whistle", "white", "wholesaler", "whorl", "wilderness", "william", "willow", "wind", "windchime", "window", "windscreen", "windshield", "wine", "wing", "winter", "wire", "wish", "witch", "withdrawal", "witness", "wolf", "woman", "women", "wood", "wool", "woolen", "word", "work", "workshop", "worm", "wound", "wrecker", "wren", "wrench", "wrinkle", "wrist", "writer", "xylophone", "yacht", "yak", "yam", "yard", "yarn", "year", "yellow", "yew", "yogurt", "yoke", "yugoslavian", "zebra", "zephyr", "zinc", "zipper", "zone", "zoo", "zoology"]
|
|
16
|
+
|
|
17
|
+
# Replaces instances of 'adjective', 'noun' and 'verb' with a randomly selected adjective, noun or verb
|
|
18
|
+
def self.pattern(template)
|
|
19
|
+
template.gsub!(/adjective/) { @adjectives.sample }
|
|
20
|
+
template.gsub!(/Adjective/) { @adjectives.sample.capitalize }
|
|
21
|
+
template.gsub!(/ADJECTIVE/) { @adjectives.sample.upcase }
|
|
22
|
+
|
|
23
|
+
template.gsub!(/noun/) { @nouns.sample }
|
|
24
|
+
template.gsub!(/Noun/) { @nouns.sample.capitalize }
|
|
25
|
+
template.gsub!(/NOUN/) { @nouns.sample.upcase }
|
|
26
|
+
|
|
27
|
+
template.gsub!(/verb/) { @verbs.sample }
|
|
28
|
+
template.gsub!(/Verb/) { @verbs.sample.capitalize }
|
|
29
|
+
template.gsub!(/VERB/) { @verbs.sample.upcase }
|
|
30
|
+
|
|
31
|
+
template
|
|
32
|
+
end
|
|
33
|
+
end
|
metadata
ADDED
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: idgen
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: '1.0'
|
|
5
|
+
platform: ruby
|
|
6
|
+
authors:
|
|
7
|
+
- Gytis Daujotas
|
|
8
|
+
autorequire:
|
|
9
|
+
bindir: exe
|
|
10
|
+
cert_chain: []
|
|
11
|
+
date: 2016-01-31 00:00:00.000000000 Z
|
|
12
|
+
dependencies:
|
|
13
|
+
- !ruby/object:Gem::Dependency
|
|
14
|
+
name: bundler
|
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
|
16
|
+
requirements:
|
|
17
|
+
- - "~>"
|
|
18
|
+
- !ruby/object:Gem::Version
|
|
19
|
+
version: '1.10'
|
|
20
|
+
type: :development
|
|
21
|
+
prerelease: false
|
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
23
|
+
requirements:
|
|
24
|
+
- - "~>"
|
|
25
|
+
- !ruby/object:Gem::Version
|
|
26
|
+
version: '1.10'
|
|
27
|
+
- !ruby/object:Gem::Dependency
|
|
28
|
+
name: rake
|
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
|
30
|
+
requirements:
|
|
31
|
+
- - "~>"
|
|
32
|
+
- !ruby/object:Gem::Version
|
|
33
|
+
version: '10.0'
|
|
34
|
+
type: :development
|
|
35
|
+
prerelease: false
|
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
37
|
+
requirements:
|
|
38
|
+
- - "~>"
|
|
39
|
+
- !ruby/object:Gem::Version
|
|
40
|
+
version: '10.0'
|
|
41
|
+
- !ruby/object:Gem::Dependency
|
|
42
|
+
name: rspec
|
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
|
44
|
+
requirements:
|
|
45
|
+
- - "~>"
|
|
46
|
+
- !ruby/object:Gem::Version
|
|
47
|
+
version: '3.0'
|
|
48
|
+
type: :development
|
|
49
|
+
prerelease: false
|
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
51
|
+
requirements:
|
|
52
|
+
- - "~>"
|
|
53
|
+
- !ruby/object:Gem::Version
|
|
54
|
+
version: '3.0'
|
|
55
|
+
description:
|
|
56
|
+
email:
|
|
57
|
+
- gytdau@gmail.com
|
|
58
|
+
executables: []
|
|
59
|
+
extensions: []
|
|
60
|
+
extra_rdoc_files: []
|
|
61
|
+
files:
|
|
62
|
+
- ".gitignore"
|
|
63
|
+
- Gemfile
|
|
64
|
+
- LICENSE.txt
|
|
65
|
+
- README.md
|
|
66
|
+
- Rakefile
|
|
67
|
+
- bin/bundler
|
|
68
|
+
- bin/console
|
|
69
|
+
- bin/htmldiff
|
|
70
|
+
- bin/ldiff
|
|
71
|
+
- bin/rake
|
|
72
|
+
- bin/rspec
|
|
73
|
+
- bin/setup
|
|
74
|
+
- idgen.gemspec
|
|
75
|
+
- lib/idgen.rb
|
|
76
|
+
homepage: https://github.com/gytdau/idgen
|
|
77
|
+
licenses:
|
|
78
|
+
- MIT
|
|
79
|
+
metadata: {}
|
|
80
|
+
post_install_message:
|
|
81
|
+
rdoc_options: []
|
|
82
|
+
require_paths:
|
|
83
|
+
- lib
|
|
84
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
85
|
+
requirements:
|
|
86
|
+
- - ">="
|
|
87
|
+
- !ruby/object:Gem::Version
|
|
88
|
+
version: '0'
|
|
89
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
90
|
+
requirements:
|
|
91
|
+
- - ">="
|
|
92
|
+
- !ruby/object:Gem::Version
|
|
93
|
+
version: '0'
|
|
94
|
+
requirements: []
|
|
95
|
+
rubyforge_project:
|
|
96
|
+
rubygems_version: 2.4.5
|
|
97
|
+
signing_key:
|
|
98
|
+
specification_version: 4
|
|
99
|
+
summary: A gem for generating easy-to-remember IDs out of nouns, adjectives and verbs.
|
|
100
|
+
test_files: []
|