fsp_harvester 0.1.2 → 0.1.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: af33b0b18a3881064266522e20c5df538ed4ab67a7aa35bee6af212876f032a8
4
- data.tar.gz: 11421f955b831e5ca726f310f12cc307f050cff154dbb6970812872bab685bdc
3
+ metadata.gz: 79507c31b14bab423d95a72fe441756551fa445caccea733ee75993fd7e0222c
4
+ data.tar.gz: a18796aaff5e57940306fecd1d82df5c18d579ffe0d5fb1cd1948a9a29d1bb3b
5
5
  SHA512:
6
- metadata.gz: 8834e22e1adbfab672c2f38408e633ac8fb94f3617709f2576c7d2cf653e22500ee95a45b951f153fc07241356a8e983840743ce9849986a32bcb35178df726b
7
- data.tar.gz: 0c60642499bc9711d8f4c3b8e4818a950ff7718afb02b745b47abcf6b03dfd8abed20136f98ff1ccaf79bac8178a3f138ca431c1b0bb9a3edae4344202af61af
6
+ metadata.gz: ed211e876c70b7c6bd3dad6dc9a7dada1e4e6d54f5c9a92286b24b9912b06b26f6b3c2fd3b22c8ac225ddb8ceaa3eb2b98d35a983f6be3fe78f4575450f8d857
7
+ data.tar.gz: af6d5af7520061d418680b5b9a5f90e066b55be26322b7a4d9275bf74546eb56e80e538cd78443d45b28241246eb9329c84c08c53faee9db67e8b1c893507a54
data/Gemfile.lock CHANGED
@@ -1,10 +1,10 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- fsp_harvester (0.1.2)
4
+ fsp_harvester (0.1.5)
5
5
  json (~> 2.0)
6
6
  linkeddata (~> 3.2)
7
- linkheaders-processor (~> 0.1.9)
7
+ linkheaders-processor (~> 0.1.11)
8
8
  metainspector (~> 5.11.2)
9
9
  parseconfig (~> 1.1)
10
10
  rake (~> 13.0)
@@ -126,7 +126,7 @@ GEM
126
126
  shex (~> 0.7)
127
127
  sparql (~> 3.2)
128
128
  sparql-client (~> 3.2)
129
- linkheaders-processor (0.1.9)
129
+ linkheaders-processor (0.1.11)
130
130
  json (~> 2.0)
131
131
  json-ld (~> 3.2)
132
132
  json-ld-preloaded (~> 3.2)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module FspHarvester
4
- VERSION = "0.1.2"
4
+ VERSION = "0.1.5"
5
5
  end
data/lib/fsp_harvester.rb CHANGED
@@ -103,7 +103,7 @@ module FspHarvester
103
103
  when "describedby"
104
104
  describedby += 1
105
105
  unless l.respond_to? "type"
106
- @meta.warnings << ["005", l.url, ""]
106
+ @meta.warnings << ["005", l.href, ""]
107
107
  @meta.comments << "WARN: The resource does not follow the FAIR Signposting standard, which requires any describedby links to also have a 'type' attribute\n"
108
108
  end
109
109
  end
@@ -127,7 +127,7 @@ module FspHarvester
127
127
  citeas << link.href
128
128
  end
129
129
  unless citeas == citeas.uniq
130
- @meta.warnings << ["007", url, header]
130
+ @meta.warnings << ["007", "", ""]
131
131
  @meta.comments << "WARN: The resource does not follow the FAIR Signposting standard: Found conflicting cite-as link headers\n"
132
132
  else
133
133
  @meta.comments << "INFO: No conflicting cite-as links found."
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fsp_harvester
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mark Wilkinson
@@ -44,14 +44,14 @@ dependencies:
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: 0.1.9
47
+ version: 0.1.11
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: 0.1.9
54
+ version: 0.1.11
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: metainspector
57
57
  requirement: !ruby/object:Gem::Requirement