relaton-ogc 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_ogc/hit_collection.rb +1 -1
- data/lib/relaton_ogc/scrapper.rb +1 -1
- data/lib/relaton_ogc/version.rb +1 -1
- data/relaton_ogc.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: e0971dd92d1bf002f5a785a9fe4387020bf359f903097c39095c4f1546d19adc
|
4
|
+
data.tar.gz: 90bfffeaf964a740981517482b17101cb1217d4fa1f9978675dd6bab6a4fbce4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8bc329ea61761ca7c36c893b699d19a8dc6bfcc6a8d5ff00f96cb575821a4a1fa81c49fed946e6812db29b4f3630d08dab2cda6ba214d99f632e48856b4943f4
|
7
|
+
data.tar.gz: 97a9fd195f3a0afd5cab59489c264bdc93cb30011d719b39207d2c43db6ee51ebf6450f7d0be49d97c5a95c6142c83075a9b1626479532eb6c151fdd26c07e4d
|
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>
|
@@ -17,7 +17,7 @@ module RelatonOgc
|
|
17
17
|
# @param code [Strig]
|
18
18
|
# @param year [String]
|
19
19
|
# @param opts [Hash]
|
20
|
-
def initialize(code, year = nil)
|
20
|
+
def initialize(code, year = nil) # rubocop:disable Metrics/AbcSize, Metrics/MethodLength
|
21
21
|
super
|
22
22
|
# @etagfile = File.expand_path "etag.txt", DATADIR
|
23
23
|
# @array = from_json(ref).sort_by do |hit|
|
data/lib/relaton_ogc/scrapper.rb
CHANGED
@@ -70,7 +70,7 @@ module RelatonOgc
|
|
70
70
|
# @param identifier [String]
|
71
71
|
# @return [Array<RelatonBib::DocumentIdentifier>]
|
72
72
|
def fetch_docid(identifier)
|
73
|
-
[RelatonBib::DocumentIdentifier.new(id: identifier, type: "OGC")]
|
73
|
+
[RelatonBib::DocumentIdentifier.new(id: identifier, type: "OGC", primary: true)]
|
74
74
|
end
|
75
75
|
|
76
76
|
# @param url [String]
|
data/lib/relaton_ogc/version.rb
CHANGED
data/relaton_ogc.gemspec
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: relaton-ogc
|
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: 'RelatonOgc: retrieve OGC Standards for bibliographic use using the OgcBibliographicItem
|
154
154
|
model'
|
155
155
|
email:
|