faker-gpk 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.rspec +3 -0
- data/.standard.yml +3 -0
- data/CHANGELOG.md +5 -0
- data/LICENSE.txt +21 -0
- data/README.md +35 -0
- data/Rakefile +10 -0
- data/faker-gpk.gemspec +33 -0
- data/lib/faker/gpk/version.rb +5 -0
- data/lib/faker/locales/en/garbage_pail_kids.yml +177 -0
- data/lib/faker/trading_cards/garbage_pail_kids.rb +22 -0
- data/lib/faker-gpk.rb +4 -0
- data/sig/faker/gpk.rbs +6 -0
- metadata +72 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 68ae1361fb84ffe5ba4a9d41a39506ac6efd7ce6bd076473e9a38977ff87ab71
|
4
|
+
data.tar.gz: 87d7a424ab505e419a40685a0250bd1e6765aa5b61f69a31578b93be63a7f93f
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: d414895bd25627daf8ac98eb71dc5a5b545bf0cf0419654d135ebb53eb48b07f3e30bca966db9f25373bdd7f7eec786d10045667534748feaa4045db077ae573
|
7
|
+
data.tar.gz: 6c9a83d5a823f7afc4d8b577f16287f0489cd62d9e9fc1188e92f49d5de7770f0b4a6b7cb7d17dcf1be0768a8f1d50f4e5cd760a02c315f10eb8b70eec43ae7e
|
data/.rspec
ADDED
data/.standard.yml
ADDED
data/CHANGELOG.md
ADDED
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2024 TODO: Write your name
|
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,35 @@
|
|
1
|
+
# Faker::GPK
|
2
|
+
|
3
|
+
TODO: Delete this and the text below, and describe your gem
|
4
|
+
|
5
|
+
Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/faker-gpk`. To experiment with that code, run `bin/console` for an interactive prompt.
|
6
|
+
|
7
|
+
## Installation
|
8
|
+
|
9
|
+
TODO: Replace `UPDATE_WITH_YOUR_GEM_NAME_IMMEDIATELY_AFTER_RELEASE_TO_RUBYGEMS_ORG` with your gem name right after releasing it to RubyGems.org. Please do not do it earlier due to security reasons. Alternatively, replace this section with instructions to install your gem from git if you don't plan to release to RubyGems.org.
|
10
|
+
|
11
|
+
Install the gem and add to the application's Gemfile by executing:
|
12
|
+
|
13
|
+
$ bundle add UPDATE_WITH_YOUR_GEM_NAME_IMMEDIATELY_AFTER_RELEASE_TO_RUBYGEMS_ORG
|
14
|
+
|
15
|
+
If bundler is not being used to manage dependencies, install the gem by executing:
|
16
|
+
|
17
|
+
$ gem install UPDATE_WITH_YOUR_GEM_NAME_IMMEDIATELY_AFTER_RELEASE_TO_RUBYGEMS_ORG
|
18
|
+
|
19
|
+
## Usage
|
20
|
+
|
21
|
+
TODO: Write usage instructions here
|
22
|
+
|
23
|
+
## Development
|
24
|
+
|
25
|
+
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.
|
26
|
+
|
27
|
+
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 the created tag, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
28
|
+
|
29
|
+
## Contributing
|
30
|
+
|
31
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/faker-gpk.
|
32
|
+
|
33
|
+
## License
|
34
|
+
|
35
|
+
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
data/Rakefile
ADDED
data/faker-gpk.gemspec
ADDED
@@ -0,0 +1,33 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require_relative "lib/faker/gpk/version"
|
4
|
+
|
5
|
+
Gem::Specification.new do |spec|
|
6
|
+
spec.name = "faker-gpk"
|
7
|
+
spec.version = Faker::GPK::VERSION
|
8
|
+
spec.authors = ["Rob Lacey"]
|
9
|
+
spec.email = ["contact@robl.me"]
|
10
|
+
|
11
|
+
spec.summary = "Faker extension for Garbage Pail Kids"
|
12
|
+
spec.description = "Faker extension for Garbage Pail Kids"
|
13
|
+
spec.homepage = "https://github.com/braindeaf/faker-gpk"
|
14
|
+
spec.license = "MIT"
|
15
|
+
spec.required_ruby_version = ">= 3.0.0"
|
16
|
+
|
17
|
+
spec.metadata["homepage_uri"] = spec.homepage
|
18
|
+
spec.metadata["source_code_uri"] = spec.homepage
|
19
|
+
spec.metadata["changelog_uri"] = spec.homepage + "/CHANGELOG.md"
|
20
|
+
|
21
|
+
# Specify which files should be added to the gem when it is released.
|
22
|
+
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
23
|
+
spec.files = Dir.chdir(__dir__) do
|
24
|
+
`git ls-files -z`.split("\x0").reject do |f|
|
25
|
+
(File.expand_path(f) == __FILE__) ||
|
26
|
+
f.start_with?(*%w[bin/ test/ spec/ features/ .git appveyor Gemfile])
|
27
|
+
end
|
28
|
+
end
|
29
|
+
|
30
|
+
spec.require_paths = ["lib"]
|
31
|
+
|
32
|
+
spec.add_dependency "faker", "~> 3.0"
|
33
|
+
end
|
@@ -0,0 +1,177 @@
|
|
1
|
+
en:
|
2
|
+
faker:
|
3
|
+
garbage_pail_kids:
|
4
|
+
names:
|
5
|
+
#
|
6
|
+
# Original Series 1 (1985)
|
7
|
+
#
|
8
|
+
- Nasty NICK # 1a
|
9
|
+
- Evil EDDIE # 1b
|
10
|
+
- Junkfood JOHN # 2a
|
11
|
+
- RAY Decay # 2b
|
12
|
+
- Up CHUCK # 3a
|
13
|
+
- Heavin' STEVEN # 3b
|
14
|
+
- Fryin' BRIAN # 4a
|
15
|
+
- Electric BILL # 4b
|
16
|
+
- Dead TED # 5a
|
17
|
+
- JAY Decay # 5b
|
18
|
+
- ART Apart # 6a
|
19
|
+
- Busted BOB # 6b
|
20
|
+
- Stormy HEATHER # 7a
|
21
|
+
- APRIL Showers # 7b
|
22
|
+
- ADAM Bomb # 8a
|
23
|
+
- Blasted BILLY # 8b
|
24
|
+
- Boozin' BRUCE # 9a
|
25
|
+
- Drunk KEN # 9b
|
26
|
+
- Tee-Vee STEVIE # 10a
|
27
|
+
- Geeky GARY # 10b
|
28
|
+
- Itchy RICHIE # 11a
|
29
|
+
- Bugged BERT # 11b
|
30
|
+
- Furry FRAN # 12a
|
31
|
+
- Hairy MARY # 12b
|
32
|
+
- Ashcan ANDY # 13a
|
33
|
+
- Spacey STACY # 13b
|
34
|
+
- Potty SCOTTY # 14a
|
35
|
+
- JASON Basin # 14b
|
36
|
+
- Ailin' AL # 15a
|
37
|
+
- Mauled PAUL # 15b
|
38
|
+
- Weird WENDY # 16a
|
39
|
+
- Haggy MAGGIE # 16b
|
40
|
+
- Wacky JACKIE # 17a
|
41
|
+
- Loony LENNY # 17b
|
42
|
+
- Cranky FRANKIE # 18a
|
43
|
+
- Bad BRAD # 18b
|
44
|
+
- Corroded CARL # 19a
|
45
|
+
- Crater CHRIS # 19b
|
46
|
+
- Swell MEL # 20a
|
47
|
+
- Dressy JESSE # 20b
|
48
|
+
- Virus IRIS # 21a
|
49
|
+
- Sicky VICKY # 21b
|
50
|
+
- Junky JEFF # 22a
|
51
|
+
- Stinky STAN # 22b
|
52
|
+
- Drippy DAN # 23a
|
53
|
+
- Leaky LOU # 23b
|
54
|
+
- Nervous REX # 24a
|
55
|
+
- Nerdy NORM # 24b
|
56
|
+
- Creepy CAROL # 25a
|
57
|
+
- Scary CARRIE # 25b
|
58
|
+
- Slobby ROBBIE # 26a
|
59
|
+
- Fat MATT # 26b
|
60
|
+
- Brainy JANIE # 27a
|
61
|
+
- JENNY Genius # 27b
|
62
|
+
- Oozy SUZIE # 28a
|
63
|
+
- Meltin' MELISSA # 28b
|
64
|
+
- Bony JOANIE # 29a
|
65
|
+
- Thin LYNN # 29b
|
66
|
+
- New Wave DAVE # 30a
|
67
|
+
- Graffiti PETEY # 30b
|
68
|
+
- Run Down RHODA # 31a
|
69
|
+
- Flat PAT # 31b
|
70
|
+
- Frigid BRIDGET # 32a
|
71
|
+
- Chilly MILLIE # 32b
|
72
|
+
- Mad MIKE # 33a
|
73
|
+
- Savage STUART # 33b
|
74
|
+
- KIM Kong # 34a
|
75
|
+
- ANNA Banana # 34b
|
76
|
+
- Wrinkly RANDY # 35a
|
77
|
+
- Rockin' ROBERT # 35b
|
78
|
+
- Wrappin' RUTH # 36a
|
79
|
+
- TOMMY Tomb # 36b
|
80
|
+
- GuilloTINA # 37a
|
81
|
+
- CINDY Lopper # 37b
|
82
|
+
- Slimy SAM # 38a
|
83
|
+
- Lizard LIZ # 38b
|
84
|
+
- Buggy BETTY # 39a
|
85
|
+
- Green JEAN # 39b
|
86
|
+
- Unstitched MITCH # 40a
|
87
|
+
- Damaged DON # 40b
|
88
|
+
- Mean GENE # 41a
|
89
|
+
- Joltin' JOE # 41b
|
90
|
+
#
|
91
|
+
# Original Series 2 (1985)
|
92
|
+
#
|
93
|
+
- PATTY Putty # 42a
|
94
|
+
- Muggin' MEGAN # 42b
|
95
|
+
- Smelly KELLY # 43a
|
96
|
+
- DOUG Plug # 43b
|
97
|
+
- SY Clops # 44a
|
98
|
+
- One-Eyed JACK # 44b
|
99
|
+
- Leaky LINDSAY # 45a
|
100
|
+
- Messy TESSIE # 45b
|
101
|
+
- Rappin' RON # 46a
|
102
|
+
- RAY Gun # 46b
|
103
|
+
- Disgustin' JUSTIN # 47a
|
104
|
+
- Vile KYLE # 47b
|
105
|
+
- Tongue Tied TIM # 48a
|
106
|
+
- MARTY Mouthful # 48b
|
107
|
+
- Double HEATHER # 49a
|
108
|
+
- Schizo FRAN # 49b
|
109
|
+
- FRAN FRAN # 49b
|
110
|
+
- Mad DONNA # 50a
|
111
|
+
- Nutty NICOLE # 50b
|
112
|
+
- RUSSELL Muscle # 51a
|
113
|
+
- BRETT Sweat # 51b
|
114
|
+
- Dirty HARRY # 52a
|
115
|
+
- ROB Slob # 52b
|
116
|
+
- Jolted JOEL # 53a
|
117
|
+
- Live MIKE # 53b
|
118
|
+
- Fryin' RYAN # 54a
|
119
|
+
- Charred CHAD # 54b
|
120
|
+
- Hairy GARY # 55a
|
121
|
+
- Brutal BRAD # 55b
|
122
|
+
- Hairy CARRIE # 56a
|
123
|
+
- Brutal BRIDGET # 56b
|
124
|
+
- TOMMY Gun # 57a
|
125
|
+
- Dead FRED # 57b
|
126
|
+
- Cracked JACK # 58a
|
127
|
+
- Soft Boiled SAM # 58b
|
128
|
+
- Clogged DUANE # 59a
|
129
|
+
- Bye Bye BOBBY # 59b
|
130
|
+
- Prickly RICK # 60a
|
131
|
+
- Cactus CAROL # 60b
|
132
|
+
- Jolly ROGER # 61a
|
133
|
+
- Pegleg PETER # 61b
|
134
|
+
- Greaser GREG # 62a
|
135
|
+
- CHRIS Hiss # 62b
|
136
|
+
- Spacey STACY # 63a
|
137
|
+
- JANET Planet # 63b
|
138
|
+
- Hot SCOTT # 64a
|
139
|
+
- LUKE Warm # 64b
|
140
|
+
- Shrunken ED # 65a
|
141
|
+
- Cheeky CHARLES # 65b
|
142
|
+
- MATT Ratt # 66a
|
143
|
+
- RACHEL Rodent # 66b
|
144
|
+
- Phony LISA # 67a
|
145
|
+
- MONA Loser # 67b
|
146
|
+
- OLIVER Twisted # 68a
|
147
|
+
- Dizzy DAVE # 68b
|
148
|
+
- JENNY Jelly # 69a
|
149
|
+
- SARA Slime # 69b
|
150
|
+
- Bad Breath SETH # 70a
|
151
|
+
- Foul PHIL # 70b
|
152
|
+
- Odd TODD # 71a
|
153
|
+
- Bent BEN # 71b
|
154
|
+
- Mad MAX # 72a
|
155
|
+
- Brainy BRIAN # 72b
|
156
|
+
- Gorgeous GEORGE # 73a
|
157
|
+
- Dollar BILL # 73b
|
158
|
+
- MARK Bark # 74a
|
159
|
+
- Kennel KENNY # 74b
|
160
|
+
- Off-The-Wall PAUL # 75a
|
161
|
+
- ZACH Plaque # 75b
|
162
|
+
- BONNIE Bunny # 76a
|
163
|
+
- Pourin' LAUREN # 76b
|
164
|
+
- Ghastly ASHLEY # 77a
|
165
|
+
- Acne AMY # 77b
|
166
|
+
- Wrinkled RITA # 78a
|
167
|
+
- Ancient ANNIE # 78b
|
168
|
+
- Sewer SUE # 79a
|
169
|
+
- MICHELLE Muck # 79b
|
170
|
+
- Tattoo LOU # 80a
|
171
|
+
- ART Gallery # 80b
|
172
|
+
- Split KIT # 81a
|
173
|
+
- Mixed-Up MITCH # 81b
|
174
|
+
- Slain WAYNE # 82a
|
175
|
+
- Ventilated VINNIE # 82b
|
176
|
+
- Ugh LEE # 83a
|
177
|
+
- Sumo SID # 83b
|
@@ -0,0 +1,22 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Faker
|
4
|
+
class TradingCards
|
5
|
+
class GarbagePailKids < Base
|
6
|
+
class << self
|
7
|
+
##
|
8
|
+
# Produces the name of a Garbage Pail Kid.
|
9
|
+
#
|
10
|
+
# @return [String]
|
11
|
+
#
|
12
|
+
# @example
|
13
|
+
# Faker::TradingCards::GarbagePailKids #=> "Nasty NICK"
|
14
|
+
#
|
15
|
+
# @faker.version next
|
16
|
+
def name
|
17
|
+
fetch("garbage_pail_kids.names")
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
data/lib/faker-gpk.rb
ADDED
data/sig/faker/gpk.rbs
ADDED
metadata
ADDED
@@ -0,0 +1,72 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: faker-gpk
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Rob Lacey
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2024-10-29 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: faker
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '3.0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '3.0'
|
27
|
+
description: Faker extension for Garbage Pail Kids
|
28
|
+
email:
|
29
|
+
- contact@robl.me
|
30
|
+
executables: []
|
31
|
+
extensions: []
|
32
|
+
extra_rdoc_files: []
|
33
|
+
files:
|
34
|
+
- ".rspec"
|
35
|
+
- ".standard.yml"
|
36
|
+
- CHANGELOG.md
|
37
|
+
- LICENSE.txt
|
38
|
+
- README.md
|
39
|
+
- Rakefile
|
40
|
+
- faker-gpk.gemspec
|
41
|
+
- lib/faker-gpk.rb
|
42
|
+
- lib/faker/gpk/version.rb
|
43
|
+
- lib/faker/locales/en/garbage_pail_kids.yml
|
44
|
+
- lib/faker/trading_cards/garbage_pail_kids.rb
|
45
|
+
- sig/faker/gpk.rbs
|
46
|
+
homepage: https://github.com/braindeaf/faker-gpk
|
47
|
+
licenses:
|
48
|
+
- MIT
|
49
|
+
metadata:
|
50
|
+
homepage_uri: https://github.com/braindeaf/faker-gpk
|
51
|
+
source_code_uri: https://github.com/braindeaf/faker-gpk
|
52
|
+
changelog_uri: https://github.com/braindeaf/faker-gpk/CHANGELOG.md
|
53
|
+
post_install_message:
|
54
|
+
rdoc_options: []
|
55
|
+
require_paths:
|
56
|
+
- lib
|
57
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: 3.0.0
|
62
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
63
|
+
requirements:
|
64
|
+
- - ">="
|
65
|
+
- !ruby/object:Gem::Version
|
66
|
+
version: '0'
|
67
|
+
requirements: []
|
68
|
+
rubygems_version: 3.5.3
|
69
|
+
signing_key:
|
70
|
+
specification_version: 4
|
71
|
+
summary: Faker extension for Garbage Pail Kids
|
72
|
+
test_files: []
|