docsplit 0.7.0 → 0.7.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'docsplit'
3
- s.version = '0.7.0' # Keep version in sync with docsplit.rb
3
+ s.version = '0.7.1' # Keep version in sync with docsplit.rb
4
4
  s.date = '2013-02-21'
5
5
 
6
6
  s.homepage = "http://documentcloud.github.com/docsplit/"
@@ -5,7 +5,7 @@ require 'shellwords'
5
5
  # The Docsplit module delegates to the Java PDF extractors.
6
6
  module Docsplit
7
7
 
8
- VERSION = '0.7.0' # Keep in sync with gemspec.
8
+ VERSION = '0.7.1' # Keep in sync with gemspec.
9
9
 
10
10
  ESCAPE = lambda {|x| Shellwords.shellescape(x) }
11
11
 
@@ -12,7 +12,7 @@ module Docsplit
12
12
  if ext.downcase == '.pdf'
13
13
  doc
14
14
  else
15
- tempdir = Dir.mktmpdir
15
+ tempdir = File.join(Dir.tmpdir, 'docsplit')
16
16
  extract_pdf([doc], {:output => tempdir})
17
17
  File.join(tempdir, File.basename(doc, ext) + '.pdf')
18
18
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: docsplit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.7.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: