paperclip-optimizer 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/CHANGELOG.md +5 -0
- data/lib/paperclip-optimizer.rb +5 -6
- data/lib/paperclip-optimizer/version.rb +1 -1
- data/paperclip-optimizer.gemspec +2 -4
- metadata +2 -16
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
NGEzODU1MjYxODJhNDM2ZjI0ZjZkY2IyN2E2YTg5ZWM5NDBkYmRmOQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
Y2U0ODFmNWVhYTg4ZmE1OTIwODg5YjhmZTA0OTA1MjU5NDMwYzNjMw==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
ZWUxZjhlNzgyNGViMDQ0MjE4MmM3YjI2NWZiYWYxYjQwY2EzNzYyNjE3NzQy
|
10
|
+
ZjJiYWEzMjQ4Mzc2Nzc4Y2E1OTQ4ZTI2YWM4MTFkMTc3NWU3YWJlNTM5MDUz
|
11
|
+
ZmViOWY3Y2UwZTEyODdjYTkwMDY0OTIzZDI1YmJiNzBiMDYxYTI=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
NTM3N2M3MjY5YTgyZGM2MjBiZjM2ODVmOTZmMjIzNWFmOThkMzhkOGExZDQ0
|
14
|
+
ODVjMGYxNTkzNmVkNjFkZDAwYTUyNTgzODJmZGM4OGRkYjE0MGY0YmFjMjIw
|
15
|
+
ZjU4NjQ3ODgzM2FlZWM0MmRkNTk1YTgzZDYxMTUxNGZlYWQ0ODM=
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
# CHANGELOG
|
2
2
|
|
3
|
+
## 1.0.1
|
4
|
+
|
5
|
+
* do not produce verbose log output by default - [Sunny Ripert](https://github.com/sunny)
|
6
|
+
* declare the dependency on Paperclip only once - [Sunny Ripert](https://github.com/sunny)
|
7
|
+
|
3
8
|
## 1.0.0
|
4
9
|
|
5
10
|
* we're going to 1.0.0 after six months in production
|
data/lib/paperclip-optimizer.rb
CHANGED
@@ -3,11 +3,10 @@ require "paperclip-optimizer/processor"
|
|
3
3
|
|
4
4
|
module PaperclipOptimizer
|
5
5
|
DEFAULT_SETTINGS = {
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
jpegoptim: false,
|
6
|
+
pngcrush: false,
|
7
|
+
pngout: false,
|
8
|
+
advpng: false,
|
9
|
+
jpegoptim: false,
|
11
10
|
gifsicle: false
|
12
11
|
}.freeze
|
13
12
|
|
@@ -28,4 +27,4 @@ module PaperclipOptimizer
|
|
28
27
|
def flush; end
|
29
28
|
end
|
30
29
|
|
31
|
-
end
|
30
|
+
end
|
data/paperclip-optimizer.gemspec
CHANGED
@@ -13,8 +13,8 @@ Gem::Specification.new do |spec|
|
|
13
13
|
spec.homepage = "https://github.com/janfoeh/paperclip-optimizer"
|
14
14
|
spec.license = "MIT"
|
15
15
|
|
16
|
-
spec.
|
17
|
-
spec.
|
16
|
+
spec.add_runtime_dependency "paperclip", "~> 3.5.2"
|
17
|
+
spec.add_runtime_dependency "image_optim", "~> 0.9"
|
18
18
|
|
19
19
|
spec.add_development_dependency "bundler", "~> 1.3"
|
20
20
|
spec.add_development_dependency "rake", "~> 10.1"
|
@@ -22,8 +22,6 @@ Gem::Specification.new do |spec|
|
|
22
22
|
spec.add_development_dependency 'rails', ">= 3.2.13", "< 4.1.0"
|
23
23
|
spec.add_development_dependency 'sqlite3', "~> 1.3.7"
|
24
24
|
|
25
|
-
spec.add_runtime_dependency "paperclip"
|
26
|
-
|
27
25
|
spec.files = `git ls-files`.split($/)
|
28
26
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
29
27
|
spec.require_paths = ["lib"]
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: paperclip-optimizer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jan-Christian Föh
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2014-01-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: paperclip
|
@@ -114,20 +114,6 @@ dependencies:
|
|
114
114
|
- - ~>
|
115
115
|
- !ruby/object:Gem::Version
|
116
116
|
version: 1.3.7
|
117
|
-
- !ruby/object:Gem::Dependency
|
118
|
-
name: paperclip
|
119
|
-
requirement: !ruby/object:Gem::Requirement
|
120
|
-
requirements:
|
121
|
-
- - ! '>='
|
122
|
-
- !ruby/object:Gem::Version
|
123
|
-
version: '0'
|
124
|
-
type: :runtime
|
125
|
-
prerelease: false
|
126
|
-
version_requirements: !ruby/object:Gem::Requirement
|
127
|
-
requirements:
|
128
|
-
- - ! '>='
|
129
|
-
- !ruby/object:Gem::Version
|
130
|
-
version: '0'
|
131
117
|
description: paperclip-optimizer is a processor for Paperclip that allows you to optimize
|
132
118
|
and minify uploaded JPEG and PNG files.
|
133
119
|
email:
|