image_optim_pack 0.2.3 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/.gitignore +1 -1
- data/.rubocop.yml +3 -0
- data/.travis.yml +12 -9
- data/Makefile +39 -12
- data/README.markdown +14 -9
- data/Vagrantfile +45 -7
- data/boxes/.gitignore +3 -0
- data/boxes/.rubocop.yml +10 -0
- data/boxes/Gemfile +6 -0
- data/boxes/Rakefile +143 -0
- data/boxes/definitions/centos-amd64/definition.rb +30 -0
- data/boxes/definitions/centos-amd64/ks.cfg +37 -0
- data/boxes/definitions/centos-i386/definition.rb +30 -0
- data/boxes/definitions/centos-i386/ks.cfg +37 -0
- data/boxes/definitions/centos-postinstall.sh +33 -0
- data/boxes/definitions/freebsd-amd64/definition.rb +38 -0
- data/boxes/definitions/freebsd-amd64/install.sh +66 -0
- data/boxes/definitions/freebsd-i386/definition.rb +38 -0
- data/boxes/definitions/freebsd-i386/install.sh +66 -0
- data/boxes/definitions/freebsd-postinstall.sh +38 -0
- data/boxes/definitions/openbsd-amd64/definition.rb +71 -0
- data/boxes/definitions/openbsd-i386/definition.rb +71 -0
- data/boxes/definitions/openbsd-postinstall.sh +29 -0
- data/image_optim_pack.gemspec +2 -4
- data/lib/image_optim/pack.rb +2 -3
- data/script/livecheck +29 -2
- data/script/run +32 -6
- data/script/update_versions +2 -0
- data/spec/image_optim/pack_spec.rb +2 -2
- data/vendor/{darwin/i386 → darwin-i386}/advpng +0 -0
- data/vendor/{darwin/i386 → darwin-i386}/gifsicle +0 -0
- data/vendor/{darwin/i386 → darwin-i386}/jhead +0 -0
- data/vendor/{darwin/i386 → darwin-i386}/jpeg-recompress +0 -0
- data/vendor/{darwin/i386 → darwin-i386}/jpegoptim +0 -0
- data/vendor/{darwin/i386 → darwin-i386}/jpegtran +0 -0
- data/vendor/{darwin/i386 → darwin-i386}/libjpeg.dylib +0 -0
- data/vendor/{darwin/i386 → darwin-i386}/libpng.dylib +0 -0
- data/vendor/{darwin/i386 → darwin-i386}/libz.dylib +0 -0
- data/vendor/{darwin/i386 → darwin-i386}/optipng +0 -0
- data/vendor/darwin-i386/pngcrush +0 -0
- data/vendor/{darwin/i386 → darwin-i386}/pngquant +0 -0
- data/vendor/{darwin/x86_64 → darwin-x86_64}/advpng +0 -0
- data/vendor/{darwin/x86_64 → darwin-x86_64}/gifsicle +0 -0
- data/vendor/{darwin/x86_64 → darwin-x86_64}/jhead +0 -0
- data/vendor/{darwin/x86_64 → darwin-x86_64}/jpeg-recompress +0 -0
- data/vendor/{darwin/x86_64 → darwin-x86_64}/jpegoptim +0 -0
- data/vendor/{darwin/x86_64 → darwin-x86_64}/jpegtran +0 -0
- data/vendor/{darwin/x86_64 → darwin-x86_64}/libjpeg.dylib +0 -0
- data/vendor/{darwin/x86_64 → darwin-x86_64}/libpng.dylib +0 -0
- data/vendor/{darwin/x86_64 → darwin-x86_64}/libz.dylib +0 -0
- data/vendor/{darwin/x86_64 → darwin-x86_64}/optipng +0 -0
- data/vendor/darwin-x86_64/pngcrush +0 -0
- data/vendor/{darwin/x86_64 → darwin-x86_64}/pngquant +0 -0
- data/vendor/freebsd-amd64/advpng +0 -0
- data/vendor/freebsd-amd64/gifsicle +0 -0
- data/vendor/freebsd-amd64/jhead +0 -0
- data/vendor/freebsd-amd64/jpeg-recompress +0 -0
- data/vendor/freebsd-amd64/jpegoptim +0 -0
- data/vendor/freebsd-amd64/jpegtran +0 -0
- data/vendor/freebsd-amd64/libjpeg.so +0 -0
- data/vendor/freebsd-amd64/libpng.so +0 -0
- data/vendor/freebsd-amd64/libz.so +0 -0
- data/vendor/freebsd-amd64/optipng +0 -0
- data/vendor/freebsd-amd64/pngcrush +0 -0
- data/vendor/freebsd-amd64/pngquant +0 -0
- data/vendor/freebsd-i386/advpng +0 -0
- data/vendor/freebsd-i386/gifsicle +0 -0
- data/vendor/freebsd-i386/jhead +0 -0
- data/vendor/freebsd-i386/jpeg-recompress +0 -0
- data/vendor/freebsd-i386/jpegoptim +0 -0
- data/vendor/freebsd-i386/jpegtran +0 -0
- data/vendor/freebsd-i386/libjpeg.so +0 -0
- data/vendor/freebsd-i386/libpng.so +0 -0
- data/vendor/freebsd-i386/libz.so +0 -0
- data/vendor/freebsd-i386/optipng +0 -0
- data/vendor/freebsd-i386/pngcrush +0 -0
- data/vendor/freebsd-i386/pngquant +0 -0
- data/vendor/{linux/i686 → linux-i686}/advpng +0 -0
- data/vendor/{linux/i686 → linux-i686}/gifsicle +0 -0
- data/vendor/{linux/i686 → linux-i686}/jhead +0 -0
- data/vendor/{linux/i686 → linux-i686}/jpeg-recompress +0 -0
- data/vendor/{linux/i686 → linux-i686}/jpegoptim +0 -0
- data/vendor/{linux/i686 → linux-i686}/jpegtran +0 -0
- data/vendor/{linux/i686 → linux-i686}/libjpeg.so +0 -0
- data/vendor/{linux/i686 → linux-i686}/libpng.so +0 -0
- data/vendor/{linux/i686 → linux-i686}/libz.so +0 -0
- data/vendor/{linux/i686 → linux-i686}/optipng +0 -0
- data/vendor/linux-i686/pngcrush +0 -0
- data/vendor/{linux/i686 → linux-i686}/pngquant +0 -0
- data/vendor/{linux/x86_64 → linux-x86_64}/advpng +0 -0
- data/vendor/{linux/x86_64 → linux-x86_64}/gifsicle +0 -0
- data/vendor/{linux/x86_64 → linux-x86_64}/jhead +0 -0
- data/vendor/{linux/x86_64 → linux-x86_64}/jpeg-recompress +0 -0
- data/vendor/{linux/x86_64 → linux-x86_64}/jpegoptim +0 -0
- data/vendor/{linux/x86_64 → linux-x86_64}/jpegtran +0 -0
- data/vendor/{linux/x86_64 → linux-x86_64}/libjpeg.so +0 -0
- data/vendor/{linux/x86_64 → linux-x86_64}/libpng.so +0 -0
- data/vendor/{linux/x86_64 → linux-x86_64}/libz.so +0 -0
- data/vendor/{linux/x86_64 → linux-x86_64}/optipng +0 -0
- data/vendor/linux-x86_64/pngcrush +0 -0
- data/vendor/{linux/x86_64 → linux-x86_64}/pngquant +0 -0
- data/vendor/openbsd-amd64/advpng +0 -0
- data/vendor/openbsd-amd64/gifsicle +0 -0
- data/vendor/openbsd-amd64/jhead +0 -0
- data/vendor/openbsd-amd64/jpeg-recompress +0 -0
- data/vendor/openbsd-amd64/jpegoptim +0 -0
- data/vendor/openbsd-amd64/jpegtran +0 -0
- data/vendor/openbsd-amd64/libjpeg.so +0 -0
- data/vendor/openbsd-amd64/libpng.so +0 -0
- data/vendor/openbsd-amd64/libz.so +0 -0
- data/vendor/openbsd-amd64/optipng +0 -0
- data/vendor/openbsd-amd64/pngcrush +0 -0
- data/vendor/openbsd-amd64/pngquant +0 -0
- data/vendor/openbsd-i386/advpng +0 -0
- data/vendor/openbsd-i386/gifsicle +0 -0
- data/vendor/openbsd-i386/jhead +0 -0
- data/vendor/openbsd-i386/jpeg-recompress +0 -0
- data/vendor/openbsd-i386/jpegoptim +0 -0
- data/vendor/openbsd-i386/jpegtran +0 -0
- data/vendor/openbsd-i386/libjpeg.so +0 -0
- data/vendor/openbsd-i386/libpng.so +0 -0
- data/vendor/openbsd-i386/libz.so +0 -0
- data/vendor/openbsd-i386/optipng +0 -0
- data/vendor/openbsd-i386/pngcrush +0 -0
- data/vendor/openbsd-i386/pngquant +0 -0
- metadata +115 -93
- data/script/vm_init +0 -30
- data/vendor/darwin/i386/pngcrush +0 -0
- data/vendor/darwin/x86_64/pngcrush +0 -0
- data/vendor/linux/i686/pngcrush +0 -0
- data/vendor/linux/x86_64/pngcrush +0 -0
File without changes
|
Binary file
|
File without changes
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: image_optim_pack
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ivan Kuchin
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-07-
|
11
|
+
date: 2016-07-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: image_optim
|
@@ -44,34 +44,6 @@ dependencies:
|
|
44
44
|
- - <
|
45
45
|
- !ruby/object:Gem::Version
|
46
46
|
version: '4'
|
47
|
-
- !ruby/object:Gem::Dependency
|
48
|
-
name: versionomy
|
49
|
-
requirement: !ruby/object:Gem::Requirement
|
50
|
-
requirements:
|
51
|
-
- - ~>
|
52
|
-
- !ruby/object:Gem::Version
|
53
|
-
version: 0.4.4
|
54
|
-
type: :development
|
55
|
-
prerelease: false
|
56
|
-
version_requirements: !ruby/object:Gem::Requirement
|
57
|
-
requirements:
|
58
|
-
- - ~>
|
59
|
-
- !ruby/object:Gem::Version
|
60
|
-
version: 0.4.4
|
61
|
-
- !ruby/object:Gem::Dependency
|
62
|
-
name: blockenspiel
|
63
|
-
requirement: !ruby/object:Gem::Requirement
|
64
|
-
requirements:
|
65
|
-
- - ~>
|
66
|
-
- !ruby/object:Gem::Version
|
67
|
-
version: 0.4.0
|
68
|
-
type: :development
|
69
|
-
prerelease: false
|
70
|
-
version_requirements: !ruby/object:Gem::Requirement
|
71
|
-
requirements:
|
72
|
-
- - ~>
|
73
|
-
- !ruby/object:Gem::Version
|
74
|
-
version: 0.4.0
|
75
47
|
- !ruby/object:Gem::Dependency
|
76
48
|
name: rspec
|
77
49
|
requirement: !ruby/object:Gem::Requirement
|
@@ -86,20 +58,6 @@ dependencies:
|
|
86
58
|
- - ~>
|
87
59
|
- !ruby/object:Gem::Version
|
88
60
|
version: '3.0'
|
89
|
-
- !ruby/object:Gem::Dependency
|
90
|
-
name: rubocop
|
91
|
-
requirement: !ruby/object:Gem::Requirement
|
92
|
-
requirements:
|
93
|
-
- - ~>
|
94
|
-
- !ruby/object:Gem::Version
|
95
|
-
version: '0.36'
|
96
|
-
type: :development
|
97
|
-
prerelease: false
|
98
|
-
version_requirements: !ruby/object:Gem::Requirement
|
99
|
-
requirements:
|
100
|
-
- - ~>
|
101
|
-
- !ruby/object:Gem::Version
|
102
|
-
version: '0.36'
|
103
61
|
description:
|
104
62
|
email:
|
105
63
|
executables: []
|
@@ -137,64 +95,128 @@ files:
|
|
137
95
|
- acknowledgements/zlib.txt
|
138
96
|
- acknowledgements/zopfli-contributors.txt
|
139
97
|
- acknowledgements/zopfli.txt
|
98
|
+
- boxes/.gitignore
|
99
|
+
- boxes/.rubocop.yml
|
100
|
+
- boxes/Gemfile
|
101
|
+
- boxes/Rakefile
|
102
|
+
- boxes/definitions/centos-amd64/definition.rb
|
103
|
+
- boxes/definitions/centos-amd64/ks.cfg
|
104
|
+
- boxes/definitions/centos-i386/definition.rb
|
105
|
+
- boxes/definitions/centos-i386/ks.cfg
|
106
|
+
- boxes/definitions/centos-postinstall.sh
|
107
|
+
- boxes/definitions/freebsd-amd64/definition.rb
|
108
|
+
- boxes/definitions/freebsd-amd64/install.sh
|
109
|
+
- boxes/definitions/freebsd-i386/definition.rb
|
110
|
+
- boxes/definitions/freebsd-i386/install.sh
|
111
|
+
- boxes/definitions/freebsd-postinstall.sh
|
112
|
+
- boxes/definitions/openbsd-amd64/definition.rb
|
113
|
+
- boxes/definitions/openbsd-i386/definition.rb
|
114
|
+
- boxes/definitions/openbsd-postinstall.sh
|
140
115
|
- image_optim_pack.gemspec
|
141
116
|
- lib/image_optim/pack.rb
|
142
117
|
- lib/image_optim_pack.rb
|
143
118
|
- script/livecheck
|
144
119
|
- script/run
|
145
120
|
- script/update_versions
|
146
|
-
- script/vm_init
|
147
121
|
- spec/image_optim/pack_spec.rb
|
148
122
|
- spec/image_optim_spec.rb
|
149
123
|
- spec/spec_helper.rb
|
150
|
-
- vendor/darwin
|
151
|
-
- vendor/darwin
|
152
|
-
- vendor/darwin
|
153
|
-
- vendor/darwin
|
154
|
-
- vendor/darwin
|
155
|
-
- vendor/darwin
|
156
|
-
- vendor/darwin
|
157
|
-
- vendor/darwin
|
158
|
-
- vendor/darwin
|
159
|
-
- vendor/darwin
|
160
|
-
- vendor/darwin
|
161
|
-
- vendor/darwin
|
162
|
-
- vendor/darwin
|
163
|
-
- vendor/darwin
|
164
|
-
- vendor/darwin
|
165
|
-
- vendor/darwin
|
166
|
-
- vendor/darwin
|
167
|
-
- vendor/darwin
|
168
|
-
- vendor/darwin
|
169
|
-
- vendor/darwin
|
170
|
-
- vendor/darwin
|
171
|
-
- vendor/darwin
|
172
|
-
- vendor/darwin
|
173
|
-
- vendor/darwin
|
174
|
-
- vendor/
|
175
|
-
- vendor/
|
176
|
-
- vendor/
|
177
|
-
- vendor/
|
178
|
-
- vendor/
|
179
|
-
- vendor/
|
180
|
-
- vendor/
|
181
|
-
- vendor/
|
182
|
-
- vendor/
|
183
|
-
- vendor/
|
184
|
-
- vendor/
|
185
|
-
- vendor/
|
186
|
-
- vendor/
|
187
|
-
- vendor/
|
188
|
-
- vendor/
|
189
|
-
- vendor/
|
190
|
-
- vendor/
|
191
|
-
- vendor/
|
192
|
-
- vendor/
|
193
|
-
- vendor/
|
194
|
-
- vendor/
|
195
|
-
- vendor/
|
196
|
-
- vendor/
|
197
|
-
- vendor/
|
124
|
+
- vendor/darwin-i386/advpng
|
125
|
+
- vendor/darwin-i386/gifsicle
|
126
|
+
- vendor/darwin-i386/jhead
|
127
|
+
- vendor/darwin-i386/jpeg-recompress
|
128
|
+
- vendor/darwin-i386/jpegoptim
|
129
|
+
- vendor/darwin-i386/jpegtran
|
130
|
+
- vendor/darwin-i386/libjpeg.dylib
|
131
|
+
- vendor/darwin-i386/libpng.dylib
|
132
|
+
- vendor/darwin-i386/libz.dylib
|
133
|
+
- vendor/darwin-i386/optipng
|
134
|
+
- vendor/darwin-i386/pngcrush
|
135
|
+
- vendor/darwin-i386/pngquant
|
136
|
+
- vendor/darwin-x86_64/advpng
|
137
|
+
- vendor/darwin-x86_64/gifsicle
|
138
|
+
- vendor/darwin-x86_64/jhead
|
139
|
+
- vendor/darwin-x86_64/jpeg-recompress
|
140
|
+
- vendor/darwin-x86_64/jpegoptim
|
141
|
+
- vendor/darwin-x86_64/jpegtran
|
142
|
+
- vendor/darwin-x86_64/libjpeg.dylib
|
143
|
+
- vendor/darwin-x86_64/libpng.dylib
|
144
|
+
- vendor/darwin-x86_64/libz.dylib
|
145
|
+
- vendor/darwin-x86_64/optipng
|
146
|
+
- vendor/darwin-x86_64/pngcrush
|
147
|
+
- vendor/darwin-x86_64/pngquant
|
148
|
+
- vendor/freebsd-amd64/advpng
|
149
|
+
- vendor/freebsd-amd64/gifsicle
|
150
|
+
- vendor/freebsd-amd64/jhead
|
151
|
+
- vendor/freebsd-amd64/jpeg-recompress
|
152
|
+
- vendor/freebsd-amd64/jpegoptim
|
153
|
+
- vendor/freebsd-amd64/jpegtran
|
154
|
+
- vendor/freebsd-amd64/libjpeg.so
|
155
|
+
- vendor/freebsd-amd64/libpng.so
|
156
|
+
- vendor/freebsd-amd64/libz.so
|
157
|
+
- vendor/freebsd-amd64/optipng
|
158
|
+
- vendor/freebsd-amd64/pngcrush
|
159
|
+
- vendor/freebsd-amd64/pngquant
|
160
|
+
- vendor/freebsd-i386/advpng
|
161
|
+
- vendor/freebsd-i386/gifsicle
|
162
|
+
- vendor/freebsd-i386/jhead
|
163
|
+
- vendor/freebsd-i386/jpeg-recompress
|
164
|
+
- vendor/freebsd-i386/jpegoptim
|
165
|
+
- vendor/freebsd-i386/jpegtran
|
166
|
+
- vendor/freebsd-i386/libjpeg.so
|
167
|
+
- vendor/freebsd-i386/libpng.so
|
168
|
+
- vendor/freebsd-i386/libz.so
|
169
|
+
- vendor/freebsd-i386/optipng
|
170
|
+
- vendor/freebsd-i386/pngcrush
|
171
|
+
- vendor/freebsd-i386/pngquant
|
172
|
+
- vendor/linux-i686/advpng
|
173
|
+
- vendor/linux-i686/gifsicle
|
174
|
+
- vendor/linux-i686/jhead
|
175
|
+
- vendor/linux-i686/jpeg-recompress
|
176
|
+
- vendor/linux-i686/jpegoptim
|
177
|
+
- vendor/linux-i686/jpegtran
|
178
|
+
- vendor/linux-i686/libjpeg.so
|
179
|
+
- vendor/linux-i686/libpng.so
|
180
|
+
- vendor/linux-i686/libz.so
|
181
|
+
- vendor/linux-i686/optipng
|
182
|
+
- vendor/linux-i686/pngcrush
|
183
|
+
- vendor/linux-i686/pngquant
|
184
|
+
- vendor/linux-x86_64/advpng
|
185
|
+
- vendor/linux-x86_64/gifsicle
|
186
|
+
- vendor/linux-x86_64/jhead
|
187
|
+
- vendor/linux-x86_64/jpeg-recompress
|
188
|
+
- vendor/linux-x86_64/jpegoptim
|
189
|
+
- vendor/linux-x86_64/jpegtran
|
190
|
+
- vendor/linux-x86_64/libjpeg.so
|
191
|
+
- vendor/linux-x86_64/libpng.so
|
192
|
+
- vendor/linux-x86_64/libz.so
|
193
|
+
- vendor/linux-x86_64/optipng
|
194
|
+
- vendor/linux-x86_64/pngcrush
|
195
|
+
- vendor/linux-x86_64/pngquant
|
196
|
+
- vendor/openbsd-amd64/advpng
|
197
|
+
- vendor/openbsd-amd64/gifsicle
|
198
|
+
- vendor/openbsd-amd64/jhead
|
199
|
+
- vendor/openbsd-amd64/jpeg-recompress
|
200
|
+
- vendor/openbsd-amd64/jpegoptim
|
201
|
+
- vendor/openbsd-amd64/jpegtran
|
202
|
+
- vendor/openbsd-amd64/libjpeg.so
|
203
|
+
- vendor/openbsd-amd64/libpng.so
|
204
|
+
- vendor/openbsd-amd64/libz.so
|
205
|
+
- vendor/openbsd-amd64/optipng
|
206
|
+
- vendor/openbsd-amd64/pngcrush
|
207
|
+
- vendor/openbsd-amd64/pngquant
|
208
|
+
- vendor/openbsd-i386/advpng
|
209
|
+
- vendor/openbsd-i386/gifsicle
|
210
|
+
- vendor/openbsd-i386/jhead
|
211
|
+
- vendor/openbsd-i386/jpeg-recompress
|
212
|
+
- vendor/openbsd-i386/jpegoptim
|
213
|
+
- vendor/openbsd-i386/jpegtran
|
214
|
+
- vendor/openbsd-i386/libjpeg.so
|
215
|
+
- vendor/openbsd-i386/libpng.so
|
216
|
+
- vendor/openbsd-i386/libz.so
|
217
|
+
- vendor/openbsd-i386/optipng
|
218
|
+
- vendor/openbsd-i386/pngcrush
|
219
|
+
- vendor/openbsd-i386/pngquant
|
198
220
|
homepage: http://github.com/toy/image_optim_pack
|
199
221
|
licenses:
|
200
222
|
- MIT
|
data/script/vm_init
DELETED
@@ -1,30 +0,0 @@
|
|
1
|
-
#!/usr/bin/env bash
|
2
|
-
|
3
|
-
present(){
|
4
|
-
local missing=0
|
5
|
-
for name in "$@"; do
|
6
|
-
if command -v "$name" >/dev/null 2>&1; then
|
7
|
-
echo "got $name"
|
8
|
-
else
|
9
|
-
echo "no $name"
|
10
|
-
missing=1
|
11
|
-
fi
|
12
|
-
done
|
13
|
-
[ $missing -eq 0 ] || return 127
|
14
|
-
}
|
15
|
-
|
16
|
-
if ! present make wget gcc g++ chrpath perl pkg-config autoconf automake libtool nasm; then
|
17
|
-
if present apt-get; then
|
18
|
-
apt-get -y install make wget gcc g++ chrpath perl pkg-config autoconf automake libtool nasm
|
19
|
-
elif present yum; then
|
20
|
-
yum -y install make wget gcc gcc-c++ chrpath perl pkg-config autoconf automake libtool nasm
|
21
|
-
else
|
22
|
-
echo 'unknown package manager'
|
23
|
-
exit 1
|
24
|
-
fi
|
25
|
-
fi
|
26
|
-
|
27
|
-
if ! make --version 2>&1 | grep -q 'GNU Make'; then
|
28
|
-
echo 'non gnu make'
|
29
|
-
exit 1
|
30
|
-
fi
|
data/vendor/darwin/i386/pngcrush
DELETED
Binary file
|
Binary file
|
data/vendor/linux/i686/pngcrush
DELETED
Binary file
|
Binary file
|