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 +4 -4
- data/lib/pdflatex.rb +3 -1
- data/lib/pdflatex/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 59d794b94711d99d68bd508f4df9561ab1864de2
|
4
|
+
data.tar.gz: f44f9c9b4c3bd6daa52a0318ac958305eebb3555
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a61296eeede0787ca6082b1dfdc66fb1d55b7ae0d9fe239a1150eb49bc79b2aeae3074da0ddaa6b5710b46121cdf0bff6af617865c5ad8f278d581df214fba3d
|
7
|
+
data.tar.gz: fa74b4b7f5f320cb8cf0dfea66266022ba24b3badc7e83948887debc6d8548872541e4b21e5ea4ac6063c5563c77e67728f771d4e2e6686332b11f3ea627bf72
|
data/lib/pdflatex.rb
CHANGED
@@ -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
|
-
|
28
|
+
file_path = File.join(expanded_output_path, "#{file_name}.#{ext}")
|
29
|
+
File.delete(file_path)
|
28
30
|
end
|
29
31
|
end
|
30
32
|
|
data/lib/pdflatex/version.rb
CHANGED
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.
|
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-
|
11
|
+
date: 2017-06-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|