relaton-ieee 1.9.3 → 1.9.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/relaton_ieee/data_parser.rb +7 -3
- data/lib/relaton_ieee/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: 496eeef1c7a04e944fe7ea3133c6d6cf864039f5ce7d64ab049853818e2a8ac0
|
4
|
+
data.tar.gz: 5339c5f4b2871f24a112167ec07ad0a215b4fbf41410edaa623d7aec29d21574
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 32755edbd38f6310f082de0302a02355abc8f641d4b21de794c321d9f244ee69f8536b6ee2e288d1020bf1885439f0071fa7da10ca1c3c9097cac00b3a7f5e75
|
7
|
+
data.tar.gz: 5afecd68a82cda36434bff25c4f0c9720e55e399fc26835c5924c6b57429798f7dc00aaeaaf136c65e9cb409fde4df7614b06015eec16d99406d0b6b3b9d34e0
|
@@ -57,11 +57,15 @@ module RelatonIeee
|
|
57
57
|
#
|
58
58
|
# Parse title
|
59
59
|
#
|
60
|
-
# @return [RelatonBib::
|
60
|
+
# @return [Array<RelatonBib::TypedTitleString>]
|
61
61
|
#
|
62
62
|
def parse_title
|
63
|
-
t =
|
64
|
-
|
63
|
+
t = []
|
64
|
+
content = doc.at("./volume/article/title").text
|
65
|
+
if content =~ /\A(.+)\s-\sredline\z/i
|
66
|
+
t << RelatonBib::TypedTitleString.new(content: $1, type: "title-main")
|
67
|
+
end
|
68
|
+
t << RelatonBib::TypedTitleString.new(content: content, type: "main")
|
65
69
|
end
|
66
70
|
|
67
71
|
#
|
data/lib/relaton_ieee/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: relaton-ieee
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.9.
|
4
|
+
version: 1.9.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ribose Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-11-
|
11
|
+
date: 2021-11-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: equivalent-xml
|