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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '08637e3e7eb3789b7910dbb1d824aea39ac1e0a20a939cbf035a95f4657e50a0'
4
- data.tar.gz: 430fbf0ac5d6723becbb1be76f075422bcee05cf9a0e45ef7405dd065d321cb3
3
+ metadata.gz: 1df0e124b37dd40f7d57bd0d96abcb1e0bdfef4d7dc38439ecdcddb8d292aa9b
4
+ data.tar.gz: '082576cec439a97f6c3bf262c52ec0e6f9dd26805971d9bc3791cdf9f5e2f1dc'
5
5
  SHA512:
6
- metadata.gz: b0a24c262162ebcb8a310d352f6c2388f4e2067b9183d4804048909af2af81f504f477d9da8f9c614204e0c63905f7fff3e59e29c4c08ae4170fe886477ab37b
7
- data.tar.gz: 18ca5a38b06fc6d1d0177bcc30f5a9c37f6a040cbc1de061f41ba0cfd187d133baafe7c2fe57f1435eb7afd802f0f43502ed71ee7a77302348dd9acf407265e0
6
+ metadata.gz: c705b20404d0f2a344cd55693fb207666b16505da67390a82f31ebb1df37fa8c260f121da6fe70447179ae14df34281b9cbfa2332ddcced34afb42acfc861817
7
+ data.tar.gz: 846aaab0f6c38fdc4bd4ab626de6aec11ddf213b845b75867cad3ee4bd728bf121efb12b0886ead512cfad24798f052bb2c81dd2b36ba43b8f1633d569768feb
@@ -1,4 +1,5 @@
1
1
  AllCops:
2
+ NewCops: disable
2
3
  Exclude:
3
4
  - features/**/*
4
5
  - db/**/*
@@ -1 +1 @@
1
- 2.5.7
1
+ 2.5.8
@@ -1,6 +1,7 @@
1
1
  rvm:
2
2
  - 2.5
3
3
  - 2.6
4
+ - 2.7
4
5
  before_install: "gem update bundler"
5
6
  script:
6
7
  - "bundle exec rake"
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2011-2018 Dmitry Mozzherin
3
+ Copyright (c) 2011-2019 Dmitry Mozzherin
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining
6
6
  a copy of this software and associated documentation files (the
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
- [lazylester][lazylester], [Ran Xie][skarlit], [Alexey Zapparov][ixti], [azhi][azhi], [Josephine Wright][jozr]
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-2018 Dmitry Mozzherin. See LICENSE.txt for
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
@@ -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 = "~> 2.5"
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.0"
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", "~> 3.1"
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.0"
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.76"
37
- s.add_development_dependency "ruby-prof", "~> 1.0"
38
- s.add_development_dependency "shoulda", "~> 3.6"
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
@@ -2,5 +2,5 @@
2
2
 
3
3
  # Damerau Levenshtein algorithm
4
4
  module DamerauLevenshtein
5
- VERSION = "1.3.2"
5
+ VERSION = "1.3.3"
6
6
  end
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.2
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: 2019-11-16 00:00:00.000000000 Z
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.0'
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.0'
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: '3.1'
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: '3.1'
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.0'
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.0'
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.76'
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.76'
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.0'
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.0'
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: '3.6'
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: '3.6'
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