dwc_agent 1.4.10 → 1.4.11

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: c9776505a303866cf6fb7ffed89c26f0d654c09bc89c0546de763084c55d483d
4
- data.tar.gz: 1552777d4f2b4b8f6a72052a817dd7396e384f7b3f42b1dab1c4db7802dbfee7
3
+ metadata.gz: b7f6e68d702ce0526d2e03c6299cf6b4683a85c0539aa1637b1d8d12e2e0bc05
4
+ data.tar.gz: c47fa534fec2f64c0b308971291a8c5d7fb637cb8487d782bbc8523ed9e5efa2
5
5
  SHA512:
6
- metadata.gz: ed8284bf695e107e8aa19af434376d7db3ad96235e1b5fc0f394a321edf527dd911ac9daa768630d4719e3ddcef0168077aa3c0a0d98180b29fc89cf116b4184
7
- data.tar.gz: 67498c5b597e6ef3619a90e1b336a30c2840c33d71bb0c7a38b06a9db99d58e3caadcde0c292d65b88146dcd2a17be6ac4e8f5b77916ac578083e0ea841fb498
6
+ metadata.gz: 782189bcf8e90a397ebcebb1c176bec521ef9df482e25cfdcd8084612ff45c3a644771088b58741317fd31b65241908045189988fe497e459a7ef66f12de54ca
7
+ data.tar.gz: 3be7a71b49471a2c7172ccc04d81947caf280f2d5621dc634fb7cc45ba853d2395126613d4fd5f3800251d31ce2bd6627fb1820de9cad5e76f34730522a2daf4
@@ -14,7 +14,7 @@ module DwcAgent
14
14
  \b[,;]?\s*(?i:unkn?own)\b|
15
15
  \b[,;]?\s*(?i:n/a)\b|
16
16
  \b[,;]?\s*(?i:ann?onymous)\b|
17
- \b[,;]?\s*\(?(?i:undetermined|indeterminable|dummy|interim|accession|ill(eg|is)ible|scripsit)\)?\b|
17
+ \b[,;]?\s*\(?(?i:undetermined|indeterminable|dummy|interim|accession|ill(eg|is)ible|scripsit|presumed?)\)?\b|
18
18
  \b[,;]?\s*(?i:importer|gift)\:?\b|
19
19
  \b[,;]?\s*(?i:string)\b|
20
20
  \b[,;]?\s*(?i:person\s*string)\b|
@@ -54,6 +54,7 @@ module DwcAgent
54
54
  \b\s*(?i:prob)\.\s*\b|
55
55
  \(?[,]?\s*?(?i:(local)?\s?collector|data\s*recorder|netter|(oper|prepar)ator)\(?s?\)?\.?\:?|
56
56
  \b[.-–,;:]?\s*(?i:department|faculty)\s*?(?i:of)?\s*?(?i:entomology|biology|zoology)|
57
+ (?i:Engº|Agrº|Fcº|Drº|Mº|Profº|Dº|Fº)|
57
58
  (?i:fide)\:?\s*\b|
58
59
  (?i:game\s+dept)\.?\s*\b|
59
60
  (?i:see\s+notes?\s*(inside)?)|
@@ -160,9 +161,13 @@ module DwcAgent
160
161
  'dr\.' => 'Dr. ',
161
162
  'mr\.' => 'Mr. ',
162
163
  'mrs\.' => 'Mrs. ',
164
+ 'ms\.' => 'Ms. ',
163
165
  'prof\.' => 'Prof. ',
164
166
  '\, ph\.d\.' => ' Ph.D.',
165
- '\, bro\.' => ' Bro.'
167
+ '\, bro\.' => ' Bro.',
168
+ ' jr\.,' => ' Jr.;',
169
+ ' jr,' => ' Jr.;',
170
+ '-Jr' => ' Jr.'
166
171
  }
167
172
 
168
173
  COMPLEX_SEPARATORS = %r{
@@ -266,6 +271,6 @@ module DwcAgent
266
271
  "has not"
267
272
  ]
268
273
 
269
- TITLE = /\s*\b(sir|count(ess)?|(gen|adm|col|maj|capt|cmdr|lt|sgt|cpl|pvt|prof|dr|md|ph\.?d|rev|mme|abbé|ptre|bro|esq)\.?|docteur|father|cantor|vicar|père|pastor|rabbi|reverend|pere|soeur|sister|professor)(\s+|$)/i
274
+ TITLE = /\s*\b(sir|count(ess)?|colonel|(gen|adm|col|maj|capt|cmdr|lt|sgt|cpl|pvt|prof|dr|md|ph\.?d|rev|mme|abbé|ptre|bro|esq)\.?|docteur|father|cantor|vicar|père|pastor|rabbi|reverend|pere|soeur|sister|professor)(\s+|$)/i
270
275
 
271
276
  end
@@ -3,7 +3,7 @@ module DwcAgent
3
3
 
4
4
  MAJOR = 1
5
5
  MINOR = 4
6
- PATCH = 10
6
+ PATCH = 11
7
7
  BUILD = nil
8
8
 
9
9
  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: 1.4.10
4
+ version: 1.4.11
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-06-15 00:00:00.000000000 Z
11
+ date: 2020-07-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: namae