name-tamer 0.1.2 → 0.1.3
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 +4 -4
- data/Gemfile.lock +1 -1
- data/doc/suffixes.csv +1 -0
- data/lib/name-tamer.rb +3 -2
- data/lib/name-tamer/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ef4402ebc8c35fce9d01108561f09a5af085c445
|
|
4
|
+
data.tar.gz: 5ac1d2d43bac66079d8089a508bef15f22aa03bf
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1ed1bcaeaf186d62442600930ebc6c30baeeb1df065b16abb7c781a41e15ab7fd101591877a1f4ac0562d48e1ed717b8a9330a5cc67b7a30a0f69f7375c03d0e
|
|
7
|
+
data.tar.gz: 4929c9a7ff6742df2a4e160ddaeb0b0a209af80996d83cef6d66a814cba8751003895354fe80ac98af7cad5f5d4e9a3f99a8a1f260b4b5c0ae9c117d27422d99
|
data/Gemfile.lock
CHANGED
data/doc/suffixes.csv
CHANGED
data/lib/name-tamer.rb
CHANGED
|
@@ -506,7 +506,8 @@ class NameTamer
|
|
|
506
506
|
FILTER_COMPAT = /[^#{ALPHA}#{DIGIT}\-_#{UCSCHAR}]/
|
|
507
507
|
|
|
508
508
|
NAME_MODIFIERS = [
|
|
509
|
-
'Al', 'Ap', 'Ben', 'Dell[ae]', 'D[aeiou]', 'De[lrn]', 'D[ao]s', 'El', 'La', 'L[eo]', 'V[ao]n', 'Of', 'St[\.]?'
|
|
509
|
+
'Al', 'Ap', 'Ben', 'Dell[ae]', 'D[aeiou]', 'De[lrn]', 'D[ao]s', 'El', 'La', 'L[eo]', 'V[ao]n', 'Of', 'San', 'St[\.]?',
|
|
510
|
+
'Zur'
|
|
510
511
|
]
|
|
511
512
|
|
|
512
513
|
COMPOUND_NAMES = [
|
|
@@ -543,7 +544,7 @@ class NameTamer
|
|
|
543
544
|
'Cantab.', 'D.Phil.', 'I.T.I.L. v3', 'B.Eng.', 'C.Eng.', 'M.Jur.', 'C.F.A.', 'D.B.E.',
|
|
544
545
|
'D.D.S.', 'D.V.M.', 'Eng.D.', 'A.C.A.', 'C.T.A.', 'E.R.P.', 'F.C.A', 'F.P.C.', 'F.R.M.', 'M.B.A.', 'M.B.E.',
|
|
545
546
|
'M.E.P.', 'M.Eng.', 'M.Jur.', 'M.S.P.', 'O.B.E.', 'P.M.C.', 'P.M.P.', 'P.S.P.', 'V.M.D.', 'B.Ed.', 'B.Sc.', 'Ed.D.',
|
|
546
|
-
'LL.B.',
|
|
547
|
+
'Hons.', 'LL.B.',
|
|
547
548
|
'LL.D.', 'LL.M.', 'M.Ed.', 'M.Sc.', 'Oxon.', 'Ph.D.', 'B.A.', 'Esq.', 'J.D.', 'K.C.', 'M.A.', 'M.D.', 'M.P.', 'O.K.',
|
|
548
549
|
'P.A.', 'Q.C.', 'III', 'Jr.', 'Sr.', 'II', 'IV', 'I', 'V'
|
|
549
550
|
],
|
data/lib/name-tamer/version.rb
CHANGED