paperclip-compression 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 02a81c110df8dafcfc26ab4001e1cae33e0726d5
4
- data.tar.gz: 0c02d5b5ac7fb8b114a9bb63f9bc9be88faf52b5
3
+ metadata.gz: 9e41fa79bcf4675d3b94af50660096b1cf925227
4
+ data.tar.gz: 5280be7920010d48f806356bdc9d06e991c36a81
5
5
  SHA512:
6
- metadata.gz: '089b87628388b3da6db1c48bd5feb72ecaef07e98689238ef405c685778df26461ab15600c8ee18a96de96f53f8b078f9bc92c9d67be8c851e16c95e3513a47e'
7
- data.tar.gz: 1da2739aa067ceca413c040f99f2e56a59ea02071949c09b2e49ef1b09ca7dc0da30ae6e8c22c27a80fc30b762dc7db56efb47d450db56a38eafd025031f2608
6
+ metadata.gz: 9bf4fe0ea19257d0c419f7e9e6a18d5fb45c7460ccc07ec7ec39c7e208774a403ebb41d2e346b532a680dc3310ae0f51eecbecdf73fa3bbcdff634ad547c520d
7
+ data.tar.gz: ef096fc079aa07512953d07a01900d76affb4eeb77f34714a68612a5814ec7809905f175a00f0fa945923e31f0858b846692b73e1b7da1f3a03fb92e14fe3445
@@ -5,7 +5,7 @@ module PaperclipCompression
5
5
  @file = file
6
6
  current_extension = File.extname(file.path)
7
7
  @basename = File.basename(file.path, current_extension)
8
- @dst = Paperclip::TempfileFactory.new.generate("#{@basename}.png")
8
+ @dst = Paperclip::TempfileFactory.new.generate(@basename)
9
9
  @dst_path = File.expand_path(@dst.path)
10
10
  @src_path = File.expand_path(@file.path)
11
11
  @first_processor = first_processor
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: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - İ. Emre Kutlu
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-11-28 00:00:00.000000000 Z
11
+ date: 2018-02-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: paperclip
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 4.3.6
19
+ version: 5.2.1
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: 4.3.6
26
+ version: 5.2.1
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: os
29
29
  requirement: !ruby/object:Gem::Requirement