metanorma 0.3.16 → 0.3.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 852315bd99c43be144f89f44c7dd12f496040331c445eba840f506cca5709f21
4
- data.tar.gz: 13b3e2974595aed93d78bd8ec4250b93bac77ec6bcfe2655c16057ef622565d2
3
+ metadata.gz: 0a51a1c572c823a3f1a208d1c75e089cd7f1e191eb5dc89dd2bc04012ece2ea3
4
+ data.tar.gz: 7889abf74ac70892234649101925f4c05b0b4c6c01bc29e8cdeb70cd5e4323d1
5
5
  SHA512:
6
- metadata.gz: b693da39078d20bd20e78eb997a02f984ae4b3f7c3ef21ea02e27fa6d55cbf515d4ebd2979f648a949de0735593c6ecfaa874a14457a224497add3bcd558656d
7
- data.tar.gz: 3e03414cda0637a97a00233dea9a46351f029673339ae5ff7a24490181810022781f4b178bf0fe07e69697c02c9aef23586c44d8f6e0881a9ea3d0e9a29a3daa
6
+ metadata.gz: bb942d09644fbc3dde8ec950899f98249081e552eb314adf090264bef2400ba0ceb5e5ed3d714c2a44e2802970fcd356a792d0ef05becbdaf5679277b0000844
7
+ data.tar.gz: 1c131d03f690e65bd5e3a23ba482346d8e284ce316a018f2b5ca1abe484cb6d71a494973654e22b6508219c75df8df7b13c116dc0ac6bff95a5bbb39458bf2d4
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- metanorma (0.3.16)
4
+ metanorma (0.3.17)
5
5
  asciidoctor
6
6
  htmlentities
7
7
 
@@ -10,7 +10,7 @@ GEM
10
10
  specs:
11
11
  addressable (2.7.0)
12
12
  public_suffix (>= 2.0.2, < 5.0)
13
- asciidoctor (1.5.8)
13
+ asciidoctor (2.0.10)
14
14
  asciimath (1.0.9)
15
15
  byebug (10.0.2)
16
16
  cnccs (0.1.5)
@@ -22,7 +22,7 @@ GEM
22
22
  multipart-post (>= 1.2, < 3)
23
23
  ffi (1.11.1)
24
24
  gb-agencies (0.0.6)
25
- html2doc (0.9.0)
25
+ html2doc (0.9.1)
26
26
  asciimath (~> 1.0.9)
27
27
  htmlentities (~> 4.3.4)
28
28
  image_size
@@ -34,7 +34,7 @@ GEM
34
34
  iev (0.2.3)
35
35
  nokogiri (>= 1.10.4)
36
36
  image_size (2.0.2)
37
- isodoc (1.0.6)
37
+ isodoc (1.0.7)
38
38
  asciimath
39
39
  html2doc (~> 0.9.0)
40
40
  htmlentities (~> 4.3.4)
@@ -48,13 +48,12 @@ GEM
48
48
  uuidtools
49
49
  isoics (0.1.8)
50
50
  liquid (4.0.3)
51
- metanorma-iso (1.3.6)
52
- asciidoctor (~> 1.5.7)
51
+ metanorma-iso (1.3.7)
53
52
  isodoc (~> 1.0.0)
54
53
  metanorma-standoc (~> 1.3.0)
55
54
  ruby-jing
56
- metanorma-standoc (1.3.6)
57
- asciidoctor (~> 1.5.7)
55
+ metanorma-standoc (1.3.7)
56
+ asciidoctor (~> 2.0.0)
58
57
  concurrent-ruby
59
58
  html2doc (~> 0.9.0)
60
59
  iev (~> 0.2.1)
@@ -72,12 +71,13 @@ GEM
72
71
  mini_portile2 (2.4.0)
73
72
  mixlib-shellout (2.4.4)
74
73
  multipart-post (2.1.1)
75
- nokogiri (1.10.4)
74
+ nokogiri (1.10.5)
76
75
  mini_portile2 (~> 2.4.0)
77
76
  optout (0.0.2)
78
77
  public_suffix (4.0.1)
79
78
  rake (12.3.3)
80
- relaton (0.5.9)
79
+ relaton (0.5.11)
80
+ relaton-calconnect (~> 0.1.0)
81
81
  relaton-gb (~> 0.6.0)
82
82
  relaton-iec (~> 0.4.0)
83
83
  relaton-ietf (~> 0.6.0)
@@ -85,33 +85,36 @@ GEM
85
85
  relaton-itu (~> 0.3.0)
86
86
  relaton-nist (~> 0.3.0)
87
87
  relaton-ogc (~> 0.1.0)
88
- relaton-bib (0.3.11)
88
+ relaton-bib (0.3.12)
89
89
  addressable
90
90
  nokogiri
91
- relaton-gb (0.6.6)
91
+ relaton-calconnect (0.1.0)
92
+ faraday
93
+ relaton-iso-bib (~> 0.3.0)
94
+ relaton-gb (0.6.7)
92
95
  cnccs (~> 0.1.1)
93
96
  gb-agencies (~> 0.0.1)
94
97
  relaton-iso-bib (~> 0.3.0)
95
- relaton-iec (0.4.9)
98
+ relaton-iec (0.4.10)
96
99
  addressable
97
100
  relaton-iso-bib (~> 0.3.0)
98
- relaton-ietf (0.6.7)
101
+ relaton-ietf (0.6.9)
99
102
  relaton-bib (~> 0.3.0)
100
103
  relaton-iev (0.1.1)
101
104
  relaton (~> 0.5.0)
102
- relaton-iso (0.6.8)
105
+ relaton-iso (0.6.9)
103
106
  relaton-iec (~> 0.4.0)
104
107
  relaton-iso-bib (~> 0.3.0)
105
- relaton-iso-bib (0.3.11)
108
+ relaton-iso-bib (0.3.12)
106
109
  isoics (~> 0.1.6)
107
110
  relaton-bib (~> 0.3.0)
108
111
  ruby_deep_clone (~> 0.8.0)
109
- relaton-itu (0.3.6)
112
+ relaton-itu (0.3.7)
110
113
  relaton-iso-bib (~> 0.3.0)
111
- relaton-nist (0.3.7)
114
+ relaton-nist (0.3.8)
112
115
  relaton-bib (~> 0.3.0)
113
116
  rubyzip
114
- relaton-ogc (0.1.3)
117
+ relaton-ogc (0.1.4)
115
118
  faraday
116
119
  relaton-iso-bib (~> 0.3.0)
117
120
  roman-numerals (0.3.0)
data/README.adoc CHANGED
@@ -1,9 +1,11 @@
1
1
  = Metanorma: the standard for standards
2
2
 
3
3
  image:https://img.shields.io/gem/v/metanorma.svg["Gem Version", link="https://rubygems.org/gems/metanorma"]
4
- image:https://img.shields.io/travis/metanorma/metanorma/master.svg["Build Status", link="https://travis-ci.org/metanorma/metanorma"]
4
+ image:https://travis-ci.com/metanorma/metanorma.svg["Build Status", link="https://travis-ci.com/metanorma/metanorma"]
5
+ image:https://ci.appveyor.com/api/projects/status/ya3ymheq7xq5wn74?svg=true["AppVeyor Build Status", link="https://ci.appveyor.com/project/metanorma/metanorma"]
5
6
  image:https://codeclimate.com/github/metanorma/metanorma/badges/gpa.svg["Code Climate", link="https://codeclimate.com/github/metanorma/metanorma"]
6
- image:https://ci.appveyor.com/api/projects/status/t8irmy9iq4xf1ouy?svg=true["AppVeyor Build Status", link="https://ci.appveyor.com/project/metanorma/metanorma"]
7
+ image:https://img.shields.io/github/issues-pr-raw/metanorma/metanorma.svg["Pull Requests", link="https://github.com/metanorma/metanorma/pulls"]
8
+ image:https://img.shields.io/github/commits-since/metanorma/metanorma/latest.svg["Commits since latest",link="https://github.com/metanorma/metanorma/releases"]
7
9
 
8
10
  Metanorma is dedicated to harmonizing standard documents
9
11
  produced by different standard-setting bodies in a manner that
data/bin/metanorma-pdf.js CHANGED
@@ -7,7 +7,11 @@ const createPdf = async() => {
7
7
  let browser;
8
8
  let exitCode = 0;
9
9
  try {
10
- browser = await puppeteer.launch({args: ['--no-sandbox', '--disable-setuid-sandbox', '--headless']});
10
+ let args = ['--no-sandbox', '--disable-setuid-sandbox', '--headless'];
11
+ if (!process.platform.startsWith('win')) {
12
+ args << '--single-process';
13
+ }
14
+ browser = await puppeteer.launch({args});
11
15
  const page = await browser.newPage();
12
16
  await page.goto(process.argv[2], {waitUntil: 'networkidle2'});
13
17
  await page.pdf({
@@ -15,8 +19,9 @@ const createPdf = async() => {
15
19
  format: 'A4'
16
20
  });
17
21
  } catch (err) {
18
- console.error(err.message);
19
- exitCode = 1
22
+ console.error(err.message);
23
+ console.error(err.stack);
24
+ exitCode = 1;
20
25
  } finally {
21
26
  if (browser) {
22
27
  browser.close();
@@ -24,4 +29,4 @@ const createPdf = async() => {
24
29
  process.exit(exitCode);
25
30
  }
26
31
  };
27
- createPdf();
32
+ createPdf();
@@ -1,3 +1,3 @@
1
1
  module Metanorma
2
- VERSION = "0.3.16"
2
+ VERSION = "0.3.17"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: metanorma
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.16
4
+ version: 0.3.17
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-10-27 00:00:00.000000000 Z
11
+ date: 2019-11-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: asciidoctor