metanorma-nist 1.0.10 → 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (46) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/macos.yml +0 -1
  3. data/.github/workflows/ubuntu.yml +10 -7
  4. data/.github/workflows/windows.yml +0 -1
  5. data/Rakefile +2 -0
  6. data/lib/asciidoctor/nist/boilerplate.rb +2 -2
  7. data/lib/asciidoctor/nist/cleanup.rb +34 -4
  8. data/lib/asciidoctor/nist/converter.rb +17 -19
  9. data/lib/asciidoctor/nist/front.rb +27 -23
  10. data/lib/asciidoctor/nist/front_id.rb +1 -1
  11. data/lib/asciidoctor/nist/isodoc.rng +12 -6
  12. data/lib/asciidoctor/nist/validate.rb +16 -9
  13. data/lib/isodoc/nist/base_convert.rb +8 -47
  14. data/lib/isodoc/nist/html/_coverpage.css +243 -0
  15. data/lib/isodoc/nist/html/_coverpage.scss +1 -1
  16. data/lib/isodoc/nist/html/html_nist_titlepage.html +1 -1
  17. data/lib/isodoc/nist/html/htmlstyle.css +955 -0
  18. data/lib/isodoc/nist/html/nist.css +1055 -0
  19. data/lib/isodoc/nist/html/nist.scss +0 -1
  20. data/lib/isodoc/nist/html/nist_cswp.css +996 -0
  21. data/lib/isodoc/nist/html/nist_cswp.scss +0 -1
  22. data/lib/isodoc/nist/html/wordstyle.css +1440 -0
  23. data/lib/isodoc/nist/html/wordstyle.scss +0 -1
  24. data/lib/isodoc/nist/html/wordstyle_cswp.css +1119 -0
  25. data/lib/isodoc/nist/html/wordstyle_cswp.scss +0 -1
  26. data/lib/isodoc/nist/html_convert.rb +4 -9
  27. data/lib/isodoc/nist/i18n-en.yaml +3 -0
  28. data/lib/isodoc/nist/i18n.rb +10 -0
  29. data/lib/isodoc/nist/init.rb +37 -0
  30. data/lib/isodoc/nist/metadata_id.rb +1 -1
  31. data/lib/isodoc/nist/nist.cswp.xsl +2010 -2301
  32. data/lib/isodoc/nist/nist.sp.xsl +2824 -2902
  33. data/lib/isodoc/nist/pdf_convert.rb +4 -16
  34. data/lib/isodoc/nist/presentation_xml_convert.rb +80 -0
  35. data/lib/isodoc/nist/refs.rb +8 -19
  36. data/lib/isodoc/nist/render.rb +2 -1
  37. data/lib/isodoc/nist/render_dates.rb +0 -25
  38. data/lib/isodoc/nist/section.rb +9 -6
  39. data/lib/isodoc/nist/word_convert.rb +7 -19
  40. data/lib/isodoc/nist/word_convert_toc.rb +2 -2
  41. data/lib/isodoc/nist/{xrefs.rb → xref.rb} +2 -25
  42. data/lib/metanorma-nist.rb +2 -0
  43. data/lib/metanorma/nist/processor.rb +6 -8
  44. data/lib/metanorma/nist/version.rb +1 -1
  45. data/metanorma-nist.gemspec +3 -2
  46. metadata +34 -12
@@ -30,11 +30,12 @@ Gem::Specification.new do |spec|
30
30
  spec.add_dependency "iso-639"
31
31
  spec.add_dependency "tzinfo-data" # we need this for windows only
32
32
 
33
- spec.add_dependency "metanorma-standoc", "~> 1.4.0"
34
- spec.add_dependency "isodoc", "~> 1.0.0"
33
+ spec.add_dependency "metanorma-standoc", "~> 1.5.0"
34
+ spec.add_dependency "isodoc", "~> 1.2.0"
35
35
  #spec.add_dependency "relaton-nist", "~> 0.3.0"
36
36
 
37
37
  spec.add_development_dependency "byebug", "~> 9.1"
38
+ spec.add_development_dependency "sassc", "2.4.0"
38
39
  spec.add_development_dependency "equivalent-xml", "~> 0.6"
39
40
  spec.add_development_dependency "guard", "~> 2.14"
40
41
  spec.add_development_dependency "guard-rspec", "~> 4.7"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: metanorma-nist
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.10
4
+ version: 1.2.0
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: 2020-06-19 00:00:00.000000000 Z
11
+ date: 2020-07-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: htmlentities
@@ -86,28 +86,28 @@ dependencies:
86
86
  requirements:
87
87
  - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: 1.4.0
89
+ version: 1.5.0
90
90
  type: :runtime
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - "~>"
95
95
  - !ruby/object:Gem::Version
96
- version: 1.4.0
96
+ version: 1.5.0
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: isodoc
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
101
  - - "~>"
102
102
  - !ruby/object:Gem::Version
103
- version: 1.0.0
103
+ version: 1.2.0
104
104
  type: :runtime
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
108
  - - "~>"
109
109
  - !ruby/object:Gem::Version
110
- version: 1.0.0
110
+ version: 1.2.0
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: byebug
113
113
  requirement: !ruby/object:Gem::Requirement
@@ -122,6 +122,20 @@ dependencies:
122
122
  - - "~>"
123
123
  - !ruby/object:Gem::Version
124
124
  version: '9.1'
125
+ - !ruby/object:Gem::Dependency
126
+ name: sassc
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - '='
130
+ - !ruby/object:Gem::Version
131
+ version: 2.4.0
132
+ type: :development
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - '='
137
+ - !ruby/object:Gem::Version
138
+ version: 2.4.0
125
139
  - !ruby/object:Gem::Dependency
126
140
  name: equivalent-xml
127
141
  requirement: !ruby/object:Gem::Requirement
@@ -272,6 +286,7 @@ files:
272
286
  - lib/asciidoctor/nist/validate.rb
273
287
  - lib/isodoc/nist/base_convert.rb
274
288
  - lib/isodoc/nist/common.xsl
289
+ - lib/isodoc/nist/html/_coverpage.css
275
290
  - lib/isodoc/nist/html/_coverpage.scss
276
291
  - lib/isodoc/nist/html/commerce-logo-color.png
277
292
  - lib/isodoc/nist/html/deptofcommerce.png
@@ -279,25 +294,33 @@ files:
279
294
  - lib/isodoc/nist/html/header_cswp.html
280
295
  - lib/isodoc/nist/html/html_nist_intro.html
281
296
  - lib/isodoc/nist/html/html_nist_titlepage.html
297
+ - lib/isodoc/nist/html/htmlstyle.css
282
298
  - lib/isodoc/nist/html/htmlstyle.scss
283
299
  - lib/isodoc/nist/html/logo.png
284
300
  - lib/isodoc/nist/html/logo_cswp.png
301
+ - lib/isodoc/nist/html/nist.css
285
302
  - lib/isodoc/nist/html/nist.scss
303
+ - lib/isodoc/nist/html/nist_cswp.css
286
304
  - lib/isodoc/nist/html/nist_cswp.scss
287
305
  - lib/isodoc/nist/html/scripts.html
288
306
  - lib/isodoc/nist/html/word_nist_intro.html
289
307
  - lib/isodoc/nist/html/word_nist_intro_cswp.html
290
308
  - lib/isodoc/nist/html/word_nist_titlepage.html
291
309
  - lib/isodoc/nist/html/word_nist_titlepage_cswp.html
310
+ - lib/isodoc/nist/html/wordstyle.css
292
311
  - lib/isodoc/nist/html/wordstyle.scss
312
+ - lib/isodoc/nist/html/wordstyle_cswp.css
293
313
  - lib/isodoc/nist/html/wordstyle_cswp.scss
294
314
  - lib/isodoc/nist/html_convert.rb
295
315
  - lib/isodoc/nist/i18n-en.yaml
316
+ - lib/isodoc/nist/i18n.rb
317
+ - lib/isodoc/nist/init.rb
296
318
  - lib/isodoc/nist/metadata.rb
297
319
  - lib/isodoc/nist/metadata_id.rb
298
320
  - lib/isodoc/nist/nist.cswp.xsl
299
321
  - lib/isodoc/nist/nist.sp.xsl
300
322
  - lib/isodoc/nist/pdf_convert.rb
323
+ - lib/isodoc/nist/presentation_xml_convert.rb
301
324
  - lib/isodoc/nist/refs.rb
302
325
  - lib/isodoc/nist/render.rb
303
326
  - lib/isodoc/nist/render_contributors.rb
@@ -305,7 +328,7 @@ files:
305
328
  - lib/isodoc/nist/section.rb
306
329
  - lib/isodoc/nist/word_convert.rb
307
330
  - lib/isodoc/nist/word_convert_toc.rb
308
- - lib/isodoc/nist/xrefs.rb
331
+ - lib/isodoc/nist/xref.rb
309
332
  - lib/metanorma-nist.rb
310
333
  - lib/metanorma/nist.rb
311
334
  - lib/metanorma/nist/processor.rb
@@ -315,7 +338,7 @@ homepage: https://github.com/metanorma/metanorma-nist
315
338
  licenses:
316
339
  - BSD-2-Clause
317
340
  metadata: {}
318
- post_install_message:
341
+ post_install_message:
319
342
  rdoc_options: []
320
343
  require_paths:
321
344
  - lib
@@ -330,9 +353,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
330
353
  - !ruby/object:Gem::Version
331
354
  version: '0'
332
355
  requirements: []
333
- rubyforge_project:
334
- rubygems_version: 2.7.6
335
- signing_key:
356
+ rubygems_version: 3.0.3
357
+ signing_key:
336
358
  specification_version: 4
337
359
  summary: Metanorma NIST gem.
338
360
  test_files: []