fsp_harvester 0.1.27 → 0.1.29
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rspec_status +61 -60
- data/Gemfile.lock +37 -33
- data/lib/fsp_harvester/version.rb +1 -1
- data/lib/metadata_harvester.rb +1 -0
- metadata +4 -18
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0fca7c4fec148e6edf741fb3225db7674e87edd4cf29c38d930a6100b5219b7d
|
4
|
+
data.tar.gz: 5ca8b1dfd5422a0d3ab3cc6267f3f2f4a2cf58531b1b95405f23e21ddaeb1307
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '08ec1e543f7284f7c50fe8801e78f6ad78423b0931e777122437bafda663803623cafde11ea695187412eda6b63a201926f7c54c53097a92546389a042e6ffbe'
|
7
|
+
data.tar.gz: dfceeb1d130dd5786d660128255dea051c64f0104173ddd55141015aaf8e49e5fae6bdfb9a193556e0ead8330d247c572afa06dacf2086b12be74b9cdaf53106
|
data/.rspec_status
CHANGED
@@ -1,60 +1,61 @@
|
|
1
|
-
example_id | status
|
2
|
-
---------------------------------- |
|
3
|
-
./spec/cite-as_spec.rb[1:1:1] | passed
|
4
|
-
./spec/cite-as_spec.rb[1:1:2] | passed
|
5
|
-
./spec/cite-as_spec.rb[1:1:3] | passed
|
6
|
-
./spec/cite-as_spec.rb[1:1:4] | passed
|
7
|
-
./spec/cite-as_spec.rb[1:1:5] | passed
|
8
|
-
./spec/cite-as_spec.rb[1:1:6] | passed
|
9
|
-
./spec/cite-as_spec.rb[1:1:7] | passed
|
10
|
-
./spec/cite-as_spec.rb[1:1:8] | passed
|
11
|
-
./spec/cite-as_spec.rb[1:1:9] | passed
|
12
|
-
./spec/cite-as_spec.rb[1:1:10] | passed
|
13
|
-
./spec/cite-as_spec.rb[1:1:11] | passed
|
14
|
-
./spec/cite-as_spec.rb[1:1:12] | passed
|
15
|
-
./spec/cite-as_spec.rb[1:1:13] | passed
|
16
|
-
./spec/cite-as_spec.rb[1:1:14] | passed
|
17
|
-
./spec/cite-as_spec.rb[1:1:15] | passed
|
18
|
-
./spec/cite-as_spec.rb[1:1:16] | passed
|
19
|
-
./spec/cite-as_spec.rb[1:1:17] | passed
|
20
|
-
./spec/cite-as_spec.rb[1:1:18] | passed
|
21
|
-
./spec/cite-as_spec.rb[1:1:19] | passed
|
22
|
-
./spec/cite-as_spec.rb[1:1:20] | passed
|
23
|
-
./spec/cite-as_spec.rb[1:1:21] | passed
|
24
|
-
./spec/cite-as_spec.rb[1:1:22] | passed
|
25
|
-
./spec/cite-as_spec.rb[1:1:23] | passed
|
26
|
-
./spec/cite-as_spec.rb[1:1:24] | passed
|
27
|
-
./spec/cite-as_spec.rb[1:1:25] | passed
|
28
|
-
./spec/describedby_spec.rb[1:1:1] |
|
29
|
-
./spec/describedby_spec.rb[1:1:2] | passed
|
30
|
-
./spec/describedby_spec.rb[1:1:3] | passed
|
31
|
-
./spec/describedby_spec.rb[1:1:4] | passed
|
32
|
-
./spec/describedby_spec.rb[1:1:5] | passed
|
33
|
-
./spec/describedby_spec.rb[1:1:6] | passed
|
34
|
-
./spec/describedby_spec.rb[1:1:7] | passed
|
35
|
-
./spec/describedby_spec.rb[1:1:8] | passed
|
36
|
-
./spec/describedby_spec.rb[1:1:9] | passed
|
37
|
-
./spec/describedby_spec.rb[1:1:10] | passed
|
38
|
-
./spec/describedby_spec.rb[1:1:11] | passed
|
39
|
-
./spec/describedby_spec.rb[1:1:12] | passed
|
40
|
-
./spec/describedby_spec.rb[1:1:13] | passed
|
41
|
-
./spec/describedby_spec.rb[1:1:14] | passed
|
42
|
-
./spec/describedby_spec.rb[1:1:15] | passed
|
43
|
-
./spec/fsp_harvester_spec.rb[1:1] | passed
|
44
|
-
./spec/fsp_harvester_spec.rb[1:2] | passed
|
45
|
-
./spec/fsp_harvester_spec.rb[1:3] | passed
|
46
|
-
./spec/fsp_harvester_spec.rb[1:4] | passed
|
47
|
-
./spec/fsp_harvester_spec.rb[1:5] | passed
|
48
|
-
./spec/fsp_harvester_spec.rb[1:6] | passed
|
49
|
-
./spec/fsp_harvester_spec.rb[1:7] | passed
|
50
|
-
./spec/
|
51
|
-
./spec/item_spec.rb[1:1:
|
52
|
-
./spec/item_spec.rb[1:1:
|
53
|
-
./spec/item_spec.rb[1:1:
|
54
|
-
./spec/item_spec.rb[1:1:
|
55
|
-
./spec/item_spec.rb[1:1:
|
56
|
-
./spec/item_spec.rb[1:1:
|
57
|
-
./spec/item_spec.rb[1:1:
|
58
|
-
./spec/
|
59
|
-
./spec/type_spec.rb[1:1:
|
60
|
-
./spec/type_spec.rb[1:1:
|
1
|
+
example_id | status | run_time |
|
2
|
+
---------------------------------- | ------- | --------------- |
|
3
|
+
./spec/cite-as_spec.rb[1:1:1] | passed | 1.77 seconds |
|
4
|
+
./spec/cite-as_spec.rb[1:1:2] | passed | 1.17 seconds |
|
5
|
+
./spec/cite-as_spec.rb[1:1:3] | passed | 0.70388 seconds |
|
6
|
+
./spec/cite-as_spec.rb[1:1:4] | passed | 1.38 seconds |
|
7
|
+
./spec/cite-as_spec.rb[1:1:5] | passed | 2.07 seconds |
|
8
|
+
./spec/cite-as_spec.rb[1:1:6] | passed | 1.18 seconds |
|
9
|
+
./spec/cite-as_spec.rb[1:1:7] | passed | 2.19 seconds |
|
10
|
+
./spec/cite-as_spec.rb[1:1:8] | passed | 1.25 seconds |
|
11
|
+
./spec/cite-as_spec.rb[1:1:9] | passed | 4.16 seconds |
|
12
|
+
./spec/cite-as_spec.rb[1:1:10] | passed | 1.3 seconds |
|
13
|
+
./spec/cite-as_spec.rb[1:1:11] | passed | 2.12 seconds |
|
14
|
+
./spec/cite-as_spec.rb[1:1:12] | passed | 1.51 seconds |
|
15
|
+
./spec/cite-as_spec.rb[1:1:13] | passed | 1.97 seconds |
|
16
|
+
./spec/cite-as_spec.rb[1:1:14] | passed | 2.72 seconds |
|
17
|
+
./spec/cite-as_spec.rb[1:1:15] | passed | 1.2 seconds |
|
18
|
+
./spec/cite-as_spec.rb[1:1:16] | passed | 0.94397 seconds |
|
19
|
+
./spec/cite-as_spec.rb[1:1:17] | passed | 0.9681 seconds |
|
20
|
+
./spec/cite-as_spec.rb[1:1:18] | passed | 0.91536 seconds |
|
21
|
+
./spec/cite-as_spec.rb[1:1:19] | passed | 1.44 seconds |
|
22
|
+
./spec/cite-as_spec.rb[1:1:20] | passed | 1.3 seconds |
|
23
|
+
./spec/cite-as_spec.rb[1:1:21] | passed | 1.7 seconds |
|
24
|
+
./spec/cite-as_spec.rb[1:1:22] | passed | 1.28 seconds |
|
25
|
+
./spec/cite-as_spec.rb[1:1:23] | passed | 1.06 seconds |
|
26
|
+
./spec/cite-as_spec.rb[1:1:24] | passed | 1.31 seconds |
|
27
|
+
./spec/cite-as_spec.rb[1:1:25] | passed | 0.30764 seconds |
|
28
|
+
./spec/describedby_spec.rb[1:1:1] | failed | 8.23 seconds |
|
29
|
+
./spec/describedby_spec.rb[1:1:2] | passed | 1.02 seconds |
|
30
|
+
./spec/describedby_spec.rb[1:1:3] | passed | 0.98522 seconds |
|
31
|
+
./spec/describedby_spec.rb[1:1:4] | passed | 0.98303 seconds |
|
32
|
+
./spec/describedby_spec.rb[1:1:5] | passed | 0.92518 seconds |
|
33
|
+
./spec/describedby_spec.rb[1:1:6] | passed | 0.5518 seconds |
|
34
|
+
./spec/describedby_spec.rb[1:1:7] | passed | 0.64188 seconds |
|
35
|
+
./spec/describedby_spec.rb[1:1:8] | passed | 1.63 seconds |
|
36
|
+
./spec/describedby_spec.rb[1:1:9] | passed | 2.52 seconds |
|
37
|
+
./spec/describedby_spec.rb[1:1:10] | passed | 1.4 seconds |
|
38
|
+
./spec/describedby_spec.rb[1:1:11] | passed | 2.02 seconds |
|
39
|
+
./spec/describedby_spec.rb[1:1:12] | passed | 2.02 seconds |
|
40
|
+
./spec/describedby_spec.rb[1:1:13] | passed | 1.11 seconds |
|
41
|
+
./spec/describedby_spec.rb[1:1:14] | passed | 1.48 seconds |
|
42
|
+
./spec/describedby_spec.rb[1:1:15] | passed | 1.5 seconds |
|
43
|
+
./spec/fsp_harvester_spec.rb[1:1] | passed | 0.0002 seconds |
|
44
|
+
./spec/fsp_harvester_spec.rb[1:2] | passed | 1.87 seconds |
|
45
|
+
./spec/fsp_harvester_spec.rb[1:3] | passed | 6.76 seconds |
|
46
|
+
./spec/fsp_harvester_spec.rb[1:4] | passed | 1.65 seconds |
|
47
|
+
./spec/fsp_harvester_spec.rb[1:5] | passed | 1.59 seconds |
|
48
|
+
./spec/fsp_harvester_spec.rb[1:6] | passed | 36.97 seconds |
|
49
|
+
./spec/fsp_harvester_spec.rb[1:7] | passed | 33.62 seconds |
|
50
|
+
./spec/fsp_harvester_spec.rb[1:8] | unknown | |
|
51
|
+
./spec/item_spec.rb[1:1:1] | passed | 2.05 seconds |
|
52
|
+
./spec/item_spec.rb[1:1:2] | passed | 1.78 seconds |
|
53
|
+
./spec/item_spec.rb[1:1:3] | passed | 0.82912 seconds |
|
54
|
+
./spec/item_spec.rb[1:1:4] | passed | 1.36 seconds |
|
55
|
+
./spec/item_spec.rb[1:1:5] | passed | 1.19 seconds |
|
56
|
+
./spec/item_spec.rb[1:1:6] | passed | 1.27 seconds |
|
57
|
+
./spec/item_spec.rb[1:1:7] | passed | 1.92 seconds |
|
58
|
+
./spec/item_spec.rb[1:1:8] | passed | 0.30252 seconds |
|
59
|
+
./spec/type_spec.rb[1:1:1] | passed | 0.99993 seconds |
|
60
|
+
./spec/type_spec.rb[1:1:2] | passed | 0.84393 seconds |
|
61
|
+
./spec/type_spec.rb[1:1:3] | passed | 0.84347 seconds |
|
data/Gemfile.lock
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
fsp_harvester (0.1.
|
4
|
+
fsp_harvester (0.1.29)
|
5
5
|
json (~> 2.0)
|
6
6
|
linkeddata (~> 3.2)
|
7
|
-
linkheaders-processor (~> 0.1.
|
7
|
+
linkheaders-processor (~> 0.1.20)
|
8
8
|
metainspector (~> 5.11.2)
|
9
9
|
parseconfig (~> 1.1)
|
10
10
|
rake (~> 13.0)
|
@@ -13,7 +13,6 @@ PATH
|
|
13
13
|
rest-client (~> 2.1)
|
14
14
|
rspec (~> 3.11)
|
15
15
|
rubocop (~> 1.7)
|
16
|
-
securerandom (~> 0.1.0)
|
17
16
|
xml-simple (~> 1.1)
|
18
17
|
|
19
18
|
GEM
|
@@ -22,6 +21,7 @@ GEM
|
|
22
21
|
addressable (2.8.5)
|
23
22
|
public_suffix (>= 2.0.2, < 6.0)
|
24
23
|
ast (2.4.2)
|
24
|
+
base64 (0.1.1)
|
25
25
|
bcp47_spec (0.2.1)
|
26
26
|
builder (3.2.4)
|
27
27
|
concurrent-ruby (1.2.2)
|
@@ -68,8 +68,8 @@ GEM
|
|
68
68
|
faraday_middleware (1.2.0)
|
69
69
|
faraday (~> 1.0)
|
70
70
|
fastimage (2.2.7)
|
71
|
-
ffi (1.
|
72
|
-
haml (6.
|
71
|
+
ffi (1.16.2)
|
72
|
+
haml (6.2.0)
|
73
73
|
temple (>= 0.8.2)
|
74
74
|
thor
|
75
75
|
tilt
|
@@ -79,7 +79,7 @@ GEM
|
|
79
79
|
http-accept (1.7.0)
|
80
80
|
http-cookie (1.0.5)
|
81
81
|
domain_name (~> 0.5)
|
82
|
-
json (2.6.
|
82
|
+
json (2.6.3)
|
83
83
|
json-canonicalization (0.3.2)
|
84
84
|
json-ld (3.3.0)
|
85
85
|
htmlentities (~> 4.3)
|
@@ -91,6 +91,7 @@ GEM
|
|
91
91
|
json-ld-preloaded (3.3.0)
|
92
92
|
json-ld (~> 3.3)
|
93
93
|
rdf (~> 3.3)
|
94
|
+
language_server-protocol (3.17.0.3)
|
94
95
|
ld-patch (3.3.0)
|
95
96
|
ebnf (~> 2.4)
|
96
97
|
rdf (~> 3.3)
|
@@ -126,14 +127,14 @@ GEM
|
|
126
127
|
sparql (~> 3.3)
|
127
128
|
sparql-client (~> 3.3)
|
128
129
|
yaml-ld (~> 0.0)
|
129
|
-
linkheaders-processor (0.1.
|
130
|
+
linkheaders-processor (0.1.20)
|
130
131
|
json (~> 2.0)
|
131
132
|
json-ld (~> 3.2)
|
132
133
|
json-ld-preloaded (~> 3.2)
|
133
134
|
link_header (~> 0.0.8)
|
134
135
|
metainspector (~> 5.11.2)
|
135
136
|
rest-client (~> 2.1)
|
136
|
-
securerandom
|
137
|
+
securerandom
|
137
138
|
logger (1.5.3)
|
138
139
|
matrix (0.4.2)
|
139
140
|
metainspector (5.11.2)
|
@@ -157,10 +158,11 @@ GEM
|
|
157
158
|
netrc (0.11.0)
|
158
159
|
nokogiri (1.15.4-x86_64-linux)
|
159
160
|
racc (~> 1.4)
|
160
|
-
parallel (1.
|
161
|
+
parallel (1.23.0)
|
161
162
|
parseconfig (1.1.2)
|
162
|
-
parser (3.
|
163
|
+
parser (3.2.2.3)
|
163
164
|
ast (~> 2.4.1)
|
165
|
+
racc
|
164
166
|
psych (5.1.0)
|
165
167
|
stringio
|
166
168
|
public_suffix (5.0.3)
|
@@ -235,43 +237,45 @@ GEM
|
|
235
237
|
rdf-xsd (3.3.0)
|
236
238
|
rdf (~> 3.3)
|
237
239
|
rexml (~> 3.2)
|
238
|
-
regexp_parser (2.
|
240
|
+
regexp_parser (2.8.1)
|
239
241
|
require_all (3.0.0)
|
240
242
|
rest-client (2.1.0)
|
241
243
|
http-accept (>= 1.7.0, < 2.0)
|
242
244
|
http-cookie (>= 1.0.2, < 2.0)
|
243
245
|
mime-types (>= 1.16, < 4.0)
|
244
246
|
netrc (~> 0.8)
|
245
|
-
rexml (3.2.
|
246
|
-
rspec (3.
|
247
|
-
rspec-core (~> 3.
|
248
|
-
rspec-expectations (~> 3.
|
249
|
-
rspec-mocks (~> 3.
|
250
|
-
rspec-core (3.
|
251
|
-
rspec-support (~> 3.
|
252
|
-
rspec-expectations (3.
|
247
|
+
rexml (3.2.6)
|
248
|
+
rspec (3.12.0)
|
249
|
+
rspec-core (~> 3.12.0)
|
250
|
+
rspec-expectations (~> 3.12.0)
|
251
|
+
rspec-mocks (~> 3.12.0)
|
252
|
+
rspec-core (3.12.2)
|
253
|
+
rspec-support (~> 3.12.0)
|
254
|
+
rspec-expectations (3.12.3)
|
253
255
|
diff-lcs (>= 1.2.0, < 2.0)
|
254
|
-
rspec-support (~> 3.
|
255
|
-
rspec-mocks (3.
|
256
|
+
rspec-support (~> 3.12.0)
|
257
|
+
rspec-mocks (3.12.6)
|
256
258
|
diff-lcs (>= 1.2.0, < 2.0)
|
257
|
-
rspec-support (~> 3.
|
258
|
-
rspec-support (3.
|
259
|
-
rubocop (1.
|
259
|
+
rspec-support (~> 3.12.0)
|
260
|
+
rspec-support (3.12.1)
|
261
|
+
rubocop (1.56.4)
|
262
|
+
base64 (~> 0.1.1)
|
260
263
|
json (~> 2.3)
|
264
|
+
language_server-protocol (>= 3.17.0)
|
261
265
|
parallel (~> 1.10)
|
262
|
-
parser (>= 3.
|
266
|
+
parser (>= 3.2.2.3)
|
263
267
|
rainbow (>= 2.2.2, < 4.0)
|
264
268
|
regexp_parser (>= 1.8, < 3.0)
|
265
269
|
rexml (>= 3.2.5, < 4.0)
|
266
|
-
rubocop-ast (>= 1.
|
270
|
+
rubocop-ast (>= 1.28.1, < 2.0)
|
267
271
|
ruby-progressbar (~> 1.7)
|
268
|
-
unicode-display_width (>=
|
269
|
-
rubocop-ast (1.
|
270
|
-
parser (>= 3.
|
271
|
-
ruby-progressbar (1.
|
272
|
+
unicode-display_width (>= 2.4.0, < 3.0)
|
273
|
+
rubocop-ast (1.29.0)
|
274
|
+
parser (>= 3.2.1.0)
|
275
|
+
ruby-progressbar (1.13.0)
|
272
276
|
ruby2_keywords (0.0.5)
|
273
277
|
scanf (1.0.0)
|
274
|
-
securerandom (0.
|
278
|
+
securerandom (0.2.2)
|
275
279
|
shacl (0.4.0)
|
276
280
|
json-ld (~> 3.3)
|
277
281
|
rdf (~> 3.3)
|
@@ -308,7 +312,7 @@ GEM
|
|
308
312
|
unf (0.1.4)
|
309
313
|
unf_ext
|
310
314
|
unf_ext (0.0.8.2)
|
311
|
-
unicode-display_width (2.2
|
315
|
+
unicode-display_width (2.4.2)
|
312
316
|
unicode-types (1.8.0)
|
313
317
|
xml-simple (1.1.9)
|
314
318
|
rexml
|
@@ -331,4 +335,4 @@ RUBY VERSION
|
|
331
335
|
ruby 3.0.0p0
|
332
336
|
|
333
337
|
BUNDLED WITH
|
334
|
-
2.
|
338
|
+
2.4.19
|
data/lib/metadata_harvester.rb
CHANGED
@@ -16,6 +16,7 @@ module HarvesterTools
|
|
16
16
|
describedby.each do |link|
|
17
17
|
accepttype = FspHarvester::ACCEPT_STAR_HEADER
|
18
18
|
accept = link.respond_to?('type') ? link.type : nil
|
19
|
+
accept.gsub!('json+ld', 'ld+json') # patch for bug in Dataverse 5.14 linksets
|
19
20
|
accepttype = { 'Accept' => accept } if accept
|
20
21
|
|
21
22
|
response = attempt_to_resolve(link: link, headers: accepttype)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fsp_harvester
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.29
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mark Wilkinson
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-09-
|
11
|
+
date: 2023-09-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json
|
@@ -58,14 +58,14 @@ dependencies:
|
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: 0.1.
|
61
|
+
version: 0.1.20
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: 0.1.
|
68
|
+
version: 0.1.20
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: metainspector
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -150,20 +150,6 @@ dependencies:
|
|
150
150
|
- - "~>"
|
151
151
|
- !ruby/object:Gem::Version
|
152
152
|
version: '1.7'
|
153
|
-
- !ruby/object:Gem::Dependency
|
154
|
-
name: securerandom
|
155
|
-
requirement: !ruby/object:Gem::Requirement
|
156
|
-
requirements:
|
157
|
-
- - "~>"
|
158
|
-
- !ruby/object:Gem::Version
|
159
|
-
version: 0.1.0
|
160
|
-
type: :runtime
|
161
|
-
prerelease: false
|
162
|
-
version_requirements: !ruby/object:Gem::Requirement
|
163
|
-
requirements:
|
164
|
-
- - "~>"
|
165
|
-
- !ruby/object:Gem::Version
|
166
|
-
version: 0.1.0
|
167
153
|
- !ruby/object:Gem::Dependency
|
168
154
|
name: xml-simple
|
169
155
|
requirement: !ruby/object:Gem::Requirement
|