metanorma 0.3.15 → 0.3.16

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: 80a8e942600861a33b57a4cd06f724c71b96b1cde0aa6fa9c2c59122e4c85761
4
- data.tar.gz: d6503db012d02ea7675e9b25320e8d4e238645648d55fbfc6d750c06a1fc278e
3
+ metadata.gz: 852315bd99c43be144f89f44c7dd12f496040331c445eba840f506cca5709f21
4
+ data.tar.gz: 13b3e2974595aed93d78bd8ec4250b93bac77ec6bcfe2655c16057ef622565d2
5
5
  SHA512:
6
- metadata.gz: 3332ddbc4bab74f74b92a0411c7e70190950ac56bd080394814aa126b3534c76a2f9aba577fb58a880747cb3edfb7f5529f20309af93f67de5a618318f1ed43b
7
- data.tar.gz: 33a85d1c904fd7d1e5177a30e3c8446ea65cf42531c7436f9bf57ed6ebc2e1e3566e5f0600c64076f16b8eee0233b5dc44ef0ad2d4acb4db16dd5fd0f8dfdc8d
6
+ metadata.gz: b693da39078d20bd20e78eb997a02f984ae4b3f7c3ef21ea02e27fa6d55cbf515d4ebd2979f648a949de0735593c6ecfaa874a14457a224497add3bcd558656d
7
+ data.tar.gz: 3e03414cda0637a97a00233dea9a46351f029673339ae5ff7a24490181810022781f4b178bf0fe07e69697c02c9aef23586c44d8f6e0881a9ea3d0e9a29a3daa
@@ -0,0 +1,34 @@
1
+ # Auto-generated !!! Do not edit it manually
2
+ # use ci-master https://github.com/metanorma/metanorma-build-scripts
3
+ name: macos
4
+
5
+ on: [push]
6
+
7
+ jobs:
8
+ test-macos:
9
+ name: Test on Ruby ${{ matrix.ruby }} macOS
10
+ runs-on: macos-latest
11
+ strategy:
12
+ matrix:
13
+ ruby: [ '2.6', '2.5', '2.4' ]
14
+ steps:
15
+ - uses: actions/checkout@master
16
+ - name: Use Ruby
17
+ uses: actions/setup-ruby@v1
18
+ with:
19
+ ruby-version: ${{ matrix.ruby }}
20
+ architecture: 'x64'
21
+ - name: Update gems
22
+ run: |
23
+ sudo gem install bundler -v "~> 2" --force
24
+ bundle install --jobs 4 --retry 3
25
+ - name: Use Node
26
+ uses: actions/setup-node@v1
27
+ with:
28
+ node-version: '8'
29
+ - name: Install Puppeteer
30
+ run: |
31
+ npm install -g puppeteer
32
+ - name: Run specs
33
+ run: |
34
+ bundle exec rake
@@ -0,0 +1,34 @@
1
+ # Auto-generated !!! Do not edit it manually
2
+ # use ci-master https://github.com/metanorma/metanorma-build-scripts
3
+ name: ubuntu
4
+
5
+ on: [push]
6
+
7
+ jobs:
8
+ test-linux:
9
+ name: Test on Ruby ${{ matrix.ruby }} Ubuntu
10
+ runs-on: ubuntu-latest
11
+ strategy:
12
+ matrix:
13
+ ruby: [ '2.6', '2.5', '2.4' ]
14
+ steps:
15
+ - uses: actions/checkout@master
16
+ - name: Use Ruby
17
+ uses: actions/setup-ruby@v1
18
+ with:
19
+ ruby-version: ${{ matrix.ruby }}
20
+ architecture: 'x64'
21
+ - name: Update gems
22
+ run: |
23
+ gem install bundler -v "~> 2"
24
+ bundle install --jobs 4 --retry 3
25
+ - name: Use Node
26
+ uses: actions/setup-node@v1
27
+ with:
28
+ node-version: '8'
29
+ - name: Install Puppeteer
30
+ run: |
31
+ npm install -g puppeteer
32
+ - name: Run specs
33
+ run: |
34
+ bundle exec rake
@@ -0,0 +1,37 @@
1
+ # Auto-generated !!! Do not edit it manually
2
+ # use ci-master https://github.com/metanorma/metanorma-build-scripts
3
+ name: windows
4
+
5
+ on: [push]
6
+
7
+ jobs:
8
+ test-windows:
9
+ name: Test on Ruby ${{ matrix.ruby }} Windows
10
+ runs-on: windows-latest
11
+ strategy:
12
+ matrix:
13
+ ruby: [ '2.6', '2.5', '2.4' ]
14
+ steps:
15
+ - uses: actions/checkout@master
16
+ - name: Use Ruby
17
+ uses: actions/setup-ruby@v1
18
+ with:
19
+ ruby-version: ${{ matrix.ruby }}
20
+ architecture: 'x64'
21
+ - name: Update gems
22
+ shell: pwsh
23
+ run: |
24
+ gem install bundler -v "~> 2"
25
+ bundle config --local path vendor/bundle
26
+ bundle update
27
+ bundle install --jobs 4 --retry 3
28
+ - name: Use Node
29
+ uses: actions/setup-node@v1
30
+ with:
31
+ node-version: '8'
32
+ - name: Install Puppeteer
33
+ run: |
34
+ npm install -g puppeteer
35
+ - name: Run specs
36
+ run: |
37
+ bundle exec rake
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- metanorma (0.3.15)
4
+ metanorma (0.3.16)
5
5
  asciidoctor
6
6
  htmlentities
7
7
 
@@ -11,19 +11,19 @@ GEM
11
11
  addressable (2.7.0)
12
12
  public_suffix (>= 2.0.2, < 5.0)
13
13
  asciidoctor (1.5.8)
14
- asciimath (1.0.8)
14
+ asciimath (1.0.9)
15
15
  byebug (10.0.2)
16
- cnccs (0.1.4)
16
+ cnccs (0.1.5)
17
17
  concurrent-ruby (1.1.5)
18
18
  diff-lcs (1.3)
19
19
  equivalent-xml (0.6.0)
20
20
  nokogiri (>= 1.4.3)
21
- faraday (0.15.4)
21
+ faraday (0.17.0)
22
22
  multipart-post (>= 1.2, < 3)
23
23
  ffi (1.11.1)
24
24
  gb-agencies (0.0.6)
25
- html2doc (0.8.13)
26
- asciimath (~> 1.0.7)
25
+ html2doc (0.9.0)
26
+ asciimath (~> 1.0.9)
27
27
  htmlentities (~> 4.3.4)
28
28
  image_size
29
29
  mime-types
@@ -34,29 +34,29 @@ GEM
34
34
  iev (0.2.3)
35
35
  nokogiri (>= 1.10.4)
36
36
  image_size (2.0.2)
37
- isodoc (1.0.3)
37
+ isodoc (1.0.6)
38
38
  asciimath
39
- html2doc (~> 0.8.11)
39
+ html2doc (~> 0.9.0)
40
40
  htmlentities (~> 4.3.4)
41
41
  liquid
42
42
  metanorma (~> 0.3.0)
43
43
  nokogiri (>= 1.10.4)
44
44
  rake (~> 12.0)
45
45
  roman-numerals
46
- sassc (~> 2)
46
+ sassc (~> 2.2.1)
47
47
  thread_safe
48
48
  uuidtools
49
49
  isoics (0.1.8)
50
50
  liquid (4.0.3)
51
- metanorma-iso (1.3.3)
51
+ metanorma-iso (1.3.6)
52
52
  asciidoctor (~> 1.5.7)
53
53
  isodoc (~> 1.0.0)
54
54
  metanorma-standoc (~> 1.3.0)
55
55
  ruby-jing
56
- metanorma-standoc (1.3.3)
56
+ metanorma-standoc (1.3.6)
57
57
  asciidoctor (~> 1.5.7)
58
58
  concurrent-ruby
59
- html2doc (~> 0.8.11)
59
+ html2doc (~> 0.9.0)
60
60
  iev (~> 0.2.1)
61
61
  isodoc (~> 1.0.0)
62
62
  mimemagic
@@ -67,7 +67,7 @@ GEM
67
67
  unicode2latex (~> 0.0.1)
68
68
  mime-types (3.3)
69
69
  mime-types-data (~> 3.2015)
70
- mime-types-data (3.2019.0904)
70
+ mime-types-data (3.2019.1009)
71
71
  mimemagic (0.3.3)
72
72
  mini_portile2 (2.4.0)
73
73
  mixlib-shellout (2.4.4)
@@ -77,7 +77,7 @@ GEM
77
77
  optout (0.0.2)
78
78
  public_suffix (4.0.1)
79
79
  rake (12.3.3)
80
- relaton (0.5.5)
80
+ relaton (0.5.9)
81
81
  relaton-gb (~> 0.6.0)
82
82
  relaton-iec (~> 0.4.0)
83
83
  relaton-ietf (~> 0.6.0)
@@ -85,56 +85,56 @@ 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.8)
88
+ relaton-bib (0.3.11)
89
89
  addressable
90
90
  nokogiri
91
- relaton-gb (0.6.4)
91
+ relaton-gb (0.6.6)
92
92
  cnccs (~> 0.1.1)
93
93
  gb-agencies (~> 0.0.1)
94
94
  relaton-iso-bib (~> 0.3.0)
95
- relaton-iec (0.4.6)
95
+ relaton-iec (0.4.9)
96
96
  addressable
97
97
  relaton-iso-bib (~> 0.3.0)
98
- relaton-ietf (0.6.5)
98
+ relaton-ietf (0.6.7)
99
99
  relaton-bib (~> 0.3.0)
100
100
  relaton-iev (0.1.1)
101
101
  relaton (~> 0.5.0)
102
- relaton-iso (0.6.6)
102
+ relaton-iso (0.6.8)
103
103
  relaton-iec (~> 0.4.0)
104
104
  relaton-iso-bib (~> 0.3.0)
105
- relaton-iso-bib (0.3.7)
105
+ relaton-iso-bib (0.3.11)
106
106
  isoics (~> 0.1.6)
107
107
  relaton-bib (~> 0.3.0)
108
108
  ruby_deep_clone (~> 0.8.0)
109
- relaton-itu (0.3.4)
109
+ relaton-itu (0.3.6)
110
110
  relaton-iso-bib (~> 0.3.0)
111
- relaton-nist (0.3.5)
111
+ relaton-nist (0.3.7)
112
112
  relaton-bib (~> 0.3.0)
113
113
  rubyzip
114
- relaton-ogc (0.1.1)
114
+ relaton-ogc (0.1.3)
115
115
  faraday
116
116
  relaton-iso-bib (~> 0.3.0)
117
117
  roman-numerals (0.3.0)
118
- rspec (3.8.0)
119
- rspec-core (~> 3.8.0)
120
- rspec-expectations (~> 3.8.0)
121
- rspec-mocks (~> 3.8.0)
118
+ rspec (3.9.0)
119
+ rspec-core (~> 3.9.0)
120
+ rspec-expectations (~> 3.9.0)
121
+ rspec-mocks (~> 3.9.0)
122
122
  rspec-command (1.0.3)
123
123
  mixlib-shellout (~> 2.0)
124
124
  rspec (~> 3.2)
125
125
  rspec-its (~> 1.2)
126
- rspec-core (3.8.2)
127
- rspec-support (~> 3.8.0)
128
- rspec-expectations (3.8.4)
126
+ rspec-core (3.9.0)
127
+ rspec-support (~> 3.9.0)
128
+ rspec-expectations (3.9.0)
129
129
  diff-lcs (>= 1.2.0, < 2.0)
130
- rspec-support (~> 3.8.0)
130
+ rspec-support (~> 3.9.0)
131
131
  rspec-its (1.3.0)
132
132
  rspec-core (>= 3.0.0)
133
133
  rspec-expectations (>= 3.0.0)
134
- rspec-mocks (3.8.1)
134
+ rspec-mocks (3.9.0)
135
135
  diff-lcs (>= 1.2.0, < 2.0)
136
- rspec-support (~> 3.8.0)
137
- rspec-support (3.8.2)
136
+ rspec-support (~> 3.9.0)
137
+ rspec-support (3.9.0)
138
138
  ruby-jing (0.0.1)
139
139
  optout (>= 0.0.2)
140
140
  ruby_deep_clone (0.8.0)
@@ -56,6 +56,7 @@ module Metanorma
56
56
  /\n:data-uri-image: (?<datauriimage>[^\n]+)\n/ =~ headerextract
57
57
  /\n:htmltoclevels: (?<htmltoclevels>[^\n]+)\n/ =~ headerextract
58
58
  /\n:doctoclevels: (?<doctoclevels>[^\n]+)\n/ =~ headerextract
59
+ /\n:hierarchical-assets: (?<hierarchical_assets>[^\n]+)\n/ =~ headerextract
59
60
  {
60
61
  script: defined?(script) ? script : nil,
61
62
  bodyfont: defined?(bodyfont) ? bodyfont : nil,
@@ -78,6 +79,7 @@ module Metanorma
78
79
  datauriimage: defined?(datauriimage) ? datauriimage != "false" : nil,
79
80
  htmltoclevels: defined?(htmltoclevels) ? htmltoclevels : nil,
80
81
  doctoclevels: defined?(doctoclevels) ? doctoclevels : nil,
82
+ hierarchical_assets: defined?(hierarchical_assets) ? hierarchical_assets : nil,
81
83
  }.reject { |_, val| val.nil? }
82
84
  end
83
85
 
@@ -1,3 +1,3 @@
1
1
  module Metanorma
2
- VERSION = "0.3.15"
2
+ VERSION = "0.3.16"
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.15
4
+ version: 0.3.16
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-09-27 00:00:00.000000000 Z
11
+ date: 2019-10-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: asciidoctor
@@ -146,11 +146,13 @@ extra_rdoc_files:
146
146
  - CHANGELOG.adoc
147
147
  - LICENSE.txt
148
148
  files:
149
+ - ".github/workflows/macos.yml"
150
+ - ".github/workflows/ubuntu.yml"
151
+ - ".github/workflows/windows.yml"
149
152
  - ".gitignore"
150
153
  - ".hound.yml"
151
154
  - ".rspec"
152
155
  - ".rubocop.yml"
153
- - ".travis.yml"
154
156
  - CHANGELOG.adoc
155
157
  - CODE_OF_CONDUCT.md
156
158
  - Gemfile
@@ -158,7 +160,6 @@ files:
158
160
  - LICENSE.txt
159
161
  - README.adoc
160
162
  - Rakefile
161
- - appveyor.yml
162
163
  - bin/console
163
164
  - bin/metanorma-pdf.js
164
165
  - bin/rasterize.js
@@ -1,22 +0,0 @@
1
- # Auto-generated !!! Do not edit it manually
2
- # use ci-master https://github.com/metanorma/metanorma-build-scripts
3
- language: ruby
4
- cache: bundler
5
- os:
6
- - linux
7
- - osx
8
- rvm:
9
- - 2.6
10
- - 2.5
11
- - 2.4
12
- - ruby-head
13
- before_install:
14
- - nvm install 8
15
- - npm install -g puppeteer
16
- - npm install
17
- - gem install bundler -v "~> 2"
18
- - bundle update
19
- matrix:
20
- allow_failures:
21
- - rvm: ruby-head
22
-
@@ -1,37 +0,0 @@
1
- # Auto-generated !!! Do not edit it manually
2
- # use ci-master https://github.com/metanorma/metanorma-build-scripts
3
- version: '{build}'
4
-
5
- cache:
6
- - vendor/bundle
7
-
8
- environment:
9
- matrix:
10
- - RUBY_VERSION: 26
11
- - RUBY_VERSION: 25
12
- - RUBY_VERSION: 24
13
- - RUBY_VERSION: _trunk
14
-
15
- matrix:
16
- allow_failures:
17
- - RUBY_VERSION: _trunk
18
-
19
- install:
20
- - ps: . { iwr -useb https://raw.githubusercontent.com/metanorma/metanorma-build-scripts/master/appveyor.ps1 } | iex
21
- - refreshenv
22
-
23
- build_script:
24
- - set PATH=C:\Ruby%RUBY_VERSION%\bin;%PATH%
25
- - set GIT_TERMINAL_PROMPT=0
26
- - gem install bundler -v "~> 2"
27
- - bundle config --local path vendor/bundle
28
- - bundle update
29
- - bundle install
30
-
31
- before_test:
32
- - ruby -v
33
- - gem -v
34
- - bundle -v
35
-
36
- test_script:
37
- - bundle exec rake