adjective_adjective_animal 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 332d892305a182a66dac865068f41c30407716dea8065378f6a271dae390fbb5
4
+ data.tar.gz: 838b5013afc599654d832f8c4a2e64fc81039c17af8491ca133b55f7d27f97d9
5
+ SHA512:
6
+ metadata.gz: 1ebd447e91d72c0629adb1923f9b33672b6aeffe86b63e2675a49d6816d0dd220bd5a44fa1e42a12dc5b097e9e13bddf23d669391044e9adbcc75387a3aa1747
7
+ data.tar.gz: cd4bbe151a059cb443f319a58e7ef17fbe7fbeee0bbaec860521f028872aa975e5ca491c5fe168ddb5db457eb02b90a56a25936518b1aec1a12498bd2b1f93ab
data/.rspec ADDED
@@ -0,0 +1,3 @@
1
+ --format documentation
2
+ --color
3
+ --require spec_helper
data/.standard.yml ADDED
@@ -0,0 +1,3 @@
1
+ # For available configuration options, see:
2
+ # https://github.com/testdouble/standard
3
+ ruby_version: 3.2.2
data/Gemfile ADDED
@@ -0,0 +1,7 @@
1
+ source "https://rubygems.org"
2
+
3
+ gemspec
4
+
5
+ gem "rake", "~> 13.0"
6
+ gem "rspec", "~> 3.0"
7
+ gem "standard", "~> 1.3"
data/Gemfile.lock ADDED
@@ -0,0 +1,73 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ adjective_adjective_animal (0.1.0)
5
+
6
+ GEM
7
+ remote: https://rubygems.org/
8
+ specs:
9
+ ast (2.4.2)
10
+ diff-lcs (1.5.0)
11
+ json (2.6.3)
12
+ language_server-protocol (3.17.0.3)
13
+ lint_roller (1.0.0)
14
+ parallel (1.23.0)
15
+ parser (3.2.2.1)
16
+ ast (~> 2.4.1)
17
+ rainbow (3.1.1)
18
+ rake (13.0.6)
19
+ regexp_parser (2.8.0)
20
+ rexml (3.2.5)
21
+ rspec (3.12.0)
22
+ rspec-core (~> 3.12.0)
23
+ rspec-expectations (~> 3.12.0)
24
+ rspec-mocks (~> 3.12.0)
25
+ rspec-core (3.12.2)
26
+ rspec-support (~> 3.12.0)
27
+ rspec-expectations (3.12.3)
28
+ diff-lcs (>= 1.2.0, < 2.0)
29
+ rspec-support (~> 3.12.0)
30
+ rspec-mocks (3.12.5)
31
+ diff-lcs (>= 1.2.0, < 2.0)
32
+ rspec-support (~> 3.12.0)
33
+ rspec-support (3.12.0)
34
+ rubocop (1.50.2)
35
+ json (~> 2.3)
36
+ parallel (~> 1.10)
37
+ parser (>= 3.2.0.0)
38
+ rainbow (>= 2.2.2, < 4.0)
39
+ regexp_parser (>= 1.8, < 3.0)
40
+ rexml (>= 3.2.5, < 4.0)
41
+ rubocop-ast (>= 1.28.0, < 2.0)
42
+ ruby-progressbar (~> 1.7)
43
+ unicode-display_width (>= 2.4.0, < 3.0)
44
+ rubocop-ast (1.28.1)
45
+ parser (>= 3.2.1.0)
46
+ rubocop-performance (1.16.0)
47
+ rubocop (>= 1.7.0, < 2.0)
48
+ rubocop-ast (>= 0.4.0)
49
+ ruby-progressbar (1.13.0)
50
+ standard (1.28.2)
51
+ language_server-protocol (~> 3.17.0.2)
52
+ lint_roller (~> 1.0)
53
+ rubocop (~> 1.50.2)
54
+ standard-custom (~> 1.0.0)
55
+ standard-performance (~> 1.0.1)
56
+ standard-custom (1.0.0)
57
+ lint_roller (~> 1.0)
58
+ standard-performance (1.0.1)
59
+ lint_roller (~> 1.0)
60
+ rubocop-performance (~> 1.16.0)
61
+ unicode-display_width (2.4.2)
62
+
63
+ PLATFORMS
64
+ x86_64-linux
65
+
66
+ DEPENDENCIES
67
+ adjective_adjective_animal!
68
+ rake (~> 13.0)
69
+ rspec (~> 3.0)
70
+ standard (~> 1.3)
71
+
72
+ BUNDLED WITH
73
+ 2.4.12
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2023 Alejandro AR (kinduff)
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,65 @@
1
+ # AdjectiveAdjectiveAnimal
2
+
3
+ Ruby gem that generates a random animal name with two adjectives in front of it.
4
+
5
+ ```
6
+ blindfolded-faithful-cat
7
+ nail-biting-tectonic-ground-hog
8
+ executable-talented-llama
9
+ temporary-addicting-guanaco
10
+ prolific-tremendous-antelope
11
+ ```
12
+
13
+ ## Usage
14
+
15
+ ```ruby
16
+ > AdjectiveAdjectiveAnimal.call
17
+ # => "subordinate-stainless-hyena"
18
+ > AdjectiveAdjectiveAnimal.()
19
+ # => "nonstop-partisan-shrew"
20
+ > AdjectiveAdjectiveAnimal.(seed: 420) == AdjectiveAdjectiveAnimal.(seed: 420)
21
+ # => true
22
+ ```
23
+
24
+ ## Installation
25
+
26
+ Install the gem and add to the application's Gemfile by executing:
27
+
28
+ ```shell
29
+ $ bundle add adjective_adjective_animal
30
+ ```
31
+
32
+ If bundler is not being used to manage dependencies, install the gem by executing:
33
+
34
+ ```shell
35
+ $ gem install adjective_adjective_animal
36
+ ```
37
+
38
+ ## Development
39
+
40
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
41
+
42
+ ## Contributing
43
+
44
+ Bug reports and pull requests are welcome on GitHub at https://github.com/kinduff/adjective_adjective_animal.
45
+
46
+ ## License
47
+
48
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
49
+
50
+ ## Sources
51
+
52
+ ### Adjectives
53
+
54
+ - https://github.com/dariusk/corpora/blob/master/data/words/adjs.json
55
+ - https://github.com/KalevRK/group-name-generator/blob/master/adjectives.json
56
+ - https://github.com/davewasmer/readable-id/blob/master/adjectives.json
57
+ - https://github.com/rgbkrk/adjectives/blob/master/index.js
58
+ - https://github.com/a-type/adjective-adjective-animal/blob/master/lib/lists/adjectives.js (partial)
59
+ - https://github.com/aaronbassett/Pass-phrase/blob/master/adjectives.txt
60
+
61
+ ### Animals
62
+
63
+ - https://github.com/dariusk/corpora/blob/master/data/animals/common.json
64
+ - https://github.com/boennemann/animals/blob/master/words.json
65
+ - http://cs.nyu.edu/~odeh/CS1fall2010/animals.txt
data/Rakefile ADDED
@@ -0,0 +1,8 @@
1
+ require "bundler/gem_tasks"
2
+ require "rspec/core/rake_task"
3
+
4
+ RSpec::Core::RakeTask.new(:spec)
5
+
6
+ require "standard/rake"
7
+
8
+ task default: %i[spec standard]