readymades 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/CHANGELOG.md +3 -0
- data/Manifest.txt +6 -0
- data/README.md +30 -0
- data/Rakefile +38 -0
- data/lib/readymades/version.rb +23 -0
- data/lib/readymades.rb +31 -0
- metadata +107 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 7966c323b642e9b8f573de77f3da48c96f1b06ac0934ce97fb8e84ce4a262897
|
4
|
+
data.tar.gz: 2f32892edec469334c959940b3a118530049b04b1657b3d963e922c7bb4fff87
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: e80a0d5edf8cfcf17eef9b5d1dadbeac421e847ae7aa286413828b7841900c704251c1ce8b46898841e4697d43c9ed91b0464b671b4566049f2b512604ec165f
|
7
|
+
data.tar.gz: 504126e69b94ba6cd7a051b76eb65af8dd338ae238956fe82c74555a9311869182ef633591c5ba4b909d012d7dae38fbd1c2c5535f64ac8da5a69179ab16ec15
|
data/CHANGELOG.md
ADDED
data/Manifest.txt
ADDED
data/README.md
ADDED
@@ -0,0 +1,30 @@
|
|
1
|
+
# Readymades (1/1 Original Pixel Punks)
|
2
|
+
|
3
|
+
Do-it-yourself (DIY) - yes, you can - generate your own 24×24 pixel punk images (off chain) from 1/1 originals incl. William Shakespare, Galileo Galilei, Mao Zedong, The Mask, The Joker, Bard Simpson, and many other readymade public world figures or cinema (fictional or cartoon) characters and add attributes / accessories with text (via built-in spritesheet); incl. 2x/4x/8x zoom for bigger sizes and more
|
4
|
+
|
5
|
+
|
6
|
+
|
7
|
+
|
8
|
+
|
9
|
+
* home :: [github.com/pixelartexchange/pixelart](https://github.com/pixelartexchange/pixelart)
|
10
|
+
* bugs :: [github.com/pixelartexchange/pixelart/issues](https://github.com/pixelartexchange/pixelart/issues)
|
11
|
+
* gem :: [rubygems.org/gems/readymades](https://rubygems.org/gems/readymades)
|
12
|
+
* rdoc :: [rubydoc.info/gems/readymades](http://rubydoc.info/gems/readymades)
|
13
|
+
|
14
|
+
|
15
|
+
|
16
|
+
|
17
|
+
## Usage
|
18
|
+
|
19
|
+
Let's generate some super-rare never-before-seen
|
20
|
+
readymade 1/1 pixel punks:
|
21
|
+
|
22
|
+
...
|
23
|
+
|
24
|
+
|
25
|
+
|
26
|
+
|
27
|
+
|
28
|
+
## Questions? Comments?
|
29
|
+
|
30
|
+
Post them on the [CryptoPunksDev reddit](https://old.reddit.com/r/CryptoPunksDev). Thanks.
|
data/Rakefile
ADDED
@@ -0,0 +1,38 @@
|
|
1
|
+
require 'hoe'
|
2
|
+
require './lib/readymades/version.rb'
|
3
|
+
|
4
|
+
###
|
5
|
+
# hack/ quick fix for broken intuit_values - overwrite with dummy
|
6
|
+
class Hoe
|
7
|
+
def intuit_values( input ); end
|
8
|
+
end
|
9
|
+
|
10
|
+
|
11
|
+
|
12
|
+
Hoe.spec 'readymades' do
|
13
|
+
|
14
|
+
self.version = Readymades::VERSION
|
15
|
+
|
16
|
+
self.summary = "readymades - generate your own 24×24 pixel punk images (off chain) from 1/1 originals incl. William Shakespare, Galileo Galilei, Mao Zedong and many other readymade public world figures and add attributes / accessories with text (via built-in spritesheet); incl. 2x/4x/8x zoom for bigger sizes and more"
|
17
|
+
self.description = summary
|
18
|
+
|
19
|
+
self.urls = { home: 'https://github.com/pixelartexchange/pixelart' }
|
20
|
+
|
21
|
+
self.author = 'Gerald Bauer'
|
22
|
+
self.email = 'wwwmake@googlegroups.com'
|
23
|
+
|
24
|
+
# switch extension to .markdown for gihub formatting
|
25
|
+
self.readme_file = 'README.md'
|
26
|
+
self.history_file = 'CHANGELOG.md'
|
27
|
+
|
28
|
+
self.extra_deps = [
|
29
|
+
['cryptopunks'],
|
30
|
+
]
|
31
|
+
|
32
|
+
self.licenses = ['Public Domain']
|
33
|
+
|
34
|
+
self.spec_extras = {
|
35
|
+
required_ruby_version: '>= 2.3'
|
36
|
+
}
|
37
|
+
|
38
|
+
end
|
@@ -0,0 +1,23 @@
|
|
1
|
+
|
2
|
+
|
3
|
+
module Readymades
|
4
|
+
|
5
|
+
MAJOR = 0
|
6
|
+
MINOR = 0
|
7
|
+
PATCH = 1
|
8
|
+
VERSION = [MAJOR,MINOR,PATCH].join('.')
|
9
|
+
|
10
|
+
def self.version
|
11
|
+
VERSION
|
12
|
+
end
|
13
|
+
|
14
|
+
def self.banner
|
15
|
+
"readymades/#{VERSION} on Ruby #{RUBY_VERSION} (#{RUBY_RELEASE_DATE}) [#{RUBY_PLATFORM}] in (#{root})"
|
16
|
+
end
|
17
|
+
|
18
|
+
def self.root
|
19
|
+
File.expand_path( File.dirname(File.dirname(File.dirname(__FILE__))) )
|
20
|
+
end
|
21
|
+
|
22
|
+
end # module Readymades
|
23
|
+
|
data/lib/readymades.rb
ADDED
@@ -0,0 +1,31 @@
|
|
1
|
+
## 3rd party
|
2
|
+
require 'cryptopunks' ### todo - add/change to cryptopunks/base !!!
|
3
|
+
|
4
|
+
|
5
|
+
|
6
|
+
## our own code
|
7
|
+
require 'readymades/version' # note: let version always go first
|
8
|
+
|
9
|
+
|
10
|
+
## forward define superclass for image
|
11
|
+
module Readymades
|
12
|
+
class Image < Pixelart::Image; end
|
13
|
+
end
|
14
|
+
|
15
|
+
|
16
|
+
### add some convenience shortcuts
|
17
|
+
ReadyMades = Readymades
|
18
|
+
## add singular too -why? why not?
|
19
|
+
Readymade = Readymades
|
20
|
+
ReadyMade = Readymades
|
21
|
+
|
22
|
+
|
23
|
+
|
24
|
+
|
25
|
+
###
|
26
|
+
# note: for convenience auto include Pixelart namespace!!! - why? why not?
|
27
|
+
include Pixelart
|
28
|
+
|
29
|
+
|
30
|
+
|
31
|
+
puts Readymades.banner # say hello
|
metadata
ADDED
@@ -0,0 +1,107 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: readymades
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Gerald Bauer
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2022-06-01 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: cryptopunks
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rdoc
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '4.0'
|
34
|
+
- - "<"
|
35
|
+
- !ruby/object:Gem::Version
|
36
|
+
version: '7'
|
37
|
+
type: :development
|
38
|
+
prerelease: false
|
39
|
+
version_requirements: !ruby/object:Gem::Requirement
|
40
|
+
requirements:
|
41
|
+
- - ">="
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
version: '4.0'
|
44
|
+
- - "<"
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: '7'
|
47
|
+
- !ruby/object:Gem::Dependency
|
48
|
+
name: hoe
|
49
|
+
requirement: !ruby/object:Gem::Requirement
|
50
|
+
requirements:
|
51
|
+
- - "~>"
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '3.23'
|
54
|
+
type: :development
|
55
|
+
prerelease: false
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
requirements:
|
58
|
+
- - "~>"
|
59
|
+
- !ruby/object:Gem::Version
|
60
|
+
version: '3.23'
|
61
|
+
description: readymades - generate your own 24×24 pixel punk images (off chain) from
|
62
|
+
1/1 originals incl. William Shakespare, Galileo Galilei, Mao Zedong and many other
|
63
|
+
readymade public world figures and add attributes / accessories with text (via built-in
|
64
|
+
spritesheet); incl. 2x/4x/8x zoom for bigger sizes and more
|
65
|
+
email: wwwmake@googlegroups.com
|
66
|
+
executables: []
|
67
|
+
extensions: []
|
68
|
+
extra_rdoc_files:
|
69
|
+
- CHANGELOG.md
|
70
|
+
- Manifest.txt
|
71
|
+
- README.md
|
72
|
+
files:
|
73
|
+
- CHANGELOG.md
|
74
|
+
- Manifest.txt
|
75
|
+
- README.md
|
76
|
+
- Rakefile
|
77
|
+
- lib/readymades.rb
|
78
|
+
- lib/readymades/version.rb
|
79
|
+
homepage: https://github.com/pixelartexchange/pixelart
|
80
|
+
licenses:
|
81
|
+
- Public Domain
|
82
|
+
metadata: {}
|
83
|
+
post_install_message:
|
84
|
+
rdoc_options:
|
85
|
+
- "--main"
|
86
|
+
- README.md
|
87
|
+
require_paths:
|
88
|
+
- lib
|
89
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
90
|
+
requirements:
|
91
|
+
- - ">="
|
92
|
+
- !ruby/object:Gem::Version
|
93
|
+
version: '2.3'
|
94
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
95
|
+
requirements:
|
96
|
+
- - ">="
|
97
|
+
- !ruby/object:Gem::Version
|
98
|
+
version: '0'
|
99
|
+
requirements: []
|
100
|
+
rubygems_version: 3.3.7
|
101
|
+
signing_key:
|
102
|
+
specification_version: 4
|
103
|
+
summary: readymades - generate your own 24×24 pixel punk images (off chain) from 1/1
|
104
|
+
originals incl. William Shakespare, Galileo Galilei, Mao Zedong and many other readymade
|
105
|
+
public world figures and add attributes / accessories with text (via built-in spritesheet);
|
106
|
+
incl. 2x/4x/8x zoom for bigger sizes and more
|
107
|
+
test_files: []
|