image_optim_pack 0.4.0 → 0.5.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: cb494271691e9abefb3561c371edc69c189f4a06
4
- data.tar.gz: e991e94942704825edf3381d25cb7de853400715
3
+ metadata.gz: 6004d581ce08a704484fba47c4869e517bcfeef7
4
+ data.tar.gz: e45a7681e28e3bb4b22a853f7af94326683119da
5
5
  SHA512:
6
- metadata.gz: 5fa4b7f4e40550e9042749a74788e175503bf7e7b35bfdf0094bccbb2362272a420b70afdcdfd1b9b6be0369ab58a6e40a71ade755160e0c131b9b506da71262
7
- data.tar.gz: efd70a78618bdd521ad722e17288225b520cd761142a3c8b04003f4f6989cc68296da060fdb5631fd8e64798aa52cf75f3ce32fbab4a3c91a96213237fe76875
6
+ metadata.gz: 41b0ba6e05e025a0dc8ef0299e4f0fb8be6ec73b8cdbb7940cbfe604303639934653476f025ba6237e291e08ead6aa0c64e15ef8f3c4e6534e3eeec46e884673
7
+ data.tar.gz: 34e0c02ce6f3bb70d7955d4ea3e906c72a898e654c2f7c1a58a454649717b120301996fd556a9312ab4305a093724341130a0ed739f090a6bd0d3bae7381f3fc
@@ -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 CHANGED
@@ -1,6 +1,6 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
- gemspec
3
+ gemspec :name => 'image_optim_pack'
4
4
 
5
5
  if RUBY_VERSION >= '2.0'
6
6
  gem 'travis_check_rubies', '~> 0.2'
@@ -0,0 +1,3 @@
1
+ # encoding: UTF-8
2
+
3
+ eval "gem_platform = 'x86-darwin'; #{File.read('image_optim_pack.gemspec')}"
@@ -0,0 +1,3 @@
1
+ # encoding: UTF-8
2
+
3
+ eval "gem_platform = 'x86_64-darwin'; #{File.read('image_optim_pack.gemspec')}"
@@ -0,0 +1,3 @@
1
+ # encoding: UTF-8
2
+
3
+ eval "gem_platform = 'amd64-freebsd'; #{File.read('image_optim_pack.gemspec')}"
@@ -0,0 +1,3 @@
1
+ # encoding: UTF-8
2
+
3
+ eval "gem_platform = 'x86-freebsd'; #{File.read('image_optim_pack.gemspec')}"
@@ -0,0 +1,3 @@
1
+ # encoding: UTF-8
2
+
3
+ eval "gem_platform = 'x86-linux'; #{File.read('image_optim_pack.gemspec')}"
@@ -0,0 +1,3 @@
1
+ # encoding: UTF-8
2
+
3
+ eval "gem_platform = 'x86_64-linux'; #{File.read('image_optim_pack.gemspec')}"
@@ -0,0 +1,3 @@
1
+ # encoding: UTF-8
2
+
3
+ eval "gem_platform = 'x86-openbsd'; #{File.read('image_optim_pack.gemspec')}"
@@ -0,0 +1,3 @@
1
+ # encoding: UTF-8
2
+
3
+ eval "gem_platform = 'x86_64-openbsd'; #{File.read('image_optim_pack.gemspec')}"
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = 'image_optim_pack'
5
- s.version = '0.4.0'
5
+ s.version = '0.5.0'
6
6
  s.summary = %q{Precompiled binaries for image_optim: advpng, gifsicle, jhead, jpeg-recompress, jpegoptim, jpegtran, optipng, pngcrush, pngquant}
7
7
  s.homepage = "http://github.com/toy/#{s.name}"
8
8
  s.authors = ['Ivan Kuchin']
@@ -11,6 +11,22 @@ Gem::Specification.new do |s|
11
11
  s.rubyforge_project = s.name
12
12
 
13
13
  s.files = `git ls-files`.split("\n")
14
+ if defined?(gem_platform)
15
+ s.platform = gem_platform
16
+
17
+ vendor_dir = {
18
+ 'x86-linux' => 'linux-i686',
19
+ 'x86_64-openbsd' => 'openbsd-amd64',
20
+ }[gem_platform] || begin
21
+ gem_platform.sub(/^x86-/, 'i386-').split('-').reverse.join('-')
22
+ end
23
+ vendor_path = File.join('vendor', vendor_dir)
24
+ fail "#{vendor_path} is not a dir" unless File.directory?(vendor_path)
25
+ s.files.reject! do |path|
26
+ parts = path.split('/')
27
+ parts[0] == 'vendor' && parts[1] != vendor_dir
28
+ end
29
+ end
14
30
  s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
15
31
  s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
16
32
  s.require_paths = %w[lib]
data/script/run CHANGED
@@ -36,7 +36,7 @@ for arch in i386 x86_64; do
36
36
  make $MAKE_TASK ARCH=$arch
37
37
  done
38
38
 
39
- for vm in $(perl -pe "s/.*?'(.+?-.+?)'\s+=>\s+'.+?\/.+?'.*|.*/\$1/" Vagrantfile | sort -u); do
39
+ for vm in $(perl -pe "s/.*?'(.+?-.+?)'\s+=>\s+'.+?\/.+?'.*|.*/\$1/" Vagrantfile); do
40
40
  passes-filter "$vm" || continue
41
41
  header "$vm"
42
42
 
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.0
4
+ version: 0.5.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: 2017-04-26 00:00:00.000000000 Z
11
+ date: 2017-05-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: image_optim
@@ -81,6 +81,7 @@ files:
81
81
  - ".gitignore"
82
82
  - ".rubocop.yml"
83
83
  - ".travis.yml"
84
+ - CHANGELOG.markdown
84
85
  - Gemfile
85
86
  - LICENSE.txt
86
87
  - Makefile
@@ -121,6 +122,14 @@ files:
121
122
  - boxes/definitions/openbsd-amd64/definition.rb
122
123
  - boxes/definitions/openbsd-i386/definition.rb
123
124
  - boxes/definitions/openbsd-postinstall.sh
125
+ - image_optim_pack-darwin-x86.gemspec
126
+ - image_optim_pack-darwin-x86_64.gemspec
127
+ - image_optim_pack-freebsd-amd64.gemspec
128
+ - image_optim_pack-freebsd-x86.gemspec
129
+ - image_optim_pack-linux-x86.gemspec
130
+ - image_optim_pack-linux-x86_64.gemspec
131
+ - image_optim_pack-openbsd-x86.gemspec
132
+ - image_optim_pack-openbsd-x86_64.gemspec
124
133
  - image_optim_pack.gemspec
125
134
  - lib/image_optim/pack.rb
126
135
  - lib/image_optim_pack.rb