relaton-w3c 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_w3c/data_parser.rb +1 -1
- data/lib/relaton_w3c/scrapper.rb +1 -1
- data/lib/relaton_w3c/version.rb +1 -1
- data/relaton_w3c.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: 02ea55b013728a44b7fff3f17f147e9d2aca7fb682985f99c0a24148e82e4435
|
4
|
+
data.tar.gz: dda92c31185f62b65c506fc5d2f1ae2a87a712486254d5f13b10c2fe88d2f50b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c4d52ca9e7c34579c7ea67e7a13751151a7d2e53f97670c82d4f2d50357e9fc49c096aa1a3e00c9a088ebadf79c3b8860793b4cea8c549df67cad4614d71e7b1
|
7
|
+
data.tar.gz: 6def3839ae60662629b2e57d40813a05ea34982ef3f3619d39e2b7e873b3fa76c1104ffcfa5259e65ed7225970112e4c4ed8a9b701551747ccfcd705e1ceb47d
|
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_w3c/scrapper.rb
CHANGED
@@ -39,7 +39,7 @@ module RelatonW3c
|
|
39
39
|
# @return [Array<RelatonBib::DocumentIdentifier>]
|
40
40
|
def fetch_docid(hit)
|
41
41
|
id = hit["link"].split("/").last
|
42
|
-
[RelatonBib::DocumentIdentifier.new(id: id, type: "W3C")]
|
42
|
+
[RelatonBib::DocumentIdentifier.new(id: id, type: "W3C", primary: true)]
|
43
43
|
end
|
44
44
|
|
45
45
|
# @param hit [Hash]
|
data/lib/relaton_w3c/version.rb
CHANGED
data/relaton_w3c.gemspec
CHANGED
@@ -40,6 +40,6 @@ Gem::Specification.new do |spec|
|
|
40
40
|
spec.add_dependency "linkeddata", "~> 3.1.0"
|
41
41
|
spec.add_dependency "mechanize", "~> 2.8.0"
|
42
42
|
spec.add_dependency "rdf", "~> 3.1.0"
|
43
|
-
spec.add_dependency "relaton-bib", "~> 1.10.
|
43
|
+
spec.add_dependency "relaton-bib", "~> 1.10.1"
|
44
44
|
spec.add_dependency "sparql", "~> 3.1.0"
|
45
45
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: relaton-w3c
|
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-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: equivalent-xml
|
@@ -128,14 +128,14 @@ dependencies:
|
|
128
128
|
requirements:
|
129
129
|
- - "~>"
|
130
130
|
- !ruby/object:Gem::Version
|
131
|
-
version: 1.10.
|
131
|
+
version: 1.10.1
|
132
132
|
type: :runtime
|
133
133
|
prerelease: false
|
134
134
|
version_requirements: !ruby/object:Gem::Requirement
|
135
135
|
requirements:
|
136
136
|
- - "~>"
|
137
137
|
- !ruby/object:Gem::Version
|
138
|
-
version: 1.10.
|
138
|
+
version: 1.10.1
|
139
139
|
- !ruby/object:Gem::Dependency
|
140
140
|
name: sparql
|
141
141
|
requirement: !ruby/object:Gem::Requirement
|