dwc_agent 1.4.2 → 1.4.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/lib/dwc_agent/constants.rb +6 -1
- data/lib/dwc_agent/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ee3ede60926c849a6db7094f63a9d03d07f3e9d13fd74428841812f8970aa681
|
|
4
|
+
data.tar.gz: 7075c82cd35834f8dad00d57922e46f7ab0eb4f086eb4c0ad40b02c5726ca001
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9e7b655e50ec2d744d74ad44a30b35d75e76b7e0160a35ee7e6b295a03dbc343a012a702e3614c10516bf1282617ec00a0f472e2cc1aefc9d3decc9b4494a946
|
|
7
|
+
data.tar.gz: a28bd967f7df5afaf5e71a01f3902c0bab33dc735bc0861ceb137bad2d81981ec9ae6768497afff267b986bf653f9ba1fb8091221720964866b3352f8d8e2aae
|
data/lib/dwc_agent/constants.rb
CHANGED
|
@@ -48,10 +48,12 @@ module DwcAgent
|
|
|
48
48
|
\d+\s+(?i:Oct|Octob(er|re))\.?\b|
|
|
49
49
|
\d+\s+(?i:Nov|Novemb(er|re))\.?\b|
|
|
50
50
|
\d+\s+(?i:Dec|D(e|é)cemb(er|re))\.?\b|
|
|
51
|
+
\b[.-–,;:/]?\s*(?i:Alabama|Alaska|Arizona|Arkansas|California|Colorado|Connecticut|Delaware|Evergreen|Florida|Georgia|Hawaii|Idaho|Illinois|Indiana|Iowa|Kansas|Kentucky|Louisiana|Maine|Maryland|Massachusetts|Michigan|Minnesota|Mississippi|Missouri|Montana|Nebraska|Nevada|New\s+Hampshire|New\s+Jersey|New\s+Mexico|New\s+York|North\s+Carolina|North\s+Dakota|Ohio|Oklahoma|Oregon|Pennsylvania|Portland|Rhode\s+Island|South\s+Carolina|South\s+Dakota|St\s+Petersburg|Tennessee|Texas|Utah|Vermont|Virginia|Washington|West\s+Virginia|Wisconsin|Wyoming)\s+(?i:State)\s*\b|
|
|
51
52
|
(?i:autres?\s+de|probab|likely|possibl(e|y)|doubtful)|
|
|
52
53
|
\b\s*(?i:maybe)\s*\b|
|
|
53
54
|
\b\s*(?i:prob)\.\s*\b|
|
|
54
55
|
\(?[,]?\s*?(?i:(local)?\s?collector|data\s*recorder|netter|(oper|prepar)ator)\(?s?\)?\.?\:?|
|
|
56
|
+
\b[.-–,;:]?\s*(?i:department|faculty)\s*?(?i:of)?\s*?(?i:entomology|biology|zoology)|
|
|
55
57
|
(?i:fide)\:?\s*\b|
|
|
56
58
|
(?i:game\s+dept)\.?\s*\b|
|
|
57
59
|
(?i:see\s+notes?\s*(inside)?)|
|
|
@@ -71,6 +73,7 @@ module DwcAgent
|
|
|
71
73
|
(?i:American\s+Museum\s+of\s+Natural\s+History)|
|
|
72
74
|
(?i:The\s+Paleontological\s+Research\s+Institution)|
|
|
73
75
|
(?i:museum\s+victoria)|
|
|
76
|
+
\b\s*(?i:United\s+States|Russia)\s*\b|
|
|
74
77
|
(?i:revised|photograph|fruits\s+only)|
|
|
75
78
|
-?\s*(?i:sight\s+(id|identifi?cation))\.?\s*\b|
|
|
76
79
|
-?\s*(?i:synonym(y|ie))|
|
|
@@ -200,6 +203,7 @@ module DwcAgent
|
|
|
200
203
|
(?i:nomenclatur(e|al)\s+adjustment)|
|
|
201
204
|
(?i:not\s+available)|
|
|
202
205
|
(?i:ontario|qu(e|é)bec|saskatchewan|new brunswick|sault|newfoundland|assurance|vancouver|u\.?s\.?s\.?r\.?)|
|
|
206
|
+
(?i:popa\s+observers?)|
|
|
203
207
|
(?i:recreation|culture)|
|
|
204
208
|
(?i:shaped|dark|pale|areas|phase|spotting|interior|between|closer)|
|
|
205
209
|
(?i:soci(e|é)t(y|é)|cent(er|re)|community|history|conservation|conference|assoc|class|commission|consortium|council|club|exposit|alliance|protective|circle)|
|
|
@@ -239,7 +243,8 @@ module DwcAgent
|
|
|
239
243
|
"orig",
|
|
240
244
|
"science",
|
|
241
245
|
"catalogue",
|
|
242
|
-
"entered"
|
|
246
|
+
"entered",
|
|
247
|
+
"registration"
|
|
243
248
|
]
|
|
244
249
|
|
|
245
250
|
GIVEN_BLACKLIST = [
|
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: 1.4.
|
|
4
|
+
version: 1.4.3
|
|
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:
|
|
11
|
+
date: 2020-01-03 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: namae
|
|
@@ -119,7 +119,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
119
119
|
- !ruby/object:Gem::Version
|
|
120
120
|
version: '0'
|
|
121
121
|
requirements: []
|
|
122
|
-
rubygems_version: 3.0.
|
|
122
|
+
rubygems_version: 3.0.3
|
|
123
123
|
signing_key:
|
|
124
124
|
specification_version: 4
|
|
125
125
|
summary: Parse Darwin Core agent terms such as recordedBy and identifiedBy
|