mn2pdf 1.31.1 → 1.34

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
  SHA256:
3
- metadata.gz: cc29ab9e33c63c195e8eeaa8e22c3fe33607eb531ccdbc5bc3284c42a42dfe22
4
- data.tar.gz: fc68ca0b13f9521da57a703bc5e6491e8c29a4b9fe81b99fc82b7f130cb7d4a2
3
+ metadata.gz: 6710166bd3dd09708552b3ff121b7c6ac72c4177e06d0e70b15505d7be3ec6bb
4
+ data.tar.gz: 9b7dd555669aa93472086ded118286ea1b1c5414647bc456e2c04c25d348a53f
5
5
  SHA512:
6
- metadata.gz: b30c304091194176f84dff15ba04dbac40d5d9165e4981a861beecbbcbee9ff7256327ce44a4adfcb8b1070cd4008aedf2df87fa5d1bd6dbfd0b422ed8294646
7
- data.tar.gz: 49749b3728c13febea0820ca324b59a3296cd0b3804b3cd4d177f18c1afcddf48c88f777f780f130e14735ceb70ef2f8a18ddedf55c33f50db6bf8ffb3e34a94
6
+ metadata.gz: d23b6e8db7771fa842ef76496e2e60c26deca2e992cc28823cb653f29cbe621cc75db447521a6be6ae1fbe3b058d06bbe6754756e9af3763bdd8afe4b766bf42
7
+ data.tar.gz: 59ef4ef16510648f6ffc95e078a339def1b41c3e8c4fda72a8e22c4055bd7cf3161ed8971e97dc4d7d50f5332975fbbf95d2d91571b6d585b674cefbf6fef3b4
@@ -16,19 +16,9 @@ jobs:
16
16
  strategy:
17
17
  fail-fast: false
18
18
  matrix:
19
- ruby: [ '2.7', '2.6', '2.5', '2.4' ]
19
+ ruby: [ '3.0', '2.7', '2.6', '2.5' ]
20
20
  os: [ ubuntu-latest, windows-latest, macos-latest ]
21
21
  experimental: [ false ]
22
- include:
23
- - ruby: '3.0'
24
- os: 'ubuntu-latest'
25
- experimental: true
26
- - ruby: '3.0'
27
- os: 'windows-latest'
28
- experimental: true
29
- - ruby: '3.0'
30
- os: 'macos-latest'
31
- experimental: true
32
22
  steps:
33
23
  - uses: actions/checkout@v2
34
24
  with:
data/.hound.yml ADDED
@@ -0,0 +1,5 @@
1
+ # Auto-generated by Cimas: Do not edit it manually!
2
+ # See https://github.com/metanorma/cimas
3
+ ruby:
4
+ enabled: true
5
+ config_file: .rubocop.yml
data/.rubocop.yml CHANGED
@@ -1,6 +1,10 @@
1
- # This project follows the Ribose OSS style guide.
2
- # https://github.com/riboseinc/oss-guides
3
- # All project-specific additions and overrides should be specified in this file.
4
-
1
+ # Auto-generated by Cimas: Do not edit it manually!
2
+ # See https://github.com/metanorma/cimas
5
3
  inherit_from:
6
4
  - https://raw.githubusercontent.com/riboseinc/oss-guides/master/ci/rubocop.yml
5
+
6
+ # local repo-specific modifications
7
+ # ...
8
+
9
+ AllCops:
10
+ TargetRubyVersion: 2.5
data/bin/mn2pdf.jar CHANGED
Binary file
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", "-Xmx1024m", *jvm_options,
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
 
@@ -1,3 +1,3 @@
1
1
  module Mn2pdf
2
- VERSION = "1.31.1".freeze
2
+ VERSION = "1.34".freeze
3
3
  end
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.1
4
+ version: '1.34'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-05-10 00:00:00.000000000 Z
11
+ date: 2021-07-19 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: |
14
14
  mn2pdf converts Metanorma XML into PDF.
@@ -24,6 +24,7 @@ files:
24
24
  - ".github/workflows/release-tag.yml"
25
25
  - ".github/workflows/release.yml"
26
26
  - ".gitignore"
27
+ - ".hound.yml"
27
28
  - ".rspec"
28
29
  - ".rubocop.yml"
29
30
  - CODE_OF_CONDUCT.md
@@ -40,7 +41,7 @@ homepage: https://github.com/metanorma/mn2pdf-ruby
40
41
  licenses:
41
42
  - BSD-2-Clause
42
43
  metadata: {}
43
- post_install_message:
44
+ post_install_message:
44
45
  rdoc_options: []
45
46
  require_paths:
46
47
  - lib
@@ -55,8 +56,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
55
56
  - !ruby/object:Gem::Version
56
57
  version: '0'
57
58
  requirements: []
58
- rubygems_version: 3.1.4
59
- signing_key:
59
+ rubygems_version: 3.0.3.1
60
+ signing_key:
60
61
  specification_version: 4
61
62
  summary: mn2pdf converts Metanorma XML into PDF.
62
63
  test_files: []