fsp_harvester 0.1.27 → 0.1.28
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 +2 -2
- data/lib/fsp_harvester/version.rb +1 -1
- data/lib/metadata_harvester.rb +1 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cabced56c6a38753eab00ae6ab2138eac066936cbd58b4b01386185eaee8e3dc
|
4
|
+
data.tar.gz: 2c1386b89eb95081d3d53de8e187dcab99e7514b6021fad4de931db3c52d2af0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3df3d534079f2401ee0049446eb623afcd94a2d524c6d6a6f4fa12f6e472fbf71b8059ccb657f1277519eb797744150b79ba4e499fdb6300ad323f9199aead19
|
7
|
+
data.tar.gz: fd9c5ce047e93ed86fe1a6572548e15511690eed7e6af65bfbc23bbdb61b74fa9ead00cf9a5dbbce0cbecd8e2e8ef9d56b4e3d0f70512971be41198b49c76a7a
|
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,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
fsp_harvester (0.1.
|
4
|
+
fsp_harvester (0.1.28)
|
5
5
|
json (~> 2.0)
|
6
6
|
linkeddata (~> 3.2)
|
7
7
|
linkheaders-processor (~> 0.1.19)
|
@@ -68,7 +68,7 @@ GEM
|
|
68
68
|
faraday_middleware (1.2.0)
|
69
69
|
faraday (~> 1.0)
|
70
70
|
fastimage (2.2.7)
|
71
|
-
ffi (1.
|
71
|
+
ffi (1.16.2)
|
72
72
|
haml (6.1.2)
|
73
73
|
temple (>= 0.8.2)
|
74
74
|
thor
|
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.28
|
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-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json
|