dwc_agent 0.1.24 → 0.1.25
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 +5 -5
- data/lib/dwc_agent/constants.rb +4 -2
- data/lib/dwc_agent/version.rb +2 -2
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: d012bf146c7d9c8827413976702ea454108c8b6f31c673a49f90a74abd437a5f
|
|
4
|
+
data.tar.gz: e760e9ee90c784a689aa5ad834f541e9798e8d10b5e51b3b57e5fa1b0de10ddb
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: cc9d241b0bc6d1b94d7676205e58bff05c3650965f2839006594d251db37763c050fb84722bac16e24f9b4b0fdafab0703af8bcf1a91c58d50a168f803a70100
|
|
7
|
+
data.tar.gz: 41040c768979116b4a612d77b94ba6c16a92b549605b8337ff2115e1777860ac638c5e4a3093e5fbaffa5ebe819a8873d24821a365e01faab9d49190708cc69b
|
data/lib/dwc_agent/constants.rb
CHANGED
|
@@ -3,6 +3,7 @@ module DwcAgent
|
|
|
3
3
|
\s*?\d+\.\d+|
|
|
4
4
|
\b\d+\(?(?i:[[:alpha:]])\)?\b|
|
|
5
5
|
\b[,;]?\s*(?i:et\.?\s+al)\.?|
|
|
6
|
+
\b\s+(bis|ter)(\b|\z)|
|
|
6
7
|
\bu\.\s*a\.|
|
|
7
8
|
\b[,;]?\s*(?i:and|&)?\s*(?i:others)\s*\b|
|
|
8
9
|
\b[,;]?\s*(?i:etc)\.?|
|
|
@@ -149,7 +150,8 @@ module DwcAgent
|
|
|
149
150
|
PHRASE_SUBS = {
|
|
150
151
|
'Dr\.' => 'Dr. ',
|
|
151
152
|
'Mr\.' => 'Mr. ',
|
|
152
|
-
'Mrs\.' => 'Mrs. '
|
|
153
|
+
'Mrs\.' => 'Mrs. ',
|
|
154
|
+
'Prof\.' => 'Prof. '
|
|
153
155
|
}
|
|
154
156
|
|
|
155
157
|
COMPLEX_SEPARATORS = %r{
|
|
@@ -212,4 +214,4 @@ module DwcAgent
|
|
|
212
214
|
|
|
213
215
|
TITLE = /\s*\b(sir|lord|count(ess)?|(gen|adm|col|maj|capt|cmdr|lt|sgt|cpl|pvt|prof|dr|md|ph\.?d|rev|docteur|mme|abbé|ptre)\.?|frère|frere|père|pere|professor|esq\.?)(\s+|$)/i
|
|
214
216
|
|
|
215
|
-
end
|
|
217
|
+
end
|
data/lib/dwc_agent/version.rb
CHANGED
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: 0.1.
|
|
4
|
+
version: 0.1.25
|
|
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: 2019-
|
|
11
|
+
date: 2019-04-08 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: namae
|
|
@@ -120,7 +120,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
120
120
|
version: '0'
|
|
121
121
|
requirements: []
|
|
122
122
|
rubyforge_project:
|
|
123
|
-
rubygems_version: 2.
|
|
123
|
+
rubygems_version: 2.7.9
|
|
124
124
|
signing_key:
|
|
125
125
|
specification_version: 4
|
|
126
126
|
summary: Parse Darwin Core agent terms such as recordedBy and identifiedBy
|