damerau-levenshtein 1.3.2 → 1.3.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +1 -0
- data/.ruby-version +1 -1
- data/.travis.yml +1 -0
- data/LICENSE.txt +1 -1
- data/README.md +8 -2
- data/damerau-levenshtein.gemspec +8 -7
- data/lib/damerau-levenshtein/damerau_levenshtein.so +0 -0
- data/lib/damerau-levenshtein/version.rb +1 -1
- metadata +33 -19
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1df0e124b37dd40f7d57bd0d96abcb1e0bdfef4d7dc38439ecdcddb8d292aa9b
|
4
|
+
data.tar.gz: '082576cec439a97f6c3bf262c52ec0e6f9dd26805971d9bc3791cdf9f5e2f1dc'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c705b20404d0f2a344cd55693fb207666b16505da67390a82f31ebb1df37fa8c260f121da6fe70447179ae14df34281b9cbfa2332ddcced34afb42acfc861817
|
7
|
+
data.tar.gz: 846aaab0f6c38fdc4bd4ab626de6aec11ddf213b845b75867cad3ee4bd728bf121efb12b0886ead512cfad24798f052bb2c81dd2b36ba43b8f1633d569768feb
|
data/.rubocop.yml
CHANGED
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.5.
|
1
|
+
2.5.8
|
data/.travis.yml
CHANGED
data/LICENSE.txt
CHANGED
data/README.md
CHANGED
@@ -224,11 +224,16 @@ This gem is following practices of [Semantic Versioning][semver]
|
|
224
224
|
|
225
225
|
## Contributors ##
|
226
226
|
|
227
|
-
[
|
227
|
+
[Alexey Zapparov][ixti],
|
228
|
+
[azhi][azhi],
|
229
|
+
[Fabian Winkler][wynksaiddestroy]
|
230
|
+
[Josephine Wright][jozr],
|
231
|
+
[lazylester][lazylester],
|
232
|
+
[Ran Xie][skarlit],
|
228
233
|
|
229
234
|
## Copyright ##
|
230
235
|
|
231
|
-
Copyright (c) 2011-
|
236
|
+
Copyright (c) 2011-2019 Dmitry Mozzherin. See LICENSE.txt for
|
232
237
|
further details.
|
233
238
|
|
234
239
|
[gem_svg]: https://badge.fury.io/rb/damerau-levenshtein.svg
|
@@ -248,3 +253,4 @@ further details.
|
|
248
253
|
[azhi]: https://github.com/azhi
|
249
254
|
[jozr]: https://github.com/jozr
|
250
255
|
[rees2014]: https://dx.doi.org/10.1371/journal.pone.0107510
|
256
|
+
[wynksaiddestroy]: https://github.com/wynksaiddestroy
|
data/damerau-levenshtein.gemspec
CHANGED
@@ -5,7 +5,7 @@ $LOAD_PATH.push File.expand_path("lib", __dir__)
|
|
5
5
|
require "damerau-levenshtein/version"
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
|
-
s.required_ruby_version = "
|
8
|
+
s.required_ruby_version = ">= 2.5"
|
9
9
|
s.name = "damerau-levenshtein"
|
10
10
|
s.version = DamerauLevenshtein::VERSION
|
11
11
|
s.homepage = "https://github.com/GlobalNamesArchitecture/damerau-levenshtein"
|
@@ -26,14 +26,15 @@ Gem::Specification.new do |s|
|
|
26
26
|
s.require_paths = ["lib", "lib/damerau-levenshtein"]
|
27
27
|
|
28
28
|
s.add_development_dependency "activesupport", "~> 6.0"
|
29
|
-
s.add_development_dependency "bundler", "~> 2.
|
29
|
+
s.add_development_dependency "bundler", "~> 2.1"
|
30
30
|
s.add_development_dependency "byebug", "~> 11.0"
|
31
31
|
s.add_development_dependency "coveralls", "~> 0.8"
|
32
|
-
s.add_development_dependency "cucumber", "~>
|
32
|
+
s.add_development_dependency "cucumber", "~> 4.1"
|
33
33
|
s.add_development_dependency "rake", "~> 13.0"
|
34
|
-
s.add_development_dependency "rake-compiler", "~> 1.
|
34
|
+
s.add_development_dependency "rake-compiler", "~> 1.1"
|
35
35
|
s.add_development_dependency "rspec", "~> 3.9"
|
36
|
-
s.add_development_dependency "rubocop", "~> 0.
|
37
|
-
s.add_development_dependency "ruby-prof", "~> 1.
|
38
|
-
s.add_development_dependency "shoulda", "~>
|
36
|
+
s.add_development_dependency "rubocop", "~> 0.88"
|
37
|
+
s.add_development_dependency "ruby-prof", "~> 1.4"
|
38
|
+
s.add_development_dependency "shoulda", "~> 4.0"
|
39
|
+
s.add_development_dependency "solargraph", "~> 0.39"
|
39
40
|
end
|
Binary file
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: damerau-levenshtein
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dmitry Mozzherin
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-07-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -30,14 +30,14 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '2.
|
33
|
+
version: '2.1'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '2.
|
40
|
+
version: '2.1'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: byebug
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -72,14 +72,14 @@ dependencies:
|
|
72
72
|
requirements:
|
73
73
|
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: '
|
75
|
+
version: '4.1'
|
76
76
|
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
80
|
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: '
|
82
|
+
version: '4.1'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: rake
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
@@ -100,14 +100,14 @@ dependencies:
|
|
100
100
|
requirements:
|
101
101
|
- - "~>"
|
102
102
|
- !ruby/object:Gem::Version
|
103
|
-
version: '1.
|
103
|
+
version: '1.1'
|
104
104
|
type: :development
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
108
|
- - "~>"
|
109
109
|
- !ruby/object:Gem::Version
|
110
|
-
version: '1.
|
110
|
+
version: '1.1'
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
112
|
name: rspec
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
@@ -128,42 +128,56 @@ dependencies:
|
|
128
128
|
requirements:
|
129
129
|
- - "~>"
|
130
130
|
- !ruby/object:Gem::Version
|
131
|
-
version: '0.
|
131
|
+
version: '0.88'
|
132
132
|
type: :development
|
133
133
|
prerelease: false
|
134
134
|
version_requirements: !ruby/object:Gem::Requirement
|
135
135
|
requirements:
|
136
136
|
- - "~>"
|
137
137
|
- !ruby/object:Gem::Version
|
138
|
-
version: '0.
|
138
|
+
version: '0.88'
|
139
139
|
- !ruby/object:Gem::Dependency
|
140
140
|
name: ruby-prof
|
141
141
|
requirement: !ruby/object:Gem::Requirement
|
142
142
|
requirements:
|
143
143
|
- - "~>"
|
144
144
|
- !ruby/object:Gem::Version
|
145
|
-
version: '1.
|
145
|
+
version: '1.4'
|
146
146
|
type: :development
|
147
147
|
prerelease: false
|
148
148
|
version_requirements: !ruby/object:Gem::Requirement
|
149
149
|
requirements:
|
150
150
|
- - "~>"
|
151
151
|
- !ruby/object:Gem::Version
|
152
|
-
version: '1.
|
152
|
+
version: '1.4'
|
153
153
|
- !ruby/object:Gem::Dependency
|
154
154
|
name: shoulda
|
155
155
|
requirement: !ruby/object:Gem::Requirement
|
156
156
|
requirements:
|
157
157
|
- - "~>"
|
158
158
|
- !ruby/object:Gem::Version
|
159
|
-
version: '
|
159
|
+
version: '4.0'
|
160
160
|
type: :development
|
161
161
|
prerelease: false
|
162
162
|
version_requirements: !ruby/object:Gem::Requirement
|
163
163
|
requirements:
|
164
164
|
- - "~>"
|
165
165
|
- !ruby/object:Gem::Version
|
166
|
-
version: '
|
166
|
+
version: '4.0'
|
167
|
+
- !ruby/object:Gem::Dependency
|
168
|
+
name: solargraph
|
169
|
+
requirement: !ruby/object:Gem::Requirement
|
170
|
+
requirements:
|
171
|
+
- - "~>"
|
172
|
+
- !ruby/object:Gem::Version
|
173
|
+
version: '0.39'
|
174
|
+
type: :development
|
175
|
+
prerelease: false
|
176
|
+
version_requirements: !ruby/object:Gem::Requirement
|
177
|
+
requirements:
|
178
|
+
- - "~>"
|
179
|
+
- !ruby/object:Gem::Version
|
180
|
+
version: '0.39'
|
167
181
|
description: This gem implements pure Levenshtein algorithm, Damerau modification
|
168
182
|
(where 2 character transposition counts as 1 edit distance). It also includes Boehmer
|
169
183
|
& Rees 2008 modification, to handle transposition in blocks with more than 2 characters
|
@@ -197,14 +211,14 @@ homepage: https://github.com/GlobalNamesArchitecture/damerau-levenshtein
|
|
197
211
|
licenses:
|
198
212
|
- MIT
|
199
213
|
metadata: {}
|
200
|
-
post_install_message:
|
214
|
+
post_install_message:
|
201
215
|
rdoc_options: []
|
202
216
|
require_paths:
|
203
217
|
- lib
|
204
218
|
- lib/damerau-levenshtein
|
205
219
|
required_ruby_version: !ruby/object:Gem::Requirement
|
206
220
|
requirements:
|
207
|
-
- - "
|
221
|
+
- - ">="
|
208
222
|
- !ruby/object:Gem::Version
|
209
223
|
version: '2.5'
|
210
224
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
@@ -213,9 +227,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
213
227
|
- !ruby/object:Gem::Version
|
214
228
|
version: '0'
|
215
229
|
requirements: []
|
216
|
-
rubyforge_project:
|
230
|
+
rubyforge_project:
|
217
231
|
rubygems_version: 2.7.6.2
|
218
|
-
signing_key:
|
232
|
+
signing_key:
|
219
233
|
specification_version: 4
|
220
234
|
summary: Calculation of editing distance for 2 strings using Levenshtein or Damerau-Levenshtein
|
221
235
|
algorithms
|