metanorma-iso 1.7.2 → 1.8.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/rake.yml +11 -41
- data/.gitignore +2 -0
- data/.rubocop.yml +7 -1
- data/lib/asciidoctor/iso/base.rb +14 -11
- data/lib/asciidoctor/iso/biblio.rng +4 -6
- data/lib/asciidoctor/iso/cleanup.rb +40 -24
- data/lib/asciidoctor/iso/front.rb +29 -17
- data/lib/asciidoctor/iso/front_id.rb +81 -60
- data/lib/asciidoctor/iso/isodoc.rng +327 -2
- data/lib/asciidoctor/iso/isostandard.rng +12 -97
- data/lib/asciidoctor/iso/section.rb +2 -1
- data/lib/asciidoctor/iso/validate.rb +22 -109
- data/lib/asciidoctor/iso/validate_image.rb +97 -0
- data/lib/asciidoctor/iso/validate_requirements.rb +26 -20
- data/lib/asciidoctor/iso/validate_section.rb +39 -20
- data/lib/asciidoctor/iso/validate_style.rb +36 -24
- data/lib/asciidoctor/iso/validate_title.rb +23 -17
- data/lib/isodoc/iso/base_convert.rb +19 -2
- data/lib/isodoc/iso/html/style-human.css +7 -0
- data/lib/isodoc/iso/html/style-iso.css +7 -0
- data/lib/isodoc/iso/html_convert.rb +0 -1
- data/lib/isodoc/iso/i18n-en.yaml +4 -0
- data/lib/isodoc/iso/i18n-fr.yaml +4 -0
- data/lib/isodoc/iso/i18n-zh-Hans.yaml +4 -0
- data/lib/isodoc/iso/index.rb +140 -0
- data/lib/isodoc/iso/iso.amendment.xsl +1157 -208
- data/lib/isodoc/iso/iso.international-standard.xsl +1157 -208
- data/lib/isodoc/iso/metadata.rb +1 -0
- data/lib/isodoc/iso/presentation_xml_convert.rb +45 -37
- data/lib/isodoc/iso/sts_convert.rb +10 -13
- data/lib/isodoc/iso/word_convert.rb +0 -1
- data/lib/isodoc/iso/xref.rb +46 -25
- data/lib/metanorma/iso/processor.rb +1 -0
- data/lib/metanorma/iso/version.rb +1 -1
- data/metanorma-iso.gemspec +8 -8
- data/spec/{asciidoctor-iso → asciidoctor}/amd_spec.rb +5 -5
- data/spec/asciidoctor/base_spec.rb +825 -0
- data/spec/{asciidoctor-iso → asciidoctor}/blocks_spec.rb +0 -0
- data/spec/{asciidoctor-iso → asciidoctor}/cleanup_spec.rb +383 -25
- data/spec/{asciidoctor-iso → asciidoctor}/inline_spec.rb +0 -0
- data/spec/{asciidoctor-iso → asciidoctor}/lists_spec.rb +0 -0
- data/spec/{asciidoctor-iso → asciidoctor}/refs_spec.rb +0 -0
- data/spec/{asciidoctor-iso → asciidoctor}/section_spec.rb +0 -14
- data/spec/{asciidoctor-iso → asciidoctor}/table_spec.rb +0 -0
- data/spec/{asciidoctor-iso → asciidoctor}/validate_spec.rb +188 -83
- data/spec/isodoc/postproc_spec.rb +481 -438
- data/spec/isodoc/section_spec.rb +219 -0
- data/spec/spec_helper.rb +2 -0
- metadata +65 -64
- data/lib/isodoc/iso/html/scripts.html +0 -178
- data/spec/asciidoctor-iso/base_spec.rb +0 -704
data/spec/isodoc/section_spec.rb
CHANGED
@@ -655,4 +655,223 @@ RSpec.describe IsoDoc do
|
|
655
655
|
</html>
|
656
656
|
OUTPUT
|
657
657
|
end
|
658
|
+
|
659
|
+
it "generates an index in English" do
|
660
|
+
input = <<~INPUT
|
661
|
+
<iso-standard xmlns="https://open.ribose.com/standards/bipm">
|
662
|
+
<bibdata>
|
663
|
+
<language>en</language>
|
664
|
+
<script>Latn</script>
|
665
|
+
</bibdata>
|
666
|
+
<sections>
|
667
|
+
<clause id="A">
|
668
|
+
<index><primary>élongé</primary></index>
|
669
|
+
<index><primary>être</primary><secondary>Husserl</secondary><tertiary>en allemand</tertiary></index>
|
670
|
+
<index><primary><em>Eman</em>cipation</primary></index>
|
671
|
+
<index><primary><em>Eman</em>cipation</primary><secondary>dans la France</secondary></index>
|
672
|
+
<index><primary><em>Eman</em>cipation</primary><secondary>dans la France</secondary><tertiary>en Bretagne</tertiary></index>
|
673
|
+
<clause id="B">
|
674
|
+
<index><primary><em>Eman</em>cipation</primary></index>
|
675
|
+
<index><primary>zebra</primary></index>
|
676
|
+
<index><primary><em>Eman</em>cipation</primary><secondary>dans les États-Unis</secondary></index>
|
677
|
+
<index><primary><em>Eman</em>cipation</primary><secondary>dans la France</secondary><tertiary>à Paris</tertiary></index>
|
678
|
+
<index-xref also="true"><primary>être</primary><secondary>Husserl</secondary><target>zebra</target></index-xref>
|
679
|
+
<index-xref also="true"><primary>être</primary><secondary>Husserl</secondary><target><em>Eman</em>cipation</target></index-xref>
|
680
|
+
<index-xref also="false"><primary>être</primary><secondary>Husserl</secondary><target>zebra</target></index-xref>
|
681
|
+
<index-xref also="false"><primary><em>Dasein</em></primary><target>être</target></index-xref>
|
682
|
+
<index-xref also="false"><primary><em>Dasein</em></primary><target><em>Eman</em>cipation</target></index-xref>
|
683
|
+
</clause>
|
684
|
+
</clause>
|
685
|
+
</sections>
|
686
|
+
</bipm-standard>
|
687
|
+
INPUT
|
688
|
+
presxml = <<~OUTPUT
|
689
|
+
<iso-standard xmlns='https://open.ribose.com/standards/bipm' type='presentation'>
|
690
|
+
<bibdata>
|
691
|
+
<language current='true'>en</language>
|
692
|
+
<script current='true'>Latn</script>
|
693
|
+
</bibdata>
|
694
|
+
<sections>
|
695
|
+
<clause id='A'>
|
696
|
+
<title>1</title>
|
697
|
+
<bookmark id='_'/>
|
698
|
+
<bookmark id='_'/>
|
699
|
+
<bookmark id='_'/>
|
700
|
+
<bookmark id='_'/>
|
701
|
+
<bookmark id='_'/>
|
702
|
+
<clause id='B' inline-header='true'>
|
703
|
+
<title>1.1</title>
|
704
|
+
<bookmark id='_'/>
|
705
|
+
<bookmark id='_'/>
|
706
|
+
<bookmark id='_'/>
|
707
|
+
<bookmark id='_'/>
|
708
|
+
</clause>
|
709
|
+
</clause>
|
710
|
+
</sections>
|
711
|
+
<indexsect id='_'>
|
712
|
+
<title>Index</title>
|
713
|
+
<ul>
|
714
|
+
<li>
|
715
|
+
<em>Dasein</em>
|
716
|
+
, see
|
717
|
+
<em>Eman</em>
|
718
|
+
cipation, être
|
719
|
+
</li>
|
720
|
+
<li>
|
721
|
+
élongé,
|
722
|
+
<xref target='_' pagenumber='true'>Clause 1</xref>
|
723
|
+
</li>
|
724
|
+
<li>
|
725
|
+
<em>Eman</em>
|
726
|
+
cipation,
|
727
|
+
<xref target='_' pagenumber='true'>Clause 1</xref>
|
728
|
+
,
|
729
|
+
<xref target='_' pagenumber='true'>1.1</xref>
|
730
|
+
<ul>
|
731
|
+
<li>
|
732
|
+
dans la France,
|
733
|
+
<xref target='_' pagenumber='true'>Clause 1</xref>
|
734
|
+
<ul>
|
735
|
+
<li>
|
736
|
+
à Paris,
|
737
|
+
<xref target='_' pagenumber='true'>1.1</xref>
|
738
|
+
</li>
|
739
|
+
<li>
|
740
|
+
en Bretagne,
|
741
|
+
<xref target='_' pagenumber='true'>Clause 1</xref>
|
742
|
+
</li>
|
743
|
+
</ul>
|
744
|
+
</li>
|
745
|
+
<li>
|
746
|
+
dans les États-Unis,
|
747
|
+
<xref target='_' pagenumber='true'>1.1</xref>
|
748
|
+
</li>
|
749
|
+
</ul>
|
750
|
+
</li>
|
751
|
+
<li>
|
752
|
+
être
|
753
|
+
<ul>
|
754
|
+
<li>
|
755
|
+
Husserl, see zebra, see also
|
756
|
+
<em>Eman</em>
|
757
|
+
cipation, zebra
|
758
|
+
<ul>
|
759
|
+
<li>
|
760
|
+
en allemand,
|
761
|
+
<xref target='_' pagenumber='true'>Clause 1</xref>
|
762
|
+
</li>
|
763
|
+
</ul>
|
764
|
+
</li>
|
765
|
+
</ul>
|
766
|
+
</li>
|
767
|
+
<li>
|
768
|
+
zebra,
|
769
|
+
<xref target='_' pagenumber='true'>1.1</xref>
|
770
|
+
</li>
|
771
|
+
</ul>
|
772
|
+
</indexsect>
|
773
|
+
</iso-standard>
|
774
|
+
OUTPUT
|
775
|
+
html = <<~OUTPUT
|
776
|
+
<html lang='en'>
|
777
|
+
<head/>
|
778
|
+
<body lang='en'>
|
779
|
+
<div class='title-section'>
|
780
|
+
<p> </p>
|
781
|
+
</div>
|
782
|
+
<br/>
|
783
|
+
<div class='prefatory-section'>
|
784
|
+
<p> </p>
|
785
|
+
</div>
|
786
|
+
<br/>
|
787
|
+
<div class='main-section'>
|
788
|
+
<p class='zzSTDTitle1'/>
|
789
|
+
<div id='A'>
|
790
|
+
<h1>1</h1>
|
791
|
+
<a id='_'/>
|
792
|
+
<a id='_'/>
|
793
|
+
<a id='_'/>
|
794
|
+
<a id='_'/>
|
795
|
+
<a id='_'/>
|
796
|
+
<div id='B'>
|
797
|
+
<span class='zzMoveToFollowing'>
|
798
|
+
<b>1.1  </b>
|
799
|
+
</span>
|
800
|
+
<a id='_'/>
|
801
|
+
<a id='_'/>
|
802
|
+
<a id='_'/>
|
803
|
+
<a id='_'/>
|
804
|
+
</div>
|
805
|
+
</div>
|
806
|
+
<div id='_'>
|
807
|
+
<h1>Index</h1>
|
808
|
+
<ul>
|
809
|
+
<li>
|
810
|
+
<i>Dasein</i>
|
811
|
+
, see
|
812
|
+
<i>Eman</i>
|
813
|
+
cipation, être
|
814
|
+
</li>
|
815
|
+
<li>
|
816
|
+
élongé,
|
817
|
+
<a href='#_'>Clause 1</a>
|
818
|
+
</li>
|
819
|
+
<li>
|
820
|
+
<i>Eman</i>
|
821
|
+
cipation,
|
822
|
+
<a href='#_'>Clause 1</a>
|
823
|
+
,
|
824
|
+
<a href='#_'>1.1</a>
|
825
|
+
<ul>
|
826
|
+
<li>
|
827
|
+
dans la France,
|
828
|
+
<a href='#_'>Clause 1</a>
|
829
|
+
<ul>
|
830
|
+
<li>
|
831
|
+
à Paris,
|
832
|
+
<a href='#_'>1.1</a>
|
833
|
+
</li>
|
834
|
+
<li>
|
835
|
+
en Bretagne,
|
836
|
+
<a href='#_'>Clause 1</a>
|
837
|
+
</li>
|
838
|
+
</ul>
|
839
|
+
</li>
|
840
|
+
<li>
|
841
|
+
dans les États-Unis,
|
842
|
+
<a href='#_'>1.1</a>
|
843
|
+
</li>
|
844
|
+
</ul>
|
845
|
+
</li>
|
846
|
+
<li>
|
847
|
+
être
|
848
|
+
<ul>
|
849
|
+
<li>
|
850
|
+
Husserl, see zebra, see also
|
851
|
+
<i>Eman</i>
|
852
|
+
cipation, zebra
|
853
|
+
<ul>
|
854
|
+
<li>
|
855
|
+
en allemand,
|
856
|
+
<a href='#_'>Clause 1</a>
|
857
|
+
</li>
|
858
|
+
</ul>
|
859
|
+
</li>
|
860
|
+
</ul>
|
861
|
+
</li>
|
862
|
+
<li>
|
863
|
+
zebra,
|
864
|
+
<a href='#_'>1.1</a>
|
865
|
+
</li>
|
866
|
+
</ul>
|
867
|
+
</div>
|
868
|
+
</div>
|
869
|
+
</body>
|
870
|
+
</html>
|
871
|
+
OUTPUT
|
872
|
+
expect(xmlpp(strip_guid(IsoDoc::Iso::PresentationXMLConvert.new({}).convert("test", input, true)
|
873
|
+
.gsub(%r{<localized-strings>.*</localized-strings>}m, "")))).to be_equivalent_to xmlpp(presxml)
|
874
|
+
expect(xmlpp(IsoDoc::Iso::HtmlConvert.new({})
|
875
|
+
.convert("test", presxml, true))).to be_equivalent_to xmlpp(html)
|
876
|
+
end
|
658
877
|
end
|
data/spec/spec_helper.rb
CHANGED
@@ -24,6 +24,7 @@ RSpec.configure do |config|
|
|
24
24
|
c.syntax = :expect
|
25
25
|
end
|
26
26
|
|
27
|
+
=begin
|
27
28
|
config.around do |example|
|
28
29
|
Dir.mktmpdir("rspec-") do |dir|
|
29
30
|
tmp_assets = File.join(dir, "spec/assets/")
|
@@ -32,6 +33,7 @@ RSpec.configure do |config|
|
|
32
33
|
Dir.chdir(dir) { example.run }
|
33
34
|
end
|
34
35
|
end
|
36
|
+
=end
|
35
37
|
end
|
36
38
|
|
37
39
|
def strip_guid(xml)
|
metadata
CHANGED
@@ -1,73 +1,59 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: metanorma-iso
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.8.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ribose Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-05-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
|
-
- !ruby/object:Gem::Dependency
|
14
|
-
name: ruby-jing
|
15
|
-
requirement: !ruby/object:Gem::Requirement
|
16
|
-
requirements:
|
17
|
-
- - ">="
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: '0'
|
20
|
-
type: :runtime
|
21
|
-
prerelease: false
|
22
|
-
version_requirements: !ruby/object:Gem::Requirement
|
23
|
-
requirements:
|
24
|
-
- - ">="
|
25
|
-
- !ruby/object:Gem::Version
|
26
|
-
version: '0'
|
27
13
|
- !ruby/object:Gem::Dependency
|
28
14
|
name: isodoc
|
29
15
|
requirement: !ruby/object:Gem::Requirement
|
30
16
|
requirements:
|
31
17
|
- - "~>"
|
32
18
|
- !ruby/object:Gem::Version
|
33
|
-
version: 1.
|
19
|
+
version: 1.6.2
|
34
20
|
type: :runtime
|
35
21
|
prerelease: false
|
36
22
|
version_requirements: !ruby/object:Gem::Requirement
|
37
23
|
requirements:
|
38
24
|
- - "~>"
|
39
25
|
- !ruby/object:Gem::Version
|
40
|
-
version: 1.
|
26
|
+
version: 1.6.2
|
41
27
|
- !ruby/object:Gem::Dependency
|
42
28
|
name: metanorma-standoc
|
43
29
|
requirement: !ruby/object:Gem::Requirement
|
44
30
|
requirements:
|
45
31
|
- - "~>"
|
46
32
|
- !ruby/object:Gem::Version
|
47
|
-
version: 1.
|
33
|
+
version: 1.9.0
|
48
34
|
type: :runtime
|
49
35
|
prerelease: false
|
50
36
|
version_requirements: !ruby/object:Gem::Requirement
|
51
37
|
requirements:
|
52
38
|
- - "~>"
|
53
39
|
- !ruby/object:Gem::Version
|
54
|
-
version: 1.
|
40
|
+
version: 1.9.0
|
55
41
|
- !ruby/object:Gem::Dependency
|
56
|
-
name:
|
42
|
+
name: mn2sts
|
57
43
|
requirement: !ruby/object:Gem::Requirement
|
58
44
|
requirements:
|
59
45
|
- - "~>"
|
60
46
|
- !ruby/object:Gem::Version
|
61
|
-
version:
|
47
|
+
version: 1.5.0
|
62
48
|
type: :runtime
|
63
49
|
prerelease: false
|
64
50
|
version_requirements: !ruby/object:Gem::Requirement
|
65
51
|
requirements:
|
66
52
|
- - "~>"
|
67
53
|
- !ruby/object:Gem::Version
|
68
|
-
version:
|
54
|
+
version: 1.5.0
|
69
55
|
- !ruby/object:Gem::Dependency
|
70
|
-
name:
|
56
|
+
name: ruby-jing
|
71
57
|
requirement: !ruby/object:Gem::Requirement
|
72
58
|
requirements:
|
73
59
|
- - ">="
|
@@ -81,27 +67,27 @@ dependencies:
|
|
81
67
|
- !ruby/object:Gem::Version
|
82
68
|
version: '0'
|
83
69
|
- !ruby/object:Gem::Dependency
|
84
|
-
name:
|
70
|
+
name: tokenizer
|
85
71
|
requirement: !ruby/object:Gem::Requirement
|
86
72
|
requirements:
|
87
73
|
- - "~>"
|
88
74
|
- !ruby/object:Gem::Version
|
89
|
-
version:
|
75
|
+
version: 0.3.0
|
90
76
|
type: :runtime
|
91
77
|
prerelease: false
|
92
78
|
version_requirements: !ruby/object:Gem::Requirement
|
93
79
|
requirements:
|
94
80
|
- - "~>"
|
95
81
|
- !ruby/object:Gem::Version
|
96
|
-
version:
|
82
|
+
version: 0.3.0
|
97
83
|
- !ruby/object:Gem::Dependency
|
98
|
-
name:
|
84
|
+
name: twitter_cldr
|
99
85
|
requirement: !ruby/object:Gem::Requirement
|
100
86
|
requirements:
|
101
87
|
- - ">="
|
102
88
|
- !ruby/object:Gem::Version
|
103
89
|
version: '0'
|
104
|
-
type: :
|
90
|
+
type: :runtime
|
105
91
|
prerelease: false
|
106
92
|
version_requirements: !ruby/object:Gem::Requirement
|
107
93
|
requirements:
|
@@ -109,19 +95,19 @@ dependencies:
|
|
109
95
|
- !ruby/object:Gem::Version
|
110
96
|
version: '0'
|
111
97
|
- !ruby/object:Gem::Dependency
|
112
|
-
name:
|
98
|
+
name: byebug
|
113
99
|
requirement: !ruby/object:Gem::Requirement
|
114
100
|
requirements:
|
115
|
-
- -
|
101
|
+
- - ">="
|
116
102
|
- !ruby/object:Gem::Version
|
117
|
-
version:
|
103
|
+
version: '0'
|
118
104
|
type: :development
|
119
105
|
prerelease: false
|
120
106
|
version_requirements: !ruby/object:Gem::Requirement
|
121
107
|
requirements:
|
122
|
-
- -
|
108
|
+
- - ">="
|
123
109
|
- !ruby/object:Gem::Version
|
124
|
-
version:
|
110
|
+
version: '0'
|
125
111
|
- !ruby/object:Gem::Dependency
|
126
112
|
name: equivalent-xml
|
127
113
|
requirement: !ruby/object:Gem::Requirement
|
@@ -164,20 +150,34 @@ dependencies:
|
|
164
150
|
- - "~>"
|
165
151
|
- !ruby/object:Gem::Version
|
166
152
|
version: '4.7'
|
153
|
+
- !ruby/object:Gem::Dependency
|
154
|
+
name: iev
|
155
|
+
requirement: !ruby/object:Gem::Requirement
|
156
|
+
requirements:
|
157
|
+
- - "~>"
|
158
|
+
- !ruby/object:Gem::Version
|
159
|
+
version: 0.2.0
|
160
|
+
type: :development
|
161
|
+
prerelease: false
|
162
|
+
version_requirements: !ruby/object:Gem::Requirement
|
163
|
+
requirements:
|
164
|
+
- - "~>"
|
165
|
+
- !ruby/object:Gem::Version
|
166
|
+
version: 0.2.0
|
167
167
|
- !ruby/object:Gem::Dependency
|
168
168
|
name: rake
|
169
169
|
requirement: !ruby/object:Gem::Requirement
|
170
170
|
requirements:
|
171
|
-
- - "
|
171
|
+
- - "~>"
|
172
172
|
- !ruby/object:Gem::Version
|
173
|
-
version: '0'
|
173
|
+
version: '13.0'
|
174
174
|
type: :development
|
175
175
|
prerelease: false
|
176
176
|
version_requirements: !ruby/object:Gem::Requirement
|
177
177
|
requirements:
|
178
|
-
- - "
|
178
|
+
- - "~>"
|
179
179
|
- !ruby/object:Gem::Version
|
180
|
-
version: '0'
|
180
|
+
version: '13.0'
|
181
181
|
- !ruby/object:Gem::Dependency
|
182
182
|
name: rspec
|
183
183
|
requirement: !ruby/object:Gem::Requirement
|
@@ -196,58 +196,58 @@ dependencies:
|
|
196
196
|
name: rubocop
|
197
197
|
requirement: !ruby/object:Gem::Requirement
|
198
198
|
requirements:
|
199
|
-
- -
|
199
|
+
- - "~>"
|
200
200
|
- !ruby/object:Gem::Version
|
201
|
-
version:
|
201
|
+
version: 1.5.2
|
202
202
|
type: :development
|
203
203
|
prerelease: false
|
204
204
|
version_requirements: !ruby/object:Gem::Requirement
|
205
205
|
requirements:
|
206
|
-
- -
|
206
|
+
- - "~>"
|
207
207
|
- !ruby/object:Gem::Version
|
208
|
-
version:
|
208
|
+
version: 1.5.2
|
209
209
|
- !ruby/object:Gem::Dependency
|
210
|
-
name:
|
210
|
+
name: sassc
|
211
211
|
requirement: !ruby/object:Gem::Requirement
|
212
212
|
requirements:
|
213
|
-
- -
|
213
|
+
- - '='
|
214
214
|
- !ruby/object:Gem::Version
|
215
|
-
version:
|
215
|
+
version: 2.4.0
|
216
216
|
type: :development
|
217
217
|
prerelease: false
|
218
218
|
version_requirements: !ruby/object:Gem::Requirement
|
219
219
|
requirements:
|
220
|
-
- -
|
220
|
+
- - '='
|
221
221
|
- !ruby/object:Gem::Version
|
222
|
-
version:
|
222
|
+
version: 2.4.0
|
223
223
|
- !ruby/object:Gem::Dependency
|
224
|
-
name:
|
224
|
+
name: simplecov
|
225
225
|
requirement: !ruby/object:Gem::Requirement
|
226
226
|
requirements:
|
227
227
|
- - "~>"
|
228
228
|
- !ruby/object:Gem::Version
|
229
|
-
version: '0.
|
229
|
+
version: '0.15'
|
230
230
|
type: :development
|
231
231
|
prerelease: false
|
232
232
|
version_requirements: !ruby/object:Gem::Requirement
|
233
233
|
requirements:
|
234
234
|
- - "~>"
|
235
235
|
- !ruby/object:Gem::Version
|
236
|
-
version: '0.
|
236
|
+
version: '0.15'
|
237
237
|
- !ruby/object:Gem::Dependency
|
238
|
-
name:
|
238
|
+
name: timecop
|
239
239
|
requirement: !ruby/object:Gem::Requirement
|
240
240
|
requirements:
|
241
241
|
- - "~>"
|
242
242
|
- !ruby/object:Gem::Version
|
243
|
-
version: 0.
|
243
|
+
version: '0.9'
|
244
244
|
type: :development
|
245
245
|
prerelease: false
|
246
246
|
version_requirements: !ruby/object:Gem::Requirement
|
247
247
|
requirements:
|
248
248
|
- - "~>"
|
249
249
|
- !ruby/object:Gem::Version
|
250
|
-
version: 0.
|
250
|
+
version: '0.9'
|
251
251
|
description: |
|
252
252
|
metanorma-iso lets you write ISO standards in AsciiDoc syntax.
|
253
253
|
|
@@ -294,6 +294,7 @@ files:
|
|
294
294
|
- lib/asciidoctor/iso/reqt.rng
|
295
295
|
- lib/asciidoctor/iso/section.rb
|
296
296
|
- lib/asciidoctor/iso/validate.rb
|
297
|
+
- lib/asciidoctor/iso/validate_image.rb
|
297
298
|
- lib/asciidoctor/iso/validate_requirements.rb
|
298
299
|
- lib/asciidoctor/iso/validate_section.rb
|
299
300
|
- lib/asciidoctor/iso/validate_style.rb
|
@@ -306,7 +307,6 @@ files:
|
|
306
307
|
- lib/isodoc/iso/html/htmlstyle.scss
|
307
308
|
- lib/isodoc/iso/html/isodoc.css
|
308
309
|
- lib/isodoc/iso/html/isodoc.scss
|
309
|
-
- lib/isodoc/iso/html/scripts.html
|
310
310
|
- lib/isodoc/iso/html/style-human.css
|
311
311
|
- lib/isodoc/iso/html/style-human.scss
|
312
312
|
- lib/isodoc/iso/html/style-iso.css
|
@@ -320,6 +320,7 @@ files:
|
|
320
320
|
- lib/isodoc/iso/i18n-fr.yaml
|
321
321
|
- lib/isodoc/iso/i18n-zh-Hans.yaml
|
322
322
|
- lib/isodoc/iso/i18n.rb
|
323
|
+
- lib/isodoc/iso/index.rb
|
323
324
|
- lib/isodoc/iso/init.rb
|
324
325
|
- lib/isodoc/iso/iso.amendment.xsl
|
325
326
|
- lib/isodoc/iso/iso.international-standard.xsl
|
@@ -336,16 +337,16 @@ files:
|
|
336
337
|
- lib/metanorma/iso/processor.rb
|
337
338
|
- lib/metanorma/iso/version.rb
|
338
339
|
- metanorma-iso.gemspec
|
339
|
-
- spec/asciidoctor
|
340
|
-
- spec/asciidoctor
|
341
|
-
- spec/asciidoctor
|
342
|
-
- spec/asciidoctor
|
343
|
-
- spec/asciidoctor
|
344
|
-
- spec/asciidoctor
|
345
|
-
- spec/asciidoctor
|
346
|
-
- spec/asciidoctor
|
347
|
-
- spec/asciidoctor
|
348
|
-
- spec/asciidoctor
|
340
|
+
- spec/asciidoctor/amd_spec.rb
|
341
|
+
- spec/asciidoctor/base_spec.rb
|
342
|
+
- spec/asciidoctor/blocks_spec.rb
|
343
|
+
- spec/asciidoctor/cleanup_spec.rb
|
344
|
+
- spec/asciidoctor/inline_spec.rb
|
345
|
+
- spec/asciidoctor/lists_spec.rb
|
346
|
+
- spec/asciidoctor/refs_spec.rb
|
347
|
+
- spec/asciidoctor/section_spec.rb
|
348
|
+
- spec/asciidoctor/table_spec.rb
|
349
|
+
- spec/asciidoctor/validate_spec.rb
|
349
350
|
- spec/assets/header.html
|
350
351
|
- spec/assets/html.css
|
351
352
|
- spec/assets/htmlcover.html
|