dwc_agent 1.5.0 → 1.5.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/dwc_agent/cleaner.rb +3 -3
- data/lib/dwc_agent/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: 8c68777377378c1b85c2a86e4dbd72c8115233a9b86fd3d9233fa273b395b6bf
|
4
|
+
data.tar.gz: b1cef19d499caab6280b2084d3b4ce9f8fdabc7d2b34bce5334c3e40471e6f08
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 561146115cc194b0e4a03e25d9bebc99f266dfc5b2b294f576b3cd0e4be21f2566b5a1453f3aac29f9a759bea918ba6e967885f99f19cb041231948c88ff3627
|
7
|
+
data.tar.gz: 83362e1759206a8cca73e27563c456cb3ad521b9fa719868bdb8bda8f9a8a69548e5b43ac5736ba7bace4ec46f30adb3992e933bfe9f0b7768eab46561479435
|
data/lib/dwc_agent/cleaner.rb
CHANGED
@@ -85,8 +85,8 @@ module DwcAgent
|
|
85
85
|
given = parsed_namae.given.strip rescue nil
|
86
86
|
particle = parsed_namae.particle.strip rescue nil
|
87
87
|
appellation = parsed_namae.appellation.strip rescue nil
|
88
|
-
suffix =
|
89
|
-
title =
|
88
|
+
suffix = parsed_namae.suffix.strip rescue nil
|
89
|
+
title = parsed_namae.title.strip rescue nil
|
90
90
|
|
91
91
|
if !given.nil? && given.match(/[A-Z]\.[A-Za-z]{2,}/)
|
92
92
|
given = given.gsub(".", ". ").strip
|
@@ -126,7 +126,7 @@ module DwcAgent
|
|
126
126
|
return blank_name
|
127
127
|
end
|
128
128
|
|
129
|
-
{ title:
|
129
|
+
{ title: title, appellation: appellation, given: given, particle: particle, family: family, suffix: suffix }
|
130
130
|
end
|
131
131
|
|
132
132
|
end
|
data/lib/dwc_agent/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dwc_agent
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.5.0
|
4
|
+
version: 1.5.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David P. Shorthouse
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-08-
|
11
|
+
date: 2020-08-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: namae
|