dwc_agent 3.0.14.0 → 3.0.16.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 76fd38a17b4eacd1ccc83894969945f385e75c0be9c7e6a1235ab483c893ec1c
4
- data.tar.gz: 4aee795631565aa42a692f699f3de412fc1148010ed9490390420287fcaf639d
3
+ metadata.gz: 32729089dfd174f776616cdb39fc6c428c1f33da412a009ad53efbe2027e9dfe
4
+ data.tar.gz: 165f81444e221f1bfae4424b4d68c3349e85cc3cf6663b1830babd5b85b648d3
5
5
  SHA512:
6
- metadata.gz: 79985675d5f45be65a7d98dc36d209736109cd01f3051afbea06dfc0b00bcdf19bc49ed41c4916aa2d13de6810194a1b56adccdbda6c8610ca3bb089a59e7aae
7
- data.tar.gz: 81bc9a7c075cfb9274b0ab18e88c18df1f4eb8227a403f5341f8b5a57e80a9138f3c81c837ebcf2e841f28bacd5ba8d2430132c23d6019cbe387f65dc5e93176
6
+ metadata.gz: 17ee19d9eac33b73d565e62ff7a641cb0dfdbfbe96842f8a2f44b13aa188d3c2bc7ca05b28bc6ddbf045e0cb5a4993b73cfbfc63e20ad0049a3852bd230433e0
7
+ data.tar.gz: f6b9be73e0123a3c40d5e8fa7965a000336778650272d5ec0eebc8e4d3e01db7d5c060b76dd719a3f910b79f303c2f8cd019df0ff8d603e7262863f99e203809
@@ -1,7 +1,5 @@
1
1
  module DwcAgent
2
2
  STRIP_OUT = %r{
3
- ^[\[{(]|
4
- [\]})]\??$|
5
3
  (?i:acc\s?\#)|
6
4
  [,;]?\s*(?i:1st|2nd|3rd|[4-9]th)|
7
5
  \s*?\d+\.\d+|
@@ -14,7 +12,8 @@ module DwcAgent
14
12
  \b[,;]?\s*(?i:etc)\.?|
15
13
  \b[,;]?\s*(?i:exp)\.?\s*(\b|\z)|
16
14
  \b[,;]?\s*(?i:aboard)[^$]+|
17
- \b[,;]?\s*(?i:on)\b|
15
+ \b[,;]?\s+(?i:on)\b|
16
+ \b(?i:unknown\s+or\s+anonymous)|
18
17
  \b[,;]?\s*(?i:unkn?own)\b|
19
18
  \b[,;]?\s*(?i:n/a)\b|
20
19
  \b[,;]?\s*(?i:ann?onymous)\b|
@@ -113,8 +112,9 @@ module DwcAgent
113
112
  (?i:annot)\.?\s*?\b|
114
113
  \s+(?i:stet)\s*!?\s*\z|
115
114
  \s+(?i:prep)\.?\s*\z|
116
- \W([({\[].*?[)}\]])|
117
- \W[\(\[\{][A-Za-z]{1,3}$|
115
+ ([({].*?[)}])|
116
+ \s+\[([[:word:]]|[[:space:]]|[-\?\.]){10,}\]|
117
+ [\(\{][A-Za-z]{1,3}$|
118
118
  \b(?i:leg)[\.:]?\s*\b|
119
119
  (?:[Dd](ed|on))[\.:]|
120
120
  \d*[A-Za-z]*\d*-\d*\z|
@@ -363,7 +363,7 @@ module DwcAgent
363
363
  "has not"
364
364
  ]
365
365
 
366
- TITLE = /\s*\b(sir|count(ess)?|colonel|(gen|adm|col|maj|capt|cmdr|lt|sgt|cpl|pvt|proff?|dr|dra\.|drª|md|ph\.?d|rev|mme|abbé|ptre|bro|esq)\.?|doct(eu|o)r|father|cantor|vicar|père|pastor|profa\.?|profª|rabbi|reverend|pere|soeur|sister|professor)(\s+|$)/i
366
+ TITLE = /\s*\b(sir|count(ess)?|colonel|(gen|adm|col|maj|cmdr|lt|sgt|cpl|pvt|proff?|dr|dra\.|drª|md|ph\.?d|rev|mme|abbé|ptre|bro|esq)\.?|doct(eu|o)r|father|cantor|vicar|père|pastor|profa\.?|profª|rabbi|reverend|pere|soeur|sister|professor)(\s+|$)/i
367
367
 
368
368
  APPELLATION = /\s*\b((mrs?|ms|fr|hr)\.?|miss|herr|frau)(\s+|$)/i
369
369
 
@@ -4,7 +4,7 @@ module DwcAgent
4
4
 
5
5
  MAJOR = 3
6
6
  MINOR = 0
7
- PATCH = 14
7
+ PATCH = 16
8
8
  BUILD = 0
9
9
 
10
10
  def self.version
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: 3.0.14.0
4
+ version: 3.0.16.0
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: 2023-10-09 00:00:00.000000000 Z
11
+ date: 2023-10-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: namae