punks 0.3.0 → 0.3.1
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 +4 -4
- data/README.md +2 -2
- data/Rakefile +1 -1
- data/lib/punks/saudis.rb +14 -0
- data/lib/punks/version.rb +1 -1
- metadata +8 -8
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ef4999991a9be18190921b940219f841b1cacff54a99026d1404f3f43c65c558
|
|
4
|
+
data.tar.gz: dcfc409fc2997411253a3daa54a0ebc9a9bce407b4eeeef8c460f618df8178cf
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8708e31b9a9420537efca32ff68a047306af9320a3e0cf5ccf7a94dc39bc06e9ba4e42358775830ebaa4ba1e996d0d242e142867093e89fb5a072a3ce517844f
|
|
7
|
+
data.tar.gz: 48f8ec551995bd57705fb87deceb7adb7ef11648462a645690e9b521ee646cb940d89d390e4583f91f388403d3183db50773b74c5a907c047e119eb0f3bc2901
|
data/README.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
The Do-It-Yourself (DIY) [Factory of Modern Originals (FoMO)](https://github.com/pixelartexchange/originals) Presents
|
|
2
2
|
|
|
3
|
-
# Punks, Phunks, Philips, Marilyns & More (Pixel Characters / Avatars)
|
|
3
|
+
# Punks, Phunks, Philips, Marilyns, Saudis/Sheiks & More (Pixel Characters / Avatars)
|
|
4
4
|
|
|
5
|
-
Yes, you can! Generate your own 24×24 (or 32×32) punk, phunk, philip, marilyn & more (pixel) avatar / character images (off chain) from text attributes (via built-in spritesheet); incl. 2x/4x/8x zoom for bigger sizes and more
|
|
5
|
+
Yes, you can! Generate your own 24×24 (or 32×32) punk, phunk, philip, marilyn, saudi/sheik & more (pixel) avatar / character images (off chain) from text attributes (via built-in spritesheet); incl. 2x/4x/8x zoom for bigger sizes and more
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
data/Rakefile
CHANGED
|
@@ -13,7 +13,7 @@ Hoe.spec 'punks' do
|
|
|
13
13
|
|
|
14
14
|
self.version = Pixelart::Module::Punks::VERSION
|
|
15
15
|
|
|
16
|
-
self.summary = "punks - generate your own 24×24 (or 32×32) punk, phunk, philip, marilyn 'n' more (pixel) avatar / character images (off chain) from text attributes (via built-in spritesheet); incl. 2x/4x/8x zoom for bigger sizes and more"
|
|
16
|
+
self.summary = "punks - generate your own 24×24 (or 32×32) punk, phunk, philip, marilyn, saudi/sheik 'n' more (pixel) avatar / character images (off chain) from text attributes (via built-in spritesheet); incl. 2x/4x/8x zoom for bigger sizes and more"
|
|
17
17
|
self.description = summary
|
|
18
18
|
|
|
19
19
|
self.urls = { home: 'https://github.com/cryptopunksnotdead/cryptopunks' }
|
data/lib/punks/saudis.rb
CHANGED
|
@@ -24,7 +24,21 @@ module Saudi
|
|
|
24
24
|
@generator ||= Artfactory.use( Saudi::Sheet.builtin,
|
|
25
25
|
image_class: Image )
|
|
26
26
|
end
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
# note: remove/delete empyty attributes (n/a - not applicables)
|
|
30
|
+
## (e.g. "None" in Eyewear/Mouse Prop and
|
|
31
|
+
## "Clean Shaven" in Beard )
|
|
32
|
+
## future: make n/a values configurable that you can pass in
|
|
33
|
+
## e.g. nas: [] or such - why? why not?
|
|
34
|
+
NA = [
|
|
35
|
+
'cleanshaven',
|
|
36
|
+
'none'
|
|
37
|
+
]
|
|
38
|
+
|
|
27
39
|
def self.generate( *names )
|
|
40
|
+
names = names.filter { |name| !NA.include?( Pixelart::Spritesheet.normalize_key( name )) }
|
|
41
|
+
|
|
28
42
|
generator.generate( *names )
|
|
29
43
|
end
|
|
30
44
|
end # class Image
|
data/lib/punks/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: punks
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.
|
|
4
|
+
version: 0.3.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Gerald Bauer
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2022-07-
|
|
11
|
+
date: 2022-07-12 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: pixelart
|
|
@@ -86,9 +86,9 @@ dependencies:
|
|
|
86
86
|
- - "~>"
|
|
87
87
|
- !ruby/object:Gem::Version
|
|
88
88
|
version: '3.23'
|
|
89
|
-
description: punks - generate your own 24×24 (or 32×32) punk, phunk, philip, marilyn
|
|
90
|
-
'n' more (pixel) avatar / character images (off chain) from text attributes
|
|
91
|
-
built-in spritesheet); incl. 2x/4x/8x zoom for bigger sizes and more
|
|
89
|
+
description: punks - generate your own 24×24 (or 32×32) punk, phunk, philip, marilyn,
|
|
90
|
+
saudi/sheik 'n' more (pixel) avatar / character images (off chain) from text attributes
|
|
91
|
+
(via built-in spritesheet); incl. 2x/4x/8x zoom for bigger sizes and more
|
|
92
92
|
email: wwwmake@googlegroups.com
|
|
93
93
|
executables: []
|
|
94
94
|
extensions: []
|
|
@@ -141,7 +141,7 @@ requirements: []
|
|
|
141
141
|
rubygems_version: 3.3.7
|
|
142
142
|
signing_key:
|
|
143
143
|
specification_version: 4
|
|
144
|
-
summary: punks - generate your own 24×24 (or 32×32) punk, phunk, philip, marilyn
|
|
145
|
-
more (pixel) avatar / character images (off chain) from text attributes
|
|
146
|
-
spritesheet); incl. 2x/4x/8x zoom for bigger sizes and more
|
|
144
|
+
summary: punks - generate your own 24×24 (or 32×32) punk, phunk, philip, marilyn,
|
|
145
|
+
saudi/sheik 'n' more (pixel) avatar / character images (off chain) from text attributes
|
|
146
|
+
(via built-in spritesheet); incl. 2x/4x/8x zoom for bigger sizes and more
|
|
147
147
|
test_files: []
|