image_optim_pack 0.5.0.20171001-x86-linux → 0.5.0.20171101-x86-linux
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +0 -3
- data/CHANGELOG.markdown +4 -0
- data/Gemfile +5 -0
- data/Makefile +1 -1
- data/image_optim_pack.gemspec +1 -1
- data/script/platform_downloads +35 -0
- data/vendor/linux-i686/pngquant +0 -0
- metadata +4 -4
- data/image_optim_pack-base_dls.gemspec +0 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dc4036f74ec314e256beffc25b72544c9d3916eb
|
4
|
+
data.tar.gz: 84286a4c9d118f531c9fe59bfe3b5d2c2c77ee95
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 44d5e900fd4855cb3c0a497461ce217ec07df4a9e3f304fb1f5715cd775b90fbc18d45b3572bf2f53db4831fa1f0bb1098abd2a80d6b93c1d745d1c16ccbd26b
|
7
|
+
data.tar.gz: 04b93ea3cf6765d5d28b68d507ec0dea404695e2db13c7c1f4e10324a07543ac1740abbd2cca3745e00d342ad0332f77bff92f12855450c3a57575f0a3b3858b
|
data/.rubocop.yml
CHANGED
data/CHANGELOG.markdown
CHANGED
data/Gemfile
CHANGED
data/Makefile
CHANGED
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.0.
|
5
|
+
s.version = '0.5.0.20171101'
|
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']
|
@@ -0,0 +1,35 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require 'gems'
|
4
|
+
require 'ostruct'
|
5
|
+
require 'terminal-table'
|
6
|
+
|
7
|
+
versions = Gems.versions('image_optim_pack').map(&OpenStruct.method(:new))
|
8
|
+
platforms = versions.map(&:platform).uniq.sort_by do |platform|
|
9
|
+
platform.sub('amd64', 'x86_64').split('-').reverse
|
10
|
+
end
|
11
|
+
|
12
|
+
$stdout << Terminal::Table.new do |table|
|
13
|
+
table.headings = %W[version base\ dls] + platforms.map do |platform|
|
14
|
+
platform.split('-').reverse.join("\n")
|
15
|
+
end
|
16
|
+
|
17
|
+
versions.group_by(&:number).each do |version_number, platform_versions|
|
18
|
+
next if platform_versions.length == 1
|
19
|
+
downloads_by_platform = Hash[platform_versions.map do |version|
|
20
|
+
[version.platform, version.downloads_count]
|
21
|
+
end]
|
22
|
+
|
23
|
+
base_downloads = platform_versions.map(&:downloads_count).min
|
24
|
+
|
25
|
+
platform_values = downloads_by_platform.values_at(*platforms).map do |count|
|
26
|
+
next unless count
|
27
|
+
count == base_downloads ? '=' : format('%+d', count - base_downloads)
|
28
|
+
end
|
29
|
+
table << [version_number, base_downloads] + platform_values
|
30
|
+
end
|
31
|
+
|
32
|
+
(1...table.number_of_columns).each do |column|
|
33
|
+
table.align_column(column, :right)
|
34
|
+
end
|
35
|
+
end << "\n"
|
data/vendor/linux-i686/pngquant
CHANGED
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.0.
|
4
|
+
version: 0.5.0.20171101
|
5
5
|
platform: x86-linux
|
6
6
|
authors:
|
7
7
|
- Ivan Kuchin
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-11-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: image_optim
|
@@ -122,7 +122,6 @@ files:
|
|
122
122
|
- boxes/definitions/openbsd-amd64/definition.rb
|
123
123
|
- boxes/definitions/openbsd-i386/definition.rb
|
124
124
|
- boxes/definitions/openbsd-postinstall.sh
|
125
|
-
- image_optim_pack-base_dls.gemspec
|
126
125
|
- image_optim_pack-darwin-x86.gemspec
|
127
126
|
- image_optim_pack-darwin-x86_64.gemspec
|
128
127
|
- image_optim_pack-freebsd-amd64.gemspec
|
@@ -135,6 +134,7 @@ files:
|
|
135
134
|
- lib/image_optim/pack.rb
|
136
135
|
- lib/image_optim_pack.rb
|
137
136
|
- script/livecheck
|
137
|
+
- script/platform_downloads
|
138
138
|
- script/run
|
139
139
|
- spec/image_optim/pack_spec.rb
|
140
140
|
- spec/image_optim_spec.rb
|
@@ -171,7 +171,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
171
171
|
version: '0'
|
172
172
|
requirements: []
|
173
173
|
rubyforge_project: image_optim_pack
|
174
|
-
rubygems_version: 2.6.
|
174
|
+
rubygems_version: 2.6.14
|
175
175
|
signing_key:
|
176
176
|
specification_version: 4
|
177
177
|
summary: 'Precompiled binaries for image_optim: advpng, gifsicle, jhead, jpeg-recompress,
|