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 +4 -4
- data/lib/relaton_ietf/version.rb +1 -1
- data/lib/relaton_ietf/xml_parser.rb +5 -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: d96cdf0d47494963332b91ea95df35453c7f0ac74c101bbd089e96cf598f9d98
|
4
|
+
data.tar.gz: b4da320d32db4c7eb2057be778da4922e900e54ed124e5143ab81b018c982592
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0554060657feb82f510a59ea5339d7f974fd32ad2d23956b4d23a6b3d08e1cf23e4b23318080ef3951014629470de962361e7251026ac1e023265011bcfecafe
|
7
|
+
data.tar.gz: 508f8d3522a27c9292b189b322a573ac1ddf23c32d17da20a924555db14a2f67edd8e3c3d92084f33f2c76d345145adefd16127b2f9bfd47c96a7903060f9ce6
|
data/lib/relaton_ietf/version.rb
CHANGED
@@ -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
|
-
|
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.
|
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-
|
11
|
+
date: 2020-02-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: debase
|