damerau-levenshtein 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +1 -0
- data/Gemfile +8 -8
- data/Gemfile.lock +7 -7
- data/README.md +1 -1
- data/VERSION +1 -1
- data/damerau-levenshtein.gemspec +13 -13
- metadata +10 -10
data/CHANGELOG
CHANGED
data/Gemfile
CHANGED
@@ -1,19 +1,19 @@
|
|
1
1
|
source 'https://rubygems.org'
|
2
2
|
|
3
|
-
gem 'bundler',
|
4
|
-
gem 'jeweler',
|
5
|
-
gem 'rake',
|
3
|
+
gem 'bundler', '~> 1.0'
|
4
|
+
gem 'jeweler', '~> 1.8'
|
5
|
+
gem 'rake', '~> 10.0'
|
6
6
|
gem 'rake-compiler', '~> 0.8'
|
7
7
|
|
8
8
|
group :development do
|
9
|
-
gem 'debugger', '~> 1'
|
9
|
+
gem 'debugger', '~> 1.4'
|
10
10
|
end
|
11
11
|
|
12
12
|
group :test do
|
13
|
-
gem 'rspec',
|
14
|
-
gem 'cucumber',
|
13
|
+
gem 'rspec', '~> 2.13'
|
14
|
+
gem 'cucumber', '~> 1.2'
|
15
15
|
gem 'simplecov', '~> 0.7'
|
16
16
|
gem 'ruby-prof', '~> 0.13'
|
17
|
-
gem 'shoulda',
|
18
|
-
gem 'mocha',
|
17
|
+
gem 'shoulda', '~> 3.3'
|
18
|
+
gem 'mocha', '~> 0.10'
|
19
19
|
end
|
data/Gemfile.lock
CHANGED
@@ -65,14 +65,14 @@ PLATFORMS
|
|
65
65
|
ruby
|
66
66
|
|
67
67
|
DEPENDENCIES
|
68
|
-
bundler (~> 1)
|
69
|
-
cucumber (~> 1)
|
70
|
-
debugger (~> 1)
|
71
|
-
jeweler (~> 1)
|
68
|
+
bundler (~> 1.0)
|
69
|
+
cucumber (~> 1.2)
|
70
|
+
debugger (~> 1.4)
|
71
|
+
jeweler (~> 1.8)
|
72
72
|
mocha (~> 0.10)
|
73
|
-
rake (~> 10)
|
73
|
+
rake (~> 10.0)
|
74
74
|
rake-compiler (~> 0.8)
|
75
|
-
rspec (~> 2)
|
75
|
+
rspec (~> 2.13)
|
76
76
|
ruby-prof (~> 0.13)
|
77
|
-
shoulda (~> 3)
|
77
|
+
shoulda (~> 3.3)
|
78
78
|
simplecov (~> 0.7)
|
data/README.md
CHANGED
@@ -18,7 +18,7 @@ of bigger than 1 character blocks is taken in account as well
|
|
18
18
|
DamerauLevenshtein.distance('Something', 'Smoething') #returns 1
|
19
19
|
|
20
20
|
Gem damerau-levenshtein is compatible with ruby versions 1.8.7
|
21
|
-
and 1.9.2 and higher
|
21
|
+
and 1.9.2 and higher, as well as 2.0.0 and higher
|
22
22
|
|
23
23
|
Installation
|
24
24
|
------------
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.1
|
data/damerau-levenshtein.gemspec
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = "damerau-levenshtein"
|
8
|
-
s.version = "1.0.
|
8
|
+
s.version = "1.0.1"
|
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"]
|
@@ -42,24 +42,24 @@ Gem::Specification.new do |s|
|
|
42
42
|
s.specification_version = 3
|
43
43
|
|
44
44
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
45
|
-
s.add_runtime_dependency(%q<bundler>, ["~> 1"])
|
46
|
-
s.add_runtime_dependency(%q<jeweler>, ["~> 1"])
|
47
|
-
s.add_runtime_dependency(%q<rake>, ["~> 10"])
|
45
|
+
s.add_runtime_dependency(%q<bundler>, ["~> 1.0"])
|
46
|
+
s.add_runtime_dependency(%q<jeweler>, ["~> 1.8"])
|
47
|
+
s.add_runtime_dependency(%q<rake>, ["~> 10.0"])
|
48
48
|
s.add_runtime_dependency(%q<rake-compiler>, ["~> 0.8"])
|
49
|
-
s.add_development_dependency(%q<debugger>, ["~> 1"])
|
49
|
+
s.add_development_dependency(%q<debugger>, ["~> 1.4"])
|
50
50
|
else
|
51
|
-
s.add_dependency(%q<bundler>, ["~> 1"])
|
52
|
-
s.add_dependency(%q<jeweler>, ["~> 1"])
|
53
|
-
s.add_dependency(%q<rake>, ["~> 10"])
|
51
|
+
s.add_dependency(%q<bundler>, ["~> 1.0"])
|
52
|
+
s.add_dependency(%q<jeweler>, ["~> 1.8"])
|
53
|
+
s.add_dependency(%q<rake>, ["~> 10.0"])
|
54
54
|
s.add_dependency(%q<rake-compiler>, ["~> 0.8"])
|
55
|
-
s.add_dependency(%q<debugger>, ["~> 1"])
|
55
|
+
s.add_dependency(%q<debugger>, ["~> 1.4"])
|
56
56
|
end
|
57
57
|
else
|
58
|
-
s.add_dependency(%q<bundler>, ["~> 1"])
|
59
|
-
s.add_dependency(%q<jeweler>, ["~> 1"])
|
60
|
-
s.add_dependency(%q<rake>, ["~> 10"])
|
58
|
+
s.add_dependency(%q<bundler>, ["~> 1.0"])
|
59
|
+
s.add_dependency(%q<jeweler>, ["~> 1.8"])
|
60
|
+
s.add_dependency(%q<rake>, ["~> 10.0"])
|
61
61
|
s.add_dependency(%q<rake-compiler>, ["~> 0.8"])
|
62
|
-
s.add_dependency(%q<debugger>, ["~> 1"])
|
62
|
+
s.add_dependency(%q<debugger>, ["~> 1.4"])
|
63
63
|
end
|
64
64
|
end
|
65
65
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: damerau-levenshtein
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -18,7 +18,7 @@ dependencies:
|
|
18
18
|
requirements:
|
19
19
|
- - ~>
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: '1'
|
21
|
+
version: '1.0'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ~>
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: '1'
|
29
|
+
version: '1.0'
|
30
30
|
- !ruby/object:Gem::Dependency
|
31
31
|
name: jeweler
|
32
32
|
requirement: !ruby/object:Gem::Requirement
|
@@ -34,7 +34,7 @@ dependencies:
|
|
34
34
|
requirements:
|
35
35
|
- - ~>
|
36
36
|
- !ruby/object:Gem::Version
|
37
|
-
version: '1'
|
37
|
+
version: '1.8'
|
38
38
|
type: :runtime
|
39
39
|
prerelease: false
|
40
40
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -42,7 +42,7 @@ dependencies:
|
|
42
42
|
requirements:
|
43
43
|
- - ~>
|
44
44
|
- !ruby/object:Gem::Version
|
45
|
-
version: '1'
|
45
|
+
version: '1.8'
|
46
46
|
- !ruby/object:Gem::Dependency
|
47
47
|
name: rake
|
48
48
|
requirement: !ruby/object:Gem::Requirement
|
@@ -50,7 +50,7 @@ dependencies:
|
|
50
50
|
requirements:
|
51
51
|
- - ~>
|
52
52
|
- !ruby/object:Gem::Version
|
53
|
-
version: '10'
|
53
|
+
version: '10.0'
|
54
54
|
type: :runtime
|
55
55
|
prerelease: false
|
56
56
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -58,7 +58,7 @@ dependencies:
|
|
58
58
|
requirements:
|
59
59
|
- - ~>
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: '10'
|
61
|
+
version: '10.0'
|
62
62
|
- !ruby/object:Gem::Dependency
|
63
63
|
name: rake-compiler
|
64
64
|
requirement: !ruby/object:Gem::Requirement
|
@@ -82,7 +82,7 @@ dependencies:
|
|
82
82
|
requirements:
|
83
83
|
- - ~>
|
84
84
|
- !ruby/object:Gem::Version
|
85
|
-
version: '1'
|
85
|
+
version: '1.4'
|
86
86
|
type: :development
|
87
87
|
prerelease: false
|
88
88
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -90,7 +90,7 @@ dependencies:
|
|
90
90
|
requirements:
|
91
91
|
- - ~>
|
92
92
|
- !ruby/object:Gem::Version
|
93
|
-
version: '1'
|
93
|
+
version: '1.4'
|
94
94
|
description: Calculation of editing distance for 2 strings using Levenshtein or
|
95
95
|
Damerau-Levenshtein algorithms
|
96
96
|
email: dmozzherin@gmail.com
|
@@ -130,7 +130,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
130
130
|
version: '0'
|
131
131
|
segments:
|
132
132
|
- 0
|
133
|
-
hash:
|
133
|
+
hash: 2839315149430228147
|
134
134
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
135
135
|
none: false
|
136
136
|
requirements:
|