carrierwave-imageoptimizer 0.0.2 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +13 -1
- data/carrierwave-imageoptimizer.gemspec +1 -1
- data/lib/carrierwave-imageoptimizer/version.rb +1 -1
- data/spec/spec_helper.rb +0 -2
- metadata +7 -7
data/README.md
CHANGED
@@ -12,7 +12,19 @@ ree
|
|
12
12
|
|
13
13
|
## Installation
|
14
14
|
|
15
|
-
|
15
|
+
##### This gem uses the following utilities for optimizing images:
|
16
|
+
|
17
|
+
1. jpegoptim, which can be installed from [freecode.com](http://freecode.com/projects/jpegoptim)
|
18
|
+
|
19
|
+
2. OptiPNG, which can be installed from [sourceforge.net](http://optipng.sourceforge.net/)
|
20
|
+
|
21
|
+
Or install the utilities via homebrew:
|
22
|
+
|
23
|
+
```bash
|
24
|
+
$ brew install optipng jpegoptim
|
25
|
+
```
|
26
|
+
|
27
|
+
Then add this line to your application's Gemfile:
|
16
28
|
|
17
29
|
gem 'carrierwave-imageoptimizer'
|
18
30
|
|
@@ -18,7 +18,7 @@ Gem::Specification.new do |gem|
|
|
18
18
|
gem.require_paths = ["lib"]
|
19
19
|
|
20
20
|
gem.add_dependency "carrierwave", ["~> 0.8"]
|
21
|
-
gem.add_dependency "image_optimizer", ["~> 0.0
|
21
|
+
gem.add_dependency "image_optimizer", ["~> 1.0.0"]
|
22
22
|
|
23
23
|
gem.add_development_dependency "rspec"
|
24
24
|
gem.add_development_dependency "rake"
|
data/spec/spec_helper.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: carrierwave-imageoptimizer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 1.0.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-
|
12
|
+
date: 2013-03-26 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: carrierwave
|
@@ -34,7 +34,7 @@ dependencies:
|
|
34
34
|
requirements:
|
35
35
|
- - ~>
|
36
36
|
- !ruby/object:Gem::Version
|
37
|
-
version: 0.0
|
37
|
+
version: 1.0.0
|
38
38
|
type: :runtime
|
39
39
|
prerelease: false
|
40
40
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -42,7 +42,7 @@ dependencies:
|
|
42
42
|
requirements:
|
43
43
|
- - ~>
|
44
44
|
- !ruby/object:Gem::Version
|
45
|
-
version: 0.0
|
45
|
+
version: 1.0.0
|
46
46
|
- !ruby/object:Gem::Dependency
|
47
47
|
name: rspec
|
48
48
|
requirement: !ruby/object:Gem::Requirement
|
@@ -108,7 +108,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
108
108
|
version: '0'
|
109
109
|
segments:
|
110
110
|
- 0
|
111
|
-
hash:
|
111
|
+
hash: 931571572350843980
|
112
112
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
113
113
|
none: false
|
114
114
|
requirements:
|
@@ -117,10 +117,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
117
117
|
version: '0'
|
118
118
|
segments:
|
119
119
|
- 0
|
120
|
-
hash:
|
120
|
+
hash: 931571572350843980
|
121
121
|
requirements: []
|
122
122
|
rubyforge_project:
|
123
|
-
rubygems_version: 1.8.
|
123
|
+
rubygems_version: 1.8.25
|
124
124
|
signing_key:
|
125
125
|
specification_version: 3
|
126
126
|
summary: Simply optimize CarrierWave images via jpegoptim or optipng
|