image_optim_pack 0.5.3-x86-freebsd → 0.5.5-x86-freebsd
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.markdown +8 -0
- data/image_optim_pack-darwin-x86.gemspec +1 -1
- data/image_optim_pack-darwin-x86_64.gemspec +1 -1
- data/image_optim_pack-fake-x42.gemspec +3 -0
- data/image_optim_pack-freebsd-amd64.gemspec +1 -1
- data/image_optim_pack-freebsd-x86.gemspec +1 -1
- data/image_optim_pack-linux-x86.gemspec +1 -1
- data/image_optim_pack-linux-x86_64.gemspec +1 -1
- data/image_optim_pack-openbsd-x86.gemspec +1 -1
- data/image_optim_pack-openbsd-x86_64.gemspec +1 -1
- data/image_optim_pack.gemspec +25 -13
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ed9241528bb7bc834237ac95fc87a2613781f693ad5668c77663e7efdfa759fd
|
4
|
+
data.tar.gz: c506d4cf44a4438876e1177e5502882cf0d23aa7716e5c5b486cbf06d5db9d2c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 56e190dc32813a8184cd21b904f61dcb2f46908008177cdb112b8b76952c5b0a84e4aa42b87946d04de35f6dafa9d10efba0e7e70a0dacbfa8116997e7f29216
|
7
|
+
data.tar.gz: b7247029e5b7d87476edfb7eed4f2eed5048fa0430aa25d980e3e2be3781dea4b844831df0c54eb604685d6784e8396733d36fa3847674018f9ed4531aee6573
|
data/CHANGELOG.markdown
CHANGED
@@ -2,6 +2,14 @@
|
|
2
2
|
|
3
3
|
## unreleased
|
4
4
|
|
5
|
+
## v0.5.5 (2019-07-14)
|
6
|
+
|
7
|
+
* Fix specifying platform in gemspec for platform specific gems [@toy](https://github.com/toy)
|
8
|
+
|
9
|
+
## v0.5.4 (2019-07-14)
|
10
|
+
|
11
|
+
* Remove deprecated `rubyforge_project` attribute from gemspec [rubygems/rubygems#2436](https://github.com/rubygems/rubygems/pull/2436) [@toy](https://github.com/toy)
|
12
|
+
|
5
13
|
## v0.5.3 (2019-05-25)
|
6
14
|
|
7
15
|
* pngquant 2.12.3 [@toy](https://github.com/toy)
|
data/image_optim_pack.gemspec
CHANGED
@@ -2,14 +2,12 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = 'image_optim_pack'
|
5
|
-
s.version = '0.5.
|
5
|
+
s.version = '0.5.5'
|
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']
|
9
9
|
s.license = 'MIT'
|
10
10
|
|
11
|
-
s.rubyforge_project = s.name
|
12
|
-
|
13
11
|
s.metadata = {
|
14
12
|
'bug_tracker_uri' => "https://github.com/toy/#{s.name}/issues",
|
15
13
|
'changelog_uri' => "https://github.com/toy/#{s.name}/blob/master/CHANGELOG.markdown",
|
@@ -18,17 +16,31 @@ Gem::Specification.new do |s|
|
|
18
16
|
}
|
19
17
|
|
20
18
|
s.files = `git ls-files`.split("\n")
|
21
|
-
if defined?(
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
19
|
+
if defined?(gemspec_path)
|
20
|
+
gem_os, gem_cpu = File.basename(gemspec_path, File.extname(gemspec_path)).split('-').drop(1)
|
21
|
+
|
22
|
+
s.platform = Gem::Platform.new([gem_cpu, gem_os])
|
23
|
+
|
24
|
+
cpu_aliases = {
|
25
|
+
'x86' => %w[i386 i686],
|
26
|
+
'x86_64' => %w[x86_64 amd64],
|
27
|
+
}[gem_cpu] || [gem_cpu]
|
28
|
+
|
29
|
+
possible_vendor_dirs = cpu_aliases.map do |cpu_alias|
|
30
|
+
"#{gem_os}-#{cpu_alias}"
|
29
31
|
end
|
30
|
-
|
31
|
-
|
32
|
+
|
33
|
+
existing_vendor_dirs = possible_vendor_dirs.select do |vendor_dir|
|
34
|
+
File.directory?(File.join('vendor', vendor_dir))
|
35
|
+
end
|
36
|
+
|
37
|
+
vendor_dir = if existing_vendor_dirs.length == 1
|
38
|
+
existing_vendor_dirs.first
|
39
|
+
else
|
40
|
+
message = existing_vendor_dirs.empty? ? 'no vendor dir' : 'multiple vendor dirs'
|
41
|
+
fail "#{message} found for os #{gem_os} and cpu #{gem_cpu} out of: #{possible_vendor_dirs.join(', ')}"
|
42
|
+
end
|
43
|
+
|
32
44
|
s.files.reject! do |path|
|
33
45
|
parts = path.split('/')
|
34
46
|
parts[0] == 'vendor' && parts[1] != vendor_dir
|
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.
|
4
|
+
version: 0.5.5
|
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: 2019-
|
11
|
+
date: 2019-07-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: image_optim
|
@@ -130,6 +130,7 @@ files:
|
|
130
130
|
- checksums.mk
|
131
131
|
- image_optim_pack-darwin-x86.gemspec
|
132
132
|
- image_optim_pack-darwin-x86_64.gemspec
|
133
|
+
- image_optim_pack-fake-x42.gemspec
|
133
134
|
- image_optim_pack-freebsd-amd64.gemspec
|
134
135
|
- image_optim_pack-freebsd-x86.gemspec
|
135
136
|
- image_optim_pack-linux-x86.gemspec
|
@@ -163,7 +164,7 @@ licenses:
|
|
163
164
|
metadata:
|
164
165
|
bug_tracker_uri: https://github.com/toy/image_optim_pack/issues
|
165
166
|
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.
|
167
|
+
documentation_uri: https://www.rubydoc.info/gems/image_optim_pack/0.5.5
|
167
168
|
source_code_uri: https://github.com/toy/image_optim_pack
|
168
169
|
post_install_message:
|
169
170
|
rdoc_options: []
|