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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '085f9f31d68845bf7b059f2d72c37108f5c0961326c9180be37158c96c62b7e9'
4
- data.tar.gz: 0eb930c6f94df2cc984c2eaccfccc2b8eeae44f9264436c0bd199a0b2fb3eac7
3
+ metadata.gz: 03e0f638df3f9960bfd28828b6118cfa415bbb453047d719e269e5f9cad200b7
4
+ data.tar.gz: e1532e8304891b58fd530cb13241a8b40dcbddbb0342a8445826674e0481ddcf
5
5
  SHA512:
6
- metadata.gz: 1e6b4d320c12948e1286732c8130afedb09c261f1e3852110c8b8c7e706c6fdd0c17d8310e5e29d7e0605ebbfff24deeef36701731f3e270c3d017f0701fed6d
7
- data.tar.gz: 4c625b64b79e94d97e06a7441c1a89c1ba9d6ee3d4c94855e6d468a8d318eb86f62650993c58c840a16790c79160b80a5274d936edf09aacd77eee144782da01
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>
@@ -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.
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RelatonCen
4
- VERSION = "1.10.0"
4
+ VERSION = "1.10.1"
5
5
  end
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.0"
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.0
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-01-30 00:00:00.000000000 Z
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.0
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.0
166
+ version: 1.10.1
167
167
  description: 'RelatonCen: retrieve Cenelec Standards for bibliographic use using the
168
168
  IsoBibliographicItem model'
169
169
  email: