metanorma-iec 0.1.4 → 0.1.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -54,9 +54,9 @@
54
54
  <optional>
55
55
  <ref name="subject"/>
56
56
  </optional>
57
- <optional>
57
+ <zeroOrMore>
58
58
  <ref name="reqinherit"/>
59
- </optional>
59
+ </zeroOrMore>
60
60
  <zeroOrMore>
61
61
  <ref name="classification"/>
62
62
  </zeroOrMore>
@@ -1,6 +1,6 @@
1
1
  module Metanorma
2
2
  module Iec
3
- VERSION = "0.1.4"
3
+ VERSION = "0.1.5"
4
4
  end
5
5
  end
6
6
 
@@ -428,58 +428,6 @@ RSpec.describe Asciidoctor::Iec do
428
428
  OUTPUT
429
429
  end
430
430
 
431
- it "numbers bibliographic notes and footnotes sequentially" do
432
- expect(xmlpp(strip_guid(Asciidoctor.convert(<<~"INPUT", backend: :iec, header_footer: true)))).to be_equivalent_to xmlpp(<<~"OUTPUT")
433
- #{ASCIIDOC_BLANK_HDR}
434
- footnote:[Footnote]
435
-
436
- [bibliography]
437
- == Normative References
438
-
439
- * [[[iso123,ISO 123:--]]] footnote:[The standard is in press] _Standard_
440
-
441
- == Clause
442
- footnote:[Footnote2]
443
- INPUT
444
- #{BLANK_HDR}
445
- <preface><foreword obligation="informative">
446
- <title>Foreword</title>
447
- <p id="_"><fn reference="1">
448
- <p id="_">Footnote</p>
449
- </fn>
450
- </p>
451
- </foreword></preface><sections>
452
-
453
- <clause id="_" inline-header="false" obligation="normative">
454
- <title>Clause</title>
455
- <p id="_"><fn reference="2">
456
- <p id="_">Footnote2</p>
457
- </fn>
458
- </p>
459
- </clause></sections><bibliography><references id="_" obligation="informative">
460
- <title>Normative References</title>
461
- <p>The following documents are referred to in the text in such a way that some or all of their content constitutes requirements of this document. For dated references, only the edition cited applies. For undated references, the latest edition of the referenced document (including any amendments) applies.</p>
462
- <bibitem id="iso123" type="standard">
463
- <title format="text/plain">Standard</title>
464
- <docidentifier>ISO 123:–</docidentifier>
465
- <date type="published">
466
- <on>--</on>
467
- </date>
468
- <contributor>
469
- <role type="publisher"/>
470
- <organization>
471
- <name>International Organization for Standardization</name>
472
- <abbreviation>ISO</abbreviation>
473
- </organization>
474
- </contributor>
475
- <note format="text/plain">ISO DATE: The standard is in press</note>
476
- </bibitem>
477
- </references>
478
- </bibliography>
479
- </iec-standard>
480
- OUTPUT
481
- end
482
-
483
431
  it "defaults section obligations" do
484
432
  expect(xmlpp(strip_guid(Asciidoctor.convert(<<~"INPUT", backend: :iec, header_footer: true)))).to be_equivalent_to xmlpp(<<~"OUTPUT")
485
433
  #{ASCIIDOC_BLANK_HDR}
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: metanorma-iec
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-01-04 00:00:00.000000000 Z
11
+ date: 2020-01-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ruby-jing