bolognese 1.0.8 → 1.0.9
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/crossref_reader.rb +1 -1
- data/lib/bolognese/readers/datacite_reader.rb +1 -1
- data/lib/bolognese/version.rb +1 -1
- 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: e71e465906aafa6a745b0d2f9f32b4f959ddb89c86a7380e10ce22ef6f3055a7
|
4
|
+
data.tar.gz: 4bc7ec8aae993f87ae061298409a8881fc9bf444bc2ca85e7c5ef6c686ca33a7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 55282478a8ef172ee0af940dc7b1647beaa5bc5bb46ea4b294c234bd60876f89bfb09667e2f95bad6bd2178a230fb803d910a9c1a8d5a82c63582208e45bfb7d
|
7
|
+
data.tar.gz: b35a4744f48f8a2c6e409fca2fc8a4f972625548640da8006ec6d5db8cd67215cbf94c3d093bdb08158fd96aaedc1b97c7b4755517e441adad937e59060abad7
|
data/Gemfile.lock
CHANGED
@@ -187,7 +187,7 @@ module Bolognese
|
|
187
187
|
|
188
188
|
{ "funderIdentifier" => funder_identifier,
|
189
189
|
"funderIdentifierType" => funder_identifier_type,
|
190
|
-
"funderName" => f.fetch("__content__",
|
190
|
+
"funderName" => f.fetch("__content__", nil).to_s.strip.presence,
|
191
191
|
"awardTitle" => award_title,
|
192
192
|
"awardNumber" => f.dig("awardNumber", "__content__"),
|
193
193
|
"awardUri" => f.dig("awardNumber", "awardURI") }.compact
|
@@ -177,7 +177,7 @@ module Bolognese
|
|
177
177
|
"creator" => get_authors(Array.wrap(meta.dig("creators", "creator"))),
|
178
178
|
"contributor" => get_authors(Array.wrap(meta.dig("contributors", "contributor"))),
|
179
179
|
"periodical" => periodical,
|
180
|
-
"publisher" => meta.fetch("publisher",
|
180
|
+
"publisher" => meta.fetch("publisher", nil).to_s.strip.presence,
|
181
181
|
"source" => "DataCite",
|
182
182
|
"funding_references" => funding_references,
|
183
183
|
"dates" => dates,
|
data/lib/bolognese/version.rb
CHANGED