relaton-iana 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_iana/data_fetcher.rb +1 -1
- data/lib/relaton_iana/parser.rb +1 -1
- data/lib/relaton_iana/version.rb +1 -1
- data/relaton_iana.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: 88f95a28c615d40f376060abeb732a2f27fb39433a976c39ddf5dc23286aa987
|
4
|
+
data.tar.gz: b421d5f96686ef8a65a2c0218d39f14f4acc8ae100b103453532a52825f8d226
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 717aa0c320987757c29bad0782a3cf85bf48a7782231fbc562c130ecde89a16b57e12c2bdfcc97e974de0c311b809ffeb1e1cbae9091d66f0ac333ed857cff61
|
7
|
+
data.tar.gz: 746e55e7aa9559cc21f18b69c5a1ed404c861ea94f4dee136660dbfaff3b37f65beb6d44b5423fe6a3555b262ebda9344b3ddde9342af2ddd91f81744968fc82
|
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_iana/parser.rb
CHANGED
@@ -73,7 +73,7 @@ module RelatonIana
|
|
73
73
|
# @return [Arra<RelatonBib::DocumentIdentifier>] docidentifier
|
74
74
|
#
|
75
75
|
def parse_docid
|
76
|
-
[RelatonBib::DocumentIdentifier.new(type: "IANA", id: pub_id)]
|
76
|
+
[RelatonBib::DocumentIdentifier.new(type: "IANA", id: pub_id, primary: true)]
|
77
77
|
end
|
78
78
|
|
79
79
|
#
|
data/lib/relaton_iana/version.rb
CHANGED
data/relaton_iana.gemspec
CHANGED
@@ -39,7 +39,7 @@ Gem::Specification.new do |spec|
|
|
39
39
|
spec.add_development_dependency "webmock"
|
40
40
|
|
41
41
|
spec.add_dependency "faraday", "~> 1.8.0"
|
42
|
-
spec.add_dependency "relaton-bib", "~> 1.10.
|
42
|
+
spec.add_dependency "relaton-bib", "~> 1.10.1"
|
43
43
|
|
44
44
|
# Uncomment to register a new dependency of your gem
|
45
45
|
# spec.add_dependency "example-gem", "~> 1.0"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: relaton-iana
|
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
|
description: 'RelatonIana: Ruby XMLDOC impementation.'
|
154
154
|
email:
|
155
155
|
- open.source@ribose.com
|