metanorma-iec 1.2.17 → 1.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/asciidoctor/iec/isodoc.rng +130 -1
- data/lib/isodoc/iec/html/htmlstyle.css +7 -0
- data/lib/isodoc/iec/html_convert.rb +0 -1
- data/lib/isodoc/iec/iec.international-standard.xsl +44 -18
- data/lib/metanorma/iec/version.rb +1 -1
- data/metanorma-iec.gemspec +4 -4
- data/spec/{asciidoctor-iec → asciidoctor}/base_spec.rb +0 -0
- data/spec/{asciidoctor-iec → asciidoctor}/blocks_spec.rb +0 -0
- data/spec/{asciidoctor-iec → asciidoctor}/cleanup_spec.rb +0 -0
- data/spec/{asciidoctor-iec → asciidoctor}/iev_spec.rb +0 -0
- data/spec/{asciidoctor-iec → asciidoctor}/inline_spec.rb +0 -0
- data/spec/{asciidoctor-iec → asciidoctor}/lists_spec.rb +0 -0
- data/spec/{asciidoctor-iec → asciidoctor}/section_spec.rb +0 -0
- data/spec/{asciidoctor-iec → asciidoctor}/validate_spec.rb +0 -0
- data/spec/isodoc/postproc_spec.rb +2 -20
- metadata +44 -53
- data/spec/examples/rice.adoc +0 -723
- data/spec/examples/rice.doc +0 -19162
- data/spec/examples/rice.html +0 -1787
- data/spec/examples/rice.xml +0 -1951
- data/spec/examples/rice_img/rice_image1.png +0 -0
- data/spec/examples/rice_img/rice_image2.png +0 -0
- data/spec/examples/rice_img/rice_image3_1.png +0 -0
- data/spec/examples/rice_img/rice_image3_2.png +0 -0
- data/spec/examples/rice_img/rice_image3_3.png +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 896831ab7585bc0d95fa10bcef8ba276bc624f6b5b51534e136177f43c74723c
|
4
|
+
data.tar.gz: 2dec389207942c399e02b6cb085541f6255715f3cbb0c6c1ee8dfe29204b618d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ca103b07a7421e67ec218b8a759fc51d997eab8185a11c0bff0fefa6f1b632ea4bd614e61028b1b94e6f372f3c73c8a7ea9a772a507cdff883d0a14d502a9717
|
7
|
+
data.tar.gz: ffad29f88e9171b636abf4fb7d1b85fe5a6627fd71fdbadf53cb612cae032b6f1481a3bf3dc950ea3623f93bbd45a87a4c9467358022cc250daffeac25cec956
|
@@ -86,6 +86,35 @@
|
|
86
86
|
<text/>
|
87
87
|
</element>
|
88
88
|
</define>
|
89
|
+
<define name="erefType">
|
90
|
+
<optional>
|
91
|
+
<attribute name="normative">
|
92
|
+
<data type="boolean"/>
|
93
|
+
</attribute>
|
94
|
+
</optional>
|
95
|
+
<attribute name="citeas"/>
|
96
|
+
<attribute name="type">
|
97
|
+
<ref name="ReferenceFormat"/>
|
98
|
+
</attribute>
|
99
|
+
<optional>
|
100
|
+
<attribute name="alt"/>
|
101
|
+
</optional>
|
102
|
+
<optional>
|
103
|
+
<attribute name="case">
|
104
|
+
<choice>
|
105
|
+
<value>capital</value>
|
106
|
+
<value>lowercase</value>
|
107
|
+
</choice>
|
108
|
+
</attribute>
|
109
|
+
</optional>
|
110
|
+
<optional>
|
111
|
+
<attribute name="droploc">
|
112
|
+
<data type="boolean"/>
|
113
|
+
</attribute>
|
114
|
+
</optional>
|
115
|
+
<ref name="CitationType"/>
|
116
|
+
<text/>
|
117
|
+
</define>
|
89
118
|
<define name="ul">
|
90
119
|
<element name="ul">
|
91
120
|
<attribute name="id">
|
@@ -775,6 +804,78 @@
|
|
775
804
|
<ref name="paragraph"/>
|
776
805
|
</element>
|
777
806
|
</define>
|
807
|
+
<define name="em">
|
808
|
+
<element name="em">
|
809
|
+
<zeroOrMore>
|
810
|
+
<choice>
|
811
|
+
<ref name="PureTextElement"/>
|
812
|
+
<ref name="stem"/>
|
813
|
+
<ref name="index"/>
|
814
|
+
</choice>
|
815
|
+
</zeroOrMore>
|
816
|
+
</element>
|
817
|
+
</define>
|
818
|
+
<define name="strong">
|
819
|
+
<element name="strong">
|
820
|
+
<zeroOrMore>
|
821
|
+
<choice>
|
822
|
+
<ref name="PureTextElement"/>
|
823
|
+
<ref name="stem"/>
|
824
|
+
<ref name="index"/>
|
825
|
+
</choice>
|
826
|
+
</zeroOrMore>
|
827
|
+
</element>
|
828
|
+
</define>
|
829
|
+
<define name="tt">
|
830
|
+
<element name="tt">
|
831
|
+
<zeroOrMore>
|
832
|
+
<choice>
|
833
|
+
<ref name="PureTextElement"/>
|
834
|
+
<ref name="index"/>
|
835
|
+
</choice>
|
836
|
+
</zeroOrMore>
|
837
|
+
</element>
|
838
|
+
</define>
|
839
|
+
<define name="keyword">
|
840
|
+
<element name="keyword">
|
841
|
+
<zeroOrMore>
|
842
|
+
<choice>
|
843
|
+
<ref name="PureTextElement"/>
|
844
|
+
<ref name="index"/>
|
845
|
+
</choice>
|
846
|
+
</zeroOrMore>
|
847
|
+
</element>
|
848
|
+
</define>
|
849
|
+
<define name="strike">
|
850
|
+
<element name="strike">
|
851
|
+
<zeroOrMore>
|
852
|
+
<choice>
|
853
|
+
<ref name="PureTextElement"/>
|
854
|
+
<ref name="index"/>
|
855
|
+
</choice>
|
856
|
+
</zeroOrMore>
|
857
|
+
</element>
|
858
|
+
</define>
|
859
|
+
<define name="underline">
|
860
|
+
<element name="underline">
|
861
|
+
<zeroOrMore>
|
862
|
+
<choice>
|
863
|
+
<ref name="PureTextElement"/>
|
864
|
+
<ref name="index"/>
|
865
|
+
</choice>
|
866
|
+
</zeroOrMore>
|
867
|
+
</element>
|
868
|
+
</define>
|
869
|
+
<define name="smallcap">
|
870
|
+
<element name="smallcap">
|
871
|
+
<zeroOrMore>
|
872
|
+
<choice>
|
873
|
+
<ref name="PureTextElement"/>
|
874
|
+
<ref name="index"/>
|
875
|
+
</choice>
|
876
|
+
</zeroOrMore>
|
877
|
+
</element>
|
878
|
+
</define>
|
778
879
|
</include>
|
779
880
|
<!-- end overrides -->
|
780
881
|
<define name="colgroup">
|
@@ -793,7 +894,35 @@
|
|
793
894
|
<value>internal</value>
|
794
895
|
</define>
|
795
896
|
<define name="TextElement" combine="choice">
|
796
|
-
<
|
897
|
+
<choice>
|
898
|
+
<ref name="concept"/>
|
899
|
+
<ref name="add"/>
|
900
|
+
<ref name="del"/>
|
901
|
+
</choice>
|
902
|
+
</define>
|
903
|
+
<define name="add">
|
904
|
+
<element name="add">
|
905
|
+
<choice>
|
906
|
+
<ref name="PureTextElement"/>
|
907
|
+
<ref name="eref"/>
|
908
|
+
<ref name="stem"/>
|
909
|
+
<ref name="keyword"/>
|
910
|
+
<ref name="xref"/>
|
911
|
+
<ref name="hyperlink"/>
|
912
|
+
</choice>
|
913
|
+
</element>
|
914
|
+
</define>
|
915
|
+
<define name="del">
|
916
|
+
<element name="del">
|
917
|
+
<choice>
|
918
|
+
<ref name="PureTextElement"/>
|
919
|
+
<ref name="eref"/>
|
920
|
+
<ref name="stem"/>
|
921
|
+
<ref name="keyword"/>
|
922
|
+
<ref name="xref"/>
|
923
|
+
<ref name="hyperlink"/>
|
924
|
+
</choice>
|
925
|
+
</element>
|
797
926
|
</define>
|
798
927
|
<define name="concept">
|
799
928
|
<element name="concept">
|
@@ -115,6 +115,13 @@ a.FootnoteRef + a.FootnoteRef:before {
|
|
115
115
|
content: ", ";
|
116
116
|
vertical-align: super; }
|
117
117
|
|
118
|
+
.addition {
|
119
|
+
color: blue; }
|
120
|
+
|
121
|
+
.deletion {
|
122
|
+
color: red;
|
123
|
+
text-decoration: line-through; }
|
124
|
+
|
118
125
|
#standard-band {
|
119
126
|
background-color: #0AC442; }
|
120
127
|
|
@@ -5,6 +5,7 @@
|
|
5
5
|
<xsl:param name="svg_images"/>
|
6
6
|
<xsl:param name="external_index"/><!-- path to index xml, generated on 1st pass, based on FOP Intermediate Format -->
|
7
7
|
<xsl:variable name="images" select="document($svg_images)"/>
|
8
|
+
<xsl:param name="basepath"/>
|
8
9
|
|
9
10
|
|
10
11
|
|
@@ -2953,7 +2954,7 @@
|
|
2953
2954
|
|
2954
2955
|
</xsl:attribute-set><xsl:attribute-set name="admitted-style">
|
2955
2956
|
|
2956
|
-
|
2957
|
+
|
2957
2958
|
</xsl:attribute-set><xsl:attribute-set name="deprecates-style">
|
2958
2959
|
|
2959
2960
|
<xsl:attribute name="font-size">8pt</xsl:attribute>
|
@@ -2965,6 +2966,12 @@
|
|
2965
2966
|
|
2966
2967
|
<xsl:attribute name="margin-bottom">6pt</xsl:attribute>
|
2967
2968
|
|
2969
|
+
</xsl:attribute-set><xsl:attribute-set name="add-style">
|
2970
|
+
<xsl:attribute name="color">red</xsl:attribute>
|
2971
|
+
<xsl:attribute name="text-decoration">underline</xsl:attribute>
|
2972
|
+
</xsl:attribute-set><xsl:attribute-set name="del-style">
|
2973
|
+
<xsl:attribute name="color">red</xsl:attribute>
|
2974
|
+
<xsl:attribute name="text-decoration">line-through</xsl:attribute>
|
2968
2975
|
</xsl:attribute-set><xsl:template name="processPrefaceSectionsDefault_Contents">
|
2969
2976
|
<xsl:apply-templates select="/*/*[local-name()='preface']/*[local-name()='abstract']" mode="contents"/>
|
2970
2977
|
<xsl:apply-templates select="/*/*[local-name()='preface']/*[local-name()='foreword']" mode="contents"/>
|
@@ -4410,8 +4417,12 @@
|
|
4410
4417
|
<fo:inline text-decoration="underline">
|
4411
4418
|
<xsl:apply-templates/>
|
4412
4419
|
</fo:inline>
|
4420
|
+
</xsl:template><xsl:template match="*[local-name()='add']">
|
4421
|
+
<fo:inline xsl:use-attribute-sets="add-style">
|
4422
|
+
<xsl:apply-templates/>
|
4423
|
+
</fo:inline>
|
4413
4424
|
</xsl:template><xsl:template match="*[local-name()='del']">
|
4414
|
-
<fo:inline
|
4425
|
+
<fo:inline xsl:use-attribute-sets="del-style">
|
4415
4426
|
<xsl:apply-templates/>
|
4416
4427
|
</fo:inline>
|
4417
4428
|
</xsl:template><xsl:template match="*[local-name()='hi']">
|
@@ -5029,22 +5040,37 @@
|
|
5029
5040
|
<xsl:apply-templates/>
|
5030
5041
|
</fo:block>
|
5031
5042
|
</xsl:template><xsl:template match="*[local-name() = 'image']">
|
5032
|
-
<
|
5033
|
-
|
5034
|
-
|
5035
|
-
|
5036
|
-
|
5037
|
-
|
5038
|
-
|
5039
|
-
|
5040
|
-
|
5041
|
-
|
5042
|
-
|
5043
|
-
|
5044
|
-
|
5045
|
-
|
5046
|
-
|
5047
|
-
|
5043
|
+
<xsl:choose>
|
5044
|
+
<xsl:when test="ancestor::*[local-name() = 'title']">
|
5045
|
+
<fo:inline padding-left="1mm" padding-right="1mm">
|
5046
|
+
<xsl:variable name="src">
|
5047
|
+
<xsl:call-template name="image_src"/>
|
5048
|
+
</xsl:variable>
|
5049
|
+
<fo:external-graphic src="{$src}" fox:alt-text="Image {@alt}" vertical-align="middle"/>
|
5050
|
+
</fo:inline>
|
5051
|
+
</xsl:when>
|
5052
|
+
<xsl:otherwise>
|
5053
|
+
<fo:block xsl:use-attribute-sets="image-style">
|
5054
|
+
|
5055
|
+
<xsl:variable name="src">
|
5056
|
+
<xsl:call-template name="image_src"/>
|
5057
|
+
</xsl:variable>
|
5058
|
+
<fo:external-graphic src="{$src}" fox:alt-text="Image {@alt}" xsl:use-attribute-sets="image-graphic-style"/>
|
5059
|
+
</fo:block>
|
5060
|
+
</xsl:otherwise>
|
5061
|
+
</xsl:choose>
|
5062
|
+
</xsl:template><xsl:template name="image_src">
|
5063
|
+
<xsl:choose>
|
5064
|
+
<xsl:when test="@mimetype = 'image/svg+xml' and $images/images/image[@id = current()/@id]">
|
5065
|
+
<xsl:value-of select="$images/images/image[@id = current()/@id]/@src"/>
|
5066
|
+
</xsl:when>
|
5067
|
+
<xsl:when test="not(starts-with(@src, 'data:'))">
|
5068
|
+
<xsl:value-of select="concat('url(file:',$basepath, @src, ')')"/>
|
5069
|
+
</xsl:when>
|
5070
|
+
<xsl:otherwise>
|
5071
|
+
<xsl:value-of select="@src"/>
|
5072
|
+
</xsl:otherwise>
|
5073
|
+
</xsl:choose>
|
5048
5074
|
</xsl:template><xsl:template match="*[local-name() = 'figure']/*[local-name() = 'name']"/><xsl:template match="*[local-name() = 'figure']/*[local-name() = 'name'] | *[local-name() = 'table']/*[local-name() = 'name'] | *[local-name() = 'permission']/*[local-name() = 'name'] | *[local-name() = 'recommendation']/*[local-name() = 'name'] | *[local-name() = 'requirement']/*[local-name() = 'name']" mode="contents">
|
5049
5075
|
<xsl:apply-templates mode="contents"/>
|
5050
5076
|
<xsl:text> </xsl:text>
|
data/metanorma-iec.gemspec
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# coding: utf-8
|
2
2
|
|
3
|
-
lib = File.expand_path("
|
3
|
+
lib = File.expand_path("lib", __dir__)
|
4
4
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
5
5
|
require "metanorma/iec/version"
|
6
6
|
|
@@ -27,18 +27,18 @@ Gem::Specification.new do |spec|
|
|
27
27
|
spec.test_files = `git ls-files -- {spec}/*`.split("\n")
|
28
28
|
spec.required_ruby_version = Gem::Requirement.new(">= 2.4.0")
|
29
29
|
|
30
|
+
spec.add_dependency "metanorma-iso", "~> 1.8.0"
|
30
31
|
spec.add_dependency "ruby-jing"
|
31
|
-
spec.add_dependency "metanorma-iso", "~> 1.7.0"
|
32
32
|
|
33
33
|
spec.add_development_dependency "byebug"
|
34
|
-
spec.add_development_dependency "sassc", "2.4.0"
|
35
34
|
spec.add_development_dependency "equivalent-xml", "~> 0.6"
|
36
35
|
spec.add_development_dependency "guard", "~> 2.14"
|
37
36
|
spec.add_development_dependency "guard-rspec", "~> 4.7"
|
37
|
+
spec.add_development_dependency "iev", "~> 0.2.0"
|
38
38
|
spec.add_development_dependency "rake", "~> 13.0"
|
39
39
|
spec.add_development_dependency "rspec", "~> 3.6"
|
40
40
|
spec.add_development_dependency "rubocop", "~> 1.5.2"
|
41
|
+
spec.add_development_dependency "sassc", "2.4.0"
|
41
42
|
spec.add_development_dependency "simplecov", "~> 0.15"
|
42
43
|
spec.add_development_dependency "timecop", "~> 0.9"
|
43
|
-
spec.add_development_dependency "iev", "~> 0.2.0"
|
44
44
|
end
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -74,7 +74,7 @@ RSpec.describe IsoDoc do
|
|
74
74
|
it "generates HTML output docs with null configuration from file" do
|
75
75
|
FileUtils.rm_f "spec/assets/iso.doc"
|
76
76
|
FileUtils.rm_f "spec/assets/iso.html"
|
77
|
-
IsoDoc::Iec::HtmlConvert.new({wordstylesheet: "
|
77
|
+
IsoDoc::Iec::HtmlConvert.new({wordstylesheet: "word.css", htmlstylesheet: "html.css"}).convert("spec/assets/iso.xml", nil, false)
|
78
78
|
expect(File.exist?("spec/assets/iso.html")).to be true
|
79
79
|
html = File.read("spec/assets/iso.html", encoding: "UTF-8")
|
80
80
|
expect(html).to match(/<style>/)
|
@@ -84,7 +84,7 @@ RSpec.describe IsoDoc do
|
|
84
84
|
|
85
85
|
it "generates Word output docs with null configuration from file" do
|
86
86
|
FileUtils.rm_f "spec/assets/iso.doc"
|
87
|
-
IsoDoc::Iec::WordConvert.new({wordstylesheet: "
|
87
|
+
IsoDoc::Iec::WordConvert.new({wordstylesheet: "word.css", htmlstylesheet: "html.css"}).convert("spec/assets/iso.xml", nil, false)
|
88
88
|
expect(File.exist?("spec/assets/iso.doc")).to be true
|
89
89
|
word = File.read("spec/assets/iso.doc", encoding: "UTF-8")
|
90
90
|
expect(word).to match(/<w:WordDocument>/)
|
@@ -134,24 +134,6 @@ RSpec.describe IsoDoc do
|
|
134
134
|
OUTPUT
|
135
135
|
end
|
136
136
|
|
137
|
-
it "populates Word header" do
|
138
|
-
FileUtils.rm_f "test.doc"
|
139
|
-
IsoDoc::Iec::WordConvert.new({wordstylesheet: "spec/assets/word.css", htmlstylesheet: "spec/assets/html.css", header: "spec/assets/header.html"}).convert("test", <<~"INPUT", false)
|
140
|
-
<iso-standard xmlns="http://riboseinc.com/isoxml">
|
141
|
-
<bibdata type="article">
|
142
|
-
<docidentifier>
|
143
|
-
<project-number part="1">1000</project-number>
|
144
|
-
</docidentifier>
|
145
|
-
</bibdata>
|
146
|
-
</iso-standard>
|
147
|
-
|
148
|
-
INPUT
|
149
|
-
word = File.read("test.doc", encoding: "UTF-8").sub(%r{^.*Content-Location: file:///C:/Doc/test_files/header.html}m, "Content-Location: file:///C:/Doc/test_files/header.html").
|
150
|
-
sub(/------=_NextPart.*$/m, "")
|
151
|
-
#expect(word).to include(%{Content-Location: file:///C:/Doc/test_files/header.html\nContent-Transfer-Encoding: base64\nContent-Type: text/html charset="utf-8" })
|
152
|
-
expect(word).to include(%{Content-Location: file:///C:/Doc/test_files/header.html})
|
153
|
-
end
|
154
|
-
|
155
137
|
it "processes IsoXML terms for HTML" do
|
156
138
|
FileUtils.rm_f "test.html"
|
157
139
|
FileUtils.rm_f "test.doc"
|
metadata
CHANGED
@@ -1,51 +1,37 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: metanorma-iec
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.3.0
|
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-04-12 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: metanorma-iso
|
29
15
|
requirement: !ruby/object:Gem::Requirement
|
30
16
|
requirements:
|
31
17
|
- - "~>"
|
32
18
|
- !ruby/object:Gem::Version
|
33
|
-
version: 1.
|
19
|
+
version: 1.8.0
|
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.8.0
|
41
27
|
- !ruby/object:Gem::Dependency
|
42
|
-
name:
|
28
|
+
name: ruby-jing
|
43
29
|
requirement: !ruby/object:Gem::Requirement
|
44
30
|
requirements:
|
45
31
|
- - ">="
|
46
32
|
- !ruby/object:Gem::Version
|
47
33
|
version: '0'
|
48
|
-
type: :
|
34
|
+
type: :runtime
|
49
35
|
prerelease: false
|
50
36
|
version_requirements: !ruby/object:Gem::Requirement
|
51
37
|
requirements:
|
@@ -53,19 +39,19 @@ dependencies:
|
|
53
39
|
- !ruby/object:Gem::Version
|
54
40
|
version: '0'
|
55
41
|
- !ruby/object:Gem::Dependency
|
56
|
-
name:
|
42
|
+
name: byebug
|
57
43
|
requirement: !ruby/object:Gem::Requirement
|
58
44
|
requirements:
|
59
|
-
- -
|
45
|
+
- - ">="
|
60
46
|
- !ruby/object:Gem::Version
|
61
|
-
version:
|
47
|
+
version: '0'
|
62
48
|
type: :development
|
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: '0'
|
69
55
|
- !ruby/object:Gem::Dependency
|
70
56
|
name: equivalent-xml
|
71
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -108,6 +94,20 @@ dependencies:
|
|
108
94
|
- - "~>"
|
109
95
|
- !ruby/object:Gem::Version
|
110
96
|
version: '4.7'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: iev
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - "~>"
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: 0.2.0
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - "~>"
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: 0.2.0
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
112
|
name: rake
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
@@ -151,47 +151,47 @@ dependencies:
|
|
151
151
|
- !ruby/object:Gem::Version
|
152
152
|
version: 1.5.2
|
153
153
|
- !ruby/object:Gem::Dependency
|
154
|
-
name:
|
154
|
+
name: sassc
|
155
155
|
requirement: !ruby/object:Gem::Requirement
|
156
156
|
requirements:
|
157
|
-
- -
|
157
|
+
- - '='
|
158
158
|
- !ruby/object:Gem::Version
|
159
|
-
version:
|
159
|
+
version: 2.4.0
|
160
160
|
type: :development
|
161
161
|
prerelease: false
|
162
162
|
version_requirements: !ruby/object:Gem::Requirement
|
163
163
|
requirements:
|
164
|
-
- -
|
164
|
+
- - '='
|
165
165
|
- !ruby/object:Gem::Version
|
166
|
-
version:
|
166
|
+
version: 2.4.0
|
167
167
|
- !ruby/object:Gem::Dependency
|
168
|
-
name:
|
168
|
+
name: simplecov
|
169
169
|
requirement: !ruby/object:Gem::Requirement
|
170
170
|
requirements:
|
171
171
|
- - "~>"
|
172
172
|
- !ruby/object:Gem::Version
|
173
|
-
version: '0.
|
173
|
+
version: '0.15'
|
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: '0.15'
|
181
181
|
- !ruby/object:Gem::Dependency
|
182
|
-
name:
|
182
|
+
name: timecop
|
183
183
|
requirement: !ruby/object:Gem::Requirement
|
184
184
|
requirements:
|
185
185
|
- - "~>"
|
186
186
|
- !ruby/object:Gem::Version
|
187
|
-
version: 0.
|
187
|
+
version: '0.9'
|
188
188
|
type: :development
|
189
189
|
prerelease: false
|
190
190
|
version_requirements: !ruby/object:Gem::Requirement
|
191
191
|
requirements:
|
192
192
|
- - "~>"
|
193
193
|
- !ruby/object:Gem::Version
|
194
|
-
version: 0.
|
194
|
+
version: '0.9'
|
195
195
|
description: |
|
196
196
|
metanorma-iec lets you write IEC standards in AsciiDoc syntax.
|
197
197
|
|
@@ -252,14 +252,14 @@ files:
|
|
252
252
|
- lib/metanorma/iec/processor.rb
|
253
253
|
- lib/metanorma/iec/version.rb
|
254
254
|
- metanorma-iec.gemspec
|
255
|
-
- spec/asciidoctor
|
256
|
-
- spec/asciidoctor
|
257
|
-
- spec/asciidoctor
|
258
|
-
- spec/asciidoctor
|
259
|
-
- spec/asciidoctor
|
260
|
-
- spec/asciidoctor
|
261
|
-
- spec/asciidoctor
|
262
|
-
- spec/asciidoctor
|
255
|
+
- spec/asciidoctor/base_spec.rb
|
256
|
+
- spec/asciidoctor/blocks_spec.rb
|
257
|
+
- spec/asciidoctor/cleanup_spec.rb
|
258
|
+
- spec/asciidoctor/iev_spec.rb
|
259
|
+
- spec/asciidoctor/inline_spec.rb
|
260
|
+
- spec/asciidoctor/lists_spec.rb
|
261
|
+
- spec/asciidoctor/section_spec.rb
|
262
|
+
- spec/asciidoctor/validate_spec.rb
|
263
263
|
- spec/assets/header.html
|
264
264
|
- spec/assets/html.css
|
265
265
|
- spec/assets/iso.xml
|
@@ -267,15 +267,6 @@ files:
|
|
267
267
|
- spec/assets/word.css
|
268
268
|
- spec/assets/wordintro.html
|
269
269
|
- spec/assets/xref_error.adoc
|
270
|
-
- spec/examples/rice.adoc
|
271
|
-
- spec/examples/rice.doc
|
272
|
-
- spec/examples/rice.html
|
273
|
-
- spec/examples/rice.xml
|
274
|
-
- spec/examples/rice_img/rice_image1.png
|
275
|
-
- spec/examples/rice_img/rice_image2.png
|
276
|
-
- spec/examples/rice_img/rice_image3_1.png
|
277
|
-
- spec/examples/rice_img/rice_image3_2.png
|
278
|
-
- spec/examples/rice_img/rice_image3_3.png
|
279
270
|
- spec/isodoc/blocks_spec.rb
|
280
271
|
- spec/isodoc/i18n_spec.rb
|
281
272
|
- spec/isodoc/iev_spec.rb
|