relaton-calconnect 0.6.0 → 0.6.1

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: 842106a8d49437d0c602445be8daa48a4c1e0e4236e42f07d50b2e430c8f7533
4
- data.tar.gz: 1ad7d29b9394ecab140bf7dc9cb412f11b01a1470e65dc797a097080c5f165eb
3
+ metadata.gz: ecf5d5929827c902fe3e85ed0e07389639811c74d058b63899f81621d10a861f
4
+ data.tar.gz: cc4b592fe104156819110ad8a3fc8776b6c2e6a844cec6fed4230a499279cadb
5
5
  SHA512:
6
- metadata.gz: b81cca245c4ec89742729f663f047bc7b66e6d8fefce26cd9d3dbc95d076d2a41b9306e14a9e9846a8cec0471d47a42cfab95123d1c0edb5f54a042c29dd3d47
7
- data.tar.gz: 8393bf3ffe7d2d0b3b51f430fef27025a9e4d598769407aa2ec9d767ac988ede884970c568153353341e51def4b8cd5b3e786276cdd45605d85a336ce5d776c5
6
+ metadata.gz: 35c5c11bc6415d527e625d9c6ebbb3b9ddf6f75699c971b49191e54bfbe8f6b2a721311832b491b9334d9944b515d9d290b75d38ea79e70942bc0f4a8059040f
7
+ data.tar.gz: 9b1a09b03a606d3096a7eeeb1ac42572084b750fb5c649a3d004e6be87227de4fcdc68b639ced3b83baef1590fabeb96159819e4e9e6c4c788676443bcf0d4e6
@@ -1,3 +1,3 @@
1
1
  module RelatonCalconnect
2
- VERSION = "0.6.0"
2
+ VERSION = "0.6.1"
3
3
  end
@@ -5,7 +5,11 @@ module RelatonCalconnect
5
5
  doc = Nokogiri::XML xml
6
6
  doc.remove_namespaces!
7
7
  cctitem = doc.at("/bibitem|/bibdata")
8
- CcBibliographicItem.new(item_data(cctitem))
8
+ if cctitem
9
+ CcBibliographicItem.new(item_data(cctitem))
10
+ else
11
+ warn "[relato-calconnect] can't find bibitem or bibdata element in the XML"
12
+ end
9
13
  end
10
14
  end
11
15
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: relaton-calconnect
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-02-25 00:00:00.000000000 Z
11
+ date: 2020-02-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: debase