image_optim_pack 0.5.1-x86-freebsd → 0.5.1.20181208-x86-freebsd
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +3 -0
- data/.travis.yml +5 -5
- data/CHANGELOG.markdown +6 -0
- data/Makefile +11 -16
- data/README.markdown +1 -1
- data/boxes/Rakefile +2 -0
- data/checksums.mk +12 -0
- data/image_optim_pack.gemspec +10 -3
- data/script/livecheck +4 -3
- data/script/platform_downloads +2 -0
- data/script/run +1 -1
- data/vendor/freebsd-i386/libpng.so +0 -0
- data/vendor/freebsd-i386/optipng +0 -0
- data/vendor/freebsd-i386/pngcrush +0 -0
- data/vendor/freebsd-i386/pngquant +0 -0
- metadata +11 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e71bc9dceb1d9fba649e0b6508765f1f30b186313e41539b4e6f86bc2f73a713
|
4
|
+
data.tar.gz: 790e94b733066637bedb93e4e1260bf4f1b892cfa5ac7f80b6bbfedee48cec84
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9b72da80ba716d72de10775c13acd97199116d145d816308c56a2ff8e6f926af4231ab31aae16182951ef616e80dc52073a1819d21e454b460012ba9761ceed9
|
7
|
+
data.tar.gz: b9cfe602dd2085df3c13906bd8a195c74293c347f34dcc9a98e95f6fb49488e3eae501faf61cf03b8e60418a4dc8ab0695709b6d48b603d234f7e72201694138
|
data/.rubocop.yml
CHANGED
data/.travis.yml
CHANGED
@@ -6,9 +6,9 @@ rvm:
|
|
6
6
|
- '2.0.0-p648'
|
7
7
|
- '2.1.10'
|
8
8
|
- '2.2.10'
|
9
|
-
- '2.3.
|
10
|
-
- '2.4.
|
11
|
-
- '2.5.
|
9
|
+
- '2.3.8'
|
10
|
+
- '2.4.5'
|
11
|
+
- '2.5.3'
|
12
12
|
- 'jruby-9.0.5.0'
|
13
13
|
- 'jruby-9.1.9.0'
|
14
14
|
script:
|
@@ -34,8 +34,8 @@ matrix:
|
|
34
34
|
rvm: default
|
35
35
|
osx_image: xcode9.3
|
36
36
|
- env: RUBOCOP=✓
|
37
|
-
rvm: '2.
|
37
|
+
rvm: '2.5.3'
|
38
38
|
script: bundle exec rubocop
|
39
39
|
- env: CHECK_RUBIES=✓
|
40
|
-
rvm: '2.
|
40
|
+
rvm: '2.5.3'
|
41
41
|
script: bundle exec travis_check_rubies
|
data/CHANGELOG.markdown
CHANGED
@@ -2,6 +2,12 @@
|
|
2
2
|
|
3
3
|
## unreleased
|
4
4
|
|
5
|
+
## v0.5.1.20181208 (2018-12-08)
|
6
|
+
|
7
|
+
* libpng 1.6.36 [@toy](https://github.com/toy)
|
8
|
+
* pngquant 2.12.2 [@toy](https://github.com/toy)
|
9
|
+
* libpng 1.6.35 [@toy](https://github.com/toy)
|
10
|
+
|
5
11
|
## v0.5.1 (2018-06-10)
|
6
12
|
|
7
13
|
* Switching back to centos (6.9) for linux to use more widely compatible glibc during compilation [#12](https://github.com/toy/image_optim_pack/issues/12) [@toy](https://github.com/toy)
|
data/Makefile
CHANGED
@@ -9,26 +9,15 @@ JPEGARCHIVE_VER := 2.1.1
|
|
9
9
|
JPEGOPTIM_VER := 1.4.6
|
10
10
|
LIBJPEG_VER := 9c
|
11
11
|
LIBMOZJPEG_VER := 3.1
|
12
|
-
LIBPNG_VER := 1.6.
|
12
|
+
LIBPNG_VER := 1.6.36
|
13
13
|
LIBZ_VER := 1.2.11
|
14
14
|
OPTIPNG_VER := 0.7.7
|
15
15
|
PNGCRUSH_VER := 1.8.13
|
16
|
-
PNGQUANT_VER := 2.12.
|
16
|
+
PNGQUANT_VER := 2.12.2
|
17
17
|
|
18
18
|
# ====== CHECKSUMS ======
|
19
19
|
|
20
|
-
|
21
|
-
GIFSICLE_SHA256 := 0a4ee602aa244cdcdd86a250a6b39c94d8343cf526b8fae862d8a0efc337a800
|
22
|
-
JHEAD_SHA256 := 88cc01da018e242fe2e05db73f91b6288106858dd70f27506c4989a575d2895e
|
23
|
-
JPEGARCHIVE_SHA256 := 494534f5308f99743f11f3a7c151a8d5ca8a5f1f8b61ea119098511d401bc618
|
24
|
-
JPEGOPTIM_SHA256 := 88b1eb64c2a33a2f013f068df8b0331f42c019267401ae3fa28e3277403a5ab7
|
25
|
-
LIBJPEG_SHA256 := 650250979303a649e21f87b5ccd02672af1ea6954b911342ea491f351ceb7122
|
26
|
-
LIBMOZJPEG_SHA256 := 11823198f3c677b1832fa2dcf702e458f70c959661c4bec9c8922b7c36e94739
|
27
|
-
LIBPNG_SHA256 := 574623a4901a9969080ab4a2df9437026c8a87150dfd5c235e28c94b212964a7
|
28
|
-
LIBZ_SHA256 := c3e5e9fdd5004dcb542feda5ee4f0ff0744628baf8ed2dd5d66f8ca1197cb1a1
|
29
|
-
OPTIPNG_SHA256 := 4f32f233cef870b3f95d3ad6428bfe4224ef34908f1b42b0badf858216654452
|
30
|
-
PNGCRUSH_SHA256 := fed0aaf5c098aa8c7f78c75365cd18d7341417326ecbdba547876b7b4f3df4be
|
31
|
-
PNGQUANT_SHA256 := 0e540c64bb58c05f2a05b4eaf1d3d165f0d3278500f15abfeac47f93f8fa8fa8
|
20
|
+
include checksums.mk
|
32
21
|
|
33
22
|
# ====== CONSTANTS ======
|
34
23
|
|
@@ -119,7 +108,11 @@ checksum : download
|
|
119
108
|
|
120
109
|
checksum-verify : download
|
121
110
|
@printf '%s %s\n' $(foreach archive,$(ARCHIVES),$($(archive)_SHA256) $($(archive)_TGZ)) | $(sha256sum) -c
|
122
|
-
.PHONY : checksum
|
111
|
+
.PHONY : checksum-verify
|
112
|
+
|
113
|
+
checksum-update : download
|
114
|
+
@printf '%s := %s\n' $(foreach archive,$(ARCHIVES),$(archive)_SHA256 $(shell $(sha256sum) $($(archive)_TGZ) | cut -d ' ' -f 1)) > checksums.mk
|
115
|
+
.PHONY : checksum-update
|
123
116
|
|
124
117
|
# ====== PRODUCTS ======
|
125
118
|
|
@@ -252,7 +245,9 @@ test :
|
|
252
245
|
livecheck :; @script/livecheck
|
253
246
|
.PHONY : livecheck
|
254
247
|
|
255
|
-
update-versions
|
248
|
+
update-versions :
|
249
|
+
script/livecheck --update
|
250
|
+
make checksum-update
|
256
251
|
.PHONY : update-versions
|
257
252
|
|
258
253
|
# ====== CLEAN ======
|
data/README.markdown
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
[![Gem Version](https://img.shields.io/gem/v/image_optim_pack.svg?style=flat)](https://rubygems.org/gems/image_optim_pack)
|
2
2
|
[![Build Status](https://img.shields.io/travis/toy/image_optim_pack/master.svg?style=flat)](https://travis-ci.org/toy/image_optim_pack)
|
3
3
|
[![Code Climate](https://img.shields.io/codeclimate/maintainability/toy/image_optim_pack.svg?style=flat)](https://codeclimate.com/github/toy/image_optim_pack)
|
4
|
-
[![
|
4
|
+
[![Depfu](https://badges.depfu.com/badges/bf227ee8e4f77217ae440955acfadde0/overview.svg)](https://depfu.com/github/toy/image_optim_pack)
|
5
5
|
[![Inch CI](https://inch-ci.org/github/toy/image_optim_pack.svg?branch=master&style=flat)](https://inch-ci.org/github/toy/image_optim_pack)
|
6
6
|
|
7
7
|
# image\_optim\_pack
|
data/boxes/Rakefile
CHANGED
@@ -7,6 +7,7 @@ require 'progress'
|
|
7
7
|
class BodyProgress # :nodoc:
|
8
8
|
def initialize(path, &block)
|
9
9
|
fail ArgumentError, 'block required' unless block
|
10
|
+
|
10
11
|
@io = File.open(path)
|
11
12
|
Progress.start(path, File.size(path)) do
|
12
13
|
yield self
|
@@ -94,6 +95,7 @@ end
|
|
94
95
|
task :atlas => :dotenv do
|
95
96
|
token = ENV['ATLAS_TOKEN'].to_s
|
96
97
|
fail 'ATLAS_TOKEN missing' if token.empty?
|
98
|
+
|
97
99
|
Atlas.configure do |config|
|
98
100
|
config.access_token = token
|
99
101
|
end
|
data/checksums.mk
ADDED
@@ -0,0 +1,12 @@
|
|
1
|
+
ADVANCECOMP_SHA256 := 3ac0875e86a8517011976f04107186d5c60d434954078bc502ee731480933eb8
|
2
|
+
GIFSICLE_SHA256 := 0a4ee602aa244cdcdd86a250a6b39c94d8343cf526b8fae862d8a0efc337a800
|
3
|
+
JHEAD_SHA256 := 88cc01da018e242fe2e05db73f91b6288106858dd70f27506c4989a575d2895e
|
4
|
+
JPEGARCHIVE_SHA256 := 494534f5308f99743f11f3a7c151a8d5ca8a5f1f8b61ea119098511d401bc618
|
5
|
+
JPEGOPTIM_SHA256 := 88b1eb64c2a33a2f013f068df8b0331f42c019267401ae3fa28e3277403a5ab7
|
6
|
+
LIBJPEG_SHA256 := 650250979303a649e21f87b5ccd02672af1ea6954b911342ea491f351ceb7122
|
7
|
+
LIBMOZJPEG_SHA256 := 11823198f3c677b1832fa2dcf702e458f70c959661c4bec9c8922b7c36e94739
|
8
|
+
LIBPNG_SHA256 := ca13c548bde5fb6ff7117cc0bdab38808acb699c0eccb613f0e4697826e1fd7d
|
9
|
+
LIBZ_SHA256 := c3e5e9fdd5004dcb542feda5ee4f0ff0744628baf8ed2dd5d66f8ca1197cb1a1
|
10
|
+
OPTIPNG_SHA256 := 4f32f233cef870b3f95d3ad6428bfe4224ef34908f1b42b0badf858216654452
|
11
|
+
PNGCRUSH_SHA256 := fed0aaf5c098aa8c7f78c75365cd18d7341417326ecbdba547876b7b4f3df4be
|
12
|
+
PNGQUANT_SHA256 := bb031c48039ee73ea0e60709bb9ab80c55bfa3a5920b798ea37a03f2757b099c
|
data/image_optim_pack.gemspec
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = 'image_optim_pack'
|
5
|
-
s.version = '0.5.1'
|
5
|
+
s.version = '0.5.1.20181208'
|
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']
|
@@ -10,6 +10,13 @@ Gem::Specification.new do |s|
|
|
10
10
|
|
11
11
|
s.rubyforge_project = s.name
|
12
12
|
|
13
|
+
s.metadata = {
|
14
|
+
'bug_tracker_uri' => "https://github.com/toy/#{s.name}/issues",
|
15
|
+
'changelog_uri' => "https://github.com/toy/#{s.name}/blob/master/CHANGELOG.markdown",
|
16
|
+
'documentation_uri' => "https://www.rubydoc.info/gems/#{s.name}/#{s.version}",
|
17
|
+
'source_code_uri' => "https://github.com/toy/#{s.name}",
|
18
|
+
}
|
19
|
+
|
13
20
|
s.files = `git ls-files`.split("\n")
|
14
21
|
if defined?(gem_platform)
|
15
22
|
s.platform = gem_platform
|
@@ -35,7 +42,7 @@ Gem::Specification.new do |s|
|
|
35
42
|
s.add_dependency 'fspath', '>= 2.1', '< 4'
|
36
43
|
|
37
44
|
s.add_development_dependency 'rspec', '~> 3.0'
|
38
|
-
if RUBY_VERSION >= '2.
|
39
|
-
s.add_development_dependency 'rubocop', '~> 0.
|
45
|
+
if RUBY_VERSION >= '2.2'
|
46
|
+
s.add_development_dependency 'rubocop', '~> 0.59'
|
40
47
|
end
|
41
48
|
end
|
data/script/livecheck
CHANGED
@@ -11,7 +11,7 @@ require 'fspath'
|
|
11
11
|
class Livecheck
|
12
12
|
# Commands
|
13
13
|
class Cli
|
14
|
-
VERSION_REGEXP = /^([A-Z]+)_VER *:= *(.*)
|
14
|
+
VERSION_REGEXP = /^([A-Z]+)_VER *:= *(.*)$/.freeze
|
15
15
|
|
16
16
|
def initialize(args)
|
17
17
|
@update = args.delete('--update')
|
@@ -33,6 +33,7 @@ class Livecheck
|
|
33
33
|
def dump_changes
|
34
34
|
livechecks.each do |lc|
|
35
35
|
next unless lc.changed?
|
36
|
+
|
36
37
|
puts "#{lc.name_n_latest_version} (current: #{lc.current_version})"
|
37
38
|
end
|
38
39
|
end
|
@@ -179,8 +180,8 @@ jhead:
|
|
179
180
|
url: http://www.sentex.net/~mwandel/jhead/
|
180
181
|
regexp: jhead-(\d+(?:\.\d+)*)
|
181
182
|
jpegoptim:
|
182
|
-
url: https://
|
183
|
-
regexp:
|
183
|
+
url: https://github.com/tjko/jpegoptim/releases.atom
|
184
|
+
regexp: <title>RELEASE.(\d+(?:\.\d+)*)</title>
|
184
185
|
jpegarchive:
|
185
186
|
url: https://github.com/danielgtaylor/jpeg-archive/releases.atom
|
186
187
|
regexp: <title>JPEG-Archive (\d+(?:\.\d+)*)</title>
|
data/script/platform_downloads
CHANGED
@@ -29,6 +29,7 @@ end
|
|
29
29
|
|
30
30
|
versions.group_by(&:number).each do |version_n, platform_versions|
|
31
31
|
next if platform_versions.length == 1
|
32
|
+
|
32
33
|
downloads_by_platform = Hash[platform_versions.map do |version|
|
33
34
|
[version.platform, version.downloads_count]
|
34
35
|
end]
|
@@ -37,6 +38,7 @@ versions.group_by(&:number).each do |version_n, platform_versions|
|
|
37
38
|
|
38
39
|
platform_values = downloads_by_platform.values_at(*platforms).map do |count|
|
39
40
|
next unless count
|
41
|
+
|
40
42
|
count == base_downloads ? '=' : format('%+d', count - base_downloads)
|
41
43
|
end
|
42
44
|
table << [
|
data/script/run
CHANGED
@@ -48,7 +48,7 @@ for vm in $(perl -pe "s/.*?'(.+?-.+?)'\s+=>\s+'.+?\/.+?'.*|.*/\$1/" Vagrantfile)
|
|
48
48
|
|
49
49
|
# rsync needed files to the box
|
50
50
|
mkdir -p vendor/$vm
|
51
|
-
rsync -e "ssh -F $ssh_config" -aR --del Makefile download vendor/$vm $vm:/vagrant
|
51
|
+
rsync -e "ssh -F $ssh_config" -aR --del Makefile checksums.mk download vendor/$vm $vm:/vagrant
|
52
52
|
|
53
53
|
# sync time and run make
|
54
54
|
ssh -F $ssh_config $vm "
|
Binary file
|
data/vendor/freebsd-i386/optipng
CHANGED
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.5.1
|
4
|
+
version: 0.5.1.20181208
|
5
5
|
platform: x86-freebsd
|
6
6
|
authors:
|
7
7
|
- Ivan Kuchin
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-12-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: image_optim
|
@@ -64,14 +64,14 @@ dependencies:
|
|
64
64
|
requirements:
|
65
65
|
- - "~>"
|
66
66
|
- !ruby/object:Gem::Version
|
67
|
-
version: '0.
|
67
|
+
version: '0.59'
|
68
68
|
type: :development
|
69
69
|
prerelease: false
|
70
70
|
version_requirements: !ruby/object:Gem::Requirement
|
71
71
|
requirements:
|
72
72
|
- - "~>"
|
73
73
|
- !ruby/object:Gem::Version
|
74
|
-
version: '0.
|
74
|
+
version: '0.59'
|
75
75
|
description:
|
76
76
|
email:
|
77
77
|
executables: []
|
@@ -127,6 +127,7 @@ files:
|
|
127
127
|
- boxes/definitions/openbsd-amd64/definition.rb
|
128
128
|
- boxes/definitions/openbsd-i386/definition.rb
|
129
129
|
- boxes/definitions/openbsd-postinstall.sh
|
130
|
+
- checksums.mk
|
130
131
|
- image_optim_pack-darwin-x86.gemspec
|
131
132
|
- image_optim_pack-darwin-x86_64.gemspec
|
132
133
|
- image_optim_pack-freebsd-amd64.gemspec
|
@@ -159,7 +160,11 @@ files:
|
|
159
160
|
homepage: http://github.com/toy/image_optim_pack
|
160
161
|
licenses:
|
161
162
|
- MIT
|
162
|
-
metadata:
|
163
|
+
metadata:
|
164
|
+
bug_tracker_uri: https://github.com/toy/image_optim_pack/issues
|
165
|
+
changelog_uri: https://github.com/toy/image_optim_pack/blob/master/CHANGELOG.markdown
|
166
|
+
documentation_uri: https://www.rubydoc.info/gems/image_optim_pack/0.5.1.20181208
|
167
|
+
source_code_uri: https://github.com/toy/image_optim_pack
|
163
168
|
post_install_message:
|
164
169
|
rdoc_options: []
|
165
170
|
require_paths:
|
@@ -176,7 +181,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
176
181
|
version: '0'
|
177
182
|
requirements: []
|
178
183
|
rubyforge_project: image_optim_pack
|
179
|
-
rubygems_version: 2.7.
|
184
|
+
rubygems_version: 2.7.8
|
180
185
|
signing_key:
|
181
186
|
specification_version: 4
|
182
187
|
summary: 'Precompiled binaries for image_optim: advpng, gifsicle, jhead, jpeg-recompress,
|