carrierwave-imageoptimizer 1.4.0 → 1.4.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 6ed9ade8c651ed4296d5b951d82ff0b125be1345
4
- data.tar.gz: 15b3d1f871d502d509f0d9b95ed74539f6e7ea06
2
+ SHA256:
3
+ metadata.gz: 4c1de6fad5debab1b57d8efaede300ae5646fefd06e2c6f18abed811e550dc85
4
+ data.tar.gz: 0d00b2938a7621535b8bc0e646e208644bc465b82756e00543c74cac0f301ca9
5
5
  SHA512:
6
- metadata.gz: 9b1ecc6a04b9a09cf4bf549f79fcecbb412890a81004277e36e3d9ae0438c750a23a8f816c913fd13c7a5bd2787526292043570952c1ceb8c18bb0694f1c5a77
7
- data.tar.gz: d52e470102e3145bdd5645b2edb96159345bd87e70a3a6bdbc8f3840ed5ffea394c76882852d5141df759a6363e963b1847717d4779a023fa7fbf51679e92337
6
+ metadata.gz: ef2fb21cd7eef220218ba9367b017cd4cc6ccded3da5e96a5c3f573c8507a1fd3e2729c5dc14377b7d9c831fbd19282f87f08ec70ee3e21a4dd416e3fe65ac04
7
+ data.tar.gz: 6ee66d8d80d4982319431baa7574fa1dcc24f966060183374c4c638aabbf9847026d22215d1a19fbf7755bda47547270e95ceecf25f9738a1c31cf5942b29741
Binary file
data.tar.gz.sig CHANGED
Binary file
data/README.md CHANGED
@@ -1,17 +1,13 @@
1
1
  # CarrierWave ImageOptimizer
2
2
 
3
- This gem allows you to simply optimize CarrierWave images via jpegoptim or optipng using the image_optimizer gem.
3
+ This gem allows you to simply optimize CarrierWave images via jpegoptim or optipng using the [image_optimizer](https://github.com/jtescher/image_optimizer) gem.
4
4
 
5
5
  Tested against 2.2.x, 2.3.x, and ruby-head
6
6
 
7
- [![Build Status](https://secure.travis-ci.org/jtescher/carrierwave-imageoptimizer.svg)]
8
- (http://travis-ci.org/jtescher/carrierwave-imageoptimizer)
9
- [![Dependency Status](https://gemnasium.com/jtescher/carrierwave-imageoptimizer.svg)]
10
- (https://gemnasium.com/jtescher/carrierwave-imageoptimizer)
11
- [![Code Climate](https://codeclimate.com/github/jtescher/carrierwave-imageoptimizer.svg)]
12
- (https://codeclimate.com/github/jtescher/carrierwave-imageoptimizer)
13
- [![Coverage Status](https://coveralls.io/repos/jtescher/carrierwave-imageoptimizer/badge.svg)]
14
- (https://coveralls.io/r/jtescher/carrierwave-imageoptimizer)
7
+ [![Build Status](https://secure.travis-ci.org/jtescher/carrierwave-imageoptimizer.svg)](http://travis-ci.org/jtescher/carrierwave-imageoptimizer)
8
+ [![Dependency Status](https://gemnasium.com/jtescher/carrierwave-imageoptimizer.svg)](https://gemnasium.com/jtescher/carrierwave-imageoptimizer)
9
+ [![Code Climate](https://codeclimate.com/github/jtescher/carrierwave-imageoptimizer.svg)](https://codeclimate.com/github/jtescher/carrierwave-imageoptimizer)
10
+ [![Coverage Status](https://coveralls.io/repos/jtescher/carrierwave-imageoptimizer/badge.svg)](https://coveralls.io/r/jtescher/carrierwave-imageoptimizer)
15
11
  [![Gem Version](https://badge.fury.io/rb/carrierwave-imageoptimizer.svg)](http://badge.fury.io/rb/carrierwave-imageoptimizer)
16
12
 
17
13
  ## Installation
@@ -40,6 +36,18 @@ Or install it yourself as:
40
36
 
41
37
  $ gem install carrierwave-imageoptimizer
42
38
 
39
+ ### Installation on Heroku
40
+ If you are using Heroku for your production you must use [heroku buildpacks](https://devcenter.heroku.com/articles/using-multiple-buildpacks-for-an-app) in order to install `optipng` and `jpegoptim`. [jayzes](https://github.com/jayzes?tab=repositories) has some plug and play buildpacks to get you going in no time.
41
+
42
+ __On an existing Heroku app and using the Heroku CLI__
43
+
44
+ 1. Add this gem to your gemfile.
45
+ 2. Modify your code following the instrunctions on the [usage](#usage) section.
46
+ 3. `heroku buildpacks:add --index 1 https://github.com/jayzes/heroku-buildpack-optipng`
47
+ 4. `heroku buildpacks:add --index 1 https://github.com/jayzes/heroku-buildpack-jpegoptim`
48
+ 5. `git push heroku`
49
+ * _It is important to do a push to heroku __after__ the buildpacks have been declared._
50
+
43
51
  ## Usage
44
52
 
45
53
  To add image optimization to your CarrierWave uploader, first include the module:
@@ -20,7 +20,7 @@ Gem::Specification.new do |gem|
20
20
  gem.signing_key = File.expand_path('~/.ssh/gem-private_key.pem') if $0 =~ /gem\z/
21
21
  gem.cert_chain = ['certs/jtescher.pem']
22
22
 
23
- gem.add_dependency "carrierwave", [">= 0.8", "< 2.0"]
23
+ gem.add_dependency "carrierwave", [">= 0.8", "< 2.1"]
24
24
  gem.add_dependency "image_optimizer", ["~> 1.6"]
25
25
 
26
26
  gem.add_development_dependency "rspec", "~> 2.14.1"
@@ -1,21 +1,25 @@
1
1
  -----BEGIN CERTIFICATE-----
2
- MIIDdDCCAlygAwIBAgIBATANBgkqhkiG9w0BAQUFADBAMRIwEAYDVQQDDAlqYXRl
3
- c2NoZXIxFTATBgoJkiaJk/IsZAEZFgVnbWFpbDETMBEGCgmSJomT8ixkARkWA2Nv
4
- bTAeFw0xNjA5MjYxNzU4NTRaFw0xNzA5MjYxNzU4NTRaMEAxEjAQBgNVBAMMCWph
5
- dGVzY2hlcjEVMBMGCgmSJomT8ixkARkWBWdtYWlsMRMwEQYKCZImiZPyLGQBGRYD
6
- Y29tMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA7ptCQvN739Rjos4e
7
- G2Y8uGCQxpBoXozU36PXLtR5ws7aly1QV0zRc1cy7nKnOSnXn7dEfbLGZS6/87pM
8
- rDFFszHsn/dizlXe3wejHePyG1EsYnIezISP9YSDcm7qpysrUAa2fKPqqZ6DNbIP
9
- 6wRF9Cun4hvmQPDrs0zKU6p43XHnJUg7YBYCOVACa7eFD1EOya+599hFMhnWChvT
10
- rKkVc/JRvmKYLIkB6Y6N3TFrVi9x0Qpo4fjG5rQ9xxNZhpFIOMJ0VJbuRSIMlLwr
11
- Ryd/QG0BcvkSHph/ZDlgfZ1V/lzWWq+mZOt/U+t6cVIT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1JEcWvyfWvA9r5BARL800mMq0=
21
25
  -----END CERTIFICATE-----
@@ -0,0 +1 @@
1
+ da215d983974b9d716b437ef8bfdef81704e95fbbc09df1e30bdf7448aa18f5d9811d72b993d5de51b606362bde2414605ca9a4d21ac2e087679195a83baa0ee
@@ -1,5 +1,5 @@
1
1
  module CarrierWave
2
2
  module ImageOptimizer
3
- VERSION = "1.4.0"
3
+ VERSION = "1.4.1"
4
4
  end
5
5
  end
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: 1.4.0
4
+ version: 1.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Julian Tescher
@@ -10,27 +10,31 @@ bindir: bin
10
10
  cert_chain:
11
11
  - |
12
12
  -----BEGIN CERTIFICATE-----
13
- MIIDdDCCAlygAwIBAgIBATANBgkqhkiG9w0BAQUFADBAMRIwEAYDVQQDDAlqYXRl
14
- c2NoZXIxFTATBgoJkiaJk/IsZAEZFgVnbWFpbDETMBEGCgmSJomT8ixkARkWA2Nv
15
- bTAeFw0xNjA5MjYxNzU4NTRaFw0xNzA5MjYxNzU4NTRaMEAxEjAQBgNVBAMMCWph
16
- dGVzY2hlcjEVMBMGCgmSJomT8ixkARkWBWdtYWlsMRMwEQYKCZImiZPyLGQBGRYD
17
- Y29tMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA7ptCQvN739Rjos4e
18
- G2Y8uGCQxpBoXozU36PXLtR5ws7aly1QV0zRc1cy7nKnOSnXn7dEfbLGZS6/87pM
19
- rDFFszHsn/dizlXe3wejHePyG1EsYnIezISP9YSDcm7qpysrUAa2fKPqqZ6DNbIP
20
- 6wRF9Cun4hvmQPDrs0zKU6p43XHnJUg7YBYCOVACa7eFD1EOya+599hFMhnWChvT
21
- rKkVc/JRvmKYLIkB6Y6N3TFrVi9x0Qpo4fjG5rQ9xxNZhpFIOMJ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IoyeUKzFvnLKyxZ3Vb1PcJ3ruNse01KvDi7JSK
35
+ Ev6CJNgZUdHN6CK10T1JEcWvyfWvA9r5BARL800mMq0=
32
36
  -----END CERTIFICATE-----
33
- date: 2016-11-29 00:00:00.000000000 Z
37
+ date: 2019-11-19 00:00:00.000000000 Z
34
38
  dependencies:
35
39
  - !ruby/object:Gem::Dependency
36
40
  name: carrierwave
@@ -41,7 +45,7 @@ dependencies:
41
45
  version: '0.8'
42
46
  - - "<"
43
47
  - !ruby/object:Gem::Version
44
- version: '2.0'
48
+ version: '2.1'
45
49
  type: :runtime
46
50
  prerelease: false
47
51
  version_requirements: !ruby/object:Gem::Requirement
@@ -51,7 +55,7 @@ dependencies:
51
55
  version: '0.8'
52
56
  - - "<"
53
57
  - !ruby/object:Gem::Version
54
- version: '2.0'
58
+ version: '2.1'
55
59
  - !ruby/object:Gem::Dependency
56
60
  name: image_optimizer
57
61
  requirement: !ruby/object:Gem::Requirement
@@ -139,6 +143,7 @@ files:
139
143
  - certs/jtescher.pem
140
144
  - checksum/carrierwave-imageoptimizer-1.3.0.gem.sha512
141
145
  - checksum/carrierwave-imageoptimizer-1.4.0.gem.sha512
146
+ - checksum/carrierwave-imageoptimizer-1.4.1.gem.sha512
142
147
  - lib/carrierwave-imageoptimizer.rb
143
148
  - lib/carrierwave-imageoptimizer/version.rb
144
149
  - spec/carrierwave-imageoptimizer/version_spec.rb
@@ -163,8 +168,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
163
168
  - !ruby/object:Gem::Version
164
169
  version: '0'
165
170
  requirements: []
166
- rubyforge_project:
167
- rubygems_version: 2.5.1
171
+ rubygems_version: 3.0.6
168
172
  signing_key:
169
173
  specification_version: 4
170
174
  summary: Simply optimize CarrierWave images via jpegoptim or optipng
metadata.gz.sig CHANGED
Binary file