relaton-gb 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_gb/scrapper.rb +1 -1
- data/lib/relaton_gb/version.rb +1 -1
- data/relaton_gb.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: 40dd731856bc78b4c9dc2acbae59a5d00f50c40ab3df0eedb6b81d57af01cb4f
|
4
|
+
data.tar.gz: be2f6c6b2ebbf03262e6126cd4ee839c37baa7083be13ebbcd528e9553014dda
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 15c28bc8e285f1a9187f60123cf53a9fd90f1dbbeeb2aa765fb18f22141c472f065e9eb435bdefa7943a01d6022d1969230fabbec76db13ea147c7a98c0cc302
|
7
|
+
data.tar.gz: f8a7e8da5f9457b677e9dfa39e9046927cbf34c436a1bf73245c0ec1f451dd91e18a5bd838d82748bee750e438cd69c48a94a726b1c0c2e8583ddd78e0d32b10
|
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_gb/scrapper.rb
CHANGED
@@ -43,7 +43,7 @@ module RelatonGb
|
|
43
43
|
# @param docref [String]
|
44
44
|
# @return [Array<RelatonBib::DocumentIdentifier>]
|
45
45
|
def get_docid(docref)
|
46
|
-
[RelatonBib::DocumentIdentifier.new(id: docref, type: "Chinese Standard")]
|
46
|
+
[RelatonBib::DocumentIdentifier.new(id: docref, type: "Chinese Standard", primary: true)]
|
47
47
|
end
|
48
48
|
|
49
49
|
# @param docref [String]
|
data/lib/relaton_gb/version.rb
CHANGED
data/relaton_gb.gemspec
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: relaton-gb
|
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
|
@@ -156,14 +156,14 @@ dependencies:
|
|
156
156
|
requirements:
|
157
157
|
- - "~>"
|
158
158
|
- !ruby/object:Gem::Version
|
159
|
-
version: 1.10.
|
159
|
+
version: 1.10.1
|
160
160
|
type: :runtime
|
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: 1.10.
|
166
|
+
version: 1.10.1
|
167
167
|
description: 'RelatonGb: retrieve Chinese GB Standards for bibliographic use using
|
168
168
|
the BibliographicItem model.'
|
169
169
|
email:
|