-
-
Notifications
You must be signed in to change notification settings - Fork 64
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Technical/Change default Ruby version for test environment (#200)
* Changed default Ruby version for test environment * Updated CircleCI/rubocop/simplecov configs * Refactored Truemail::Validate::Smtp::Request::Session tests
- Loading branch information
Showing
6 changed files
with
67 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
# frozen_string_literal: true | ||
|
||
lib = File.expand_path('lib', __dir__) | ||
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) | ||
require 'truemail/version' | ||
|
||
Gem::Specification.new do |spec| | ||
spec.name = 'truemail' | ||
spec.version = Truemail::VERSION | ||
spec.authors = ['Vladislav Trotsenko'] | ||
spec.email = ['[email protected]'] | ||
|
||
spec.summary = %(truemail) | ||
spec.description = %(Configurable framework agnostic plain Ruby email validator. Verify email via Regex, DNS, SMTP and even more.) | ||
|
||
spec.homepage = 'https://github.com/truemail-rb/truemail' | ||
spec.license = 'MIT' | ||
|
||
spec.metadata = { | ||
'homepage_uri' => 'https://truemail-rb.org', | ||
'changelog_uri' => 'https://github.com/truemail-rb/truemail/blob/master/CHANGELOG.md', | ||
'source_code_uri' => 'https://github.com/truemail-rb/truemail', | ||
'documentation_uri' => 'https://truemail-rb.org/truemail-gem', | ||
'bug_tracker_uri' => 'https://github.com/truemail-rb/truemail/issues' | ||
} | ||
|
||
spec.required_ruby_version = '>= 2.5.0' | ||
|
||
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) } | ||
spec.bindir = 'exe' | ||
spec.executables = spec.files.grep(%r{^exe/}) { |f| ::File.basename(f) } | ||
spec.require_paths = ['lib'] | ||
|
||
spec.add_runtime_dependency 'net-smtp', '~> 0.3' if ::RUBY_VERSION >= '3.1.0' | ||
spec.add_runtime_dependency 'simpleidn', '~> 0.2.1' | ||
|
||
spec.add_development_dependency 'dns_mock', '~> 1.5' | ||
spec.add_development_dependency 'ffaker', '~> 2.20' | ||
spec.add_development_dependency 'json_matchers', '~> 0.11.1' | ||
spec.add_development_dependency 'pry-byebug', '~> 3.9' | ||
spec.add_development_dependency 'rake', '~> 13.0', '>= 13.0.6' | ||
spec.add_development_dependency 'rspec', '~> 3.10' | ||
spec.add_development_dependency 'simplecov', '~> 0.17.1' | ||
spec.add_development_dependency 'smtp_mock', '~> 0.1.1' | ||
spec.add_development_dependency 'truemail-rspec', '~> 0.7.0' | ||
spec.add_development_dependency 'webmock', '~> 3.14' | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -478,3 +478,6 @@ RSpec/SubjectDeclaration: | |
|
||
RSpec/FactoryBot/SyntaxMethods: | ||
Enabled: true | ||
|
||
RSpec/SubjectStub: | ||
Enabled: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
ruby-2.5.0 | ||
ruby-3.1.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters