image-optimizer 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +2 -1
- data/Gemfile.lock +7 -3
- data/VERSION +1 -1
- data/bin/image-optimizer +2 -2
- data/image-optimizer.gemspec +9 -6
- metadata +33 -22
data/Gemfile
CHANGED
@@ -7,7 +7,8 @@ source "http://rubygems.org"
|
|
7
7
|
gem "jpegoptim", ">= 0.2.0"
|
8
8
|
gem "unix-whereis"
|
9
9
|
gem "options-hash"
|
10
|
-
gem "command-builder"
|
10
|
+
gem "command-builder", ">= 0.3.0"
|
11
|
+
gem "mini_magick"
|
11
12
|
|
12
13
|
# Add dependencies to develop your gem here.
|
13
14
|
# Include everything needed to run rake, tests, features, etc.
|
data/Gemfile.lock
CHANGED
@@ -2,11 +2,11 @@ GEM
|
|
2
2
|
remote: http://rubygems.org/
|
3
3
|
specs:
|
4
4
|
abstract (1.0.0)
|
5
|
-
command-builder (0.
|
5
|
+
command-builder (0.3.0)
|
6
6
|
hash-utils (>= 0.18.0)
|
7
7
|
pipe-run (>= 0.2.1)
|
8
8
|
git (1.2.5)
|
9
|
-
hash-utils (
|
9
|
+
hash-utils (2.0.0)
|
10
10
|
ruby-version
|
11
11
|
hashie (1.2.0)
|
12
12
|
jeweler2 (2.0.9)
|
@@ -18,6 +18,8 @@ GEM
|
|
18
18
|
command-builder (>= 0.2.0)
|
19
19
|
hash-utils (>= 0.18.0)
|
20
20
|
unix-whereis (>= 0.1.0)
|
21
|
+
mini_magick (3.4)
|
22
|
+
subexec (~> 0.2.1)
|
21
23
|
multitype-introspection (0.2.0)
|
22
24
|
hash-utils (>= 0.16.0)
|
23
25
|
options-hash (0.1.0)
|
@@ -27,6 +29,7 @@ GEM
|
|
27
29
|
unix-whereis (>= 0.1.0)
|
28
30
|
pipe-run (0.3.0)
|
29
31
|
ruby-version (0.3.1)
|
32
|
+
subexec (0.2.1)
|
30
33
|
types (0.1.3)
|
31
34
|
abstract (>= 1.0.0)
|
32
35
|
multitype-introspection (>= 0.1.0)
|
@@ -42,10 +45,11 @@ PLATFORMS
|
|
42
45
|
|
43
46
|
DEPENDENCIES
|
44
47
|
bundler (>= 1.0.14)
|
45
|
-
command-builder
|
48
|
+
command-builder (>= 0.3.0)
|
46
49
|
jeweler2 (>= 2.0.0)
|
47
50
|
jpegoptim (>= 0.2.0)
|
48
51
|
jpegtran
|
52
|
+
mini_magick
|
49
53
|
options-hash
|
50
54
|
optipng (>= 0.2.0)
|
51
55
|
unix-whereis
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.4
|
data/bin/image-optimizer
CHANGED
@@ -29,8 +29,8 @@ if opts.arguments["--help"]
|
|
29
29
|
puts "\t--strip indicates it should strip all JPEG files metadata"
|
30
30
|
exit
|
31
31
|
elsif opts.arguments["--version"]
|
32
|
-
puts "image-optimizer 0.1.
|
33
|
-
puts "Copyright (C) 2011 Martin Kozák (martinkozak@martinkozak.net)"
|
32
|
+
puts "image-optimizer 0.1.4"
|
33
|
+
puts "Copyright (C) 2011 - 2012 Martin Kozák (martinkozak@martinkozak.net)"
|
34
34
|
puts "Optimizes given JPEG and PNG images or all images in given folders."
|
35
35
|
exit
|
36
36
|
end
|
data/image-optimizer.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = "image-optimizer"
|
8
|
-
s.version = "0.1.
|
8
|
+
s.version = "0.1.4"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Martin Koz\u{e1}k"]
|
12
|
-
s.date = "2012-
|
12
|
+
s.date = "2012-03-31"
|
13
13
|
s.email = "martinkozak@martinkozak.net"
|
14
14
|
s.executables = ["image-optimizer"]
|
15
15
|
s.extra_rdoc_files = [
|
@@ -31,7 +31,7 @@ Gem::Specification.new do |s|
|
|
31
31
|
s.homepage = "http://github.com/martinkozak/image-optimizer"
|
32
32
|
s.licenses = ["MIT"]
|
33
33
|
s.require_paths = ["lib"]
|
34
|
-
s.rubygems_version = "1.8.
|
34
|
+
s.rubygems_version = "1.8.17"
|
35
35
|
s.summary = "Optimizes given JPEG and PNG images or images in given folder."
|
36
36
|
|
37
37
|
if s.respond_to? :specification_version then
|
@@ -44,7 +44,8 @@ Gem::Specification.new do |s|
|
|
44
44
|
s.add_runtime_dependency(%q<jpegoptim>, [">= 0.2.0"])
|
45
45
|
s.add_runtime_dependency(%q<unix-whereis>, [">= 0"])
|
46
46
|
s.add_runtime_dependency(%q<options-hash>, [">= 0"])
|
47
|
-
s.add_runtime_dependency(%q<command-builder>, [">= 0"])
|
47
|
+
s.add_runtime_dependency(%q<command-builder>, [">= 0.3.0"])
|
48
|
+
s.add_runtime_dependency(%q<mini_magick>, [">= 0"])
|
48
49
|
s.add_development_dependency(%q<bundler>, [">= 1.0.14"])
|
49
50
|
s.add_development_dependency(%q<jeweler2>, [">= 2.0.0"])
|
50
51
|
else
|
@@ -54,7 +55,8 @@ Gem::Specification.new do |s|
|
|
54
55
|
s.add_dependency(%q<jpegoptim>, [">= 0.2.0"])
|
55
56
|
s.add_dependency(%q<unix-whereis>, [">= 0"])
|
56
57
|
s.add_dependency(%q<options-hash>, [">= 0"])
|
57
|
-
s.add_dependency(%q<command-builder>, [">= 0"])
|
58
|
+
s.add_dependency(%q<command-builder>, [">= 0.3.0"])
|
59
|
+
s.add_dependency(%q<mini_magick>, [">= 0"])
|
58
60
|
s.add_dependency(%q<bundler>, [">= 1.0.14"])
|
59
61
|
s.add_dependency(%q<jeweler2>, [">= 2.0.0"])
|
60
62
|
end
|
@@ -65,7 +67,8 @@ Gem::Specification.new do |s|
|
|
65
67
|
s.add_dependency(%q<jpegoptim>, [">= 0.2.0"])
|
66
68
|
s.add_dependency(%q<unix-whereis>, [">= 0"])
|
67
69
|
s.add_dependency(%q<options-hash>, [">= 0"])
|
68
|
-
s.add_dependency(%q<command-builder>, [">= 0"])
|
70
|
+
s.add_dependency(%q<command-builder>, [">= 0.3.0"])
|
71
|
+
s.add_dependency(%q<mini_magick>, [">= 0"])
|
69
72
|
s.add_dependency(%q<bundler>, [">= 1.0.14"])
|
70
73
|
s.add_dependency(%q<jeweler2>, [">= 2.0.0"])
|
71
74
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: image-optimizer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-03-31 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: yaop
|
16
|
-
requirement: &
|
16
|
+
requirement: &24265520 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: '0'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *24265520
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: jpegtran
|
27
|
-
requirement: &
|
27
|
+
requirement: &24264900 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ! '>='
|
@@ -32,10 +32,10 @@ dependencies:
|
|
32
32
|
version: '0'
|
33
33
|
type: :runtime
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *24264900
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: optipng
|
38
|
-
requirement: &
|
38
|
+
requirement: &24264360 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
41
|
- - ! '>='
|
@@ -43,10 +43,10 @@ dependencies:
|
|
43
43
|
version: 0.2.0
|
44
44
|
type: :runtime
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
46
|
+
version_requirements: *24264360
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: jpegoptim
|
49
|
-
requirement: &
|
49
|
+
requirement: &24263740 !ruby/object:Gem::Requirement
|
50
50
|
none: false
|
51
51
|
requirements:
|
52
52
|
- - ! '>='
|
@@ -54,10 +54,10 @@ dependencies:
|
|
54
54
|
version: 0.2.0
|
55
55
|
type: :runtime
|
56
56
|
prerelease: false
|
57
|
-
version_requirements: *
|
57
|
+
version_requirements: *24263740
|
58
58
|
- !ruby/object:Gem::Dependency
|
59
59
|
name: unix-whereis
|
60
|
-
requirement: &
|
60
|
+
requirement: &24263220 !ruby/object:Gem::Requirement
|
61
61
|
none: false
|
62
62
|
requirements:
|
63
63
|
- - ! '>='
|
@@ -65,10 +65,10 @@ dependencies:
|
|
65
65
|
version: '0'
|
66
66
|
type: :runtime
|
67
67
|
prerelease: false
|
68
|
-
version_requirements: *
|
68
|
+
version_requirements: *24263220
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: options-hash
|
71
|
-
requirement: &
|
71
|
+
requirement: &24262580 !ruby/object:Gem::Requirement
|
72
72
|
none: false
|
73
73
|
requirements:
|
74
74
|
- - ! '>='
|
@@ -76,10 +76,21 @@ dependencies:
|
|
76
76
|
version: '0'
|
77
77
|
type: :runtime
|
78
78
|
prerelease: false
|
79
|
-
version_requirements: *
|
79
|
+
version_requirements: *24262580
|
80
80
|
- !ruby/object:Gem::Dependency
|
81
81
|
name: command-builder
|
82
|
-
requirement: &
|
82
|
+
requirement: &24278400 !ruby/object:Gem::Requirement
|
83
|
+
none: false
|
84
|
+
requirements:
|
85
|
+
- - ! '>='
|
86
|
+
- !ruby/object:Gem::Version
|
87
|
+
version: 0.3.0
|
88
|
+
type: :runtime
|
89
|
+
prerelease: false
|
90
|
+
version_requirements: *24278400
|
91
|
+
- !ruby/object:Gem::Dependency
|
92
|
+
name: mini_magick
|
93
|
+
requirement: &24277820 !ruby/object:Gem::Requirement
|
83
94
|
none: false
|
84
95
|
requirements:
|
85
96
|
- - ! '>='
|
@@ -87,10 +98,10 @@ dependencies:
|
|
87
98
|
version: '0'
|
88
99
|
type: :runtime
|
89
100
|
prerelease: false
|
90
|
-
version_requirements: *
|
101
|
+
version_requirements: *24277820
|
91
102
|
- !ruby/object:Gem::Dependency
|
92
103
|
name: bundler
|
93
|
-
requirement: &
|
104
|
+
requirement: &24276700 !ruby/object:Gem::Requirement
|
94
105
|
none: false
|
95
106
|
requirements:
|
96
107
|
- - ! '>='
|
@@ -98,10 +109,10 @@ dependencies:
|
|
98
109
|
version: 1.0.14
|
99
110
|
type: :development
|
100
111
|
prerelease: false
|
101
|
-
version_requirements: *
|
112
|
+
version_requirements: *24276700
|
102
113
|
- !ruby/object:Gem::Dependency
|
103
114
|
name: jeweler2
|
104
|
-
requirement: &
|
115
|
+
requirement: &24276220 !ruby/object:Gem::Requirement
|
105
116
|
none: false
|
106
117
|
requirements:
|
107
118
|
- - ! '>='
|
@@ -109,7 +120,7 @@ dependencies:
|
|
109
120
|
version: 2.0.0
|
110
121
|
type: :development
|
111
122
|
prerelease: false
|
112
|
-
version_requirements: *
|
123
|
+
version_requirements: *24276220
|
113
124
|
description:
|
114
125
|
email: martinkozak@martinkozak.net
|
115
126
|
executables:
|
@@ -144,7 +155,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
144
155
|
version: '0'
|
145
156
|
segments:
|
146
157
|
- 0
|
147
|
-
hash: -
|
158
|
+
hash: -3686165467908029171
|
148
159
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
149
160
|
none: false
|
150
161
|
requirements:
|
@@ -153,7 +164,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
153
164
|
version: '0'
|
154
165
|
requirements: []
|
155
166
|
rubyforge_project:
|
156
|
-
rubygems_version: 1.8.
|
167
|
+
rubygems_version: 1.8.17
|
157
168
|
signing_key:
|
158
169
|
specification_version: 3
|
159
170
|
summary: Optimizes given JPEG and PNG images or images in given folder.
|