-
Notifications
You must be signed in to change notification settings - Fork 54
/
email_address.gemspec
37 lines (33 loc) · 1.72 KB
/
email_address.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
lib = File.expand_path("../lib", __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require "email_address/version"
Gem::Specification.new do |spec|
spec.name = "email_address"
spec.version = EmailAddress::VERSION
spec.authors = ["Allen Fair"]
spec.email = ["[email protected]"]
spec.description = "The EmailAddress Gem to work with and validate email addresses."
spec.summary = "This gem provides a ruby language library for working with and validating email addresses. By default, it validates against conventional usage, the format preferred for user email addresses. It can be configured to validate against RFC “Standard” formats, common email service provider formats, and perform DNS validation."
spec.homepage = "https://github.com/afair/email_address"
spec.license = "MIT"
spec.required_ruby_version = ">= 2.5", "< 4"
spec.files = `git ls-files`.split($/)
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
spec.require_paths = ["lib"]
spec.add_development_dependency "rake"
spec.add_development_dependency "minitest", "~> 5.11"
spec.add_development_dependency "bundler" # , "~> 1.16.0"
if RUBY_PLATFORM == "java"
spec.add_development_dependency "activerecord", "~> 5.2.6"
spec.add_development_dependency "activerecord-jdbcsqlite3-adapter", "~> 52.7"
else
spec.add_development_dependency "activerecord", "~> 6.1.4"
spec.add_development_dependency "sqlite3"
spec.add_development_dependency "standard", "~> 1.5.0"
end
spec.add_development_dependency "net-smtp"
spec.add_development_dependency "simplecov"
spec.add_development_dependency "pry"
spec.add_dependency "simpleidn"
end