dwc_agent 3.0.6.0 → 3.0.8.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: 69985a64afbcf03bbb14df6e00f85cfbd1470846a289aa490e1b62a41986285d
4
- data.tar.gz: b2158f59c97be96d2217a9c8dbf86fce3d256a649485d6d29dc510069c144f04
3
+ metadata.gz: '087733d2b0fb769363b4075c7f41c2f66029babdd94369754d948fd7ea79a918'
4
+ data.tar.gz: 4ac264b58351da0cebf5d0e5139e61fafb0c3a2ce7230dc360c5d75498251c03
5
5
  SHA512:
6
- metadata.gz: 2fd0d7089120d60ac306758a5a8b2efbd3a31d5174fe1e16cb4a627df73cbcb364e622c0cc0de05dcbadaaa775895aa2d89e57739b447679b2ac1fcce63acd60
7
- data.tar.gz: 84398f5548ef552f4e86b05b3f1bc11e2a67355b283ef74986fc5061fa7e77bce894401ff88cd9dae72103bd01520c2e53896ed0d5d34aae0f38d48bbee8ae0e
6
+ metadata.gz: 5df9637901a40e47c22872811af6a71a2e482042f3615bf263897945fdadff0254bd373b549f63a0a989e58dfee1d9ffc1e7189da271720badf51596188fc3ae
7
+ data.tar.gz: d07083d5a2a439eabd9bb1615de318f482ce67b15bce86e32c823a52f6e0c9615373f587f1f66c9b14ebd5bb91028d18b21b95c9771724d6bf7570037981f723
@@ -199,13 +199,17 @@ module DwcAgent
199
199
  ' jr.,' => ' Jr.;',
200
200
  ' jr,' => ' Jr.;',
201
201
  '-jr' => ' Jr.',
202
- '-Jr' => ' Jr.'
202
+ '-Jr' => ' Jr.',
203
+ 'Dr.' => 'Dr. ',
204
+ 'prof.' => 'Prof. '
203
205
  }
204
206
 
205
207
  SEPARATORS = {
208
+ "^(\\S{4,}),\\s+(Mrs?\\.|MRS?\\.)\\s+([A-Za-z\\.\\s]{1,})$" => "\\2 \\3 \\1",
206
209
  "^([A-Z]{1}\\.\\s*[[:alpha:]]{1,}),\\s*?([A-Z.]{1,})$" => "\\1 \\2",
207
210
  "^(\\S{4,},\\s+(?:\\S\\.\\s*){1,})\\s+(\\S{4,},\\s+(?:\\S\.\\s*){1,})$" => "\\1 | \\2",
208
211
  "(\\S{1}\\.)([[:alpha:]]{2,})" => "\\1 \\2",
212
+ "^([[:alpha:]]{2,})(?:\\s+)((?:\\S{1}\\.\\s?){1,})$" => "\\1, \\2",
209
213
  "([[:alpha:]]*),?\\s+(.*)\\s+(van|von)$" => "\\3 \\1, \\2",
210
214
  "^([A-Z.\\s]+)\\s+(?:and|&|et|e)\\s+([A-Z.\\s]+)\\s+([[:alpha:]]{2,})\\s+([[:alpha:]]{2,})$" => "\\1 \\4 | \\2 \\3 \\4",
211
215
  "^([A-Z.\\s]+)\\s+(?:and|&|et|e)\\s+([A-Z.\\s]+)\\s+([[:alpha:]]{2,})(.*)$" => "\\1 \\3 | \\2 \\3 | \\4",
@@ -328,6 +332,8 @@ module DwcAgent
328
332
  "inst",
329
333
  "nomenclatural",
330
334
  "orig",
335
+ "prof",
336
+ "professional",
331
337
  "qld",
332
338
  "registration",
333
339
  "science",
@@ -345,7 +351,7 @@ module DwcAgent
345
351
  "has not"
346
352
  ]
347
353
 
348
- TITLE = /\s*\b(sir|count(ess)?|colonel|(gen|adm|col|maj|capt|cmdr|lt|sgt|cpl|pvt|proff?|dr|md|ph\.?d|rev|mme|abbé|ptre|bro|esq)\.?|doct(eu|o)r|father|cantor|vicar|père|pastor|rabbi|reverend|pere|soeur|sister|professor)(\s+|$)/i
354
+ 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
349
355
 
350
356
  APPELLATION = /\s*\b((mrs?|ms|fr|hr)\.?|miss|herr|frau)(\s+|$)/i
351
357
 
@@ -4,7 +4,7 @@ module DwcAgent
4
4
 
5
5
  MAJOR = 3
6
6
  MINOR = 0
7
- PATCH = 6
7
+ PATCH = 8
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.6.0
4
+ version: 3.0.8.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-06-30 00:00:00.000000000 Z
11
+ date: 2023-08-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: namae