blob: be4ac76b4beb84850f2b0d867d36ac54a54b8d24 (
plain)
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
|
# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
begin
require_relative "lib/did_you_mean/version"
rescue LoadError # Fallback to load version file in ruby core repository
require_relative "version"
end
Gem::Specification.new do |spec|
spec.name = "did_you_mean"
spec.version = DidYouMean::VERSION
spec.authors = ["Yuki Nishijima"]
spec.email = ["[email protected]"]
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'
end
|