2019-10-29 17:08:37 +03:00
|
|
|
# coding: utf-8
|
|
|
|
lib = File.expand_path('../lib', __FILE__)
|
|
|
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
2019-12-05 12:14:31 +03:00
|
|
|
begin
|
|
|
|
require_relative "lib/did_you_mean/version"
|
|
|
|
rescue LoadError # Fallback to load version file in ruby core repository
|
|
|
|
require_relative "version"
|
|
|
|
end
|
2019-10-29 17:08:37 +03:00
|
|
|
|
|
|
|
Gem::Specification.new do |spec|
|
|
|
|
spec.name = "did_you_mean"
|
|
|
|
spec.version = DidYouMean::VERSION
|
|
|
|
spec.authors = ["Yuki Nishijima"]
|
|
|
|
spec.email = ["mail@yukinishijima.net"]
|
|
|
|
spec.summary = '"Did you mean?" experience in Ruby'
|
|
|
|
spec.description = 'The gem that has been saving people from typos since 2014.'
|
|
|
|
spec.homepage = "https://github.com/ruby/did_you_mean"
|
|
|
|
spec.license = "MIT"
|
|
|
|
|
|
|
|
spec.files = `git ls-files`.split($/).reject{|path| path.start_with?('evaluation/') }
|
|
|
|
spec.test_files = spec.files.grep(%r{^(test)/})
|
|
|
|
spec.require_paths = ["lib"]
|
|
|
|
|
|
|
|
spec.required_ruby_version = '>= 2.5.0'
|
|
|
|
|
|
|
|
spec.add_development_dependency "rake"
|
|
|
|
end
|