relaton-ietf 0.11.0 → 0.11.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: b0a869d447dbf5d82958d4939a6e987a231c8a2383a73d5fd4b9680979da4218
4
- data.tar.gz: 865fa78cb9c2721642a589470476276b235306d74c6da1ebffaad810ab076e16
3
+ metadata.gz: d96cdf0d47494963332b91ea95df35453c7f0ac74c101bbd089e96cf598f9d98
4
+ data.tar.gz: b4da320d32db4c7eb2057be778da4922e900e54ed124e5143ab81b018c982592
5
5
  SHA512:
6
- metadata.gz: fd36f3587973e125b5040b3038b2ad542b8de48239150ce50b2f17b10f4a9f08d6ee39354b208d017d9839f0f5e0041332a7642f77bc8f6f5fc920d078f114c0
7
- data.tar.gz: 2659ae8f5556295bbbb67f4f278eede039ef5a7114ee767d1cc5dcb5fcae6ec8a5621830b1772d84c33af74debcf5cd8c5a827308ca136ce749edc0c51a25e2c
6
+ metadata.gz: 0554060657feb82f510a59ea5339d7f974fd32ad2d23956b4d23a6b3d08e1cf23e4b23318080ef3951014629470de962361e7251026ac1e023265011bcfecafe
7
+ data.tar.gz: 508f8d3522a27c9292b189b322a573ac1ddf23c32d17da20a924555db14a2f67edd8e3c3d92084f33f2c76d345145adefd16127b2f9bfd47c96a7903060f9ce6
@@ -1,3 +1,3 @@
1
1
  module RelatonIetf
2
- VERSION = "0.11.0".freeze
2
+ VERSION = "0.11.1".freeze
3
3
  end
@@ -7,7 +7,11 @@ module RelatonIetf
7
7
  doc = Nokogiri::XML(xml)
8
8
  doc.remove_namespaces!
9
9
  ietfitem = doc.at("/bibitem|/bibdata")
10
- RelatonIetf::IetfBibliographicItem.new(item_data(ietfitem))
10
+ if ietfitem
11
+ RelatonIetf::IetfBibliographicItem.new(item_data(ietfitem))
12
+ elsif
13
+ warn "[relato-ietf] can't find bibitem or bibdata element in the XML"
14
+ end
11
15
  end
12
16
 
13
17
  private
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: relaton-ietf
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.0
4
+ version: 0.11.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