biodiversity19 1.0.20 → 1.0.21

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.
data/Gemfile.lock CHANGED
@@ -5,23 +5,27 @@ GEM
5
5
  columnize (0.3.6)
6
6
  diff-lcs (1.1.3)
7
7
  git (1.2.5)
8
- jeweler (1.6.4)
8
+ jeweler (1.8.4)
9
9
  bundler (~> 1.0)
10
10
  git (>= 1.2.5)
11
11
  rake
12
+ rdoc
13
+ json (1.7.5)
12
14
  linecache19 (0.5.12)
13
15
  ruby_core_source (>= 0.1.4)
14
- parallel (0.5.9)
16
+ parallel (0.5.18)
15
17
  polyglot (0.3.3)
16
18
  rake (0.9.2.2)
17
- rspec (2.7.0)
18
- rspec-core (~> 2.7.0)
19
- rspec-expectations (~> 2.7.0)
20
- rspec-mocks (~> 2.7.0)
21
- rspec-core (2.7.1)
22
- rspec-expectations (2.7.0)
23
- diff-lcs (~> 1.1.2)
24
- rspec-mocks (2.7.0)
19
+ rdoc (3.12)
20
+ json (~> 1.4)
21
+ rspec (2.11.0)
22
+ rspec-core (~> 2.11.0)
23
+ rspec-expectations (~> 2.11.0)
24
+ rspec-mocks (~> 2.11.0)
25
+ rspec-core (2.11.1)
26
+ rspec-expectations (2.11.2)
27
+ diff-lcs (~> 1.1.3)
28
+ rspec-mocks (2.11.2)
25
29
  ruby-debug-base19 (0.11.25)
26
30
  columnize (>= 0.3.1)
27
31
  linecache19 (>= 0.5.11)
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.20
1
+ 1.0.21
@@ -369,9 +369,9 @@ grammar ScientificNameClean
369
369
  end
370
370
  }
371
371
  /
372
- species_word ![\.] {
372
+ a:species_word ![\.] {
373
373
  def value
374
- text_value
374
+ a.value
375
375
  end
376
376
 
377
377
  def canonical
@@ -110,10 +110,9 @@ grammar ScientificNameDirty
110
110
  end
111
111
  }
112
112
  /
113
- species_word ![\.] {
113
+ a:species_word ![\.] {
114
114
  def value
115
- text_value.tr('àâåãäáçčëéèíìïňññóòôøõöúùüŕřŗššşž',
116
- 'aaaaaacceeeiiinnnoooooouuurrrsssz')
115
+ a.value
117
116
  end
118
117
 
119
118
  def canonical
@@ -87,6 +87,8 @@ Leœptura laetifica Dow, 1913|{"scientificName":{"parsed":true, "parser_version"
87
87
  Ærenea cognata Lacordaire, 1872|{"scientificName":{"parsed":true, "parser_version":"test_version", "parser_run":1,"verbatim":"\u00c6renea cognata Lacordaire, 1872","normalized":"Aerenea cognata Lacordaire 1872","canonical":"Aerenea cognata","hybrid":false,"details":[{"genus":{"string":"Aerenea"},"species":{"string":"cognata","authorship":"Lacordaire, 1872","basionymAuthorTeam":{"authorTeam":"Lacordaire","author":["Lacordaire"],"year":"1872"}}}],"positions":{"0":["genus",6],"7":["species",14],"15":["author_word",25],"27":["year",31]}}}
88
88
  Œdicnemus capensis|{"scientificName":{"parsed":true, "parser_version":"test_version", "parser_run":1,"verbatim":"\u0152dicnemus capensis","normalized":"Oedicnemus capensis","canonical":"Oedicnemus capensis","hybrid":false,"details":[{"genus":{"string":"Oedicnemus"},"species":{"string":"capensis"}}],"positions":{"0":["genus",9],"10":["species",18]}}}
89
89
  Œnanthe œnanthe|{"scientificName":{"parsed":true, "parser_version":"test_version", "parser_run":1,"verbatim":"\u0152nanthe \u0153nanthe","normalized":"Oenanthe oenanthe","canonical":"Oenanthe oenanthe","hybrid":false,"details":[{"genus":{"string":"Oenanthe"},"species":{"string":"oenanthe"}}],"positions":{"0":["genus",7],"8":["species",15]}}}
90
+ Hördeum vulgare cœrulescens|{"scientificName":{"parsed":true, "parser_version":"test_version", "verbatim":"Hördeum vulgare cœrulescens", "normalized":"Hordeum vulgare coerulescens", "canonical":"Hordeum vulgare coerulescens", "hybrid":false, "details":[{"genus":{"string":"Hordeum"}, "species":{"string":"vulgare"}, "infraspecies":[{"string":"coerulescens", "rank":"n/a"}]}], "parser_run":2, "positions":{"0":["genus", 7], "8":["species", 15], "16":["infraspecies", 27]}}}
91
+ Hordeum vulgare f. cœrulescens|{"scientificName":{"parsed":true, "parser_version":"test_version", "verbatim":"Hordeum vulgare f. cœrulescens", "normalized":"Hordeum vulgare f. coerulescens", "canonical":"Hordeum vulgare coerulescens", "hybrid":false, "details":[{"genus":{"string":"Hordeum"}, "species":{"string":"vulgare"}, "infraspecies":[{"string":"coerulescens", "rank":"f."}]}], "parser_run":1, "positions":{"0":["genus", 7], "8":["species", 15], "16":["infraspecific_type", 18], "19":["infraspecies", 30]}}}
90
92
 
91
93
  # old style s (ſ)
92
94
  Musca domeſtica Linnaeus 1758 sec. Pemberton 1947|{"scientificName":{"parsed":true, "verbatim":"Musca domeſtica Linnaeus 1758 sec. Pemberton 1947", "normalized":"Musca domestica Linnaeus 1758", "canonical":"Musca domestica", "hybrid":false, "details":[{"genus":{"string":"Musca"}, "species":{"string":"domestica", "authorship":"Linnaeus 1758", "basionymAuthorTeam":{"authorTeam":"Linnaeus", "author":["Linnaeus"], "year":"1758"}}}], "parser_version":"test_version", "parser_run":1, "positions":{"0":["genus", 5], "6":["species", 15], "16":["author_word", 24], "25":["year", 29]}}}
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: biodiversity19
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.20
4
+ version: 1.0.21
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -162,7 +162,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
162
162
  version: '0'
163
163
  segments:
164
164
  - 0
165
- hash: -1298219178266283746
165
+ hash: -4518593018536167902
166
166
  required_rubygems_version: !ruby/object:Gem::Requirement
167
167
  none: false
168
168
  requirements: