relaton-iso 0.12.0 → 0.12.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_iso/hit_collection.rb +1 -1
- data/lib/relaton_iso/version.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: 76afab1e7aec77da82dfd35844eb94b49a1e12fb0eced2eb0be0d2390bb2fd5c
|
4
|
+
data.tar.gz: d84310d0876f06620dc64b32f24192ab894f481e0e52811fe6b867755bd08358
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 440055c8a86e3c0cafbdf1f466dfbe1472e102b97837d30b29523648c0825a9a2fdee04fb93473c7cee0f6c531826c1b5abbdbe0a3567c9b6664a9d319b91cd2
|
7
|
+
data.tar.gz: 0433f3b9c4a4c98dca0cc7ecec5158415d73acc6299bc176550c39049df413a2731ec2d74408e457e819afca575b2dc7a45ebb89f4dc43255155bda1202cdd0c
|
@@ -32,7 +32,7 @@ module RelatonIso
|
|
32
32
|
# @param lang [String, NilClass]
|
33
33
|
# @return [RelatonIsoBib::IsoBibliographicItem]
|
34
34
|
def to_all_parts(lang = nil)
|
35
|
-
parts = @array.
|
35
|
+
parts = @array.reject { |h| h.hit["docPart"]&.empty? }
|
36
36
|
hit = parts.min_by { |h| h.hit["docPart"].to_i }
|
37
37
|
return @array.first.fetch lang unless hit
|
38
38
|
|
data/lib/relaton_iso/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: relaton-iso
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.12.
|
4
|
+
version: 0.12.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-
|
11
|
+
date: 2020-04-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: byebug
|