bolognese 0.10.17 → 0.10.18
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/bolognese/readers/datacite_reader.rb +1 -1
- data/lib/bolognese/version.rb +1 -1
- data/spec/readers/datacite_reader_spec.rb +1 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3b8301165399fb5f7a224a8e0416ffcec28a412afa1ff2059981e87dbd7c1468
|
4
|
+
data.tar.gz: d6fccffe2e86c26bb57eb226a07e12a419b741ae40d1f5ba338599c1ebe0137e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ce2724c1ffaa82ca5eb05bf535d725e77cfebb44e1bfb782d829e324d9062ee5851f2b3638ef89f86a4b4a286a769042ce12215519a62b40d712a5c69511461b
|
7
|
+
data.tar.gz: e35a1a8706a00526dc9e9d5918219d455ac14efe35a7c21bb7ba2a5f3c880d64a11d9d29f0fe28242e01fad711c698d5acada42d108accfbd22cd9051c15cdf3
|
data/Gemfile.lock
CHANGED
@@ -76,7 +76,7 @@ module Bolognese
|
|
76
76
|
alternate_name = Array.wrap(meta.dig("alternateIdentifiers", "alternateIdentifier")).map do |r|
|
77
77
|
{ "type" => r["alternateIdentifierType"], "name" => r["__content__"] }.compact
|
78
78
|
end.unwrap
|
79
|
-
description = Array.wrap(meta.dig("descriptions", "description")).map do |r|
|
79
|
+
description = Array.wrap(meta.dig("descriptions", "description")).select { |r| r["descriptionType"] != "SeriesInformation" }.map do |r|
|
80
80
|
{ "type" => r["descriptionType"], "text" => sanitize(r["__content__"]) }.compact
|
81
81
|
end.unwrap
|
82
82
|
license = Array.wrap(meta.dig("rightsList", "rights")).map do |r|
|
data/lib/bolognese/version.rb
CHANGED
@@ -330,6 +330,7 @@ describe Bolognese::Metadata, vcr: true do
|
|
330
330
|
expect(subject.title).to eq("Rural Electrification With Hybrid Power Systems Based on Renewables - Technical System Configurations From the Point of View of the European Industry")
|
331
331
|
expect(subject.date_published).to eq("2008")
|
332
332
|
expect(subject.container_title).to eq("23rd European Photovoltaic Solar Energy Conference and Exhibition, 1-5 September 2008, Valencia, Spain; 3353-3356")
|
333
|
+
expect(subject.description["text"]).to start_with("Aim of this paper is the presentation")
|
333
334
|
expect(subject.publisher).to eq("WIP-Munich")
|
334
335
|
expect(subject.service_provider).to eq("DataCite")
|
335
336
|
expect(subject.schema_version).to eq("http://datacite.org/schema/kernel-2.2")
|