relaton-3gpp 1.16.3 → 1.18.0
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 +1 -1
- data/.github/workflows/release.yml +1 -1
- data/grammars/basicdoc.rng +165 -54
- data/grammars/biblio-standoc.rng +44 -1
- data/grammars/biblio.rng +33 -0
- data/lib/relaton_3gpp/bibliographic_item.rb +2 -7
- data/lib/relaton_3gpp/document_type.rb +18 -0
- data/lib/relaton_3gpp/hash_converter.rb +20 -15
- data/lib/relaton_3gpp/parser.rb +2 -2
- data/lib/relaton_3gpp/version.rb +1 -1
- data/lib/relaton_3gpp.rb +1 -0
- data/relaton_3gpp.gemspec +1 -1
- metadata +5 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 682c2146c49654c1b6d4648ebfc3f7cfce733192c362271326cfbe83dc179554
|
4
|
+
data.tar.gz: 52d95d657d9f98c250ff9f969561f0fc41d88792b1417f62be5024be192325d7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d91d4bbe21537e5314ed66f962ed0bd667134b92f94363b71c7da43d20f29e2a2187d6201e88a3f4467babc78d8d349e830eac3c4b85920671f352c65b9d4fb7
|
7
|
+
data.tar.gz: 07e9502c6de74eeba4d9492978a62af326fe5a4fd2973bfdc5493514af7d722159d5020b1b6b9c793bbf0aaad70d24a03bfb1d2bf54a44dc6d9a11fb6342d23f
|
data/.github/workflows/rake.yml
CHANGED
data/grammars/basicdoc.rng
CHANGED
@@ -95,8 +95,89 @@
|
|
95
95
|
<ref name="pagebreak"/>
|
96
96
|
<ref name="hr"/>
|
97
97
|
<ref name="bookmark"/>
|
98
|
+
<ref name="amend"/>
|
98
99
|
</choice>
|
99
100
|
</define>
|
101
|
+
<define name="amend">
|
102
|
+
<element name="amend">
|
103
|
+
<ref name="AmendType"/>
|
104
|
+
</element>
|
105
|
+
</define>
|
106
|
+
<define name="AmendType">
|
107
|
+
<optional>
|
108
|
+
<attribute name="id">
|
109
|
+
<data type="ID"/>
|
110
|
+
</attribute>
|
111
|
+
</optional>
|
112
|
+
<attribute name="change">
|
113
|
+
<choice>
|
114
|
+
<value>add</value>
|
115
|
+
<value>modify</value>
|
116
|
+
<value>delete</value>
|
117
|
+
<value>replace</value>
|
118
|
+
</choice>
|
119
|
+
</attribute>
|
120
|
+
<optional>
|
121
|
+
<attribute name="path"/>
|
122
|
+
</optional>
|
123
|
+
<optional>
|
124
|
+
<attribute name="path_end"/>
|
125
|
+
</optional>
|
126
|
+
<optional>
|
127
|
+
<attribute name="title"/>
|
128
|
+
</optional>
|
129
|
+
<optional>
|
130
|
+
<element name="location">
|
131
|
+
<zeroOrMore>
|
132
|
+
<choice>
|
133
|
+
<ref name="locality"/>
|
134
|
+
<ref name="localityStack"/>
|
135
|
+
</choice>
|
136
|
+
</zeroOrMore>
|
137
|
+
</element>
|
138
|
+
</optional>
|
139
|
+
<optional>
|
140
|
+
<element name="description">
|
141
|
+
<zeroOrMore>
|
142
|
+
<ref name="BasicBlock"/>
|
143
|
+
</zeroOrMore>
|
144
|
+
</element>
|
145
|
+
</optional>
|
146
|
+
<optional>
|
147
|
+
<element name="newcontent">
|
148
|
+
<optional>
|
149
|
+
<attribute name="id">
|
150
|
+
<data type="ID"/>
|
151
|
+
</attribute>
|
152
|
+
</optional>
|
153
|
+
<zeroOrMore>
|
154
|
+
<ref name="BasicBlock"/>
|
155
|
+
</zeroOrMore>
|
156
|
+
</element>
|
157
|
+
</optional>
|
158
|
+
<zeroOrMore>
|
159
|
+
<ref name="classification"/>
|
160
|
+
</zeroOrMore>
|
161
|
+
<zeroOrMore>
|
162
|
+
<ref name="contributor"/>
|
163
|
+
</zeroOrMore>
|
164
|
+
</define>
|
165
|
+
<define name="classification">
|
166
|
+
<element name="classification">
|
167
|
+
<ref name="classification_tag"/>
|
168
|
+
<ref name="classification_value"/>
|
169
|
+
</element>
|
170
|
+
</define>
|
171
|
+
<define name="classification_tag">
|
172
|
+
<element name="tag">
|
173
|
+
<text/>
|
174
|
+
</element>
|
175
|
+
</define>
|
176
|
+
<define name="classification_value">
|
177
|
+
<element name="value">
|
178
|
+
<text/>
|
179
|
+
</element>
|
180
|
+
</define>
|
100
181
|
<define name="paragraph">
|
101
182
|
<element name="p">
|
102
183
|
<ref name="ParagraphType"/>
|
@@ -346,6 +427,8 @@
|
|
346
427
|
<ref name="keyword"/>
|
347
428
|
<ref name="xref"/>
|
348
429
|
<ref name="hyperlink"/>
|
430
|
+
<ref name="index"/>
|
431
|
+
<ref name="index-xref"/>
|
349
432
|
</choice>
|
350
433
|
</oneOrMore>
|
351
434
|
</element>
|
@@ -623,6 +706,8 @@
|
|
623
706
|
<ref name="eref"/>
|
624
707
|
<ref name="xref"/>
|
625
708
|
<ref name="hyperlink"/>
|
709
|
+
<ref name="index"/>
|
710
|
+
<ref name="index-xref"/>
|
626
711
|
</choice>
|
627
712
|
</zeroOrMore>
|
628
713
|
</element>
|
@@ -636,6 +721,8 @@
|
|
636
721
|
<ref name="eref"/>
|
637
722
|
<ref name="xref"/>
|
638
723
|
<ref name="hyperlink"/>
|
724
|
+
<ref name="index"/>
|
725
|
+
<ref name="index-xref"/>
|
639
726
|
</choice>
|
640
727
|
</zeroOrMore>
|
641
728
|
</element>
|
@@ -648,6 +735,8 @@
|
|
648
735
|
<ref name="eref"/>
|
649
736
|
<ref name="xref"/>
|
650
737
|
<ref name="hyperlink"/>
|
738
|
+
<ref name="index"/>
|
739
|
+
<ref name="index-xref"/>
|
651
740
|
</choice>
|
652
741
|
</zeroOrMore>
|
653
742
|
</element>
|
@@ -655,7 +744,11 @@
|
|
655
744
|
<define name="keyword">
|
656
745
|
<element name="keyword">
|
657
746
|
<zeroOrMore>
|
658
|
-
<
|
747
|
+
<choice>
|
748
|
+
<ref name="PureTextElement"/>
|
749
|
+
<ref name="index"/>
|
750
|
+
<ref name="index-xref"/>
|
751
|
+
</choice>
|
659
752
|
</zeroOrMore>
|
660
753
|
</element>
|
661
754
|
</define>
|
@@ -676,7 +769,11 @@
|
|
676
769
|
<define name="strike">
|
677
770
|
<element name="strike">
|
678
771
|
<zeroOrMore>
|
679
|
-
<
|
772
|
+
<choice>
|
773
|
+
<ref name="PureTextElement"/>
|
774
|
+
<ref name="index"/>
|
775
|
+
<ref name="index-xref"/>
|
776
|
+
</choice>
|
680
777
|
</zeroOrMore>
|
681
778
|
</element>
|
682
779
|
</define>
|
@@ -699,27 +796,36 @@
|
|
699
796
|
</define>
|
700
797
|
<define name="ruby">
|
701
798
|
<element name="ruby">
|
702
|
-
<
|
703
|
-
<
|
704
|
-
|
705
|
-
|
706
|
-
|
707
|
-
|
708
|
-
|
799
|
+
<choice>
|
800
|
+
<ref name="ruby_pronunciation"/>
|
801
|
+
<ref name="ruby_annotation"/>
|
802
|
+
</choice>
|
803
|
+
<choice>
|
804
|
+
<text/>
|
805
|
+
<ref name="ruby"/>
|
806
|
+
</choice>
|
709
807
|
</element>
|
710
808
|
</define>
|
711
|
-
<define name="
|
712
|
-
<element name="
|
713
|
-
<
|
714
|
-
|
715
|
-
|
809
|
+
<define name="ruby_pronunciation">
|
810
|
+
<element name="pronunciation">
|
811
|
+
<attribute name="value"/>
|
812
|
+
<optional>
|
813
|
+
<attribute name="script"/>
|
814
|
+
</optional>
|
815
|
+
<optional>
|
816
|
+
<attribute name="lang"/>
|
817
|
+
</optional>
|
716
818
|
</element>
|
717
819
|
</define>
|
718
|
-
<define name="
|
719
|
-
<element name="
|
720
|
-
<
|
721
|
-
|
722
|
-
|
820
|
+
<define name="ruby_annotation">
|
821
|
+
<element name="annotation">
|
822
|
+
<attribute name="value"/>
|
823
|
+
<optional>
|
824
|
+
<attribute name="script"/>
|
825
|
+
</optional>
|
826
|
+
<optional>
|
827
|
+
<attribute name="lang"/>
|
828
|
+
</optional>
|
723
829
|
</element>
|
724
830
|
</define>
|
725
831
|
<define name="br">
|
@@ -898,44 +1004,49 @@
|
|
898
1004
|
-->
|
899
1005
|
<define name="image">
|
900
1006
|
<element name="image">
|
901
|
-
<
|
902
|
-
|
1007
|
+
<ref name="Image"/>
|
1008
|
+
</element>
|
1009
|
+
</define>
|
1010
|
+
<define name="Image">
|
1011
|
+
<attribute name="id">
|
1012
|
+
<data type="ID"/>
|
1013
|
+
</attribute>
|
1014
|
+
<attribute name="src">
|
1015
|
+
<data type="anyURI"/>
|
1016
|
+
</attribute>
|
1017
|
+
<attribute name="mimetype"/>
|
1018
|
+
<optional>
|
1019
|
+
<attribute name="filename"/>
|
1020
|
+
</optional>
|
1021
|
+
<optional>
|
1022
|
+
<attribute name="width">
|
1023
|
+
<ref name="ImageSize"/>
|
903
1024
|
</attribute>
|
904
|
-
|
1025
|
+
</optional>
|
1026
|
+
<optional>
|
1027
|
+
<attribute name="height">
|
1028
|
+
<ref name="ImageSize"/>
|
1029
|
+
</attribute>
|
1030
|
+
</optional>
|
1031
|
+
<optional>
|
1032
|
+
<attribute name="alt"/>
|
1033
|
+
</optional>
|
1034
|
+
<optional>
|
1035
|
+
<attribute name="title"/>
|
1036
|
+
</optional>
|
1037
|
+
<optional>
|
1038
|
+
<attribute name="longdesc">
|
905
1039
|
<data type="anyURI"/>
|
906
1040
|
</attribute>
|
907
|
-
|
908
|
-
|
909
|
-
|
910
|
-
|
911
|
-
<
|
912
|
-
<
|
913
|
-
|
914
|
-
|
915
|
-
|
916
|
-
</choice>
|
917
|
-
</attribute>
|
918
|
-
</optional>
|
919
|
-
<optional>
|
920
|
-
<attribute name="height">
|
921
|
-
<choice>
|
922
|
-
<data type="int"/>
|
923
|
-
<value>auto</value>
|
924
|
-
</choice>
|
925
|
-
</attribute>
|
926
|
-
</optional>
|
927
|
-
<optional>
|
928
|
-
<attribute name="alt"/>
|
929
|
-
</optional>
|
930
|
-
<optional>
|
931
|
-
<attribute name="title"/>
|
932
|
-
</optional>
|
933
|
-
<optional>
|
934
|
-
<attribute name="longdesc">
|
935
|
-
<data type="anyURI"/>
|
936
|
-
</attribute>
|
937
|
-
</optional>
|
938
|
-
</element>
|
1041
|
+
</optional>
|
1042
|
+
</define>
|
1043
|
+
<define name="ImageSize">
|
1044
|
+
<choice>
|
1045
|
+
<data type="string">
|
1046
|
+
<param name="pattern">\d+([.]\d+)?(%?)</param>
|
1047
|
+
</data>
|
1048
|
+
<value>auto</value>
|
1049
|
+
</choice>
|
939
1050
|
</define>
|
940
1051
|
<define name="video">
|
941
1052
|
<element name="video">
|
data/grammars/biblio-standoc.rng
CHANGED
@@ -9,11 +9,42 @@
|
|
9
9
|
-->
|
10
10
|
<include href="biblio.rng">
|
11
11
|
<define name="BibData">
|
12
|
-
<ref name="
|
12
|
+
<ref name="StandardBibliographicItem"/>
|
13
13
|
<optional>
|
14
14
|
<ref name="ext"/>
|
15
15
|
</optional>
|
16
16
|
</define>
|
17
|
+
<define name="docrelation">
|
18
|
+
<element name="relation">
|
19
|
+
<attribute name="type">
|
20
|
+
<ref name="DocRelationType"/>
|
21
|
+
</attribute>
|
22
|
+
<optional>
|
23
|
+
<element name="description">
|
24
|
+
<ref name="FormattedString"/>
|
25
|
+
</element>
|
26
|
+
</optional>
|
27
|
+
<element name="bibitem">
|
28
|
+
<ref name="StandardReducedBibliographicItem"/>
|
29
|
+
</element>
|
30
|
+
<choice>
|
31
|
+
<zeroOrMore>
|
32
|
+
<ref name="locality"/>
|
33
|
+
</zeroOrMore>
|
34
|
+
<zeroOrMore>
|
35
|
+
<ref name="localityStack"/>
|
36
|
+
</zeroOrMore>
|
37
|
+
</choice>
|
38
|
+
<choice>
|
39
|
+
<zeroOrMore>
|
40
|
+
<ref name="sourceLocality"/>
|
41
|
+
</zeroOrMore>
|
42
|
+
<zeroOrMore>
|
43
|
+
<ref name="sourceLocalityStack"/>
|
44
|
+
</zeroOrMore>
|
45
|
+
</choice>
|
46
|
+
</element>
|
47
|
+
</define>
|
17
48
|
</include>
|
18
49
|
<define name="ext">
|
19
50
|
<element name="ext">
|
@@ -161,4 +192,16 @@
|
|
161
192
|
</optional>
|
162
193
|
</element>
|
163
194
|
</define>
|
195
|
+
<define name="StandardBibliographicItem">
|
196
|
+
<ref name="BibliographicItem"/>
|
197
|
+
<zeroOrMore>
|
198
|
+
<ref name="amend"/>
|
199
|
+
</zeroOrMore>
|
200
|
+
</define>
|
201
|
+
<define name="StandardReducedBibliographicItem">
|
202
|
+
<ref name="ReducedBibliographicItem"/>
|
203
|
+
<zeroOrMore>
|
204
|
+
<ref name="amend"/>
|
205
|
+
</zeroOrMore>
|
206
|
+
</define>
|
164
207
|
</grammar>
|
data/grammars/biblio.rng
CHANGED
@@ -241,6 +241,9 @@
|
|
241
241
|
</element>
|
242
242
|
</define>
|
243
243
|
<define name="FullNameType">
|
244
|
+
<optional>
|
245
|
+
<ref name="name_abbreviation"/>
|
246
|
+
</optional>
|
244
247
|
<choice>
|
245
248
|
<group>
|
246
249
|
<zeroOrMore>
|
@@ -266,6 +269,11 @@
|
|
266
269
|
<ref name="variantname"/>
|
267
270
|
</zeroOrMore>
|
268
271
|
</define>
|
272
|
+
<define name="name_abbreviation">
|
273
|
+
<element name="abbreviation">
|
274
|
+
<ref name="LocalizedString"/>
|
275
|
+
</element>
|
276
|
+
</define>
|
269
277
|
<define name="prefix">
|
270
278
|
<element name="prefix">
|
271
279
|
<ref name="LocalizedString"/>
|
@@ -348,6 +356,9 @@
|
|
348
356
|
<zeroOrMore>
|
349
357
|
<ref name="contact"/>
|
350
358
|
</zeroOrMore>
|
359
|
+
<optional>
|
360
|
+
<ref name="logo"/>
|
361
|
+
</optional>
|
351
362
|
</element>
|
352
363
|
</define>
|
353
364
|
<define name="orgname">
|
@@ -366,6 +377,21 @@
|
|
366
377
|
</choice>
|
367
378
|
</element>
|
368
379
|
</define>
|
380
|
+
<define name="logo">
|
381
|
+
<element name="logo">
|
382
|
+
<ref name="image"/>
|
383
|
+
</element>
|
384
|
+
</define>
|
385
|
+
<define name="depiction">
|
386
|
+
<element name="depiction">
|
387
|
+
<optional>
|
388
|
+
<attribute name="scope"/>
|
389
|
+
</optional>
|
390
|
+
<zeroOrMore>
|
391
|
+
<ref name="image"/>
|
392
|
+
</zeroOrMore>
|
393
|
+
</element>
|
394
|
+
</define>
|
369
395
|
<define name="NameWithVariants">
|
370
396
|
<element name="primary">
|
371
397
|
<ref name="LocalizedString"/>
|
@@ -752,6 +778,9 @@
|
|
752
778
|
<optional>
|
753
779
|
<ref name="validity"/>
|
754
780
|
</optional>
|
781
|
+
<optional>
|
782
|
+
<ref name="depiction"/>
|
783
|
+
</optional>
|
755
784
|
</define>
|
756
785
|
<define name="ReducedBibliographicItem">
|
757
786
|
<optional>
|
@@ -849,6 +878,9 @@
|
|
849
878
|
<optional>
|
850
879
|
<ref name="validity"/>
|
851
880
|
</optional>
|
881
|
+
<optional>
|
882
|
+
<ref name="depiction"/>
|
883
|
+
</optional>
|
852
884
|
</define>
|
853
885
|
<define name="btitle">
|
854
886
|
<element name="title">
|
@@ -942,6 +974,7 @@
|
|
942
974
|
<value>obsoleted</value>
|
943
975
|
<value>confirmed</value>
|
944
976
|
<value>updated</value>
|
977
|
+
<value>corrected</value>
|
945
978
|
<value>issued</value>
|
946
979
|
<value>transmitted</value>
|
947
980
|
<value>copied</value>
|
@@ -1,6 +1,5 @@
|
|
1
1
|
module Relaton3gpp
|
2
2
|
class BibliographicItem < RelatonBib::BibliographicItem
|
3
|
-
DOCTYPES = %w[TR TS].freeze
|
4
3
|
DOCSUBTYPES = %w[spec release].freeze
|
5
4
|
RADIOTECHNOLOGIES = %w[2G 3G LTE 5G].freeze
|
6
5
|
|
@@ -12,6 +11,7 @@ module Relaton3gpp
|
|
12
11
|
# @param [Relaton3gpp::Release] release
|
13
12
|
#
|
14
13
|
def initialize(**args) # rubocop:disable Metrics/AbcSize, Metrics/MethodLength, Metrics/CyclomaticComplexity, Metrics/PerceivedComplexity
|
14
|
+
Util.warn "WARNING: Doctype is missing" if args[:type].nil?
|
15
15
|
@radiotechnology = args.delete(:radiotechnology)
|
16
16
|
if @radiotechnology && !RADIOTECHNOLOGIES.include?(@radiotechnology)
|
17
17
|
Util.warn "WARNING: Unknown radiotechnology type: `#{@radiotechnology}`"
|
@@ -19,11 +19,6 @@ module Relaton3gpp
|
|
19
19
|
end
|
20
20
|
@common_ims_spec = args.delete(:common_ims_spec)
|
21
21
|
@release = args.delete(:release)
|
22
|
-
if args[:doctype].nil? then Util.warn "WARNING: Doctype is missing"
|
23
|
-
elsif !DOCTYPES.include?(args[:doctype])
|
24
|
-
Util.warn "WARNING: Unknown doctype: `#{args[:doctype]}`"
|
25
|
-
Util.warn "WARNING: Possible doctypes: `#{DOCTYPES.join '`, `'}`"
|
26
|
-
end
|
27
22
|
if args[:docsubtype] && !DOCSUBTYPES.include?(args[:docsubtype])
|
28
23
|
Util.warn "WARNING: Unknown docsubtype: `#{args[:docsubtype]}`"
|
29
24
|
Util.warn "WARNING: Possible docsubtypes: `#{DOCSUBTYPES.join '`, `'}`"
|
@@ -62,7 +57,7 @@ module Relaton3gpp
|
|
62
57
|
if block_given? then yield b
|
63
58
|
elsif opts[:bibdata] && has_ext_attrs?
|
64
59
|
ext = b.ext do
|
65
|
-
|
60
|
+
doctype&.to_xml b
|
66
61
|
b.subdoctype subdoctype if subdoctype
|
67
62
|
editorialgroup&.to_xml b
|
68
63
|
ics.each { |i| i.to_xml b }
|
@@ -0,0 +1,18 @@
|
|
1
|
+
module Relaton3gpp
|
2
|
+
class DocumentType < RelatonBib::DocumentType
|
3
|
+
DOCTYPES = %w[TS TR].freeze
|
4
|
+
|
5
|
+
def initialize(type:, abbreviation: nil)
|
6
|
+
check type
|
7
|
+
super
|
8
|
+
end
|
9
|
+
|
10
|
+
# @param type [String]
|
11
|
+
def check(type)
|
12
|
+
unless DOCTYPES.include? type
|
13
|
+
Util.warn "WARNING: Unknown doctype: `#{type}`"
|
14
|
+
Util.warn "WARNING: Possible doctypes: `#{DOCTYPES.join '`, `'}`"
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
@@ -1,21 +1,26 @@
|
|
1
1
|
module Relaton3gpp
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
hash = super
|
6
|
-
release_hash_to_bib(hash)
|
7
|
-
hash
|
8
|
-
end
|
2
|
+
module HashConverter
|
3
|
+
include RelatonBib::HashConverter
|
4
|
+
extend self
|
9
5
|
|
10
|
-
|
11
|
-
|
12
|
-
|
6
|
+
def hash_to_bib(args)
|
7
|
+
hash = super
|
8
|
+
release_hash_to_bib(hash)
|
9
|
+
hash
|
10
|
+
end
|
11
|
+
|
12
|
+
def release_hash_to_bib(hash)
|
13
|
+
hash[:release] &&= Release.new(**hash[:release])
|
14
|
+
end
|
15
|
+
|
16
|
+
# @param item_hash [Hash]
|
17
|
+
# @return [Relaton3gpp::BibliographicItem]
|
18
|
+
def bib_item(item_hash)
|
19
|
+
BibliographicItem.new(**item_hash)
|
20
|
+
end
|
13
21
|
|
14
|
-
|
15
|
-
|
16
|
-
def bib_item(item_hash)
|
17
|
-
BibliographicItem.new(**item_hash)
|
18
|
-
end
|
22
|
+
def create_doctype(**type)
|
23
|
+
DocumentType.new(**type)
|
19
24
|
end
|
20
25
|
end
|
21
26
|
end
|
data/lib/relaton_3gpp/parser.rb
CHANGED
@@ -54,7 +54,7 @@ module Relaton3gpp
|
|
54
54
|
docid: parse_docid,
|
55
55
|
docnumber: number,
|
56
56
|
date: parse_date,
|
57
|
-
doctype: @spec[:Type],
|
57
|
+
doctype: DocumentType.new(type: @spec[:Type]),
|
58
58
|
editorialgroup: parse_editorialgroup,
|
59
59
|
biblionote: parse_note,
|
60
60
|
docstatus: parse_status,
|
@@ -92,7 +92,7 @@ module Relaton3gpp
|
|
92
92
|
#
|
93
93
|
# Parse abstract
|
94
94
|
#
|
95
|
-
# @return [Array<RelatonBib::FormattedString>]
|
95
|
+
# @return [Array<RelatonBib::FormattedString>]
|
96
96
|
#
|
97
97
|
def parse_abstract
|
98
98
|
return [] unless @spec[:description]
|
data/lib/relaton_3gpp/version.rb
CHANGED
data/lib/relaton_3gpp.rb
CHANGED
@@ -6,6 +6,7 @@ require "relaton_bib"
|
|
6
6
|
require_relative "relaton_3gpp/version"
|
7
7
|
require_relative "relaton_3gpp/config"
|
8
8
|
require_relative "relaton_3gpp/util"
|
9
|
+
require_relative "relaton_3gpp/document_type"
|
9
10
|
require_relative "relaton_3gpp/release"
|
10
11
|
require_relative "relaton_3gpp/bibliographic_item"
|
11
12
|
require_relative "relaton_3gpp/hash_converter"
|
data/relaton_3gpp.gemspec
CHANGED
@@ -38,7 +38,7 @@ Gem::Specification.new do |spec|
|
|
38
38
|
|
39
39
|
spec.add_dependency "mdb", "~> 0.5.0"
|
40
40
|
spec.add_dependency "net-ftp", "~> 0.1.0"
|
41
|
-
spec.add_dependency "relaton-bib", "~> 1.
|
41
|
+
spec.add_dependency "relaton-bib", "~> 1.18.0"
|
42
42
|
spec.add_dependency "relaton-index", "~> 0.2.0"
|
43
43
|
spec.add_dependency "rubyzip", "~> 2.3.0"
|
44
44
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: relaton-3gpp
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.18.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ribose Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-01-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: mdb
|
@@ -44,14 +44,14 @@ dependencies:
|
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: 1.
|
47
|
+
version: 1.18.0
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: 1.
|
54
|
+
version: 1.18.0
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: relaton-index
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -109,6 +109,7 @@ files:
|
|
109
109
|
- lib/relaton_3gpp/bibliography.rb
|
110
110
|
- lib/relaton_3gpp/config.rb
|
111
111
|
- lib/relaton_3gpp/data_fetcher.rb
|
112
|
+
- lib/relaton_3gpp/document_type.rb
|
112
113
|
- lib/relaton_3gpp/hash_converter.rb
|
113
114
|
- lib/relaton_3gpp/parser.rb
|
114
115
|
- lib/relaton_3gpp/processor.rb
|