relaton-cen 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_cen/scrapper.rb +1 -1
- data/lib/relaton_cen/version.rb +1 -1
- data/relaton_cen.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: 03e0f638df3f9960bfd28828b6118cfa415bbb453047d719e269e5f9cad200b7
|
4
|
+
data.tar.gz: e1532e8304891b58fd530cb13241a8b40dcbddbb0342a8445826674e0481ddcf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5a076794e2cdb3a07ce6daf2e9bcfb7f8af2a86c4c25bcef8409c6e37f030501b77f5cb94772d3aaefb44d45aac9ce1a618514e7b962481e4332293f7e5e3e61
|
7
|
+
data.tar.gz: b3dfa7fb0adf82426f23efa8a17a875ff6f9902c4b32979206f570d1c72b820e2bcb6f6773ea702c890a5fbcf9f6ac34213bfa8249eaebfb1ef18cd74f748f19
|
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_cen/scrapper.rb
CHANGED
@@ -58,7 +58,7 @@ module RelatonCen
|
|
58
58
|
# @param ref [String]
|
59
59
|
# @return [Array<RelatonBib::DocumentIdentifier>]
|
60
60
|
def fetch_docid(ref)
|
61
|
-
[RelatonBib::DocumentIdentifier.new(type: "CEN", id: ref)]
|
61
|
+
[RelatonBib::DocumentIdentifier.new(type: "CEN", id: ref, primary: true)]
|
62
62
|
end
|
63
63
|
|
64
64
|
# Fetch status.
|
data/lib/relaton_cen/version.rb
CHANGED
data/relaton_cen.gemspec
CHANGED
@@ -42,7 +42,7 @@ Gem::Specification.new do |spec|
|
|
42
42
|
spec.add_development_dependency "webmock"
|
43
43
|
|
44
44
|
spec.add_dependency "mechanize"
|
45
|
-
spec.add_dependency "relaton-iso-bib", "~> 1.10.
|
45
|
+
spec.add_dependency "relaton-iso-bib", "~> 1.10.1"
|
46
46
|
|
47
47
|
# For more information and examples about making a new gem, checkout our
|
48
48
|
# guide at: https://bundler.io/guides/creating_gem.html
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: relaton-cen
|
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: 'RelatonCen: retrieve Cenelec Standards for bibliographic use using the
|
168
168
|
IsoBibliographicItem model'
|
169
169
|
email:
|