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 +4 -4
- data/lib/relaton_calconnect/version.rb +1 -1
- data/lib/relaton_calconnect/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: ecf5d5929827c902fe3e85ed0e07389639811c74d058b63899f81621d10a861f
|
4
|
+
data.tar.gz: cc4b592fe104156819110ad8a3fc8776b6c2e6a844cec6fed4230a499279cadb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 35c5c11bc6415d527e625d9c6ebbb3b9ddf6f75699c971b49191e54bfbe8f6b2a721311832b491b9334d9944b515d9d290b75d38ea79e70942bc0f4a8059040f
|
7
|
+
data.tar.gz: 9b1a09b03a606d3096a7eeeb1ac42572084b750fb5c649a3d004e6be87227de4fcdc68b639ced3b83baef1590fabeb96159819e4e9e6c4c788676443bcf0d4e6
|
@@ -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
|
-
|
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.
|
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-
|
11
|
+
date: 2020-02-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: debase
|