fsp_harvester 0.1.4 → 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: ceb83f45b1094afb1bab24e948cf863c764cb9f045f42706017dd36c7507aa1f
4
- data.tar.gz: 41fdf2bfb9166cfaff70058523f442630967721541cb9edc1fc147932f0229b3
3
+ metadata.gz: 79507c31b14bab423d95a72fe441756551fa445caccea733ee75993fd7e0222c
4
+ data.tar.gz: a18796aaff5e57940306fecd1d82df5c18d579ffe0d5fb1cd1948a9a29d1bb3b
5
5
  SHA512:
6
- metadata.gz: 7db52cf3b6fcfc8b4ab9a9f5b470ab97d24e192130eb54c3850a5b0c46a4dd4595748266f50322775d3078f7e372c0ba00c4a414342b1b7b82268565b230a173
7
- data.tar.gz: c2f2bc421c0c0dca304d4ed7e9393b023b9d1af4fc6e0457b334296010d0e08132f44fed64202afb52df913ba6a8b69e1c91b0309b6020f8d79a3f7cb7de2a03
6
+ metadata.gz: ed211e876c70b7c6bd3dad6dc9a7dada1e4e6d54f5c9a92286b24b9912b06b26f6b3c2fd3b22c8ac225ddb8ceaa3eb2b98d35a983f6be3fe78f4575450f8d857
7
+ data.tar.gz: af6d5af7520061d418680b5b9a5f90e066b55be26322b7a4d9275bf74546eb56e80e538cd78443d45b28241246eb9329c84c08c53faee9db67e8b1c893507a54
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- fsp_harvester (0.1.4)
4
+ fsp_harvester (0.1.5)
5
5
  json (~> 2.0)
6
6
  linkeddata (~> 3.2)
7
7
  linkheaders-processor (~> 0.1.11)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module FspHarvester
4
- VERSION = "0.1.4"
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.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mark Wilkinson