image_optim_pack 0.2.1.20160119 → 0.2.1.20160221

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- ODZiYjQwYTI0NjcxYTMzZjNkMzkwY2U4OTAwY2VmZTA2MTBkN2E3Mg==
4
+ M2ZkNWZmYzk1NjRlOGYwMTlhYmMyNWI1NTdjYzhkOWVmZDk3NWM1Mg==
5
5
  data.tar.gz: !binary |-
6
- NTY5OGJlMWRlNDM4N2Q5MGViNzNjZjZiZDY2YWZmYWVjNWZhZTkxMg==
6
+ ZDI5ODcwNjMzM2ZiMWFkN2RlM2NhNjhjYzU5MzRkMDAzMjQxMGMyZA==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- ZWIxOWQwNTY3OGU3ZmVmZWM1ZDgwY2Y5YTkwMzlmYmI0YjEwMGJhZTMxMzJm
10
- NGM2MzdmMDE1MDBjN2FiZTM1MGQ3ZjBkYWRjZmVkMjZjY2ViMzNmMDFkZTA4
11
- ZmExZTJiMGFhYmZmNjczZTAwODYyMDVhMDliOTg5ZTg2MDRlYTE=
9
+ MjMyNmQ0YmJiZDBlODlhNGE3OGIxNDhhMmEwNmE5MzE5NzlkZmQxM2M2NmZm
10
+ NDExZGRkYmViNjQ4ZWI1MmUxOTk3NTQ2YTNlYzYwYjIxODk1YTYzNmNhYjVl
11
+ YmJiMjc0ZWU1MDEzYzQxYTVlMDAxMGZhNWUzNjk2Y2UwYzBjMWI=
12
12
  data.tar.gz: !binary |-
13
- ZTg2Y2YzMGM3NjQ5MGUzOWIzNWM3MDc2MjkxZjI2ZjBjMWY5ZDk3YmMyOTc5
14
- Y2M3YjI5OWExOTVhYjlhMGY5NDA1ZTZiMmEzZWIxMzU1NjE0NzJlOTFlODli
15
- NjBlMzZjNjNhZjMwNDliZDg1ZTRlNWJkYzE3OWRlZWEzNzcyN2M=
13
+ NzlkNjRiYjcxMWExNmJlYmMxNzM0ODFmYmUzMmE4NTg2NjJkNzhkNGZkZmJl
14
+ OTdmZjE5ODY3MGY1NjExYjA2NjhhOGJiMTg0YzQ1ODQ0OGE4ZmExYjhkNmNh
15
+ NWM4ZWE0YzUxNWUxOGM0ZGFlZjZjZjNlZjBjZGY3NWE1MjFjNGI=
data/.rubocop.yml CHANGED
@@ -41,6 +41,9 @@ Style/PercentLiteralDelimiters:
41
41
  Style/Semicolon:
42
42
  AllowAsExpressionSeparator: true
43
43
 
44
+ Style/SignalException:
45
+ EnforcedStyle: semantic
46
+
44
47
  Style/SpaceBeforeBlockBraces:
45
48
  EnforcedStyle: no_space
46
49
 
data/Makefile CHANGED
@@ -13,7 +13,7 @@ LIBPNG_VER := 1.6.21
13
13
  LIBZ_VER := 1.2.8
14
14
  OPTIPNG_VER := 0.7.5
15
15
  PNGCRUSH_VER := 1.8.0
16
- PNGQUANT_VER := 2.5.2
16
+ PNGQUANT_VER := 2.6.0
17
17
 
18
18
  # ====== CONSTANTS ======
19
19
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = 'image_optim_pack'
5
- s.version = '0.2.1.20160119'
5
+ s.version = '0.2.1.20160221'
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']
data/script/livecheck CHANGED
@@ -35,7 +35,7 @@ current_version = ARGV[1] && version(ARGV[1])
35
35
 
36
36
  data = get(url)
37
37
  versions = data.scan(version_regex).uniq.map{ |match| version(match[0]) }
38
- abort "No versions found for #{name}" if versions.empty?
38
+ abort "No versions found for #{name} in data:\n#{data}" if versions.empty?
39
39
 
40
40
  latest_version = versions.max
41
41
  case
@@ -52,16 +52,16 @@ end
52
52
 
53
53
  __END__
54
54
  advancecomp:
55
- url: http://sourceforge.net/projects/advancemame/rss?path=/advancecomp
55
+ url: https://sourceforge.net/projects/advancemame/rss?path=/advancecomp
56
56
  regexp: /advancecomp/(\d+(?:\.\d+)*)/
57
57
  gifsicle:
58
- url: http://www.lcdf.org/gifsicle/
58
+ url: https://www.lcdf.org/gifsicle/
59
59
  regexp: gifsicle-(\d+(?:\.\d+)*)\.tar\.gz
60
60
  jhead:
61
61
  url: http://www.sentex.net/~mwandel/jhead/
62
62
  regexp: jhead-(\d+(?:\.\d+)*)
63
63
  jpegoptim:
64
- url: http://www.kokkonen.net/tjko/src/
64
+ url: https://www.kokkonen.net/tjko/src/
65
65
  regexp: jpegoptim-(\d+(?:\.\d+)*)
66
66
  jpegarchive:
67
67
  url: https://github.com/danielgtaylor/jpeg-archive/releases.atom
@@ -73,16 +73,16 @@ libmozjpeg:
73
73
  url: https://github.com/mozilla/mozjpeg/releases.atom
74
74
  regexp: <title>mozjpeg v(\d+(?:\.\d+)*)</title>
75
75
  libpng:
76
- url: http://sourceforge.net/projects/libpng/rss
76
+ url: https://sourceforge.net/projects/libpng/rss
77
77
  regexp: /libpng\d*/(\d+(?:\.\d+)*)/
78
78
  libz:
79
- url: http://sourceforge.net/projects/libpng/rss?path=/zlib
79
+ url: https://sourceforge.net/projects/libpng/rss?path=/zlib
80
80
  regexp: /zlib/(\d+(?:\.\d+)*)/
81
81
  optipng:
82
- url: http://sourceforge.net/projects/optipng/rss
82
+ url: https://sourceforge.net/projects/optipng/rss
83
83
  regexp: /OptiPNG/optipng-(\d+(?:\.\d+)*)/
84
84
  pngcrush:
85
- url: http://sourceforge.net/projects/pmt/rss?path=/pngcrush
85
+ url: https://sourceforge.net/projects/pmt/rss?path=/pngcrush
86
86
  regexp: /pngcrush/(\d+(?:\.\d+)*)/
87
87
  pngquant:
88
88
  url: https://github.com/pornel/pngquant/releases.atom
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.2.1.20160119
4
+ version: 0.2.1.20160221
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ivan Kuchin
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-01-19 00:00:00.000000000 Z
11
+ date: 2016-02-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: image_optim