mn2pdf 1.31.1 → 1.31.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/mn2pdf.rb +1 -1
- data/lib/mn2pdf/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b4cd0fe34c8b299b6b85c7218181a5f4052e82f8f05e425038507c432cd6f519
|
4
|
+
data.tar.gz: 010d84cd97d971c286ad1f04b2d39190d5beeba2efe265f666a27d1b91d016d0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d30399339c21d65bb5329f5912260740d130e95f693888318b8acd35f66db71cc6f0bbd10a93f9482cfc83263366ba3b344f13f318c45e477cb056301d9040f2
|
7
|
+
data.tar.gz: d641d7aaa3f7ea9d7593858b693fbef01676b847980901a6d83282285b1e8aa82c2a91e22deb12d9f5c06b89de2bbf7a318163bc28b96c6cf2954812dad97813
|
data/lib/mn2pdf.rb
CHANGED
@@ -30,7 +30,7 @@ module Mn2pdf
|
|
30
30
|
def self.convert(url_path, output_path, xsl_stylesheet, options = "")
|
31
31
|
return if url_path.nil? || output_path.nil? || xsl_stylesheet.nil?
|
32
32
|
|
33
|
-
cmd = ["java", "-Xss5m", "-
|
33
|
+
cmd = ["java", "-Xss5m", "-Xmx2048m", *jvm_options,
|
34
34
|
"-jar", MN2PDF_JAR_PATH, "--xml-file", url_path,
|
35
35
|
"--xsl-file", xsl_stylesheet, "--pdf-file", output_path, options].join(" ")
|
36
36
|
|
data/lib/mn2pdf/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mn2pdf
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.31.
|
4
|
+
version: 1.31.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ribose Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-05-
|
11
|
+
date: 2021-05-24 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: |
|
14
14
|
mn2pdf converts Metanorma XML into PDF.
|