fsp_harvester 0.1.17 → 0.1.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c3f2b3409b575db21edc69a7e0e4bfbf5be09734fbcc4f4b0d5accb5fedad6c2
4
- data.tar.gz: 27813b4e090515a869d5fbc519a717eb06e7bc0559e42d33d1284093758f229f
3
+ metadata.gz: 3f6bed703ae1a03ff30a1abb88e54b033a6ffbd24df5cacc70b2e0662af7e1be
4
+ data.tar.gz: 49370b82123eb0b7b6c92fd603996cec6909becf35fc789885de218aae0fb446
5
5
  SHA512:
6
- metadata.gz: 33aeec82ef754f219db35eba08e68e35f0aecc570b2769f943f073cf1c4b5a9cdfed912c7fc40261797e4d3b00d7f668228aa5cd442eec213c272455aab1a275
7
- data.tar.gz: 80f03c769794a7bf8054d95c667274a3a3ddde26242b0969e15511f78b74cdd5d20508ed7c36e47a446012ff021f0f3ad5a9aa4a44dc91d07c8c86d0da35c59e
6
+ metadata.gz: 2abbbfba153e08b83e832640942c978f9612437d1ee7fc3891122be96bfd8da442c2460d8a7b6f303ecc469b6de568907ed3e592a359513d8ab23966fad39786
7
+ data.tar.gz: 146004aae9a8495523b2c2578a84a8268b1398f005fdd98788b816f256c98128c34a537e68c078fa681e262bec3a2d0890e9226168b85735c95742f88848a0d0
data/.rspec_status CHANGED
@@ -25,24 +25,25 @@ example_id | status | run_time |
25
25
  ./spec/cite-as_spec.rb[1:1:23] | passed | 1.25 seconds |
26
26
  ./spec/cite-as_spec.rb[1:1:24] | failed | 1.35 seconds |
27
27
  ./spec/cite-as_spec.rb[1:1:25] | passed | 0.50811 seconds |
28
- ./spec/describedby_spec.rb[1:1:1] | passed | 3.45 seconds |
29
- ./spec/describedby_spec.rb[1:1:2] | passed | 1.3 seconds |
30
- ./spec/describedby_spec.rb[1:1:3] | passed | 1.22 seconds |
31
- ./spec/describedby_spec.rb[1:1:4] | passed | 1.22 seconds |
32
- ./spec/describedby_spec.rb[1:1:5] | passed | 1.15 seconds |
33
- ./spec/describedby_spec.rb[1:1:6] | passed | 1.04 seconds |
34
- ./spec/describedby_spec.rb[1:1:7] | passed | 1.12 seconds |
35
- ./spec/describedby_spec.rb[1:1:8] | passed | 2.44 seconds |
36
- ./spec/describedby_spec.rb[1:1:9] | passed | 2.15 seconds |
37
- ./spec/describedby_spec.rb[1:1:10] | passed | 2.19 seconds |
38
- ./spec/describedby_spec.rb[1:1:11] | passed | 2.98 seconds |
39
- ./spec/describedby_spec.rb[1:1:12] | passed | 2.87 seconds |
40
- ./spec/describedby_spec.rb[1:1:13] | passed | 1.74 seconds |
41
- ./spec/describedby_spec.rb[1:1:14] | passed | 2.27 seconds |
42
- ./spec/describedby_spec.rb[1:1:15] | passed | 2.28 seconds |
43
- ./spec/fsp_harvester_spec.rb[1:1] | passed | 0.00693 seconds |
44
- ./spec/fsp_harvester_spec.rb[1:2] | passed | 3.65 seconds |
45
- ./spec/fsp_harvester_spec.rb[1:3] | passed | 9.96 seconds |
28
+ ./spec/describedby_spec.rb[1:1:1] | passed | 4.39 seconds |
29
+ ./spec/describedby_spec.rb[1:1:2] | passed | 1.63 seconds |
30
+ ./spec/describedby_spec.rb[1:1:3] | passed | 1.49 seconds |
31
+ ./spec/describedby_spec.rb[1:1:4] | passed | 1.21 seconds |
32
+ ./spec/describedby_spec.rb[1:1:5] | passed | 1.17 seconds |
33
+ ./spec/describedby_spec.rb[1:1:6] | passed | 1.11 seconds |
34
+ ./spec/describedby_spec.rb[1:1:7] | passed | 1.11 seconds |
35
+ ./spec/describedby_spec.rb[1:1:8] | passed | 2.34 seconds |
36
+ ./spec/describedby_spec.rb[1:1:9] | passed | 2.09 seconds |
37
+ ./spec/describedby_spec.rb[1:1:10] | passed | 2.69 seconds |
38
+ ./spec/describedby_spec.rb[1:1:11] | passed | 3.02 seconds |
39
+ ./spec/describedby_spec.rb[1:1:12] | passed | 2.9 seconds |
40
+ ./spec/describedby_spec.rb[1:1:13] | passed | 2.27 seconds |
41
+ ./spec/describedby_spec.rb[1:1:14] | passed | 2.53 seconds |
42
+ ./spec/describedby_spec.rb[1:1:15] | passed | 2.33 seconds |
43
+ ./spec/fsp_harvester_spec.rb[1:1] | passed | 0.00101 seconds |
44
+ ./spec/fsp_harvester_spec.rb[1:2] | passed | 3.15 seconds |
45
+ ./spec/fsp_harvester_spec.rb[1:3] | passed | 7.1 seconds |
46
+ ./spec/fsp_harvester_spec.rb[1:4] | passed | 2.47 seconds |
46
47
  ./spec/item_spec.rb[1:1:1] | passed | 3.19 seconds |
47
48
  ./spec/item_spec.rb[1:1:2] | passed | 2.81 seconds |
48
49
  ./spec/item_spec.rb[1:1:3] | passed | 1.27 seconds |
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- fsp_harvester (0.1.17)
4
+ fsp_harvester (0.1.18)
5
5
  json (~> 2.0)
6
6
  linkeddata (~> 3.2)
7
7
  linkheaders-processor (~> 0.1.17)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module FspHarvester
4
- VERSION = "0.1.17"
4
+ VERSION = "0.1.18"
5
5
  end
@@ -1,8 +1,8 @@
1
1
  module HarvesterTools
2
2
  class MetadataObject
3
- attr_accessor :hash, :graph, :comments, :links, :warnings, :guidtype, :full_response, :all_uris, :guid, :score # a hash of metadata # a RDF.rb graph of metadata # an array of comments # the type of GUID that was detected # will be an array of Net::HTTP::Response
3
+ attr_accessor :hash, :graph, :comments, :links, :warnings, :guidtype, :full_response, :all_uris, :guid, :score, :version, :date # a hash of metadata # a RDF.rb graph of metadata # an array of comments # the type of GUID that was detected # will be an array of Net::HTTP::Response
4
4
 
5
- def initialize(_params = {}) # get a name from the "new" call, or set a default
5
+ def initialize() # get a name from the "new" call, or set a default
6
6
  @hash = {}
7
7
  @graph = RDF::Graph.new
8
8
  @comments = []
@@ -12,6 +12,8 @@ module HarvesterTools
12
12
  @all_uris = []
13
13
  @guid = ""
14
14
  @score = 0
15
+ @version = '0.0'
16
+ @date = Time.now.strftime('%Y-%m-%dT%H:%M:%S.%L%z')
15
17
  w = RestClient.get("https://raw.githubusercontent.com/markwilkinson/FAIR-Signposting-Harvester/master/lib/warnings.json")
16
18
  #@warn = File.read("./lib/warnings.json")
17
19
  @warn = JSON.parse(w)
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.17
4
+ version: 0.1.18
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mark Wilkinson