uc3-dmp-citation 0.0.10 → 0.0.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-citation/version.rb +1 -1
- data/lib/uc3-dmp-citation.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 959d10f2241c9adfff6e38f5fcf034f3d5727a3a732d116f7a3c938dd8c96722
|
4
|
+
data.tar.gz: 4cf39e5d77478dee2da06beac941363ee596fc45d4867d93546c31ecc8ad38e4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b0e9c9dbeffb14babd6dba3c2a9f09d079c03c6c924c8fa4e357910ab2b52fd64986cf44b6cd527b2548a9dc472ee594728adbdeb1c681389081668d1d291989
|
7
|
+
data.tar.gz: 8370c919ef06c53a39f8c1774981e9f3e0a8730dff3af6596362d60130bc71dc31b0f3f9bf761f246f6199443772d6e73250a1d1d090af3acc1698c31c5ac175
|
data/lib/uc3-dmp-citation.rb
CHANGED
@@ -60,7 +60,7 @@ module Uc3DmpCitation
|
|
60
60
|
def _determine_work_type(bibtex:)
|
61
61
|
return '' if bibtex.nil? || bibtex.data.nil? || bibtex.data.first.nil?
|
62
62
|
|
63
|
-
return 'article' unless bibtex.data.first.journal.nil?
|
63
|
+
return 'article' unless bibtex.data.first.respond_to?(:journal) || bibtex.data.first.journal.nil?
|
64
64
|
|
65
65
|
''
|
66
66
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: uc3-dmp-citation
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brian Riley
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-11-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: byebug
|