├── .circleci ├── config.yml ├── gemspecs │ ├── compatible │ └── latest ├── linter_configs │ ├── .bundler-audit.yml │ ├── .commitspell.yml │ ├── .cspell.yml │ ├── .fasterer.yml │ ├── .lefthook.yml │ ├── .markdownlint.yml │ ├── .rubocop.yml │ └── .yamllint.yml └── scripts │ ├── changeloglint.sh │ ├── commitspell.sh │ ├── release.sh │ └── set_publisher_credentials.sh ├── .codeclimate.yml ├── .github ├── BRANCH_NAMING_CONVENTION.md ├── DEVELOPMENT_ENVIRONMENT_GUIDE.md ├── FUNDING.yml ├── ISSUE_TEMPLATE │ ├── bug_report.md │ ├── feature_request.md │ ├── issue_report.md │ └── question.md └── PULL_REQUEST_TEMPLATE.md ├── .gitignore ├── .reek.yml ├── .rspec ├── .ruby-gemset ├── .ruby-version ├── CHANGELOG.md ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── Gemfile ├── LICENSE.txt ├── README.md ├── Rakefile ├── bin ├── console ├── setup └── smtp_mock ├── lib ├── smtp_mock.rb └── smtp_mock │ ├── cli.rb │ ├── cli │ └── resolver.rb │ ├── command_line_args_builder.rb │ ├── core.rb │ ├── dependency.rb │ ├── error │ ├── argument.rb │ ├── dependency.rb │ └── server.rb │ ├── server.rb │ ├── server │ ├── port.rb │ └── process.rb │ ├── test_framework │ ├── rspec.rb │ └── rspec │ │ ├── helper.rb │ │ └── interface.rb │ └── version.rb ├── smtp_mock.gemspec ├── spec ├── smtp_mock │ ├── cli_spec.rb │ ├── command_line_args_builder_spec.rb │ ├── dependency_spec.rb │ ├── error │ │ ├── argument_spec.rb │ │ ├── dependency_spec.rb │ │ └── server_spec.rb │ ├── rspec_helper │ │ ├── client │ │ │ └── smtp_client_spec.rb │ │ ├── context_generator_spec.rb │ │ ├── dependency_spec.rb │ │ └── server_spec.rb │ ├── server │ │ ├── port_spec.rb │ │ └── process_spec.rb │ ├── server_spec.rb │ ├── test_framework │ │ └── rspec │ │ │ ├── helper_spec.rb │ │ │ └── interface_spec.rb │ └── version_spec.rb ├── smtp_mock_spec.rb ├── spec_helper.rb └── support │ ├── config │ ├── bundler.rb │ ├── ffaker.rb │ ├── pry.rb │ └── simplecov.rb │ ├── fixtures │ ├── err_log_empty │ └── err_log_with_context │ ├── helpers │ ├── client.rb │ ├── context_generator.rb │ ├── dependency.rb │ └── server.rb │ └── matchers │ ├── have_message_context.rb │ ├── have_status.rb │ └── match_semver_regex_pattern.rb └── tmp └── .gitkeep /.circleci/config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mocktools/ruby-smtp-mock/HEAD/.circleci/config.yml -------------------------------------------------------------------------------- /.circleci/gemspecs/compatible: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mocktools/ruby-smtp-mock/HEAD/.circleci/gemspecs/compatible -------------------------------------------------------------------------------- /.circleci/gemspecs/latest: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mocktools/ruby-smtp-mock/HEAD/.circleci/gemspecs/latest -------------------------------------------------------------------------------- /.circleci/linter_configs/.bundler-audit.yml: -------------------------------------------------------------------------------- 1 | --- 2 | 3 | ignore: 4 | - EXA-MPLE-XXXX 5 | -------------------------------------------------------------------------------- /.circleci/linter_configs/.commitspell.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mocktools/ruby-smtp-mock/HEAD/.circleci/linter_configs/.commitspell.yml -------------------------------------------------------------------------------- /.circleci/linter_configs/.cspell.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mocktools/ruby-smtp-mock/HEAD/.circleci/linter_configs/.cspell.yml -------------------------------------------------------------------------------- /.circleci/linter_configs/.fasterer.yml: -------------------------------------------------------------------------------- 1 | --- 2 | 3 | exclude_paths: 4 | - '.circleci/**/*.rb' 5 | -------------------------------------------------------------------------------- /.circleci/linter_configs/.lefthook.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mocktools/ruby-smtp-mock/HEAD/.circleci/linter_configs/.lefthook.yml -------------------------------------------------------------------------------- /.circleci/linter_configs/.markdownlint.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mocktools/ruby-smtp-mock/HEAD/.circleci/linter_configs/.markdownlint.yml -------------------------------------------------------------------------------- /.circleci/linter_configs/.rubocop.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mocktools/ruby-smtp-mock/HEAD/.circleci/linter_configs/.rubocop.yml -------------------------------------------------------------------------------- /.circleci/linter_configs/.yamllint.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mocktools/ruby-smtp-mock/HEAD/.circleci/linter_configs/.yamllint.yml -------------------------------------------------------------------------------- /.circleci/scripts/changeloglint.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mocktools/ruby-smtp-mock/HEAD/.circleci/scripts/changeloglint.sh -------------------------------------------------------------------------------- /.circleci/scripts/commitspell.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mocktools/ruby-smtp-mock/HEAD/.circleci/scripts/commitspell.sh -------------------------------------------------------------------------------- /.circleci/scripts/release.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mocktools/ruby-smtp-mock/HEAD/.circleci/scripts/release.sh -------------------------------------------------------------------------------- /.circleci/scripts/set_publisher_credentials.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mocktools/ruby-smtp-mock/HEAD/.circleci/scripts/set_publisher_credentials.sh -------------------------------------------------------------------------------- /.codeclimate.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mocktools/ruby-smtp-mock/HEAD/.codeclimate.yml -------------------------------------------------------------------------------- /.github/BRANCH_NAMING_CONVENTION.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mocktools/ruby-smtp-mock/HEAD/.github/BRANCH_NAMING_CONVENTION.md -------------------------------------------------------------------------------- /.github/DEVELOPMENT_ENVIRONMENT_GUIDE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mocktools/ruby-smtp-mock/HEAD/.github/DEVELOPMENT_ENVIRONMENT_GUIDE.md -------------------------------------------------------------------------------- /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | --- 2 | 3 | github: [bestwebua] 4 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mocktools/ruby-smtp-mock/HEAD/.github/ISSUE_TEMPLATE/bug_report.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mocktools/ruby-smtp-mock/HEAD/.github/ISSUE_TEMPLATE/feature_request.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/issue_report.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mocktools/ruby-smtp-mock/HEAD/.github/ISSUE_TEMPLATE/issue_report.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/question.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mocktools/ruby-smtp-mock/HEAD/.github/ISSUE_TEMPLATE/question.md -------------------------------------------------------------------------------- /.github/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mocktools/ruby-smtp-mock/HEAD/.github/PULL_REQUEST_TEMPLATE.md -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mocktools/ruby-smtp-mock/HEAD/.gitignore -------------------------------------------------------------------------------- /.reek.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mocktools/ruby-smtp-mock/HEAD/.reek.yml -------------------------------------------------------------------------------- /.rspec: -------------------------------------------------------------------------------- 1 | --require spec_helper 2 | --format documentation 3 | --color 4 | -------------------------------------------------------------------------------- /.ruby-gemset: -------------------------------------------------------------------------------- 1 | smtp_mock 2 | -------------------------------------------------------------------------------- /.ruby-version: -------------------------------------------------------------------------------- 1 | ruby-2.5.0 2 | -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mocktools/ruby-smtp-mock/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mocktools/ruby-smtp-mock/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mocktools/ruby-smtp-mock/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mocktools/ruby-smtp-mock/HEAD/Gemfile -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mocktools/ruby-smtp-mock/HEAD/LICENSE.txt -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mocktools/ruby-smtp-mock/HEAD/README.md -------------------------------------------------------------------------------- /Rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mocktools/ruby-smtp-mock/HEAD/Rakefile -------------------------------------------------------------------------------- /bin/console: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mocktools/ruby-smtp-mock/HEAD/bin/console -------------------------------------------------------------------------------- /bin/setup: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mocktools/ruby-smtp-mock/HEAD/bin/setup -------------------------------------------------------------------------------- /bin/smtp_mock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mocktools/ruby-smtp-mock/HEAD/bin/smtp_mock -------------------------------------------------------------------------------- /lib/smtp_mock.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mocktools/ruby-smtp-mock/HEAD/lib/smtp_mock.rb -------------------------------------------------------------------------------- /lib/smtp_mock/cli.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mocktools/ruby-smtp-mock/HEAD/lib/smtp_mock/cli.rb -------------------------------------------------------------------------------- /lib/smtp_mock/cli/resolver.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mocktools/ruby-smtp-mock/HEAD/lib/smtp_mock/cli/resolver.rb -------------------------------------------------------------------------------- /lib/smtp_mock/command_line_args_builder.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mocktools/ruby-smtp-mock/HEAD/lib/smtp_mock/command_line_args_builder.rb -------------------------------------------------------------------------------- /lib/smtp_mock/core.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mocktools/ruby-smtp-mock/HEAD/lib/smtp_mock/core.rb -------------------------------------------------------------------------------- /lib/smtp_mock/dependency.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mocktools/ruby-smtp-mock/HEAD/lib/smtp_mock/dependency.rb -------------------------------------------------------------------------------- /lib/smtp_mock/error/argument.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mocktools/ruby-smtp-mock/HEAD/lib/smtp_mock/error/argument.rb -------------------------------------------------------------------------------- /lib/smtp_mock/error/dependency.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mocktools/ruby-smtp-mock/HEAD/lib/smtp_mock/error/dependency.rb -------------------------------------------------------------------------------- /lib/smtp_mock/error/server.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mocktools/ruby-smtp-mock/HEAD/lib/smtp_mock/error/server.rb -------------------------------------------------------------------------------- /lib/smtp_mock/server.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mocktools/ruby-smtp-mock/HEAD/lib/smtp_mock/server.rb -------------------------------------------------------------------------------- /lib/smtp_mock/server/port.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mocktools/ruby-smtp-mock/HEAD/lib/smtp_mock/server/port.rb -------------------------------------------------------------------------------- /lib/smtp_mock/server/process.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mocktools/ruby-smtp-mock/HEAD/lib/smtp_mock/server/process.rb -------------------------------------------------------------------------------- /lib/smtp_mock/test_framework/rspec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mocktools/ruby-smtp-mock/HEAD/lib/smtp_mock/test_framework/rspec.rb -------------------------------------------------------------------------------- /lib/smtp_mock/test_framework/rspec/helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mocktools/ruby-smtp-mock/HEAD/lib/smtp_mock/test_framework/rspec/helper.rb -------------------------------------------------------------------------------- /lib/smtp_mock/test_framework/rspec/interface.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mocktools/ruby-smtp-mock/HEAD/lib/smtp_mock/test_framework/rspec/interface.rb -------------------------------------------------------------------------------- /lib/smtp_mock/version.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | module SmtpMock 4 | VERSION = '1.4.4' 5 | end 6 | -------------------------------------------------------------------------------- /smtp_mock.gemspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mocktools/ruby-smtp-mock/HEAD/smtp_mock.gemspec -------------------------------------------------------------------------------- /spec/smtp_mock/cli_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mocktools/ruby-smtp-mock/HEAD/spec/smtp_mock/cli_spec.rb -------------------------------------------------------------------------------- /spec/smtp_mock/command_line_args_builder_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mocktools/ruby-smtp-mock/HEAD/spec/smtp_mock/command_line_args_builder_spec.rb -------------------------------------------------------------------------------- /spec/smtp_mock/dependency_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mocktools/ruby-smtp-mock/HEAD/spec/smtp_mock/dependency_spec.rb -------------------------------------------------------------------------------- /spec/smtp_mock/error/argument_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mocktools/ruby-smtp-mock/HEAD/spec/smtp_mock/error/argument_spec.rb -------------------------------------------------------------------------------- /spec/smtp_mock/error/dependency_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mocktools/ruby-smtp-mock/HEAD/spec/smtp_mock/error/dependency_spec.rb -------------------------------------------------------------------------------- /spec/smtp_mock/error/server_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mocktools/ruby-smtp-mock/HEAD/spec/smtp_mock/error/server_spec.rb -------------------------------------------------------------------------------- /spec/smtp_mock/rspec_helper/client/smtp_client_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mocktools/ruby-smtp-mock/HEAD/spec/smtp_mock/rspec_helper/client/smtp_client_spec.rb -------------------------------------------------------------------------------- /spec/smtp_mock/rspec_helper/context_generator_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mocktools/ruby-smtp-mock/HEAD/spec/smtp_mock/rspec_helper/context_generator_spec.rb -------------------------------------------------------------------------------- /spec/smtp_mock/rspec_helper/dependency_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mocktools/ruby-smtp-mock/HEAD/spec/smtp_mock/rspec_helper/dependency_spec.rb -------------------------------------------------------------------------------- /spec/smtp_mock/rspec_helper/server_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mocktools/ruby-smtp-mock/HEAD/spec/smtp_mock/rspec_helper/server_spec.rb -------------------------------------------------------------------------------- /spec/smtp_mock/server/port_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mocktools/ruby-smtp-mock/HEAD/spec/smtp_mock/server/port_spec.rb -------------------------------------------------------------------------------- /spec/smtp_mock/server/process_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mocktools/ruby-smtp-mock/HEAD/spec/smtp_mock/server/process_spec.rb -------------------------------------------------------------------------------- /spec/smtp_mock/server_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mocktools/ruby-smtp-mock/HEAD/spec/smtp_mock/server_spec.rb -------------------------------------------------------------------------------- /spec/smtp_mock/test_framework/rspec/helper_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mocktools/ruby-smtp-mock/HEAD/spec/smtp_mock/test_framework/rspec/helper_spec.rb -------------------------------------------------------------------------------- /spec/smtp_mock/test_framework/rspec/interface_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mocktools/ruby-smtp-mock/HEAD/spec/smtp_mock/test_framework/rspec/interface_spec.rb -------------------------------------------------------------------------------- /spec/smtp_mock/version_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mocktools/ruby-smtp-mock/HEAD/spec/smtp_mock/version_spec.rb -------------------------------------------------------------------------------- /spec/smtp_mock_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mocktools/ruby-smtp-mock/HEAD/spec/smtp_mock_spec.rb -------------------------------------------------------------------------------- /spec/spec_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mocktools/ruby-smtp-mock/HEAD/spec/spec_helper.rb -------------------------------------------------------------------------------- /spec/support/config/bundler.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | require 'bundler/setup' 4 | -------------------------------------------------------------------------------- /spec/support/config/ffaker.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | require 'ffaker' 4 | -------------------------------------------------------------------------------- /spec/support/config/pry.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | require 'pry' if ::RUBY_VERSION[/\A3\.3.+\z/] 4 | -------------------------------------------------------------------------------- /spec/support/config/simplecov.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mocktools/ruby-smtp-mock/HEAD/spec/support/config/simplecov.rb -------------------------------------------------------------------------------- /spec/support/fixtures/err_log_empty: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /spec/support/fixtures/err_log_with_context: -------------------------------------------------------------------------------- 1 | Some error context here 2 | -------------------------------------------------------------------------------- /spec/support/helpers/client.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mocktools/ruby-smtp-mock/HEAD/spec/support/helpers/client.rb -------------------------------------------------------------------------------- /spec/support/helpers/context_generator.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mocktools/ruby-smtp-mock/HEAD/spec/support/helpers/context_generator.rb -------------------------------------------------------------------------------- /spec/support/helpers/dependency.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mocktools/ruby-smtp-mock/HEAD/spec/support/helpers/dependency.rb -------------------------------------------------------------------------------- /spec/support/helpers/server.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mocktools/ruby-smtp-mock/HEAD/spec/support/helpers/server.rb -------------------------------------------------------------------------------- /spec/support/matchers/have_message_context.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mocktools/ruby-smtp-mock/HEAD/spec/support/matchers/have_message_context.rb -------------------------------------------------------------------------------- /spec/support/matchers/have_status.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mocktools/ruby-smtp-mock/HEAD/spec/support/matchers/have_status.rb -------------------------------------------------------------------------------- /spec/support/matchers/match_semver_regex_pattern.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mocktools/ruby-smtp-mock/HEAD/spec/support/matchers/match_semver_regex_pattern.rb -------------------------------------------------------------------------------- /tmp/.gitkeep: -------------------------------------------------------------------------------- 1 | --------------------------------------------------------------------------------