uc3-dmp-citation 0.0.15 → 0.0.16

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b85070e81998508a3c313105c19a0b9278cf216ef63244c66a170b43768f893f
4
- data.tar.gz: 17cede8c1625c1d5cf410e66da106275f860773b6f7bff05eef34218c0ccfe04
3
+ metadata.gz: d8f6ce6b1e876be86359025dc20ed5f0cb61ce24414c3976f6cfe6cf1ea64a48
4
+ data.tar.gz: 8db13b8bed6167b3c888945d59ec0e23a2a47668001f867082b453f859ad1c60
5
5
  SHA512:
6
- metadata.gz: 10cef531b7850fe4b3780545da0abf473b7558e606c8b3ac06d6d8f32f82ac9bf32c1f616c4672c2ab206163cabe6b7da4881f9b56e57ca08e45422cc6687666
7
- data.tar.gz: 1ecc54d76b5eb89a1baea752ad7b54d5af01bb0667c4d52ec567a9cb50954f1940568ff269f5b54c0589ace8e7286ff03e298fae1b9cae2f6eec418a2b1c8d6f
6
+ metadata.gz: deba715a7e4a87f9499d0a5e37357ddda9992b50f5037efbd344b5fc3dcacd7ab3ca2b8a49fd4ff0c8e5d0f5f82d261b3ecc903d8f8f1aff622e9ad05f818806
7
+ data.tar.gz: c9acc90c6ea97c091fc4595bc004e18148075d6c3b3d8193e5f4c942434a76dfe8d728cf26c75940234dc4aa0e0010d9bcf91ccd56a2365d0e3efc6bed7fc90e
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Uc3DmpCitation
4
- VERSION = '0.0.15'
4
+ VERSION = '0.0.16'
5
5
  end
@@ -35,7 +35,7 @@ module Uc3DmpCitation
35
35
  logger&.warn(message: "Failure fetching citation for #{uri} - #{e.message}")
36
36
  return nil
37
37
  end
38
- return nil if resp.nil? || resp.to_s.strip.empty? || resp.code
38
+ return nil if resp.nil? || resp.to_s.strip.empty?
39
39
 
40
40
  bibtex_to_citation(uri: uri, bibtex_as_string: resp)
41
41
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: uc3-dmp-citation
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.15
4
+ version: 0.0.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Riley