uc3-dmp-citation 0.0.10 → 0.0.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a11a8cb9c089fbe07b7e25626be89f35de2cb60635a4f06aa4e6a727f636974a
4
- data.tar.gz: 26d2eb8ddc597a65208428fb439957e231ad9b21eb7a69bcf6154470c6c3c3be
3
+ metadata.gz: 959d10f2241c9adfff6e38f5fcf034f3d5727a3a732d116f7a3c938dd8c96722
4
+ data.tar.gz: 4cf39e5d77478dee2da06beac941363ee596fc45d4867d93546c31ecc8ad38e4
5
5
  SHA512:
6
- metadata.gz: '068f06d2f99046f61eb877e63d3be5a050feac6a15041dfdcff3aed94e12ef1baa92c09f0aeb6dc5b6bc7da583a174d71006da9893cdf32038b227df3c9c206a'
7
- data.tar.gz: 6ac0f00459c97020d598380e576b0bd4d103baf94cea95b3dd650a87a1cf780bb0477bf6f996c8eb14994bd079944ccf83ae4fb548561da7ce321c42db7b43ff
6
+ metadata.gz: b0e9c9dbeffb14babd6dba3c2a9f09d079c03c6c924c8fa4e357910ab2b52fd64986cf44b6cd527b2548a9dc472ee594728adbdeb1c681389081668d1d291989
7
+ data.tar.gz: 8370c919ef06c53a39f8c1774981e9f3e0a8730dff3af6596362d60130bc71dc31b0f3f9bf761f246f6199443772d6e73250a1d1d090af3acc1698c31c5ac175
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Uc3DmpCitation
4
- VERSION = '0.0.10'
4
+ VERSION = '0.0.11'
5
5
  end
@@ -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.10
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-10-30 00:00:00.000000000 Z
11
+ date: 2023-11-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: byebug