relaton-3gpp 1.10.0 → 1.10.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/grammars/biblio.rng +5 -3
- data/lib/relaton_3gpp/parser.rb +1 -1
- data/lib/relaton_3gpp/release.rb +6 -1
- data/lib/relaton_3gpp/version.rb +1 -1
- data/relaton_3gpp.gemspec +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 275ee049ce18d121101b1bc9d3e77bf50740172f13c61e1849606814aab0d88f
|
4
|
+
data.tar.gz: 888698e5663d0bd316f42d0742677efdd8fb70c7552e1524cf67b4d9fbb5698e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1dd744071cbc47d39d57dab35bffc4585375d80c4084d70d9c032b5005be008af08e8a714e0f819f74a181f5cfca9d21eec5b693dfc38d704d596818b855734c
|
7
|
+
data.tar.gz: 97fcb1b2dd3417870e39cfb309808cd6d14826d267f8f920d9329a9ca80ae071234c076f22a4695a913be4f430a8ac21df56273820ff5695a4770f007a82d0b5
|
data/grammars/biblio.rng
CHANGED
@@ -209,9 +209,6 @@
|
|
209
209
|
<zeroOrMore>
|
210
210
|
<ref name="contact"/>
|
211
211
|
</zeroOrMore>
|
212
|
-
<zeroOrMore>
|
213
|
-
<ref name="uri"/>
|
214
|
-
</zeroOrMore>
|
215
212
|
</element>
|
216
213
|
</define>
|
217
214
|
<define name="fullname">
|
@@ -828,6 +825,11 @@
|
|
828
825
|
<optional>
|
829
826
|
<attribute name="scope"/>
|
830
827
|
</optional>
|
828
|
+
<optional>
|
829
|
+
<attribute name="primary">
|
830
|
+
<data type="boolean"/>
|
831
|
+
</attribute>
|
832
|
+
</optional>
|
831
833
|
<text/>
|
832
834
|
</element>
|
833
835
|
</define>
|
data/lib/relaton_3gpp/parser.rb
CHANGED
@@ -106,7 +106,7 @@ module Relaton3gpp
|
|
106
106
|
# @return [Arra<RelatonBib::DocumentIdentifier>] docidentifier
|
107
107
|
#
|
108
108
|
def parse_docid
|
109
|
-
[RelatonBib::DocumentIdentifier.new(type: "3GPP", id: "3GPP #{number}")]
|
109
|
+
[RelatonBib::DocumentIdentifier.new(type: "3GPP", id: "3GPP #{number}", primary: true)]
|
110
110
|
end
|
111
111
|
|
112
112
|
#
|
data/lib/relaton_3gpp/release.rb
CHANGED
@@ -52,10 +52,15 @@ module Relaton3gpp
|
|
52
52
|
end
|
53
53
|
end
|
54
54
|
|
55
|
+
#
|
56
|
+
# Render Hash.
|
57
|
+
#
|
58
|
+
# @return [Hash]
|
59
|
+
#
|
55
60
|
def to_hash
|
56
61
|
hash = {}
|
57
62
|
instance_variables.each do |var|
|
58
|
-
unless instance_variable_get(var).nil?
|
63
|
+
unless instance_variable_get(var).nil?
|
59
64
|
hash[var.to_s.delete("@")] = instance_variable_get var
|
60
65
|
end
|
61
66
|
end
|
data/lib/relaton_3gpp/version.rb
CHANGED
data/relaton_3gpp.gemspec
CHANGED
@@ -45,6 +45,6 @@ Gem::Specification.new do |spec|
|
|
45
45
|
spec.add_development_dependency "webmock", "~> 3.14.0"
|
46
46
|
|
47
47
|
spec.add_dependency "mdb", "~> 0.5.0"
|
48
|
-
spec.add_dependency "relaton-bib", "~> 1.10.
|
48
|
+
spec.add_dependency "relaton-bib", "~> 1.10.1"
|
49
49
|
spec.add_dependency "rubyzip", "~> 2.3.0"
|
50
50
|
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.10.
|
4
|
+
version: 1.10.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ribose Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-02-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: equivalent-xml
|
@@ -142,14 +142,14 @@ dependencies:
|
|
142
142
|
requirements:
|
143
143
|
- - "~>"
|
144
144
|
- !ruby/object:Gem::Version
|
145
|
-
version: 1.10.
|
145
|
+
version: 1.10.1
|
146
146
|
type: :runtime
|
147
147
|
prerelease: false
|
148
148
|
version_requirements: !ruby/object:Gem::Requirement
|
149
149
|
requirements:
|
150
150
|
- - "~>"
|
151
151
|
- !ruby/object:Gem::Version
|
152
|
-
version: 1.10.
|
152
|
+
version: 1.10.1
|
153
153
|
- !ruby/object:Gem::Dependency
|
154
154
|
name: rubyzip
|
155
155
|
requirement: !ruby/object:Gem::Requirement
|