pdflatex 0.2.0 → 0.2.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: ec7acb35c16d498b19e0bc125fb671493770ff7d
4
- data.tar.gz: 4ead2c891f88c23e8200b5f1994e04572030214e
3
+ metadata.gz: 59d794b94711d99d68bd508f4df9561ab1864de2
4
+ data.tar.gz: f44f9c9b4c3bd6daa52a0318ac958305eebb3555
5
5
  SHA512:
6
- metadata.gz: c79505c0cc6fae12354994af91c3aa41d27e497130103692486f20793b58d6aed6e3d6e66f144d64e2bde5c83fa92cc514a49991b3e5d0a44003e8ed2eb47493
7
- data.tar.gz: fb6f2ca45afe4bf5f95efa3969eae60c9e6f0f38ea54ace915a6cd28d71205285e435b88658c73995cfdda09caa2276d321201364cf005c129c3f6c361ec6a35
6
+ metadata.gz: a61296eeede0787ca6082b1dfdc66fb1d55b7ae0d9fe239a1150eb49bc79b2aeae3074da0ddaa6b5710b46121cdf0bff6af617865c5ad8f278d581df214fba3d
7
+ data.tar.gz: fa74b4b7f5f320cb8cf0dfea66266022ba24b3badc7e83948887debc6d8548872541e4b21e5ea4ac6063c5563c77e67728f771d4e2e6686332b11f3ea627bf72
@@ -22,9 +22,11 @@ module Pdflatex
22
22
  output = `#{cmd}`
23
23
 
24
24
  if $?.success?
25
+ file_name = File.basename(latex_file_name, '.tex')
25
26
  # remove auxilary files
26
27
  %w(aux fdb_latexmk fls log).each do |ext|
27
- Dir.glob(File.join(expanded_output_path, "*.#{ext}")).each { |file| File.delete(file) }
28
+ file_path = File.join(expanded_output_path, "#{file_name}.#{ext}")
29
+ File.delete(file_path)
28
30
  end
29
31
  end
30
32
 
@@ -1,3 +1,3 @@
1
1
  module Pdflatex
2
- VERSION = "0.2.0".freeze
2
+ VERSION = "0.2.1".freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pdflatex
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Urs Gerber
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-06-07 00:00:00.000000000 Z
11
+ date: 2017-06-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler