You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by se...@apache.org on 2018/07/31 13:44:03 UTC
[whimsy] branch master updated: St. John
This is an automated email from the ASF dual-hosted git repository.
sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git
The following commit(s) were added to refs/heads/master by this push:
new 0dafff9 St. John
0dafff9 is described below
commit 0dafff9a0a5a2f553a3baa119b0855b6a2a20357
Author: Sebb <se...@apache.org>
AuthorDate: Tue Jul 31 14:44:02 2018 +0100
St. John
---
lib/whimsy/asf/person.rb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/whimsy/asf/person.rb b/lib/whimsy/asf/person.rb
index fb75d02..2527f50 100644
--- a/lib/whimsy/asf/person.rb
+++ b/lib/whimsy/asf/person.rb
@@ -94,7 +94,7 @@ module ASF
if words.size >= 3 and words[-3..-2] == %w(de la) or words[-3..-2] == %w(van der) or words[-3..-2] == %w(van de) or words[-3..-2] == %w(van den) or words[-3..-2] == %w(von der)
result['sn'] = words[-3..-1].join(' ')
result['unused'] = words[0..-4]
- elsif words.size >= 2 and %w(von van Van de De del Del den le Le O Di Du dos).include? words[-2]
+ elsif words.size >= 2 and %w(von van Van de De del Del den le Le O Di Du dos St.).include? words[-2]
result['sn'] = words[-2..-1].join(' ')
result['unused'] = words[0..-3]
else