pdflatex 0.2.2 → 0.3.0

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
- SHA1:
3
- metadata.gz: 956465a120471946e923cd08341d119f14520e17
4
- data.tar.gz: 0ff957dee3fcac83365d23b32d49a053d6119c4e
2
+ SHA256:
3
+ metadata.gz: a05c520748d7c7ee7d8a4bb26227c1c30cb9ee7bcbf9e7393d47aff109046504
4
+ data.tar.gz: c04b1ba0f7f61fa7b25c0b293080c1e80fd4c5b4a0a0eedbe46c6150eae13be9
5
5
  SHA512:
6
- metadata.gz: e8912fbedb8e57cb3f512a2dd08301b730afa145e164133496866b29594430fb4c9523d7559f4c7cf34487190bdffc70e7f045d9ee15986640b0d804f920d70b
7
- data.tar.gz: 8fa287987cf5462d635f9b039edae5b8739dea5244bbbb11932f203995320b8c5f8608e2dec805f64a57d7386c8ef1c281eefc335071b3dae782d4ed8bfb2c54
6
+ metadata.gz: eba6e416467563470eedc8a81953d340d1847e8267f33cf0fe500837b650ab75b22f0ae7870ec787502de08cada4824f49f4bace6d8f4b48a7cc59bdc57bc50c
7
+ data.tar.gz: 4241094d2121b12ae026c2cf5da858b32b31745385a2a456066e5911525f63e579700fe9eeb1f55b394199d0a106f013b4b76ac3bd21cb55edeafdce946ceaaa
data/Dockerfile CHANGED
@@ -3,12 +3,8 @@ FROM ubuntu:16.04
3
3
  RUN apt-get -y update && \
4
4
  apt-get install -y texlive-latex-base texlive-latex-recommended texlive-lang-german latexmk
5
5
 
6
- RUN useradd -ms /bin/bash latex
6
+ WORKDIR /pdflatex
7
7
 
8
- USER latex
9
-
10
- WORKDIR /home/latex
11
-
12
- VOLUME /home/latex/out
8
+ VOLUME /pdflatex/out
13
9
 
14
10
  CMD latexmk -outdir=out -pdf compile.tex
@@ -13,9 +13,10 @@ module Pdflatex
13
13
  cmd = <<-CMD.gsub(/\s+/, ' ')
14
14
  docker run
15
15
  --rm
16
- -v #{path_to_latex_file}:/home/latex/#{latex_file_name}
17
- -v #{expanded_output_path}:/home/latex/out
18
- swissdrg/pdflatex
16
+ --user $(id -u)
17
+ -v #{path_to_latex_file}:/pdflatex/#{latex_file_name}
18
+ -v #{expanded_output_path}:/pdflatex/out
19
+ swissdrg/pdflatex:ride
19
20
  latexmk -outdir=out -pdf #{latex_file_name}
20
21
  CMD
21
22
 
@@ -1,3 +1,3 @@
1
1
  module Pdflatex
2
- VERSION = "0.2.2".freeze
2
+ VERSION = "0.3.0".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.2
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Urs Gerber
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-01-22 00:00:00.000000000 Z
11
+ date: 2019-01-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -93,7 +93,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
93
93
  version: '0'
94
94
  requirements: []
95
95
  rubyforge_project:
96
- rubygems_version: 2.6.11
96
+ rubygems_version: 2.7.6
97
97
  signing_key:
98
98
  specification_version: 4
99
99
  summary: Gem to render PDFs from tex files