uc3-dmp-id 0.1.10 → 0.1.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/uc3-dmp-id/augmenter.rb +1 -1
- data/lib/uc3-dmp-id/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: 61f1c9dd64fdec4ec98c5e8a703bba452ba7b17ede2e477d86523fab1c99a94d
|
4
|
+
data.tar.gz: 74fefb026abdfed228bad9b4a5c37847bb46c083e125727e0a6ed37f886d4ae2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 644e193728347314563daeb6874c86128f434e29b3f9ceb160b256c4e98a3fa26f37da90f5815afde631e15e6f2898ec268aca4e28f5b15ee0efa969cd32bc34
|
7
|
+
data.tar.gz: eb046b292e018c428a4d0a332f92f9e96e7a8bc4158b163c0ec657771646bfe3368e325c3442802612fb2df19f66193ad92779cec57d5211c7a6d0ccee2457e3
|
data/lib/uc3-dmp-id/augmenter.rb
CHANGED
@@ -94,7 +94,7 @@ module Uc3DmpId
|
|
94
94
|
@logger&.debug(message: "Assessing Work: #{work['id']} (pre citation)", details: ret)
|
95
95
|
return JSON.parse(ret.to_json) if work['bibtex'].nil?
|
96
96
|
|
97
|
-
ret[:citation] = Uc3DmpCitation::Citer.bibtex_to_citation(bibtex_as_string: work['bibtex'])
|
97
|
+
ret[:citation] = Uc3DmpCitation::Citer.bibtex_to_citation(uri: work['id'], bibtex_as_string: work['bibtex'])
|
98
98
|
JSON.parse(ret.to_json)
|
99
99
|
end
|
100
100
|
# rubocop:enable Metrics/AbcSize
|
data/lib/uc3-dmp-id/version.rb
CHANGED