-
Notifications
You must be signed in to change notification settings - Fork 19
/
damerau-levenshtein.gemspec
39 lines (35 loc) · 1.72 KB
/
damerau-levenshtein.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# frozen_string_literal: true
$LOAD_PATH.push File.expand_path("lib", __dir__)
require "damerau-levenshtein/version"
Gem::Specification.new do |s|
s.required_ruby_version = ">= 2.4"
s.name = "damerau-levenshtein"
s.version = DamerauLevenshtein::VERSION
s.homepage = "https://github.com/GlobalNamesArchitecture/damerau-levenshtein"
s.authors = ["Dmitry Mozzherin"]
s.email = "dmozzherin@gmail.com"
s.license = "MIT"
s.summary = "Calculation of editing distance for 2 strings " \
"using Levenshtein or Damerau-Levenshtein algorithms"
s.description = "This gem implements pure Levenshtein algorithm, " \
"Damerau modification (where 2 character " \
"transposition counts as 1 edit distance). It also " \
"includes Boehmer & Rees 2008 modification, " \
"to handle transposition in blocks with more than " \
"2 characters (Boehmer & Rees 2008)."
s.files = `git ls-files -z`.split("\x0").
reject { |f| f.match(%r{^(test|spec|features)/}) }
s.extensions = ["ext/damerau_levenshtein/extconf.rb"]
s.require_paths = ["lib", "lib/damerau-levenshtein"]
s.add_development_dependency "bundler", "~> 2.5"
s.add_development_dependency "byebug", "~> 11.1"
s.add_development_dependency "coveralls", "~> 0.8"
s.add_development_dependency "cucumber", "~> 9.2"
s.add_development_dependency "rake", "~> 13.2"
s.add_development_dependency "rake-compiler", "~> 1.2"
s.add_development_dependency "rspec", "~> 3.13"
s.add_development_dependency "rubocop", "~> 1.66"
s.add_development_dependency "ruby-prof", "~> 1.7"
s.add_development_dependency "shoulda", "~> 4.0"
s.add_development_dependency "solargraph", "~> 0.50"
end