paperclip-compression 0.3.9 → 0.3.10
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/jpeg.rb +3 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
NDM1ODI1OWQwNzQwNDg3NTY0ZGU5ZWI3ZGE5NDViYTliMmVlNmZkYQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
YjEwNGFhMjcxNTYxMzI0OTgzZDhmOTg5MWZiMTY0MjZjMTgyMmMzMw==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
Njc2OTBkM2Q0MmI3YjZiNmRhMzlhNjU0YzFiOTFlYjgwYTIyNjdlMTU3ZTQ2
|
10
|
+
ZGFlYzgyYzEzODkzYmY3N2EwMGJlOWRhMmZmZjY1YTRhZjM2NDgxNTA4YjU5
|
11
|
+
ZmQ1MGFjMDU1NzQzYWQ0YjA0MjVlMDk1ZmI4YWVjMTQ2NzI3M2E=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
NmJkNDk1ODcyNjI5ODFkYzc4N2U1MTk0NDk0YWEzOWU3MWI0ODcwNTcxNDQ0
|
14
|
+
ZjU2MTQzNTUzNWE0MTI3M2U2NjQ4N2Q2OWI1MGJmMjk3ZmFjMGMwMWU0YTUy
|
15
|
+
M2Y2ODdiZmFjNjdiMjM1MWEzM2RlNTFiM2M4MmQ0ZGJkNGVmMWE=
|
@@ -18,7 +18,10 @@ module PaperclipCompression
|
|
18
18
|
def make
|
19
19
|
begin
|
20
20
|
if @cli_opts
|
21
|
+
# close dst file, so jpegtran can write it
|
22
|
+
@dst.close
|
21
23
|
Paperclip.run(command_path('jpegtran'), "#{@cli_opts} :src_path > :dst_path", src_path: @src_path, dst_path: @dst_path)
|
24
|
+
@dst.open
|
22
25
|
@dst
|
23
26
|
else
|
24
27
|
@file
|
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.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- İ. Emre Kutlu
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-08-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: paperclip
|