iso-bib-item 0.4.1 → 0.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/iso_bib_item/iso_bibliographic_item.rb +1 -0
- data/lib/iso_bib_item/version.rb +1 -1
- data/lib/iso_bib_item/xml_parser.rb +1 -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: 96383163b355abde118e93a48314f7327dfcef8a7db1cef4b9d337215603abf4
|
4
|
+
data.tar.gz: acf207d7085d86cb08c0141676a6422db82a1cd952de58cbf16b744dc94cb1f1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7d9fca95ab51c0e0f4ce481f22bafd509e0904bdd62a95faac19c6638b7f9301f4b6a15d0b4e384b13ef2c4523d008f829f2767727095f936cac69df8eaa0b3f
|
7
|
+
data.tar.gz: '068aeb767e3adff4f0c07d8202626b534590960ac2aed160e9bebe260e8a939ea283b4abaae85ad694549baace82c732e01aaa258742295ed50a176c83c0a78d'
|
data/Gemfile.lock
CHANGED
data/lib/iso_bib_item/version.rb
CHANGED
@@ -188,7 +188,7 @@ module IsoBibItem
|
|
188
188
|
def fetch_relations(doc)
|
189
189
|
doc.xpath('/bibitem/relation').map do |r|
|
190
190
|
DocumentRelation.new(type: r[:type],
|
191
|
-
|
191
|
+
identifier: r&.at('./bibitem/formattedref | ./bibitem/docidentifier')&.text)
|
192
192
|
end
|
193
193
|
end
|
194
194
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: iso-bib-item
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ribose Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-10-
|
11
|
+
date: 2018-10-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|