image_optim_pack 0.5.1-amd64-freebsd → 0.5.1.20181208-amd64-freebsd

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9750b0e72eb70617fc0f42d2f57e55caa43eeba2359ddb1a4579e15d7d096654
4
- data.tar.gz: ad0f503b2687549df5ea327f30c62ab12c4bd34bfe61150eb1cb4c61f09f57c7
3
+ metadata.gz: 2003b051dda271f51e0057a9388d12e23d332cc7608209f9a734c1607fae4638
4
+ data.tar.gz: 925ef6b2e685e825e1083492d356b69c7d10247a0f3e2a9b737203ff7af6aa09
5
5
  SHA512:
6
- metadata.gz: 8aebab5daf26086bc879fdc74d868f66c1072b51201507826fa546954f6c133107b2dd920ae30b6ee7acf68e4d26c1d166d2554a2fc32435f391db8150cb62b1
7
- data.tar.gz: 3fbdf891c24d6dcaf4389322480b8ed6cdb292f498b1a429bb2d11572286bece50451abd3d00662e3aede5bbbd7a60bbe1b7a6496167ed3d8b38a6033a9f960e
6
+ metadata.gz: 2e4818fa0f40a5b9fc47deeaee00f22f8595bfc9eb39ce3e1cbe1aa52d32864aa865cdc6300e7a87905706251cb76d06619e4133898353e37e8414d0c9a61edf
7
+ data.tar.gz: 2fc14d5ebffd6035ad3b8dd0b4260f8de56ee47021fb2cc34461cd43cbe1f5c67ccecaefa94b4488775e9ee9ae7283ce100fd8e58d7ff1389a95537ffccef78c
data/.rubocop.yml CHANGED
@@ -17,6 +17,9 @@ Layout/DotPosition:
17
17
  Layout/IndentHash:
18
18
  EnforcedStyle: consistent
19
19
 
20
+ Layout/RescueEnsureAlignment:
21
+ Enabled: false
22
+
20
23
  Layout/SpaceBeforeBlockBraces:
21
24
  EnforcedStyle: no_space
22
25
 
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.7'
10
- - '2.4.4'
11
- - '2.5.1'
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.4.4'
37
+ rvm: '2.5.3'
38
38
  script: bundle exec rubocop
39
39
  - env: CHECK_RUBIES=✓
40
- rvm: '2.4.4'
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.34
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.0
16
+ PNGQUANT_VER := 2.12.2
17
17
 
18
18
  # ====== CHECKSUMS ======
19
19
 
20
- ADVANCECOMP_SHA256 := 3ac0875e86a8517011976f04107186d5c60d434954078bc502ee731480933eb8
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 :; @script/livecheck --update
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
- [![Dependency Status](https://img.shields.io/gemnasium/toy/image_optim_pack.svg?style=flat)](https://gemnasium.com/toy/image_optim_pack)
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
@@ -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.1'
39
- s.add_development_dependency 'rubocop', '~> 0.52'
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://www.kokkonen.net/tjko/src/
183
- regexp: jpegoptim-(\d+(?:\.\d+)*)
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>
@@ -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
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: amd64-freebsd
6
6
  authors:
7
7
  - Ivan Kuchin
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-06-10 00:00:00.000000000 Z
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.52'
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.52'
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.6
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,