commonmeta-ruby 3.8.0 → 3.8.1
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/commonmeta/crossref_utils.rb +2 -0
- data/lib/commonmeta/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: ae080d03483347a1467f664fa167e5e2103315cbccd60713743dbe73e9499824
|
4
|
+
data.tar.gz: 991d47e1e3bfa424b4660e921d9ab035f960c8e28c96ffbf4e30ab931d3eff46
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 675c0176e21eb08f844c7c95ced271a88a5eb870f9f962b1edf9a4d29b064812d951416b5fd5bf00089e4cfbf10ad6d6d67794241251b7a86e2ac4247397aae0
|
7
|
+
data.tar.gz: ab0ab117a6c0dc7103d23b84e4fadd8f6f99b6193553fc0435a174c20656c241a4c6d79b70933c0d3644bff959995dde35ed16ca2609b8d4f88b2e643baeb3be
|
data/Gemfile.lock
CHANGED
@@ -350,6 +350,8 @@ module Commonmeta
|
|
350
350
|
xml.resource(url, "mime_type" => "text/html")
|
351
351
|
if is_rogue_scholar_doi?(doi)
|
352
352
|
Array.wrap(files).each do |file|
|
353
|
+
# Crossref schema currently doesn't support text/markdown
|
354
|
+
file["mimeType"] = "text/plain" if file["mimeType"] == "text/markdown"
|
353
355
|
xml.resource(file["url"], "mime_type" => file["mimeType"])
|
354
356
|
end
|
355
357
|
end
|
data/lib/commonmeta/version.rb
CHANGED