paperclip-compression 0.3.3 → 0.3.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/lib/paperclip-compression/paperclip/compression.rb +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
MDQyMzYxY2ZjZjljNjY2ZjA4ODU5NmU5YmYyNjlkODQ3Mzk2MmYyMQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
MTMzYTIyNDNjZjQ3ZjhmNzk5NmFlYjRmN2EyNTlmOWY3ODllMTM4OQ==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
M2NjZWIyMGFmNDM1YzNmMWZlOTc5YzY5NDNlMDBlZWJkNGVjZTdhNWIwMGMy
|
10
|
+
MzY0NTI2MDU2MjdjMGE1NjM3YmI2YzBhZWRmNDUzNjc0NDMxZjMyZjk0Zjc2
|
11
|
+
ZWRiOWZhM2Y1MjI5NDRjOTcyMjAwNzg1ZGRlZGViNmI5MjgyN2I=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
MzY2YzA4NmU2ODI1N2ViMGJmNjAyYzIwMWQ2ZTFiYzU1MWM0NGNhZDdlNjA4
|
14
|
+
NWIzN2NiZDg0OGJkZjgzNDVhMTg1NTdjNWU2ZjlmOWUwMTk3Yjk3YTI0YzAx
|
15
|
+
YzNhYTE0YmEzNDBhNDM0ODM3MjQ1MGQyYjVmNmE5NTRlZWQ0NDY=
|
@@ -22,7 +22,7 @@ module Paperclip
|
|
22
22
|
end
|
23
23
|
|
24
24
|
def content_type
|
25
|
-
@file.is_a?(Paperclip::
|
25
|
+
@file.is_a?(Paperclip::AbstractAdapter) ? @file.content_type : ImageSpec.new(@file).content_type
|
26
26
|
end
|
27
27
|
|
28
28
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: paperclip-compression
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- İ. Emre Kutlu
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-
|
11
|
+
date: 2013-08-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: paperclip
|
@@ -75,7 +75,8 @@ files:
|
|
75
75
|
- bin/win64/jpegtran.exe
|
76
76
|
- bin/win64/libjpeg-62.dll
|
77
77
|
homepage: http://github.com/emrekutlu/paperclip-compression
|
78
|
-
licenses:
|
78
|
+
licenses:
|
79
|
+
- MIT
|
79
80
|
metadata: {}
|
80
81
|
post_install_message:
|
81
82
|
rdoc_options: []
|