image-optimizer 0.2.2 → 0.2.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: aa7c93168b1d940b05a52dac80eb1ff0a43bb9d2
4
+ data.tar.gz: 5ed2c077dc7b6f4903fbf1277bdedc159fe290aa
5
+ SHA512:
6
+ metadata.gz: 390d720a0fa20e3d853459ecb8f21ba01ad9281fe4439ed3a77af6d92c9eb421306f6603a8bfdb9f1b98f6c6c42e908f487ba9b3aa034f8287da5c76fc51eac2
7
+ data.tar.gz: eaa24ec7cf20e97a303539d66b8f27a542e00716d52749f961a75112b52d6bfbf12e1d101a07911c4719d61fdfc9626f79a89edb738587c95f6361fba7fe632b
data/Gemfile CHANGED
@@ -3,7 +3,6 @@ source "http://rubygems.org"
3
3
  # Example:
4
4
  gem "yaop", ">= 0.2.0"
5
5
  gem "which"
6
- gem "hash-utils", ">= 2.0.0"
7
6
 
8
7
  # Add dependencies to develop your gem here.
9
8
  # Include everything needed to run rake, tests, features, etc.
@@ -2,24 +2,57 @@ GEM
2
2
  remote: http://rubygems.org/
3
3
  specs:
4
4
  abstract (1.0.0)
5
- facade (1.0.5)
6
- git (1.2.5)
7
- hash-utils (2.0.2)
5
+ addressable (2.3.8)
6
+ builder (3.2.2)
7
+ descendants_tracker (0.0.4)
8
+ thread_safe (~> 0.3, >= 0.3.1)
9
+ facade (1.0.6)
10
+ faraday (0.9.1)
11
+ multipart-post (>= 1.2, < 3)
12
+ git (1.2.9.1)
13
+ github_api (0.12.3)
14
+ addressable (~> 2.3)
15
+ descendants_tracker (~> 0.0.4)
16
+ faraday (~> 0.8, < 0.10)
17
+ hashie (>= 3.3)
18
+ multi_json (>= 1.7.5, < 2.0)
19
+ nokogiri (~> 1.6.3)
20
+ oauth2
21
+ hash-utils (2.2.0)
8
22
  ruby-version (>= 0.4.0)
9
- jeweler (1.8.4)
10
- bundler (~> 1.0)
23
+ hashie (3.4.2)
24
+ highline (1.7.2)
25
+ jeweler (2.0.1)
26
+ builder
27
+ bundler (>= 1.0)
11
28
  git (>= 1.2.5)
29
+ github_api
30
+ highline (>= 1.6.15)
31
+ nokogiri (>= 1.5.10)
12
32
  rake
13
33
  rdoc
14
- json (1.7.5)
34
+ jwt (1.5.1)
35
+ mini_portile (0.6.2)
36
+ multi_json (1.11.2)
37
+ multi_xml (0.5.5)
38
+ multipart-post (2.0.0)
15
39
  multitype-introspection (0.2.0)
16
40
  hash-utils (>= 0.16.0)
17
- pathname2 (1.6.5)
41
+ nokogiri (1.6.6.2)
42
+ mini_portile (~> 0.6.0)
43
+ oauth2 (1.0.0)
44
+ faraday (>= 0.8, < 0.10)
45
+ jwt (~> 1.0)
46
+ multi_json (~> 1.3)
47
+ multi_xml (~> 0.5)
48
+ rack (~> 1.2)
49
+ pathname2 (1.7.3)
18
50
  facade
19
- rake (0.9.2.2)
20
- rdoc (3.12)
21
- json (~> 1.4)
22
- ruby-version (0.4.2)
51
+ rack (1.6.4)
52
+ rake (10.4.2)
53
+ rdoc (4.2.0)
54
+ ruby-version (0.4.3)
55
+ thread_safe (0.3.5)
23
56
  types (0.1.3)
24
57
  abstract (>= 1.0.0)
25
58
  multitype-introspection (>= 0.1.0)
@@ -34,8 +67,10 @@ PLATFORMS
34
67
 
35
68
  DEPENDENCIES
36
69
  bundler
37
- hash-utils (>= 2.0.0)
38
70
  jeweler
39
71
  rake
40
72
  which
41
73
  yaop (>= 0.2.0)
74
+
75
+ BUNDLED WITH
76
+ 1.10.6
@@ -1,4 +1,4 @@
1
- Copyright (c) 2011-2012 Martin Kozák (martinkozak@martinkozak.net)
1
+ Copyright (c) 2011-2015 Martin Poljak (martin@poljak.cz)
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining
4
4
  a copy of this software and associated documentation files (the
data/README.md CHANGED
@@ -44,20 +44,10 @@ Following software for full functionality is necessary:
44
44
  Steps which requires non-strictly required components will be silently
45
45
  ignored if these components will not be available.
46
46
 
47
- Contributing
48
- ------------
49
-
50
- 1. Fork it.
51
- 2. Create a branch (`git checkout -b 20101220-my-change`).
52
- 3. Commit your changes (`git commit -am "Added something"`).
53
- 4. Push to the branch (`git push origin 20101220-my-change`).
54
- 5. Create an [Issue][9] with a link to your branch.
55
- 6. Enjoy a refreshing Diet Coke and wait.
56
-
57
47
  Copyright
58
48
  ---------
59
49
 
60
- Copyright &copy; 2011 [Martin Kozák][10]. See `LICENSE.txt` for
50
+ Copyright &copy; 2011 &ndash; 2015 [Martin Poljak][10]. See `LICENSE.txt` for
61
51
  further details.
62
52
 
63
53
  [1]: http://www.ruby-lang.org/
@@ -69,5 +59,5 @@ further details.
69
59
  [7]: http://optipng.sourceforge.net/
70
60
  [8]: http://www.imagemagick.org/
71
61
  [9]: http://github.com/martinkozak/image-optimizer/issues
72
- [10]: http://www.martinkozak.net/
62
+ [10]: http://www.martinpoljak.net/
73
63
  [11]: http://www.gnu.org/software/bash/
data/Rakefile CHANGED
@@ -21,7 +21,7 @@ Jeweler::Tasks.new do |gem|
21
21
  gem.homepage = "http://github.com/martinkozak/image-optimizer"
22
22
  gem.license = "MIT"
23
23
  gem.summary = "Optimizes given JPEG and PNG images or images in given folder. Uses several encoders for achieving the best possible lossless compression ratio and tries to employ the most advanced methods such as JPEG algorithmic encoding if available or PNG transparent pixels stripping and automatic color reduction."
24
- gem.email = "martinkozak@martinkozak.net"
25
- gem.authors = ["Martin Kozák"]
24
+ gem.email = "martin@poljak.cz"
25
+ gem.authors = ["Martin Poljak"]
26
26
  end
27
27
  Jeweler::RubygemsDotOrgTasks.new
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.2
1
+ 0.2.3
@@ -1,6 +1,6 @@
1
1
  #!/bin/env ruby
2
2
  # encoding: utf-8
3
- # (c) 2011-2012 Martin Kozák (martinkozak@martinkozak.net)
3
+ # (c) 2011-2015 Martin Poljak (martin@poljak.cz)
4
4
 
5
5
  require "image-optimizer"
6
6
  require "yaop"
@@ -20,8 +20,8 @@ if opts.arguments["--help"]
20
20
  puts "\t--verbose be verbose"
21
21
  exit
22
22
  elsif opts.arguments["--version"]
23
- puts "image-optimizer 0.2.2"
24
- puts "Copyright (C) 2011-2012 Martin Kozák (martinkozak@martinkozak.net)"
23
+ puts "image-optimizer 0.2.3"
24
+ puts "Copyright (C) 2011-2015 Martin Poljak (martin@poljak.cz)"
25
25
  puts
26
26
  puts "Optimizes given JPEG and PNG images or all images in given folders."
27
27
  puts "Uses several encoders for achieving the best possible lossless"
@@ -38,8 +38,8 @@ total_new = 0
38
38
  verbose = opts.arguments["--verbose"]
39
39
 
40
40
  if verbose
41
- puts "# image-optimizer 0.2.0"
42
- puts "# Copyright (C) 2011-2012 Martin Kozák (martinkozak@martinkozak.net)"
41
+ puts "image-optimizer 0.2.3"
42
+ puts "Copyright (C) 2011-2015 Martin Poljak (martin@poljak.cz)"
43
43
  puts
44
44
  end
45
45
 
@@ -2,15 +2,17 @@
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
3
  # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
+ # stub: image-optimizer 0.2.3 ruby lib
5
6
 
6
7
  Gem::Specification.new do |s|
7
8
  s.name = "image-optimizer"
8
- s.version = "0.2.2"
9
+ s.version = "0.2.3"
9
10
 
10
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
- s.authors = ["Martin Koz\u{e1}k"]
12
- s.date = "2012-10-11"
13
- s.email = "martinkozak@martinkozak.net"
12
+ s.require_paths = ["lib"]
13
+ s.authors = ["Martin Poljak"]
14
+ s.date = "2015-08-15"
15
+ s.email = "martin@poljak.cz"
14
16
  s.executables = ["image-optimizer"]
15
17
  s.extra_rdoc_files = [
16
18
  "LICENSE.txt",
@@ -33,24 +35,21 @@ Gem::Specification.new do |s|
33
35
  ]
34
36
  s.homepage = "http://github.com/martinkozak/image-optimizer"
35
37
  s.licenses = ["MIT"]
36
- s.require_paths = ["lib"]
37
- s.rubygems_version = "1.8.24"
38
+ s.rubygems_version = "2.4.5"
38
39
  s.summary = "Optimizes given JPEG and PNG images or images in given folder. Uses several encoders for achieving the best possible lossless compression ratio and tries to employ the most advanced methods such as JPEG algorithmic encoding if available or PNG transparent pixels stripping and automatic color reduction."
39
40
 
40
41
  if s.respond_to? :specification_version then
41
- s.specification_version = 3
42
+ s.specification_version = 4
42
43
 
43
44
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
44
45
  s.add_runtime_dependency(%q<yaop>, [">= 0.2.0"])
45
46
  s.add_runtime_dependency(%q<which>, [">= 0"])
46
- s.add_runtime_dependency(%q<hash-utils>, [">= 2.0.0"])
47
47
  s.add_development_dependency(%q<bundler>, [">= 0"])
48
48
  s.add_development_dependency(%q<jeweler>, [">= 0"])
49
49
  s.add_development_dependency(%q<rake>, [">= 0"])
50
50
  else
51
51
  s.add_dependency(%q<yaop>, [">= 0.2.0"])
52
52
  s.add_dependency(%q<which>, [">= 0"])
53
- s.add_dependency(%q<hash-utils>, [">= 2.0.0"])
54
53
  s.add_dependency(%q<bundler>, [">= 0"])
55
54
  s.add_dependency(%q<jeweler>, [">= 0"])
56
55
  s.add_dependency(%q<rake>, [">= 0"])
@@ -58,7 +57,6 @@ Gem::Specification.new do |s|
58
57
  else
59
58
  s.add_dependency(%q<yaop>, [">= 0.2.0"])
60
59
  s.add_dependency(%q<which>, [">= 0"])
61
- s.add_dependency(%q<hash-utils>, [">= 2.0.0"])
62
60
  s.add_dependency(%q<bundler>, [">= 0"])
63
61
  s.add_dependency(%q<jeweler>, [">= 0"])
64
62
  s.add_dependency(%q<rake>, [">= 0"])
@@ -1,7 +1,6 @@
1
1
  # encoding: utf-8
2
- # (c) 2012 Martin Kozák (martinkozak@martinkozak.net)
2
+ # (c) 2012-2015 Martin Poljak (martin@poljak.cz)
3
3
 
4
- require "hash-utils"
5
4
  require "fileutils"
6
5
  require "tmpdir"
7
6
  require "shellwords"
metadata CHANGED
@@ -1,114 +1,87 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: image-optimizer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
5
- prerelease:
4
+ version: 0.2.3
6
5
  platform: ruby
7
6
  authors:
8
- - Martin Kozák
7
+ - Martin Poljak
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2012-10-11 00:00:00.000000000 Z
11
+ date: 2015-08-15 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: yaop
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ! '>='
17
+ - - ">="
20
18
  - !ruby/object:Gem::Version
21
19
  version: 0.2.0
22
20
  type: :runtime
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
- - - ! '>='
24
+ - - ">="
28
25
  - !ruby/object:Gem::Version
29
26
  version: 0.2.0
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: which
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
- - - ! '>='
31
+ - - ">="
36
32
  - !ruby/object:Gem::Version
37
33
  version: '0'
38
34
  type: :runtime
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
- - - ! '>='
38
+ - - ">="
44
39
  - !ruby/object:Gem::Version
45
40
  version: '0'
46
- - !ruby/object:Gem::Dependency
47
- name: hash-utils
48
- requirement: !ruby/object:Gem::Requirement
49
- none: false
50
- requirements:
51
- - - ! '>='
52
- - !ruby/object:Gem::Version
53
- version: 2.0.0
54
- type: :runtime
55
- prerelease: false
56
- version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
- requirements:
59
- - - ! '>='
60
- - !ruby/object:Gem::Version
61
- version: 2.0.0
62
41
  - !ruby/object:Gem::Dependency
63
42
  name: bundler
64
43
  requirement: !ruby/object:Gem::Requirement
65
- none: false
66
44
  requirements:
67
- - - ! '>='
45
+ - - ">="
68
46
  - !ruby/object:Gem::Version
69
47
  version: '0'
70
48
  type: :development
71
49
  prerelease: false
72
50
  version_requirements: !ruby/object:Gem::Requirement
73
- none: false
74
51
  requirements:
75
- - - ! '>='
52
+ - - ">="
76
53
  - !ruby/object:Gem::Version
77
54
  version: '0'
78
55
  - !ruby/object:Gem::Dependency
79
56
  name: jeweler
80
57
  requirement: !ruby/object:Gem::Requirement
81
- none: false
82
58
  requirements:
83
- - - ! '>='
59
+ - - ">="
84
60
  - !ruby/object:Gem::Version
85
61
  version: '0'
86
62
  type: :development
87
63
  prerelease: false
88
64
  version_requirements: !ruby/object:Gem::Requirement
89
- none: false
90
65
  requirements:
91
- - - ! '>='
66
+ - - ">="
92
67
  - !ruby/object:Gem::Version
93
68
  version: '0'
94
69
  - !ruby/object:Gem::Dependency
95
70
  name: rake
96
71
  requirement: !ruby/object:Gem::Requirement
97
- none: false
98
72
  requirements:
99
- - - ! '>='
73
+ - - ">="
100
74
  - !ruby/object:Gem::Version
101
75
  version: '0'
102
76
  type: :development
103
77
  prerelease: false
104
78
  version_requirements: !ruby/object:Gem::Requirement
105
- none: false
106
79
  requirements:
107
- - - ! '>='
80
+ - - ">="
108
81
  - !ruby/object:Gem::Version
109
82
  version: '0'
110
83
  description:
111
- email: martinkozak@martinkozak.net
84
+ email: martin@poljak.cz
112
85
  executables:
113
86
  - image-optimizer
114
87
  extensions: []
@@ -116,7 +89,7 @@ extra_rdoc_files:
116
89
  - LICENSE.txt
117
90
  - README.md
118
91
  files:
119
- - .document
92
+ - ".document"
120
93
  - Gemfile
121
94
  - Gemfile.lock
122
95
  - LICENSE.txt
@@ -132,30 +105,26 @@ files:
132
105
  homepage: http://github.com/martinkozak/image-optimizer
133
106
  licenses:
134
107
  - MIT
108
+ metadata: {}
135
109
  post_install_message:
136
110
  rdoc_options: []
137
111
  require_paths:
138
112
  - lib
139
113
  required_ruby_version: !ruby/object:Gem::Requirement
140
- none: false
141
114
  requirements:
142
- - - ! '>='
115
+ - - ">="
143
116
  - !ruby/object:Gem::Version
144
117
  version: '0'
145
- segments:
146
- - 0
147
- hash: 735012564858542787
148
118
  required_rubygems_version: !ruby/object:Gem::Requirement
149
- none: false
150
119
  requirements:
151
- - - ! '>='
120
+ - - ">="
152
121
  - !ruby/object:Gem::Version
153
122
  version: '0'
154
123
  requirements: []
155
124
  rubyforge_project:
156
- rubygems_version: 1.8.24
125
+ rubygems_version: 2.4.5
157
126
  signing_key:
158
- specification_version: 3
127
+ specification_version: 4
159
128
  summary: Optimizes given JPEG and PNG images or images in given folder. Uses several
160
129
  encoders for achieving the best possible lossless compression ratio and tries to
161
130
  employ the most advanced methods such as JPEG algorithmic encoding if available