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 CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- NTdjNTY1ODJiN2MyZGQ4NjhhNDViOWFmZjM2NGU4OWYwOWI3YWMzNw==
4
+ NDM1ODI1OWQwNzQwNDg3NTY0ZGU5ZWI3ZGE5NDViYTliMmVlNmZkYQ==
5
5
  data.tar.gz: !binary |-
6
- NTVmMTZmMGUwYTU4ZWU3YWJkMzlmYTYzMmY2NzU4ZTQ1YzViNjYxMg==
6
+ YjEwNGFhMjcxNTYxMzI0OTgzZDhmOTg5MWZiMTY0MjZjMTgyMmMzMw==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- M2UxYjViYjZjNTgzZmEyOGYzZmY1ZTBhNjU5ZWQwMmQ3YzEzOGZlYTk4NWEw
10
- Y2NlMmUyOGNmMzQ5ODg4NDhhZWI1NTgxZTQ3ZDQ4MDA4ODg2OGMxZTA3MmE5
11
- NDg0YTgwZDFlY2EwM2ZlZDkxZDczZTg5ZDJjZmZkYTA1OTcxMzc=
9
+ Njc2OTBkM2Q0MmI3YjZiNmRhMzlhNjU0YzFiOTFlYjgwYTIyNjdlMTU3ZTQ2
10
+ ZGFlYzgyYzEzODkzYmY3N2EwMGJlOWRhMmZmZjY1YTRhZjM2NDgxNTA4YjU5
11
+ ZmQ1MGFjMDU1NzQzYWQ0YjA0MjVlMDk1ZmI4YWVjMTQ2NzI3M2E=
12
12
  data.tar.gz: !binary |-
13
- YzIwNDEwMDczNjBlMjMxZTEwNTZhOGJjYWJhYTI5ZTBlZDI2MTA0ODA3ODYw
14
- NjVlNjNlY2UwNTdhZTZlYjUxMWIxZDdlNzZlZThiODc5MWY5MDRjMTUyMDQ4
15
- MGNlMjJmYzkxYmFmM2U1MGU1ZDg3NmQwNzM2MTljMjE2ZWJjYTM=
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.9
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-07-13 00:00:00.000000000 Z
11
+ date: 2015-08-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: paperclip