-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
email_typo.gemspec
46 lines (38 loc) · 1.63 KB
/
email_typo.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
40
41
42
43
44
45
46
# frozen_string_literal: true
require_relative "./lib/email_typo/version"
Gem::Specification.new do |spec|
spec.name = "email_typo"
spec.version = EmailTypo::VERSION
spec.authors = ["Nando Vieira"]
spec.email = ["[email protected]"]
spec.summary = "Suggest fixes to a misspelled email address, like " \
spec.description = spec.summary
spec.license = "MIT"
spec.required_ruby_version = Gem::Requirement.new(">= 2.6.0")
github_url = "https://github.com/fnando/email_typo"
github_tree_url = "#{github_url}/tree/v#{spec.version}"
spec.homepage = github_url
spec.metadata["homepage_uri"] = spec.homepage
spec.metadata["bug_tracker_uri"] = "#{github_url}/issues"
spec.metadata["source_code_uri"] = github_tree_url
spec.metadata["changelog_uri"] = "#{github_tree_url}/CHANGELOG.md"
spec.metadata["documentation_uri"] = "#{github_tree_url}/README.md"
spec.metadata["license_uri"] = "#{github_tree_url}/LICENSE.md"
spec.files = Dir.chdir(File.expand_path(__dir__)) do
`git ls-files -z`
.split("\x0")
.reject {|f| f.match(%r{^(test|spec|features)/}) }
end
spec.bindir = "exe"
spec.executables = spec.files.grep(%r{^exe/}) {|f| File.basename(f) }
spec.require_paths = ["lib"]
spec.add_development_dependency "email_data"
spec.add_development_dependency "minitest"
spec.add_development_dependency "minitest-utils"
spec.add_development_dependency "pry-meta"
spec.add_development_dependency "rake"
spec.add_development_dependency "rubocop"
spec.add_development_dependency "rubocop-fnando"
spec.add_development_dependency "simplecov"
end