image_optim_pack 0.5.0-amd64-freebsd
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 +7 -0
- data/.gitignore +8 -0
- data/.rubocop.yml +79 -0
- data/.travis.yml +35 -0
- data/CHANGELOG.markdown +210 -0
- data/Gemfile +7 -0
- data/LICENSE.txt +27 -0
- data/Makefile +393 -0
- data/README.markdown +93 -0
- data/Vagrantfile +60 -0
- data/acknowledgements/7z.txt +56 -0
- data/acknowledgements/advancecomp.txt +674 -0
- data/acknowledgements/bmp2png.txt +8 -0
- data/acknowledgements/cexcept.txt +8 -0
- data/acknowledgements/gifread.txt +14 -0
- data/acknowledgements/gifsicle.txt +343 -0
- data/acknowledgements/iqa.txt +30 -0
- data/acknowledgements/jhead.txt +12 -0
- data/acknowledgements/jpeg-archive.txt +20 -0
- data/acknowledgements/jpegoptim.txt +339 -0
- data/acknowledgements/libjpeg-turbo.txt +27 -0
- data/acknowledgements/libjpeg-x86-simd.txt +17 -0
- data/acknowledgements/libjpeg.txt +64 -0
- data/acknowledgements/libpng.txt +90 -0
- data/acknowledgements/mozjpeg.txt +7 -0
- data/acknowledgements/optipng-authors.txt +26 -0
- data/acknowledgements/optipng.txt +21 -0
- data/acknowledgements/pngcrush.txt +35 -0
- data/acknowledgements/pngquant.txt +56 -0
- data/acknowledgements/smallfry.txt +13 -0
- data/acknowledgements/zlib.txt +34 -0
- data/acknowledgements/zopfli-contributors.txt +6 -0
- data/acknowledgements/zopfli.txt +201 -0
- data/boxes/.gitignore +3 -0
- data/boxes/.rubocop.yml +13 -0
- data/boxes/Gemfile +11 -0
- data/boxes/Rakefile +144 -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-darwin-x86.gemspec +3 -0
- data/image_optim_pack-darwin-x86_64.gemspec +3 -0
- data/image_optim_pack-freebsd-amd64.gemspec +3 -0
- data/image_optim_pack-freebsd-x86.gemspec +3 -0
- data/image_optim_pack-linux-x86.gemspec +3 -0
- data/image_optim_pack-linux-x86_64.gemspec +3 -0
- data/image_optim_pack-openbsd-x86.gemspec +3 -0
- data/image_optim_pack-openbsd-x86_64.gemspec +3 -0
- data/image_optim_pack.gemspec +41 -0
- data/lib/image_optim/pack.rb +117 -0
- data/lib/image_optim_pack.rb +1 -0
- data/script/livecheck +116 -0
- data/script/run +71 -0
- data/script/update_versions +22 -0
- data/spec/image_optim/pack_spec.rb +114 -0
- data/spec/image_optim_spec.rb +39 -0
- data/spec/spec_helper.rb +8 -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
- metadata +182 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 91ebbe1a37930ba549569588608b2fea58b79cff
|
4
|
+
data.tar.gz: f48570f27bbae3c916948b954449bc381466d7a6
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 5f5ca75feb9da241f447cdf7167a25ae7ae137fe027f09702ee4377349830e5c93ec3ff640592d8daf667eade08eda1ec65a52ce69be4b13510808b7a20810a1
|
7
|
+
data.tar.gz: bbe0f61708fdbb25f63067209dd8bdad6700918759f847a016f4561e91a103762914ed2dec7b5aa5e295b3cf8efd2d68c7d023db4c4b500ec4ebea5d9c062d4a
|
data/.gitignore
ADDED
data/.rubocop.yml
ADDED
@@ -0,0 +1,79 @@
|
|
1
|
+
AllCops:
|
2
|
+
Exclude:
|
3
|
+
- '*.gemspec'
|
4
|
+
- 'build/**/*'
|
5
|
+
- 'download/**/*'
|
6
|
+
- Vagrantfile
|
7
|
+
|
8
|
+
Bundler/OrderedGems:
|
9
|
+
Enabled: false
|
10
|
+
|
11
|
+
Metrics/BlockLength:
|
12
|
+
Exclude:
|
13
|
+
- spec/**/*_spec.rb
|
14
|
+
|
15
|
+
Metrics/MethodLength:
|
16
|
+
Max: 15
|
17
|
+
|
18
|
+
Security/YAMLLoad:
|
19
|
+
Exclude:
|
20
|
+
- script/livecheck
|
21
|
+
|
22
|
+
Style/AccessModifierIndentation:
|
23
|
+
EnforcedStyle: outdent
|
24
|
+
|
25
|
+
Style/Alias:
|
26
|
+
EnforcedStyle: prefer_alias_method
|
27
|
+
|
28
|
+
Style/DotPosition:
|
29
|
+
EnforcedStyle: trailing
|
30
|
+
|
31
|
+
Style/DoubleNegation:
|
32
|
+
Enabled: false
|
33
|
+
|
34
|
+
Style/EmptyCaseCondition:
|
35
|
+
Enabled: false
|
36
|
+
|
37
|
+
Style/Encoding:
|
38
|
+
EnforcedStyle: when_needed
|
39
|
+
|
40
|
+
Style/HashSyntax:
|
41
|
+
EnforcedStyle: hash_rockets
|
42
|
+
|
43
|
+
Style/IfUnlessModifier:
|
44
|
+
MaxLineLength: 40
|
45
|
+
|
46
|
+
Style/IndentHash:
|
47
|
+
EnforcedStyle: consistent
|
48
|
+
|
49
|
+
Style/MultilineBlockChain:
|
50
|
+
Enabled: false
|
51
|
+
|
52
|
+
Style/PercentLiteralDelimiters:
|
53
|
+
PreferredDelimiters:
|
54
|
+
'%w': '[]'
|
55
|
+
'%W': '[]'
|
56
|
+
|
57
|
+
Style/Semicolon:
|
58
|
+
AllowAsExpressionSeparator: true
|
59
|
+
|
60
|
+
Style/SignalException:
|
61
|
+
EnforcedStyle: semantic
|
62
|
+
|
63
|
+
Style/SpaceBeforeBlockBraces:
|
64
|
+
EnforcedStyle: no_space
|
65
|
+
|
66
|
+
Style/SpaceInsideHashLiteralBraces:
|
67
|
+
EnforcedStyle: no_space
|
68
|
+
|
69
|
+
Style/SpecialGlobalVars:
|
70
|
+
Enabled: false
|
71
|
+
|
72
|
+
Style/SymbolArray:
|
73
|
+
Enabled: false
|
74
|
+
|
75
|
+
Style/TrailingCommaInArguments:
|
76
|
+
EnforcedStyleForMultiline: no_comma
|
77
|
+
|
78
|
+
Style/TrailingCommaInLiteral:
|
79
|
+
EnforcedStyleForMultiline: comma
|
data/.travis.yml
ADDED
@@ -0,0 +1,35 @@
|
|
1
|
+
sudo: false
|
2
|
+
language: ruby
|
3
|
+
rvm:
|
4
|
+
- '1.8.7-p371'
|
5
|
+
- '1.9.3-p551'
|
6
|
+
- '2.0.0-p648'
|
7
|
+
- '2.1.10'
|
8
|
+
- '2.2.7'
|
9
|
+
- '2.3.4'
|
10
|
+
- '2.4.1'
|
11
|
+
- 'jruby-1.7.26'
|
12
|
+
- 'jruby-9.0.5.0'
|
13
|
+
- 'jruby-9.1.5.0'
|
14
|
+
script:
|
15
|
+
- make test
|
16
|
+
- bundle exec image_optim --info
|
17
|
+
- bundle exec rspec
|
18
|
+
before_install:
|
19
|
+
if [ $TRAVIS_OS_NAME == osx ]; then brew update && brew install imagemagick; fi
|
20
|
+
matrix:
|
21
|
+
include:
|
22
|
+
- dist: trusty
|
23
|
+
rvm: default
|
24
|
+
- os: osx
|
25
|
+
rvm: default
|
26
|
+
osx_image: xcode7.3
|
27
|
+
- os: osx
|
28
|
+
rvm: default
|
29
|
+
osx_image: xcode8.3
|
30
|
+
- env: RUBOCOP=✓
|
31
|
+
rvm: '2.4.1'
|
32
|
+
script: bundle exec rubocop
|
33
|
+
- env: CHECK_RUBIES=✓
|
34
|
+
rvm: '2.4.1'
|
35
|
+
script: bundle exec travis_check_rubies
|
data/CHANGELOG.markdown
ADDED
@@ -0,0 +1,210 @@
|
|
1
|
+
# ChangeLog
|
2
|
+
|
3
|
+
## unreleased
|
4
|
+
|
5
|
+
## v0.5.0 (2017-05-06)
|
6
|
+
|
7
|
+
* Add gemspec for each platform to also release per platform gems [@toy](https://github.com/toy)
|
8
|
+
|
9
|
+
## v0.4.0 (2017-04-26)
|
10
|
+
|
11
|
+
* pngquant 2.9.1 [@toy](https://github.com/toy)
|
12
|
+
* Rebuild all binaries [@toy](https://github.com/toy)
|
13
|
+
* Update freebsd box definition to 10.3 [@toy](https://github.com/toy)
|
14
|
+
* Switching to ubuntu for linux as centos has outdated gcc, remove centos boxes definitions [@toy](https://github.com/toy)
|
15
|
+
* Fix pngcrush makefile variable overrides [@toy](https://github.com/toy)
|
16
|
+
* Allow custom structure of projects in Makefile which doesn't allow to put resulting binary in the root folder [@toy](https://github.com/toy)
|
17
|
+
|
18
|
+
## v0.3.1.20170318 (2017-03-18)
|
19
|
+
|
20
|
+
* libpng 1.6.29 [@toy](https://github.com/toy)
|
21
|
+
|
22
|
+
## v0.3.1.20170311 (2017-03-11)
|
23
|
+
|
24
|
+
* pngquant 2.9.0 [@toy](https://github.com/toy)
|
25
|
+
|
26
|
+
## v0.3.1.20170121 (2017-01-21)
|
27
|
+
|
28
|
+
* libpng 1.6.28, libz 1.2.11 and pngcrush 1.8.11 [@toy](https://github.com/toy)
|
29
|
+
|
30
|
+
## v0.3.1 (2016-12-30)
|
31
|
+
|
32
|
+
* libpng 1.6.27 and pngquant 2.8.2 [@toy](https://github.com/toy)
|
33
|
+
* Makefile cleanup [@toy](https://github.com/toy)
|
34
|
+
|
35
|
+
## v0.3.0.20161206 (2016-12-06)
|
36
|
+
|
37
|
+
* pngquant 2.8.1 (resort to cloning due to submodule not in archive) [@toy](https://github.com/toy)
|
38
|
+
* advpng 1.23 [@toy](https://github.com/toy)
|
39
|
+
* advpng 1.22 (windows related change) [@toy](https://github.com/toy)
|
40
|
+
|
41
|
+
## v0.3.0.20161108 (2016-11-08)
|
42
|
+
|
43
|
+
* advpng 1.21 [@toy](https://github.com/toy)
|
44
|
+
* pngcrush 1.8.10 [@toy](https://github.com/toy)
|
45
|
+
|
46
|
+
## v0.3.0.20161021 (2016-10-21)
|
47
|
+
|
48
|
+
* libpng 1.6.26 [@toy](https://github.com/toy)
|
49
|
+
* pngcrush 1.8.8 [@toy](https://github.com/toy)
|
50
|
+
|
51
|
+
## v0.3.0.20160927 (2016-09-27)
|
52
|
+
|
53
|
+
* pngcrush 1.8.7 [@toy](https://github.com/toy)
|
54
|
+
|
55
|
+
## v0.3.0.20160905 (2016-09-05)
|
56
|
+
|
57
|
+
* libpng 1.6.25 and pngcrush 1.8.6 [@toy](https://github.com/toy)
|
58
|
+
* jpegoptim 1.4.4 [@toy](https://github.com/toy)
|
59
|
+
|
60
|
+
## v0.3.0.20160812 (2016-08-12)
|
61
|
+
|
62
|
+
* pngcrush 1.8.4 [@toy](https://github.com/toy)
|
63
|
+
|
64
|
+
## v0.3.0.20160806 (2016-08-06)
|
65
|
+
|
66
|
+
* libpng 1.6.24 [@toy](https://github.com/toy)
|
67
|
+
|
68
|
+
## v0.3.0 (2016-07-27)
|
69
|
+
|
70
|
+
* Add FreeBSD and OpenBSD binaries [toy/image_optim#89](https://github.com/toy/image_optim/issues/89) [toy/image_optim#90](https://github.com/toy/image_optim/issues/90) [@toy](https://github.com/toy)
|
71
|
+
* Flatten vendor paths from os/arch to os-arch [@toy](https://github.com/toy)
|
72
|
+
* Add script for build build boxes using veewee [@toy](https://github.com/toy)
|
73
|
+
* pngcrush 1.8.2 [@toy](https://github.com/toy)
|
74
|
+
|
75
|
+
## v0.2.3 (2016-07-09)
|
76
|
+
|
77
|
+
* Change dependency on fspath to allow versions 2.1...4 [@toy](https://github.com/toy)
|
78
|
+
|
79
|
+
## v0.2.2 (2016-07-09)
|
80
|
+
|
81
|
+
* advancecomp 1.20 [@toy](https://github.com/toy)
|
82
|
+
* Rescue `Errno::ENOENT` on load when uname is not available [@toy](https://github.com/toy)
|
83
|
+
|
84
|
+
## v0.2.1.20160610 (2016-06-10)
|
85
|
+
|
86
|
+
* libpng 1.6.23 and pngquant 2.7.1 [@toy](https://github.com/toy)
|
87
|
+
|
88
|
+
## v0.2.1.20160510 (2016-05-10)
|
89
|
+
|
90
|
+
* pngquant 2.7.0 [@toy](https://github.com/toy)
|
91
|
+
|
92
|
+
## v0.2.1.20160413 (2016-04-13)
|
93
|
+
|
94
|
+
* pngcrush 1.8.1 [@toy](https://github.com/toy)
|
95
|
+
|
96
|
+
## v0.2.1.20160406 (2016-04-06)
|
97
|
+
|
98
|
+
* optipng 0.7.6 [@toy](https://github.com/toy)
|
99
|
+
|
100
|
+
## v0.2.1.20160221 (2016-02-21)
|
101
|
+
|
102
|
+
* pngquant 2.6.0 [@toy](https://github.com/toy)
|
103
|
+
|
104
|
+
## v0.2.1.20160119 (2016-01-19)
|
105
|
+
|
106
|
+
* libjpeg 9b [@toy](https://github.com/toy)
|
107
|
+
|
108
|
+
## v0.2.1.20160117 (2016-01-17)
|
109
|
+
|
110
|
+
* pngcrush 1.8.0 [@toy](https://github.com/toy)
|
111
|
+
* libpng 1.6.21 [@toy](https://github.com/toy)
|
112
|
+
|
113
|
+
## v0.2.1.20160103 (2016-01-03)
|
114
|
+
|
115
|
+
* libpng 1.6.20 and pngcrush 1.7.92 [@toy](https://github.com/toy)
|
116
|
+
|
117
|
+
## v0.2.1.20151113 (2015-11-13)
|
118
|
+
|
119
|
+
* libpng 1.6.19 and pngcrush 1.7.88 [@toy](https://github.com/toy)
|
120
|
+
|
121
|
+
## v0.2.1.20151012 (2015-10-12)
|
122
|
+
|
123
|
+
* pngcrush 1.7.87 [@toy](https://github.com/toy)
|
124
|
+
|
125
|
+
## v0.2.1.20151002 (2015-10-02)
|
126
|
+
|
127
|
+
* pngquant 2.5.2 [@toy](https://github.com/toy)
|
128
|
+
|
129
|
+
## v0.2.1.20150808 (2015-08-08)
|
130
|
+
|
131
|
+
* pngquant 2.5.1 [@toy](https://github.com/toy)
|
132
|
+
|
133
|
+
## v0.2.1.20150802 (2015-08-02)
|
134
|
+
|
135
|
+
* libpng 1.6.18 and pngcrush 1.7.86 [@toy](https://github.com/toy)
|
136
|
+
|
137
|
+
## v0.2.1.20150702 (2015-07-02)
|
138
|
+
|
139
|
+
* gifsicle 1.88 and pngquant 2.5.0 [@toy](https://github.com/toy)
|
140
|
+
|
141
|
+
## v0.2.1.20150525 (2015-05-25)
|
142
|
+
|
143
|
+
* jpegoptim 1.4.2 and libmozjpeg 3.1 [@toy](https://github.com/toy)
|
144
|
+
|
145
|
+
## v0.2.1.20150422 (2015-04-22)
|
146
|
+
|
147
|
+
* jpegarchive 2.1.1 [@toy](https://github.com/toy)
|
148
|
+
* pngquant 2.4.1 [@toy](https://github.com/toy)
|
149
|
+
|
150
|
+
## v0.2.1.20150411 (2015-04-11)
|
151
|
+
|
152
|
+
* jpegarchive 2.1.0 using libmozjpeg 3.0 [@toy](https://github.com/toy)
|
153
|
+
|
154
|
+
## v0.2.1.20150407 (2015-04-07)
|
155
|
+
|
156
|
+
* pngquant 2.3.6 [@toy](https://github.com/toy)
|
157
|
+
|
158
|
+
## v0.2.1.20150327 (2015-03-27)
|
159
|
+
|
160
|
+
* libpng 1.6.17 [@toy](https://github.com/toy)
|
161
|
+
|
162
|
+
## v0.2.1.20150310 (2015-03-10)
|
163
|
+
|
164
|
+
* pngcrush 1.7.85 and pngquant 2.3.5 [@toy](https://github.com/toy)
|
165
|
+
|
166
|
+
## v0.2.1.20150305 (2015-03-05)
|
167
|
+
|
168
|
+
* pngcrush 1.7.84 [@toy](https://github.com/toy)
|
169
|
+
|
170
|
+
## v0.2.1.20150203 (2015-02-03)
|
171
|
+
|
172
|
+
* jhead 3.00 [@toy](https://github.com/toy)
|
173
|
+
|
174
|
+
## v0.2.1.20150201 (2015-02-01)
|
175
|
+
|
176
|
+
* pngquant 2.3.4 [@toy](https://github.com/toy)
|
177
|
+
|
178
|
+
## v0.2.1.20150129 (2015-01-29)
|
179
|
+
|
180
|
+
* pngcrush 1.7.83 [@toy](https://github.com/toy)
|
181
|
+
|
182
|
+
## v0.2.1.20150107 (2015-01-07)
|
183
|
+
|
184
|
+
* pngquant 2.3.3 (2.3.2 skipped due to [pornel/pngquant#133](https://github.com/pornel/pngquant/issues/133)) [@toy](https://github.com/toy)
|
185
|
+
|
186
|
+
## v0.2.1 (2014-12-23)
|
187
|
+
|
188
|
+
* jpegoptim 1.4.1, libpng 1.6.16, pngcrush 1.7.82 [@toy](https://github.com/toy)
|
189
|
+
|
190
|
+
## v0.2.0.20141210 (2014-12-10)
|
191
|
+
|
192
|
+
* gifsicle 1.87 [@toy](https://github.com/toy)
|
193
|
+
|
194
|
+
## v0.2.0.20141122 (2014-11-22)
|
195
|
+
|
196
|
+
* libpng 1.6.15 [@toy](https://github.com/toy)
|
197
|
+
* pngcrush 1.7.81 [@toy](https://github.com/toy)
|
198
|
+
* pngcrush 1.7.80 [@toy](https://github.com/toy)
|
199
|
+
|
200
|
+
## v0.2.0 (2014-11-08)
|
201
|
+
|
202
|
+
* Add `jpeg-recompress` from [jpeg-archive](https://github.com/danielgtaylor/jpeg-archive) [@toy](https://github.com/toy)
|
203
|
+
|
204
|
+
## v0.1.0.20141104 (2014-11-04)
|
205
|
+
|
206
|
+
* pngcrush 1.7.79 [@toy](https://github.com/toy)
|
207
|
+
|
208
|
+
## v0.1.0 (2014-11-01)
|
209
|
+
|
210
|
+
* Initial release [@toy](https://github.com/toy)
|
data/Gemfile
ADDED
data/LICENSE.txt
ADDED
@@ -0,0 +1,27 @@
|
|
1
|
+
Copyright (c) 2014-2017 Ivan Kuchin
|
2
|
+
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
4
|
+
a copy of this software and associated documentation files (the
|
5
|
+
"Software"), to deal in the Software without restriction, including
|
6
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
7
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
8
|
+
permit persons to whom the Software is furnished to do so, subject to
|
9
|
+
the following conditions:
|
10
|
+
|
11
|
+
The above copyright notice and this permission notice shall be
|
12
|
+
included in all copies or substantial portions of the Software.
|
13
|
+
|
14
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
15
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
16
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
17
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
18
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
19
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
20
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
21
|
+
|
22
|
+
======================================================================
|
23
|
+
|
24
|
+
All binaries and libraries in vendor directory are written by
|
25
|
+
different authors. References can be found in README.markdown.
|
26
|
+
COPYRIGHTS, DISCLAIMERS, LICENSES and NOTES can be found in
|
27
|
+
acknowledgements directory.
|