taxamatch_rb 0.9.8 → 0.9.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (6) hide show
  1. data/Gemfile +2 -2
  2. data/Gemfile.lock +46 -43
  3. data/README.rdoc +5 -6
  4. data/VERSION +1 -1
  5. data/taxamatch_rb.gemspec +9 -9
  6. metadata +10 -10
data/Gemfile CHANGED
@@ -2,7 +2,7 @@ source "http://rubygems.org"
2
2
  require 'yaml'
3
3
  # YAML::ENGINE.yamler= 'syck'
4
4
 
5
- gem "biodiversity19",">= 1.1.2"
5
+ gem "biodiversity19","~> 2.1"
6
6
  gem "damerau-levenshtein", ">= 0.5.4"
7
7
 
8
8
 
@@ -11,7 +11,7 @@ group :development do
11
11
  gem "rake-compiler"
12
12
  gem "rspec"
13
13
  gem "cucumber", ">= 0"
14
- gem "bundler", "~> 1.1.3"
14
+ gem "bundler", "~> 1.3"
15
15
  gem "jeweler", "~> 1.6.0"
16
16
  gem "debugger"
17
17
  gem "ruby-prof"
data/Gemfile.lock CHANGED
@@ -1,63 +1,66 @@
1
1
  GEM
2
2
  remote: http://rubygems.org/
3
3
  specs:
4
- activesupport (3.2.6)
5
- i18n (~> 0.6)
4
+ activesupport (3.2.13)
5
+ i18n (= 0.6.1)
6
6
  multi_json (~> 1.0)
7
- biodiversity19 (1.1.2)
7
+ biodiversity19 (2.1.0)
8
8
  parallel
9
- parallel
10
- treetop
9
+ parallel (~> 0.6)
10
+ rake (~> 10.0)
11
11
  treetop
12
- unicode_utils
13
- builder (3.0.0)
12
+ treetop (~> 1.4)
13
+ unicode_utils (~> 1.4)
14
+ builder (3.2.0)
14
15
  columnize (0.3.6)
15
- cucumber (1.2.1)
16
+ cucumber (1.3.1)
16
17
  builder (>= 2.1.2)
17
18
  diff-lcs (>= 1.1.3)
18
- gherkin (~> 2.11.0)
19
- json (>= 1.4.6)
20
- damerau-levenshtein (0.5.4)
21
- debugger (1.2.0)
19
+ gherkin (~> 2.12.0)
20
+ multi_json (~> 1.3)
21
+ damerau-levenshtein (1.0.0)
22
+ bundler (~> 1)
23
+ jeweler (~> 1)
24
+ rake (~> 10)
25
+ rake-compiler (~> 0.8)
26
+ debugger (1.5.0)
22
27
  columnize (>= 0.3.1)
23
- debugger-linecache (~> 1.1.1)
24
- debugger-ruby_core_source (~> 1.1.3)
25
- debugger-linecache (1.1.2)
26
- debugger-ruby_core_source (>= 1.1.1)
27
- debugger-ruby_core_source (1.1.3)
28
- diff-lcs (1.1.3)
29
- gherkin (2.11.1)
30
- json (>= 1.4.6)
28
+ debugger-linecache (~> 1.2.0)
29
+ debugger-ruby_core_source (~> 1.2.0)
30
+ debugger-linecache (1.2.0)
31
+ debugger-ruby_core_source (1.2.0)
32
+ diff-lcs (1.2.4)
33
+ gherkin (2.12.0)
34
+ multi_json (~> 1.3)
31
35
  git (1.2.5)
32
- i18n (0.6.0)
36
+ i18n (0.6.1)
33
37
  jeweler (1.6.4)
34
38
  bundler (~> 1.0)
35
39
  git (>= 1.2.5)
36
40
  rake
37
- json (1.7.3)
38
41
  metaclass (0.0.1)
39
- mocha (0.12.0)
42
+ mocha (0.13.3)
40
43
  metaclass (~> 0.0.1)
41
- multi_json (1.3.6)
42
- parallel (0.5.19)
44
+ multi_json (1.7.3)
45
+ parallel (0.6.4)
43
46
  polyglot (0.3.3)
44
- rake (0.9.2.2)
45
- rake-compiler (0.8.1)
47
+ rake (10.0.4)
48
+ rake-compiler (0.8.3)
46
49
  rake
47
- rspec (2.11.0)
48
- rspec-core (~> 2.11.0)
49
- rspec-expectations (~> 2.11.0)
50
- rspec-mocks (~> 2.11.0)
51
- rspec-core (2.11.1)
52
- rspec-expectations (2.11.2)
53
- diff-lcs (~> 1.1.3)
54
- rspec-mocks (2.11.2)
55
- ruby-prof (0.11.2)
56
- shoulda (3.1.1)
57
- shoulda-context (~> 1.0)
58
- shoulda-matchers (~> 1.2)
59
- shoulda-context (1.0.0)
60
- shoulda-matchers (1.2.0)
50
+ rspec (2.13.0)
51
+ rspec-core (~> 2.13.0)
52
+ rspec-expectations (~> 2.13.0)
53
+ rspec-mocks (~> 2.13.0)
54
+ rspec-core (2.13.1)
55
+ rspec-expectations (2.13.0)
56
+ diff-lcs (>= 1.1.3, < 2.0)
57
+ rspec-mocks (2.13.1)
58
+ ruby-prof (0.13.0)
59
+ shoulda (3.5.0)
60
+ shoulda-context (~> 1.0, >= 1.0.1)
61
+ shoulda-matchers (>= 1.4.1, < 3.0)
62
+ shoulda-context (1.1.1)
63
+ shoulda-matchers (2.1.0)
61
64
  activesupport (>= 3.0.0)
62
65
  treetop (1.4.12)
63
66
  polyglot
@@ -68,8 +71,8 @@ PLATFORMS
68
71
  ruby
69
72
 
70
73
  DEPENDENCIES
71
- biodiversity19 (>= 1.1.2)
72
- bundler (~> 1.1.3)
74
+ biodiversity19 (~> 2.1)
75
+ bundler (~> 1.3)
73
76
  cucumber
74
77
  damerau-levenshtein (>= 0.5.4)
75
78
  debugger
data/README.rdoc CHANGED
@@ -8,9 +8,9 @@ The purpose of Taxamatch gem is to facilitate fuzzy comparison of two scientific
8
8
  tm = Taxamatch::Base.new
9
9
  tm.taxamatch('Homo sapien', 'Homo sapiens') #returns true
10
10
  tm.taxamatch('Homo sapiens Linnaeus', 'Hommo sapens (Linn. 1758)') #returns true
11
- tm.taxamatch('Homo sapiens Mozzherin', 'Homo sapiens Linnaeus') #returns false
11
+ tm.taxamatch('Homo sapiens Mozzherin', 'Homo sapiens Linnaeus') #returns false
12
12
 
13
- Taxamatch_Rb is compatible with ruby versions 1.8.7 and 1.9.1 and higher
13
+ Taxamatch_Rb is compatible with ruby versions 1.9.1 and higher
14
14
 
15
15
  == Installation
16
16
 
@@ -18,11 +18,10 @@ Taxamatch_Rb is compatible with ruby versions 1.8.7 and 1.9.1 and higher
18
18
 
19
19
  == Usage
20
20
 
21
- require 'rubygems' #not needed for ruby > 1.9.1
22
21
  require 'taxamatch_rb'
23
22
 
24
23
  tm = Taxamatch::Base.new
25
-
24
+
26
25
  * compare full scientific names
27
26
 
28
27
  tm.taxamatch('Hommo sapiens L.', 'Homo sapiens Linnaeus')
@@ -38,11 +37,11 @@ Taxamatch_Rb is compatible with ruby versions 1.8.7 and 1.9.1 and higher
38
37
  tm.taxamatch_preparsed(parsed_name1, parsed_name2)
39
38
 
40
39
  * compare genera
41
-
40
+
42
41
  tm.match_genera('Monacanthus', 'MONOCANTUS')
43
42
 
44
43
  * compare species
45
-
44
+
46
45
  tm.match_species('fronticinctus', 'frontecinctus')
47
46
 
48
47
  * compare authors and years
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.9.8
1
+ 0.9.9
data/taxamatch_rb.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "taxamatch_rb"
8
- s.version = "0.9.8"
8
+ s.version = "0.9.9"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Dmitry Mozzherin"]
12
- s.date = "2012-11-29"
12
+ s.date = "2013-05-07"
13
13
  s.description = "This gem implements algorithm for fuzzy matching scientific names developed by Tony Rees"
14
14
  s.email = "dmozzherin@eol.org"
15
15
  s.extra_rdoc_files = [
@@ -38,33 +38,33 @@ Gem::Specification.new do |s|
38
38
  ]
39
39
  s.homepage = "http://github.com/GlobalNamesArchitecture/taxamatch_rb"
40
40
  s.require_paths = ["lib"]
41
- s.rubygems_version = "1.8.24"
41
+ s.rubygems_version = "1.8.25"
42
42
  s.summary = "Implementation of Tony Rees Taxamatch algorithms"
43
43
 
44
44
  if s.respond_to? :specification_version then
45
45
  s.specification_version = 3
46
46
 
47
47
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
48
- s.add_runtime_dependency(%q<biodiversity19>, [">= 1.1.2"])
48
+ s.add_runtime_dependency(%q<biodiversity19>, ["~> 2.1"])
49
49
  s.add_runtime_dependency(%q<damerau-levenshtein>, [">= 0.5.4"])
50
50
  s.add_development_dependency(%q<rake>, [">= 0"])
51
51
  s.add_development_dependency(%q<rake-compiler>, [">= 0"])
52
52
  s.add_development_dependency(%q<rspec>, [">= 0"])
53
53
  s.add_development_dependency(%q<cucumber>, [">= 0"])
54
- s.add_development_dependency(%q<bundler>, ["~> 1.1.3"])
54
+ s.add_development_dependency(%q<bundler>, ["~> 1.3"])
55
55
  s.add_development_dependency(%q<jeweler>, ["~> 1.6.0"])
56
56
  s.add_development_dependency(%q<debugger>, [">= 0"])
57
57
  s.add_development_dependency(%q<ruby-prof>, [">= 0"])
58
58
  s.add_development_dependency(%q<shoulda>, [">= 0"])
59
59
  s.add_development_dependency(%q<mocha>, [">= 0"])
60
60
  else
61
- s.add_dependency(%q<biodiversity19>, [">= 1.1.2"])
61
+ s.add_dependency(%q<biodiversity19>, ["~> 2.1"])
62
62
  s.add_dependency(%q<damerau-levenshtein>, [">= 0.5.4"])
63
63
  s.add_dependency(%q<rake>, [">= 0"])
64
64
  s.add_dependency(%q<rake-compiler>, [">= 0"])
65
65
  s.add_dependency(%q<rspec>, [">= 0"])
66
66
  s.add_dependency(%q<cucumber>, [">= 0"])
67
- s.add_dependency(%q<bundler>, ["~> 1.1.3"])
67
+ s.add_dependency(%q<bundler>, ["~> 1.3"])
68
68
  s.add_dependency(%q<jeweler>, ["~> 1.6.0"])
69
69
  s.add_dependency(%q<debugger>, [">= 0"])
70
70
  s.add_dependency(%q<ruby-prof>, [">= 0"])
@@ -72,13 +72,13 @@ Gem::Specification.new do |s|
72
72
  s.add_dependency(%q<mocha>, [">= 0"])
73
73
  end
74
74
  else
75
- s.add_dependency(%q<biodiversity19>, [">= 1.1.2"])
75
+ s.add_dependency(%q<biodiversity19>, ["~> 2.1"])
76
76
  s.add_dependency(%q<damerau-levenshtein>, [">= 0.5.4"])
77
77
  s.add_dependency(%q<rake>, [">= 0"])
78
78
  s.add_dependency(%q<rake-compiler>, [">= 0"])
79
79
  s.add_dependency(%q<rspec>, [">= 0"])
80
80
  s.add_dependency(%q<cucumber>, [">= 0"])
81
- s.add_dependency(%q<bundler>, ["~> 1.1.3"])
81
+ s.add_dependency(%q<bundler>, ["~> 1.3"])
82
82
  s.add_dependency(%q<jeweler>, ["~> 1.6.0"])
83
83
  s.add_dependency(%q<debugger>, [">= 0"])
84
84
  s.add_dependency(%q<ruby-prof>, [">= 0"])
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: taxamatch_rb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.8
4
+ version: 0.9.9
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,24 +9,24 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-11-29 00:00:00.000000000 Z
12
+ date: 2013-05-07 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: biodiversity19
16
16
  requirement: !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
- - - ! '>='
19
+ - - ~>
20
20
  - !ruby/object:Gem::Version
21
- version: 1.1.2
21
+ version: '2.1'
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
25
25
  none: false
26
26
  requirements:
27
- - - ! '>='
27
+ - - ~>
28
28
  - !ruby/object:Gem::Version
29
- version: 1.1.2
29
+ version: '2.1'
30
30
  - !ruby/object:Gem::Dependency
31
31
  name: damerau-levenshtein
32
32
  requirement: !ruby/object:Gem::Requirement
@@ -114,7 +114,7 @@ dependencies:
114
114
  requirements:
115
115
  - - ~>
116
116
  - !ruby/object:Gem::Version
117
- version: 1.1.3
117
+ version: '1.3'
118
118
  type: :development
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
@@ -122,7 +122,7 @@ dependencies:
122
122
  requirements:
123
123
  - - ~>
124
124
  - !ruby/object:Gem::Version
125
- version: 1.1.3
125
+ version: '1.3'
126
126
  - !ruby/object:Gem::Dependency
127
127
  name: jeweler
128
128
  requirement: !ruby/object:Gem::Requirement
@@ -244,7 +244,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
244
244
  version: '0'
245
245
  segments:
246
246
  - 0
247
- hash: 959693978105853185
247
+ hash: 1219096390958000283
248
248
  required_rubygems_version: !ruby/object:Gem::Requirement
249
249
  none: false
250
250
  requirements:
@@ -253,7 +253,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
253
253
  version: '0'
254
254
  requirements: []
255
255
  rubyforge_project:
256
- rubygems_version: 1.8.24
256
+ rubygems_version: 1.8.25
257
257
  signing_key:
258
258
  specification_version: 3
259
259
  summary: Implementation of Tony Rees Taxamatch algorithms