relaton-w3c 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/grammars/basicdoc.rng +986 -0
- data/grammars/biblio.rng +1207 -0
- data/lib/relaton_w3c/scrapper.rb +1 -1
- data/lib/relaton_w3c/version.rb +1 -1
- data/relaton_w3c.gemspec +1 -1
- metadata +6 -4
data/lib/relaton_w3c/scrapper.rb
CHANGED
@@ -166,7 +166,7 @@ module RelatonW3c
|
|
166
166
|
|
167
167
|
hit = { "link" => link }
|
168
168
|
item = parse_page hit
|
169
|
-
[RelatonBib::DocumentRelation.new(type: "
|
169
|
+
[RelatonBib::DocumentRelation.new(type: "obsoletedBy", bibitem: item)]
|
170
170
|
end
|
171
171
|
|
172
172
|
# @param doc [Nokogiri::HTML::Document]
|
data/lib/relaton_w3c/version.rb
CHANGED
data/relaton_w3c.gemspec
CHANGED
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.0.
|
4
|
+
version: 1.0.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: 2020-
|
11
|
+
date: 2020-05-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: debase
|
@@ -114,14 +114,14 @@ dependencies:
|
|
114
114
|
requirements:
|
115
115
|
- - ">="
|
116
116
|
- !ruby/object:Gem::Version
|
117
|
-
version: 1.0.
|
117
|
+
version: 1.0.3
|
118
118
|
type: :runtime
|
119
119
|
prerelease: false
|
120
120
|
version_requirements: !ruby/object:Gem::Requirement
|
121
121
|
requirements:
|
122
122
|
- - ">="
|
123
123
|
- !ruby/object:Gem::Version
|
124
|
-
version: 1.0.
|
124
|
+
version: 1.0.3
|
125
125
|
description: 'RelatonIso: retrieve W3C Standards for bibliographic use using the IsoBibliographicItem
|
126
126
|
model'
|
127
127
|
email:
|
@@ -144,6 +144,8 @@ files:
|
|
144
144
|
- bin/console
|
145
145
|
- bin/rspec
|
146
146
|
- bin/setup
|
147
|
+
- grammars/basicdoc.rng
|
148
|
+
- grammars/biblio.rng
|
147
149
|
- lib/relaton_w3c.rb
|
148
150
|
- lib/relaton_w3c/hash_converter.rb
|
149
151
|
- lib/relaton_w3c/hit.rb
|