biodiversity19 1.0.4 → 1.0.5

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.4
1
+ 1.0.5
@@ -47,7 +47,7 @@ class ScientificNameParser
47
47
  end
48
48
 
49
49
  def virus?(a_string)
50
- !!(a_string.match(/\sICTV\s*$/) || a_string.match(/\s(virus|phage|viroid|satellite|prion)\b/i))
50
+ !!(a_string.match(/\sICTV\s*$/) || a_string.match(/\b(virus|viruses|phage|phages|viroid|viroids|satellite|satellites|prion|prions)\b/i))
51
51
  end
52
52
 
53
53
  def unknown_placement?(a_string)
@@ -265,6 +265,9 @@ Apple scar skin viroid|{"scientificName":{"parsed":false, "parser_version":"test
265
265
  Australian grapevine viroid [X17101] Australian grapevine viroid ICTV|{"scientificName":{"parsed":false, "parser_version":"test_version", "verbatim":"Australian grapevine viroid [X17101] Australian grapevine viroid ICTV", "virus":true}}
266
266
  Agents of Spongiform Encephalopathies CWD prion Chronic wasting disease|{"scientificName":{"parsed":false, "parser_version":"test_version", "verbatim":"Agents of Spongiform Encephalopathies CWD prion Chronic wasting disease", "virus":true}}
267
267
  Fakus prioni|{"scientificName":{"parsed":true, "verbatim":"Fakus prioni", "normalized":"Fakus prioni", "canonical":"Fakus prioni", "hybrid":false, "details":[{"genus":{"string":"Fakus"}, "species":{"string":"prioni"}}], "parser_version":"test_version", "parser_run":1, "positions":{"0":["genus", 5], "6":["species", 12]}}}
268
+ Phi h-like viruses|{"scientificName":{"parsed":false, "parser_version":"test_version", "verbatim":"Phi h-like viruses", "virus":true}}
269
+ Viroids|{"scientificName":{"parsed":false, "parser_version":"test_version", "verbatim":"Viroids", "virus":true}}
270
+ Fungal prions|{"scientificName":{"parsed":false, "parser_version":"test_version", "verbatim":"Fungal prions", "virus":true}}
268
271
 
269
272
  #double parenthesis
270
273
  Eichornia crassipes ( (Martius) ) Solms-Laub.|{"scientificName":{"parsed":true, "parser_version":"test_version", "parser_run":2,"verbatim":"Eichornia crassipes ( (Martius) ) Solms-Laub.","normalized":"Eichornia crassipes (Martius) Solms-Laub.","canonical":"Eichornia crassipes","hybrid":false,"details":[{"genus":{"string":"Eichornia"},"species":{"string":"crassipes","authorship":"( (Martius) ) Solms-Laub.","combinationAuthorTeam":{"authorTeam":"Solms-Laub.","author":["Solms-Laub."]},"basionymAuthorTeam":{"authorTeam":"Martius","author":["Martius"]}}}],"positions":{"0":["genus",9],"10":["species",19],"23":["author_word",30],"34":["author_word",45]}}}
metadata CHANGED
@@ -1,59 +1,48 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: biodiversity19
3
- version: !ruby/object:Gem::Version
4
- prerelease: false
5
- segments:
6
- - 1
7
- - 0
8
- - 4
9
- version: 1.0.4
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.5
5
+ prerelease:
10
6
  platform: ruby
11
- authors:
7
+ authors:
12
8
  - Dmitry Mozzherin
13
9
  autorequire:
14
10
  bindir: bin
15
11
  cert_chain: []
16
-
17
- date: 2011-08-03 00:00:00 -04:00
18
- default_executable:
19
- dependencies:
20
- - !ruby/object:Gem::Dependency
12
+ date: 2011-08-09 00:00:00.000000000Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
21
15
  name: treetop
22
- prerelease: false
23
- requirement: &id001 !ruby/object:Gem::Requirement
16
+ requirement: &70129715072740 !ruby/object:Gem::Requirement
24
17
  none: false
25
- requirements:
26
- - - ">="
27
- - !ruby/object:Gem::Version
28
- segments:
29
- - 0
30
- version: "0"
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: '0'
31
22
  type: :runtime
32
- version_requirements: *id001
33
- - !ruby/object:Gem::Dependency
34
- name: rspec
35
23
  prerelease: false
36
- requirement: &id002 !ruby/object:Gem::Requirement
24
+ version_requirements: *70129715072740
25
+ - !ruby/object:Gem::Dependency
26
+ name: rspec
27
+ requirement: &70129715071500 !ruby/object:Gem::Requirement
37
28
  none: false
38
- requirements:
39
- - - ">="
40
- - !ruby/object:Gem::Version
41
- segments:
42
- - 0
43
- version: "0"
29
+ requirements:
30
+ - - ! '>='
31
+ - !ruby/object:Gem::Version
32
+ version: '0'
44
33
  type: :development
45
- version_requirements: *id002
34
+ prerelease: false
35
+ version_requirements: *70129715071500
46
36
  description: Tools for biodiversity informatics
47
37
  email: dmozzherin@gmail.com
48
- executables:
38
+ executables:
49
39
  - nnparse
50
40
  - parserver
51
41
  extensions: []
52
-
53
- extra_rdoc_files:
42
+ extra_rdoc_files:
54
43
  - LICENSE
55
44
  - README.rdoc
56
- files:
45
+ files:
57
46
  - .document
58
47
  - LICENSE
59
48
  - README.rdoc
@@ -80,37 +69,28 @@ files:
80
69
  - spec/parser/spec_helper.rb
81
70
  - spec/parser/test_data.txt
82
71
  - spec/spec_helper.rb
83
- has_rdoc: true
84
72
  homepage: http://github.com/GlobalNamesArchitecture/biodiversity
85
73
  licenses: []
86
-
87
74
  post_install_message:
88
75
  rdoc_options: []
89
-
90
- require_paths:
76
+ require_paths:
91
77
  - lib
92
- required_ruby_version: !ruby/object:Gem::Requirement
78
+ required_ruby_version: !ruby/object:Gem::Requirement
93
79
  none: false
94
- requirements:
95
- - - ">="
96
- - !ruby/object:Gem::Version
97
- segments:
98
- - 0
99
- version: "0"
100
- required_rubygems_version: !ruby/object:Gem::Requirement
80
+ requirements:
81
+ - - ! '>='
82
+ - !ruby/object:Gem::Version
83
+ version: '0'
84
+ required_rubygems_version: !ruby/object:Gem::Requirement
101
85
  none: false
102
- requirements:
103
- - - ">="
104
- - !ruby/object:Gem::Version
105
- segments:
106
- - 0
107
- version: "0"
86
+ requirements:
87
+ - - ! '>='
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
108
90
  requirements: []
109
-
110
91
  rubyforge_project:
111
- rubygems_version: 1.3.7
92
+ rubygems_version: 1.8.6
112
93
  signing_key:
113
94
  specification_version: 3
114
95
  summary: Parser of scientific names
115
96
  test_files: []
116
-