isodoc 2.1.1 → 2.1.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (77) hide show
  1. checksums.yaml +4 -4
  2. data/isodoc.gemspec +4 -1
  3. data/lib/isodoc/base_style/blocks.scss +7 -0
  4. data/lib/isodoc/class_utils.rb +16 -0
  5. data/lib/isodoc/function/inline.rb +2 -0
  6. data/lib/isodoc/function/lists.rb +24 -9
  7. data/lib/isodoc/function/to_word_html.rb +1 -0
  8. data/lib/isodoc/function/utils.rb +21 -7
  9. data/lib/isodoc/gem_tasks.rb +19 -10
  10. data/lib/isodoc/i18n.rb +19 -0
  11. data/lib/isodoc/metadata.rb +2 -2
  12. data/lib/isodoc/presentation_function/block.rb +7 -3
  13. data/lib/isodoc/presentation_function/image.rb +1 -1
  14. data/lib/isodoc/presentation_function/inline.rb +11 -12
  15. data/lib/isodoc/presentation_function/section.rb +1 -1
  16. data/lib/isodoc/presentation_function/xrefs.rb +23 -9
  17. data/lib/isodoc/presentation_xml_convert.rb +1 -0
  18. data/lib/isodoc/version.rb +1 -1
  19. data/lib/isodoc/word_function/body.rb +6 -3
  20. data/lib/isodoc/word_function/inline.rb +7 -2
  21. data/lib/isodoc/xref/xref_gen.rb +6 -6
  22. data/lib/isodoc/xref.rb +1 -1
  23. data/lib/isodoc-yaml/i18n-ar.yaml +1 -0
  24. data/lib/isodoc-yaml/i18n-de.yaml +1 -0
  25. data/lib/isodoc-yaml/i18n-en.yaml +1 -0
  26. data/lib/isodoc-yaml/i18n-es.yaml +1 -0
  27. data/lib/isodoc-yaml/i18n-fr.yaml +1 -0
  28. data/lib/isodoc-yaml/i18n-ru.yaml +1 -0
  29. data/lib/isodoc-yaml/i18n-zh-Hans.yaml +1 -0
  30. metadata +3 -50
  31. data/.github/workflows/rake.yml +0 -15
  32. data/.github/workflows/release.yml +0 -24
  33. data/.hound.yml +0 -5
  34. data/.oss-guides.rubocop.yml +0 -1077
  35. data/.rubocop.yml +0 -10
  36. data/Rakefile +0 -8
  37. data/bin/rspec +0 -17
  38. data/spec/assets/header.html +0 -7
  39. data/spec/assets/html.scss +0 -20
  40. data/spec/assets/html_override.css +0 -1
  41. data/spec/assets/htmlcover.html +0 -4
  42. data/spec/assets/htmlintro.html +0 -5
  43. data/spec/assets/i18n.yaml +0 -41
  44. data/spec/assets/iso.xml +0 -8
  45. data/spec/assets/odf.emf +0 -0
  46. data/spec/assets/odf.svg +0 -1
  47. data/spec/assets/odf1.svg +0 -4
  48. data/spec/assets/outputtest/a.xml +0 -66
  49. data/spec/assets/outputtest/iso.international-standard.xsl +0 -3011
  50. data/spec/assets/rice_image1 +0 -0
  51. data/spec/assets/rice_image1.png +0 -0
  52. data/spec/assets/scripts.html +0 -3
  53. data/spec/assets/scripts_override.html +0 -3
  54. data/spec/assets/std.css +0 -2
  55. data/spec/assets/word.css +0 -2
  56. data/spec/assets/word_override.css +0 -1
  57. data/spec/assets/wordcover.html +0 -3
  58. data/spec/assets/wordintro.html +0 -4
  59. data/spec/isodoc/blocks_spec.rb +0 -2934
  60. data/spec/isodoc/cleanup_spec.rb +0 -1056
  61. data/spec/isodoc/footnotes_spec.rb +0 -264
  62. data/spec/isodoc/form_spec.rb +0 -160
  63. data/spec/isodoc/i18n_spec.rb +0 -1201
  64. data/spec/isodoc/inline_spec.rb +0 -2301
  65. data/spec/isodoc/lists_spec.rb +0 -469
  66. data/spec/isodoc/metadata_spec.rb +0 -401
  67. data/spec/isodoc/postproc_spec.rb +0 -2938
  68. data/spec/isodoc/presentation_xml_spec.rb +0 -1476
  69. data/spec/isodoc/ref_spec.rb +0 -955
  70. data/spec/isodoc/section_spec.rb +0 -2123
  71. data/spec/isodoc/table_spec.rb +0 -588
  72. data/spec/isodoc/terms_spec.rb +0 -712
  73. data/spec/isodoc/utils_spec.rb +0 -57
  74. data/spec/isodoc/xref_numbering_spec.rb +0 -378
  75. data/spec/isodoc/xref_spec.rb +0 -1837
  76. data/spec/isodoc/xslfo_convert_spec.rb +0 -103
  77. data/spec/spec_helper.rb +0 -88
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: isodoc
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.1
4
+ version: 2.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-05-16 00:00:00.000000000 Z
11
+ date: 2022-06-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: asciimath
@@ -385,17 +385,10 @@ executables: []
385
385
  extensions: []
386
386
  extra_rdoc_files: []
387
387
  files:
388
- - ".github/workflows/rake.yml"
389
- - ".github/workflows/release.yml"
390
- - ".hound.yml"
391
- - ".oss-guides.rubocop.yml"
392
- - ".rubocop.yml"
393
388
  - CODE_OF_CONDUCT.md
394
389
  - Gemfile
395
390
  - LICENSE
396
391
  - README.adoc
397
- - Rakefile
398
- - bin/rspec
399
392
  - isodoc.gemspec
400
393
  - lib/isodoc-yaml/i18n-ar.yaml
401
394
  - lib/isodoc-yaml/i18n-de.yaml
@@ -492,46 +485,6 @@ files:
492
485
  - lib/metanorma/output/xslfo.rb
493
486
  - lib/relaton/render/config.yml
494
487
  - lib/relaton/render/general.rb
495
- - spec/assets/header.html
496
- - spec/assets/html.scss
497
- - spec/assets/html_override.css
498
- - spec/assets/htmlcover.html
499
- - spec/assets/htmlintro.html
500
- - spec/assets/i18n.yaml
501
- - spec/assets/iso.xml
502
- - spec/assets/odf.emf
503
- - spec/assets/odf.svg
504
- - spec/assets/odf1.svg
505
- - spec/assets/outputtest/a.xml
506
- - spec/assets/outputtest/iso.international-standard.xsl
507
- - spec/assets/rice_image1
508
- - spec/assets/rice_image1.png
509
- - spec/assets/scripts.html
510
- - spec/assets/scripts_override.html
511
- - spec/assets/std.css
512
- - spec/assets/word.css
513
- - spec/assets/word_override.css
514
- - spec/assets/wordcover.html
515
- - spec/assets/wordintro.html
516
- - spec/isodoc/blocks_spec.rb
517
- - spec/isodoc/cleanup_spec.rb
518
- - spec/isodoc/footnotes_spec.rb
519
- - spec/isodoc/form_spec.rb
520
- - spec/isodoc/i18n_spec.rb
521
- - spec/isodoc/inline_spec.rb
522
- - spec/isodoc/lists_spec.rb
523
- - spec/isodoc/metadata_spec.rb
524
- - spec/isodoc/postproc_spec.rb
525
- - spec/isodoc/presentation_xml_spec.rb
526
- - spec/isodoc/ref_spec.rb
527
- - spec/isodoc/section_spec.rb
528
- - spec/isodoc/table_spec.rb
529
- - spec/isodoc/terms_spec.rb
530
- - spec/isodoc/utils_spec.rb
531
- - spec/isodoc/xref_numbering_spec.rb
532
- - spec/isodoc/xref_spec.rb
533
- - spec/isodoc/xslfo_convert_spec.rb
534
- - spec/spec_helper.rb
535
488
  homepage: https://github.com/metanorma/isodoc
536
489
  licenses:
537
490
  - BSD-2-Clause
@@ -551,7 +504,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
551
504
  - !ruby/object:Gem::Version
552
505
  version: '0'
553
506
  requirements: []
554
- rubygems_version: 3.3.9
507
+ rubygems_version: 3.3.16
555
508
  signing_key:
556
509
  specification_version: 4
557
510
  summary: Convert documents in IsoDoc into Word and HTML in AsciiDoc.
@@ -1,15 +0,0 @@
1
- # Auto-generated by Cimas: Do not edit it manually!
2
- # See https://github.com/metanorma/cimas
3
- name: rake
4
-
5
- on:
6
- push:
7
- branches: [ master, main ]
8
- tags: [ v* ]
9
- pull_request:
10
-
11
- jobs:
12
- rake:
13
- uses: metanorma/metanorma-build-scripts/.github/workflows/inkscape-rake.yml@main
14
- secrets:
15
- pat_token: ${{ secrets.METANORMA_CI_PAT_TOKEN }}
@@ -1,24 +0,0 @@
1
- # Auto-generated by Cimas: Do not edit it manually!
2
- # See https://github.com/metanorma/cimas
3
- name: release
4
-
5
- on:
6
- workflow_dispatch:
7
- inputs:
8
- next_version:
9
- description: |
10
- Next release version. Possible values: x.y.z, major, minor, patch or pre|rc|etc
11
- required: true
12
- default: 'skip'
13
- push:
14
- tags: [ v* ]
15
-
16
- jobs:
17
- release:
18
- uses: metanorma/metanorma-build-scripts/.github/workflows/rubygems-release.yml@main
19
- with:
20
- next_version: ${{ github.event.inputs.next_version }}
21
- event_name: ${{ github.event_name }}
22
- secrets:
23
- rubygems-api-key: ${{ secrets.METANORMA_CI_RUBYGEMS_API_KEY }}
24
- pat_token: ${{ secrets.METANORMA_CI_PAT_TOKEN }}
data/.hound.yml DELETED
@@ -1,5 +0,0 @@
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