relaton-iec 1.7.4 → 1.8.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (44) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/rake.yml +46 -0
  3. data/README.adoc +230 -1
  4. data/bin/rspec +29 -0
  5. data/grammars/basicdoc.rng +165 -20
  6. data/grammars/biblio.rng +4 -6
  7. data/grammars/iec.rng +92 -1
  8. data/grammars/isodoc.rng +460 -6
  9. data/grammars/isostandard.rng +42 -104
  10. data/grammars/reqt.rng +31 -2
  11. data/lib/relaton_iec.rb +71 -7
  12. data/lib/relaton_iec/basic_block/alignment.rb +30 -0
  13. data/lib/relaton_iec/basic_block/basic_block.rb +15 -0
  14. data/lib/relaton_iec/basic_block/citation_type.rb +32 -0
  15. data/lib/relaton_iec/basic_block/dl.rb +60 -0
  16. data/lib/relaton_iec/basic_block/eref.rb +10 -0
  17. data/lib/relaton_iec/basic_block/eref_type.rb +39 -0
  18. data/lib/relaton_iec/basic_block/formula.rb +34 -0
  19. data/lib/relaton_iec/basic_block/image.rb +41 -0
  20. data/lib/relaton_iec/basic_block/index.rb +27 -0
  21. data/lib/relaton_iec/basic_block/index_xref.rb +31 -0
  22. data/lib/relaton_iec/basic_block/note.rb +21 -0
  23. data/lib/relaton_iec/basic_block/paragraph.rb +27 -0
  24. data/lib/relaton_iec/basic_block/paragraph_with_footnote.rb +29 -0
  25. data/lib/relaton_iec/basic_block/reference_format.rb +38 -0
  26. data/lib/relaton_iec/basic_block/stem.rb +30 -0
  27. data/lib/relaton_iec/basic_block/table.rb +115 -0
  28. data/lib/relaton_iec/basic_block/text_element.rb +27 -0
  29. data/lib/relaton_iec/hash_converter.rb +1 -1
  30. data/lib/relaton_iec/hit.rb +4 -0
  31. data/lib/relaton_iec/hit_collection.rb +31 -12
  32. data/lib/relaton_iec/iec_bibliographic_item.rb +92 -0
  33. data/lib/relaton_iec/iec_bibliography.rb +82 -49
  34. data/lib/relaton_iec/processor.rb +7 -2
  35. data/lib/relaton_iec/scrapper.rb +12 -40
  36. data/lib/relaton_iec/statuses.yml +84 -17
  37. data/lib/relaton_iec/tc_sc_officers_note.rb +24 -0
  38. data/lib/relaton_iec/version.rb +1 -1
  39. data/lib/relaton_iec/xml_parser.rb +21 -1
  40. data/relaton_iec.gemspec +3 -3
  41. metadata +25 -36
  42. data/.github/workflows/macos.yml +0 -34
  43. data/.github/workflows/ubuntu.yml +0 -33
  44. data/.github/workflows/windows.yml +0 -35
@@ -1,35 +0,0 @@
1
- # Auto-generated by Cimas: Do not edit it manually!
2
- # See https://github.com/metanorma/cimas
3
- name: windows
4
-
5
- on:
6
- push:
7
- branches: [ master ]
8
- pull_request:
9
- branches: [ '**' ]
10
-
11
- jobs:
12
- test-windows:
13
- name: Test on Ruby ${{ matrix.ruby }} Windows
14
- runs-on: windows-latest
15
- strategy:
16
- fail-fast: false
17
- matrix:
18
- ruby: [ '2.6', '2.5', '2.4' ]
19
- steps:
20
- - uses: actions/checkout@master
21
- - name: Use Ruby
22
- uses: actions/setup-ruby@v1
23
- with:
24
- ruby-version: ${{ matrix.ruby }}
25
- architecture: 'x64'
26
- - name: Update gems
27
- shell: pwsh
28
- run: |
29
- gem install bundler
30
- bundle config --local path vendor/bundle
31
- bundle update
32
- bundle install --jobs 4 --retry 3
33
- - name: Run specs
34
- run: |
35
- bundle exec rake