bolognese 0.9.72 → 0.9.73
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 +2 -2
- 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: bc549f22e3a1727f573e7e38512c23951aff6d3ee30c0ed2f8868c4e70ae86ca
|
4
|
+
data.tar.gz: 245bc55766ca0cbf53ba434805a469428146b28ff84877817ea235225097d6dc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 243535b54b8b00aaf6f1afa5746b289acd15cd2370bfee634a6a353dea4e13074f833374ca4e609e933c4a18b1be412dc36cd97196aebd3e4e65a3cf8ab43fd1
|
7
|
+
data.tar.gz: 5ac7fc0bbc7e32a9b58cb0b17391338bc2a5f6ea6d191aef577e1a93b6ffcc85f22418dc80c2f25cda4679b2e07646c83c0089cfbf76c4305fdb1bd691e090ab
|
data/Gemfile.lock
CHANGED
@@ -15,8 +15,8 @@ module Bolognese
|
|
15
15
|
client_id = response.body.dig("data", "relationships", "client", "data", "id").upcase
|
16
16
|
provider_id = response.body.dig("data", "relationships", "provider", "data", "id").upcase
|
17
17
|
|
18
|
-
string = attributes.fetch('xml',
|
19
|
-
string = Base64.decode64(string)
|
18
|
+
string = attributes.fetch('xml', nil)
|
19
|
+
string = Base64.decode64(string) if string.present?
|
20
20
|
|
21
21
|
if string.present?
|
22
22
|
doc = Nokogiri::XML(string, nil, 'UTF-8', &:noblanks)
|
data/lib/bolognese/version.rb
CHANGED