kelredd-pruview 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of kelredd-pruview might be problematic. Click here for more details.
- data/lib/pruview/document.rb +1 -1
- data/lib/pruview/version.rb +1 -1
- metadata +2 -2
data/lib/pruview/document.rb
CHANGED
@@ -22,7 +22,7 @@ module Pruview
|
|
22
22
|
img.quality '90'
|
23
23
|
img.interlace 'plane'
|
24
24
|
end
|
25
|
-
tmp_target = File.join(TMP_DIR, name.to_s
|
25
|
+
tmp_target = File.join(TMP_DIR, "#{name.to_s}-#{$$}-#{Time.now.to_i}-#{rand(1000)}.jpg")
|
26
26
|
scale_img.write(tmp_target)
|
27
27
|
FileUtils.chmod(@target_permission, tmp_target)
|
28
28
|
target = File.join(@target_dir, name.to_s + '.jpg')
|
data/lib/pruview/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kelredd-pruview
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kelly Redding
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2010-01-
|
12
|
+
date: 2010-01-21 00:00:00 -06:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|