Skip to content

Commit 65f553b

Browse files
committed
version bump:
1 parent f18769a commit 65f553b

File tree

3 files changed

+175
-3
lines changed

3 files changed

+175
-3
lines changed

.rubocop.yml

-2
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,3 @@ AllCops:
1010
DisplayCopNames: false
1111
StyleGuideCopsOnly: false
1212
TargetRubyVersion: 2.4
13-
Rails:
14-
Enabled: true

lib/asciidoctor/iho/isodoc.rng

+174
Original file line numberDiff line numberDiff line change
@@ -876,6 +876,18 @@
876876
</zeroOrMore>
877877
</element>
878878
</define>
879+
<define name="pagebreak">
880+
<element name="pagebreak">
881+
<optional>
882+
<attribute name="orientation">
883+
<choice>
884+
<value>landscape</value>
885+
<value>portrait</value>
886+
</choice>
887+
</attribute>
888+
</optional>
889+
</element>
890+
</define>
879891
</include>
880892
<!-- end overrides -->
881893
<define name="colgroup">
@@ -943,8 +955,170 @@
943955
<ref name="permission"/>
944956
<ref name="imagemap"/>
945957
<ref name="svgmap"/>
958+
<ref name="inputform"/>
959+
</choice>
960+
</define>
961+
<define name="inputform">
962+
<element name="form">
963+
<attribute name="id">
964+
<data type="ID"/>
965+
</attribute>
966+
<attribute name="name"/>
967+
<attribute name="action"/>
968+
<zeroOrMore>
969+
<choice>
970+
<ref name="TextElement"/>
971+
<ref name="FormInput"/>
972+
</choice>
973+
</zeroOrMore>
974+
</element>
975+
</define>
976+
<define name="FormInput">
977+
<choice>
978+
<ref name="input"/>
979+
<ref name="formlabel"/>
980+
<ref name="select"/>
981+
<ref name="textarea"/>
982+
</choice>
983+
</define>
984+
<define name="InputType">
985+
<choice>
986+
<value>button</value>
987+
<value>checkbox</value>
988+
<value>date</value>
989+
<value>file</value>
990+
<value>password</value>
991+
<value>radio</value>
992+
<value>submit</value>
993+
<value>text</value>
946994
</choice>
947995
</define>
996+
<define name="input">
997+
<element name="input">
998+
<attribute name="type">
999+
<ref name="InputType"/>
1000+
</attribute>
1001+
<optional>
1002+
<attribute name="checked">
1003+
<data type="boolean"/>
1004+
</attribute>
1005+
</optional>
1006+
<optional>
1007+
<attribute name="disabled">
1008+
<data type="boolean"/>
1009+
</attribute>
1010+
</optional>
1011+
<optional>
1012+
<attribute name="readonly">
1013+
<data type="boolean"/>
1014+
</attribute>
1015+
</optional>
1016+
<optional>
1017+
<attribute name="maxlength">
1018+
<data type="int"/>
1019+
</attribute>
1020+
</optional>
1021+
<optional>
1022+
<attribute name="minlength">
1023+
<data type="int"/>
1024+
</attribute>
1025+
</optional>
1026+
<optional>
1027+
<attribute name="name"/>
1028+
</optional>
1029+
<optional>
1030+
<attribute name="value"/>
1031+
</optional>
1032+
<optional>
1033+
<attribute name="id">
1034+
<data type="ID"/>
1035+
</attribute>
1036+
</optional>
1037+
</element>
1038+
</define>
1039+
<define name="formlabel">
1040+
<element name="label">
1041+
<attribute name="for">
1042+
<data type="IDREF"/>
1043+
</attribute>
1044+
<zeroOrMore>
1045+
<ref name="PureTextElement"/>
1046+
</zeroOrMore>
1047+
</element>
1048+
</define>
1049+
<define name="select">
1050+
<element name="select">
1051+
<optional>
1052+
<attribute name="name"/>
1053+
</optional>
1054+
<optional>
1055+
<attribute name="value"/>
1056+
</optional>
1057+
<optional>
1058+
<attribute name="id">
1059+
<data type="ID"/>
1060+
</attribute>
1061+
</optional>
1062+
<optional>
1063+
<attribute name="disabled">
1064+
<data type="boolean"/>
1065+
</attribute>
1066+
</optional>
1067+
<optional>
1068+
<attribute name="multiple">
1069+
<data type="boolean"/>
1070+
</attribute>
1071+
</optional>
1072+
<optional>
1073+
<attribute name="size">
1074+
<data type="int"/>
1075+
</attribute>
1076+
</optional>
1077+
<oneOrMore>
1078+
<ref name="option"/>
1079+
</oneOrMore>
1080+
</element>
1081+
</define>
1082+
<define name="option">
1083+
<element name="option">
1084+
<optional>
1085+
<attribute name="disabled">
1086+
<data type="boolean"/>
1087+
</attribute>
1088+
</optional>
1089+
<optional>
1090+
<attribute name="value"/>
1091+
</optional>
1092+
<zeroOrMore>
1093+
<ref name="PureTextElement"/>
1094+
</zeroOrMore>
1095+
</element>
1096+
</define>
1097+
<define name="textarea">
1098+
<element name="textarea">
1099+
<optional>
1100+
<attribute name="name"/>
1101+
</optional>
1102+
<optional>
1103+
<attribute name="value"/>
1104+
</optional>
1105+
<optional>
1106+
<attribute name="id">
1107+
<data type="ID"/>
1108+
</attribute>
1109+
</optional>
1110+
<optional>
1111+
<attribute name="rows">
1112+
<data type="int"/>
1113+
</attribute>
1114+
</optional>
1115+
<optional>
1116+
<attribute name="cols">
1117+
<data type="int"/>
1118+
</attribute>
1119+
</optional>
1120+
</element>
1121+
</define>
9481122
<define name="bibliography">
9491123
<element name="bibliography">
9501124
<oneOrMore>

lib/metanorma/iho/version.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
module Metanorma
22
module IHO
3-
VERSION = "0.3.1".freeze
3+
VERSION = "0.3.2".freeze
44
end
55
end

0 commit comments

Comments
 (0)