smtp_mock 1.2.2 → 1.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/smtp_mock/command_line_args_builder.rb +1 -1
- data/lib/smtp_mock/version.rb +1 -1
- data/smtp_mock.gemspec +9 -7
- metadata +7 -31
- data/.circleci/config.yml +0 -147
- data/.circleci/gemspec_compatible +0 -36
- data/.circleci/gemspec_latest +0 -47
- data/.codeclimate.yml +0 -13
- data/.github/BRANCH_NAMING_CONVENTION.md +0 -36
- data/.github/DEVELOPMENT_ENVIRONMENT_GUIDE.md +0 -26
- data/.github/FUNDING.yml +0 -1
- data/.github/ISSUE_TEMPLATE/bug_report.md +0 -28
- data/.github/ISSUE_TEMPLATE/feature_request.md +0 -27
- data/.github/ISSUE_TEMPLATE/issue_report.md +0 -28
- data/.github/ISSUE_TEMPLATE/question.md +0 -22
- data/.github/PULL_REQUEST_TEMPLATE.md +0 -49
- data/.gitignore +0 -12
- data/.overcommit.yml +0 -32
- data/.reek.yml +0 -31
- data/.rspec +0 -3
- data/.rubocop.yml +0 -123
- data/.ruby-gemset +0 -1
- data/CHANGELOG.md +0 -104
- data/CODE_OF_CONDUCT.md +0 -74
- data/CONTRIBUTING.md +0 -48
- data/Gemfile +0 -5
- data/README.md +0 -260
- data/Rakefile +0 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d37e8ce17d9dc8f782957fd32323c3932c8d209482ee20af50a6fb9e54e728d5
|
4
|
+
data.tar.gz: 84f77b8cb15d2a905447d0b10bac63adf9b6572b150d2133d889353a4d503cdc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 236236bcd69777430a75b52bdc4548152fdbbc82f68b8a052ced1201dd8f8e74e900fc18626fd9bdfb61963ebfb413a6a7723b8b5a9fdc62b085f1c2ab7e6288
|
7
|
+
data.tar.gz: f218bb2b1464a7a2c18b7074546e19cc2633e7eac354816c812dedd2f2bb4e392eee09a09ae37b6c0b4fa9dff86ff123bc5781bd1fcf01a4b77924e2f458b499
|
@@ -14,7 +14,7 @@ module SmtpMock
|
|
14
14
|
blacklisted_rcptto_emails
|
15
15
|
not_registered_emails
|
16
16
|
].freeze,
|
17
|
-
SmtpMock::Types::Bool.constrained(eql: true) => %i[log fail_fast multiple_message_receiving].freeze,
|
17
|
+
SmtpMock::Types::Bool.constrained(eql: true) => %i[log fail_fast multiple_rcptto multiple_message_receiving].freeze,
|
18
18
|
SmtpMock::Types::Integer.constrained(gteq: 1) => %i[
|
19
19
|
port
|
20
20
|
session_timeout
|
data/lib/smtp_mock/version.rb
CHANGED
data/smtp_mock.gemspec
CHANGED
@@ -6,7 +6,7 @@ Gem::Specification.new do |spec|
|
|
6
6
|
spec.name = 'smtp_mock'
|
7
7
|
spec.version = SmtpMock::VERSION
|
8
8
|
spec.authors = ['Vladislav Trotsenko']
|
9
|
-
spec.email = [
|
9
|
+
spec.email = %w[admin@bestweb.com.ua]
|
10
10
|
|
11
11
|
spec.summary = %(smtp_mock)
|
12
12
|
spec.description = %(💎 Ruby SMTP mock. Mimic any SMTP server behaviour for your test environment.)
|
@@ -22,17 +22,19 @@ Gem::Specification.new do |spec|
|
|
22
22
|
'bug_tracker_uri' => 'https://github.com/mocktools/ruby-smtp-mock/issues'
|
23
23
|
}
|
24
24
|
|
25
|
-
|
25
|
+
current_ruby_version = ::Gem::Version.new(::RUBY_VERSION)
|
26
|
+
dry_struct_version = current_ruby_version >= ::Gem::Version.new('2.7.0') ? '~> 1.6' : '~> 1.4'
|
26
27
|
|
27
|
-
spec.
|
28
|
-
spec.
|
28
|
+
spec.required_ruby_version = '>= 2.5.0'
|
29
|
+
spec.files = `git ls-files -z`.split("\x0").select { |f| f.match(%r{^(bin|lib|tmp)/|.ruby-version|smtp_mock.gemspec|LICENSE}) }
|
30
|
+
spec.executables = %w[smtp_mock]
|
29
31
|
spec.require_paths = %w[lib]
|
30
32
|
spec.post_install_message = 'smtpmock is required system dependency. For more details run: `bundle exec smtp_mock -h`'
|
31
33
|
|
32
|
-
spec.add_runtime_dependency 'dry-struct',
|
34
|
+
spec.add_runtime_dependency 'dry-struct', dry_struct_version
|
33
35
|
|
34
36
|
spec.add_development_dependency 'ffaker', '~> 2.21'
|
35
|
-
spec.add_development_dependency 'net-smtp', '~> 0.3.
|
37
|
+
spec.add_development_dependency 'net-smtp', '~> 0.3.3' if current_ruby_version >= ::Gem::Version.new('3.1.0')
|
36
38
|
spec.add_development_dependency 'rake', '~> 13.0', '>= 13.0.6'
|
37
|
-
spec.add_development_dependency 'rspec', '~> 3.
|
39
|
+
spec.add_development_dependency 'rspec', '~> 3.12'
|
38
40
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: smtp_mock
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Vladislav Trotsenko
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-12-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: dry-struct
|
@@ -64,14 +64,14 @@ dependencies:
|
|
64
64
|
requirements:
|
65
65
|
- - "~>"
|
66
66
|
- !ruby/object:Gem::Version
|
67
|
-
version: '3.
|
67
|
+
version: '3.12'
|
68
68
|
type: :development
|
69
69
|
prerelease: false
|
70
70
|
version_requirements: !ruby/object:Gem::Requirement
|
71
71
|
requirements:
|
72
72
|
- - "~>"
|
73
73
|
- !ruby/object:Gem::Version
|
74
|
-
version: '3.
|
74
|
+
version: '3.12'
|
75
75
|
description: "\U0001F48E Ruby SMTP mock. Mimic any SMTP server behaviour for your
|
76
76
|
test environment."
|
77
77
|
email:
|
@@ -81,32 +81,8 @@ executables:
|
|
81
81
|
extensions: []
|
82
82
|
extra_rdoc_files: []
|
83
83
|
files:
|
84
|
-
- ".circleci/config.yml"
|
85
|
-
- ".circleci/gemspec_compatible"
|
86
|
-
- ".circleci/gemspec_latest"
|
87
|
-
- ".codeclimate.yml"
|
88
|
-
- ".github/BRANCH_NAMING_CONVENTION.md"
|
89
|
-
- ".github/DEVELOPMENT_ENVIRONMENT_GUIDE.md"
|
90
|
-
- ".github/FUNDING.yml"
|
91
|
-
- ".github/ISSUE_TEMPLATE/bug_report.md"
|
92
|
-
- ".github/ISSUE_TEMPLATE/feature_request.md"
|
93
|
-
- ".github/ISSUE_TEMPLATE/issue_report.md"
|
94
|
-
- ".github/ISSUE_TEMPLATE/question.md"
|
95
|
-
- ".github/PULL_REQUEST_TEMPLATE.md"
|
96
|
-
- ".gitignore"
|
97
|
-
- ".overcommit.yml"
|
98
|
-
- ".reek.yml"
|
99
|
-
- ".rspec"
|
100
|
-
- ".rubocop.yml"
|
101
|
-
- ".ruby-gemset"
|
102
84
|
- ".ruby-version"
|
103
|
-
- CHANGELOG.md
|
104
|
-
- CODE_OF_CONDUCT.md
|
105
|
-
- CONTRIBUTING.md
|
106
|
-
- Gemfile
|
107
85
|
- LICENSE.txt
|
108
|
-
- README.md
|
109
|
-
- Rakefile
|
110
86
|
- bin/console
|
111
87
|
- bin/setup
|
112
88
|
- bin/smtp_mock
|
@@ -153,8 +129,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
153
129
|
- !ruby/object:Gem::Version
|
154
130
|
version: '0'
|
155
131
|
requirements: []
|
156
|
-
rubygems_version: 3.2.
|
157
|
-
signing_key:
|
132
|
+
rubygems_version: 3.2.15
|
133
|
+
signing_key:
|
158
134
|
specification_version: 4
|
159
135
|
summary: smtp_mock
|
160
136
|
test_files: []
|
data/.circleci/config.yml
DELETED
@@ -1,147 +0,0 @@
|
|
1
|
-
version: 2.1
|
2
|
-
|
3
|
-
defaults: &defaults
|
4
|
-
working_directory: ~/ruby-smtp-mock
|
5
|
-
docker:
|
6
|
-
- image: cimg/ruby:<< parameters.ruby-version >>
|
7
|
-
|
8
|
-
orbs:
|
9
|
-
ruby: circleci/ruby@1.8.0
|
10
|
-
|
11
|
-
references:
|
12
|
-
restore_bundle_cache: &restore_bundle_cache
|
13
|
-
restore_cache:
|
14
|
-
keys:
|
15
|
-
- ruby-smtp-mock-{{ checksum "smtp_mock.gemspec" }}
|
16
|
-
|
17
|
-
bundle_install: &bundle_install
|
18
|
-
run:
|
19
|
-
name: Installing gems
|
20
|
-
command: |
|
21
|
-
bundle config set --local path 'vendor/bundle'
|
22
|
-
bundle install
|
23
|
-
|
24
|
-
save_bundle_cache: &save_bundle_cache
|
25
|
-
save_cache:
|
26
|
-
key: ruby-smtp-mock-{{ checksum "smtp_mock.gemspec" }}
|
27
|
-
paths:
|
28
|
-
- vendor/bundle
|
29
|
-
|
30
|
-
system_dependencies: &system_dependencies
|
31
|
-
run:
|
32
|
-
name: Installing system requirements
|
33
|
-
command: |
|
34
|
-
bundle exec smtp_mock -s -i ~
|
35
|
-
|
36
|
-
install_codeclimate_reporter: &install_codeclimate_reporter
|
37
|
-
run:
|
38
|
-
name: Installing CodeClimate test reporter
|
39
|
-
command: |
|
40
|
-
curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
|
41
|
-
chmod +x ./cc-test-reporter
|
42
|
-
|
43
|
-
use_latest_gemspec: &use_latest_gemspec
|
44
|
-
run:
|
45
|
-
name: Using latest gemspec
|
46
|
-
command: |
|
47
|
-
cp .circleci/gemspec_latest smtp_mock.gemspec
|
48
|
-
|
49
|
-
use_compatible_gemspec: &use_compatible_gemspec
|
50
|
-
run:
|
51
|
-
name: Using compatible gemspec
|
52
|
-
command: |
|
53
|
-
cp .circleci/gemspec_compatible smtp_mock.gemspec
|
54
|
-
|
55
|
-
jobs:
|
56
|
-
linters-ruby:
|
57
|
-
parameters:
|
58
|
-
ruby-version:
|
59
|
-
type: string
|
60
|
-
|
61
|
-
<<: *defaults
|
62
|
-
|
63
|
-
steps:
|
64
|
-
- checkout
|
65
|
-
|
66
|
-
- <<: *use_latest_gemspec
|
67
|
-
- <<: *restore_bundle_cache
|
68
|
-
- <<: *bundle_install
|
69
|
-
- <<: *save_bundle_cache
|
70
|
-
|
71
|
-
- run:
|
72
|
-
name: Running Overcommit
|
73
|
-
command: |
|
74
|
-
bundle exec overcommit -s
|
75
|
-
SKIP=AuthorEmail,AuthorName bundle exec overcommit -r
|
76
|
-
|
77
|
-
tests-ruby:
|
78
|
-
parameters:
|
79
|
-
ruby-version:
|
80
|
-
type: string
|
81
|
-
|
82
|
-
<<: *defaults
|
83
|
-
|
84
|
-
steps:
|
85
|
-
- checkout
|
86
|
-
|
87
|
-
- <<: *use_latest_gemspec
|
88
|
-
- <<: *restore_bundle_cache
|
89
|
-
- <<: *bundle_install
|
90
|
-
- <<: *save_bundle_cache
|
91
|
-
- <<: *system_dependencies
|
92
|
-
- <<: *install_codeclimate_reporter
|
93
|
-
|
94
|
-
- run:
|
95
|
-
name: Running RSpec
|
96
|
-
command: |
|
97
|
-
./cc-test-reporter before-build
|
98
|
-
bundle exec rspec
|
99
|
-
|
100
|
-
- run:
|
101
|
-
name: Creating CodeClimate test coverage report
|
102
|
-
command: |
|
103
|
-
./cc-test-reporter format-coverage -t simplecov -o "coverage/codeclimate.$CIRCLE_NODE_INDEX.json"
|
104
|
-
|
105
|
-
- store_artifacts:
|
106
|
-
name: Saving Simplecov coverage artifacts
|
107
|
-
path: ~/ruby-smtp-mock/coverage
|
108
|
-
destination: coverage
|
109
|
-
|
110
|
-
- deploy:
|
111
|
-
name: Uploading CodeClimate test coverage report
|
112
|
-
command: |
|
113
|
-
./cc-test-reporter sum-coverage --output - --parts $CIRCLE_NODE_TOTAL coverage/codeclimate.*.json | ./cc-test-reporter upload-coverage --debug --input -
|
114
|
-
|
115
|
-
compatibility-ruby:
|
116
|
-
parameters:
|
117
|
-
ruby-version:
|
118
|
-
type: string
|
119
|
-
docker:
|
120
|
-
- image: cimg/ruby:<< parameters.ruby-version >>
|
121
|
-
steps:
|
122
|
-
- checkout
|
123
|
-
- <<: *use_compatible_gemspec
|
124
|
-
- ruby/install-deps:
|
125
|
-
bundler-version: "2.3.23"
|
126
|
-
with-cache: false
|
127
|
-
path: './vendor/custom_bundle'
|
128
|
-
- <<: *system_dependencies
|
129
|
-
- run:
|
130
|
-
name: Running compatibility tests
|
131
|
-
command: bundle exec rspec
|
132
|
-
|
133
|
-
workflows:
|
134
|
-
build_and_test:
|
135
|
-
jobs:
|
136
|
-
- linters-ruby:
|
137
|
-
matrix:
|
138
|
-
parameters:
|
139
|
-
ruby-version: ["3.1"]
|
140
|
-
- tests-ruby:
|
141
|
-
matrix:
|
142
|
-
parameters:
|
143
|
-
ruby-version: ["3.1"]
|
144
|
-
- compatibility-ruby:
|
145
|
-
matrix:
|
146
|
-
parameters:
|
147
|
-
ruby-version: ["2.5", "2.6", "2.7", "3.0"]
|
@@ -1,36 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
require_relative 'lib/smtp_mock/version'
|
4
|
-
|
5
|
-
Gem::Specification.new do |spec|
|
6
|
-
spec.name = 'smtp_mock'
|
7
|
-
spec.version = SmtpMock::VERSION
|
8
|
-
spec.authors = ['Vladislav Trotsenko']
|
9
|
-
spec.email = ['admin@bestweb.com.ua']
|
10
|
-
|
11
|
-
spec.summary = %(smtp_mock)
|
12
|
-
spec.description = %(💎 Ruby SMTP mock. Mimic any SMTP server behaviour for your test environment.)
|
13
|
-
|
14
|
-
spec.homepage = 'https://github.com/mocktools/ruby-smtp-mock'
|
15
|
-
spec.license = 'MIT'
|
16
|
-
|
17
|
-
spec.metadata = {
|
18
|
-
'homepage_uri' => 'https://github.com/mocktools/ruby-smtp-mock',
|
19
|
-
'changelog_uri' => 'https://github.com/mocktools/ruby-smtp-mock/blob/master/CHANGELOG.md',
|
20
|
-
'source_code_uri' => 'https://github.com/mocktools/ruby-smtp-mock',
|
21
|
-
'documentation_uri' => 'https://github.com/mocktools/ruby-smtp-mock/blob/master/README.md',
|
22
|
-
'bug_tracker_uri' => 'https://github.com/mocktools/ruby-smtp-mock/issues'
|
23
|
-
}
|
24
|
-
|
25
|
-
spec.required_ruby_version = '>= 2.5.0'
|
26
|
-
|
27
|
-
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
28
|
-
spec.executables = %w[smtp_mock]
|
29
|
-
spec.require_paths = %w[lib]
|
30
|
-
|
31
|
-
spec.add_runtime_dependency 'dry-struct', '~> 1.4'
|
32
|
-
|
33
|
-
spec.add_development_dependency 'ffaker', '~> 2.21'
|
34
|
-
spec.add_development_dependency 'rake', '~> 13.0', '>= 13.0.6'
|
35
|
-
spec.add_development_dependency 'rspec', '~> 3.11'
|
36
|
-
end
|
data/.circleci/gemspec_latest
DELETED
@@ -1,47 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
require_relative 'lib/smtp_mock/version'
|
4
|
-
|
5
|
-
Gem::Specification.new do |spec|
|
6
|
-
spec.name = 'smtp_mock'
|
7
|
-
spec.version = SmtpMock::VERSION
|
8
|
-
spec.authors = ['Vladislav Trotsenko']
|
9
|
-
spec.email = ['admin@bestweb.com.ua']
|
10
|
-
|
11
|
-
spec.summary = %(smtp_mock)
|
12
|
-
spec.description = %(💎 Ruby SMTP mock. Mimic any SMTP server behaviour for your test environment.)
|
13
|
-
|
14
|
-
spec.homepage = 'https://github.com/mocktools/ruby-smtp-mock'
|
15
|
-
spec.license = 'MIT'
|
16
|
-
|
17
|
-
spec.metadata = {
|
18
|
-
'homepage_uri' => 'https://github.com/mocktools/ruby-smtp-mock',
|
19
|
-
'changelog_uri' => 'https://github.com/mocktools/ruby-smtp-mock/blob/master/CHANGELOG.md',
|
20
|
-
'source_code_uri' => 'https://github.com/mocktools/ruby-smtp-mock',
|
21
|
-
'documentation_uri' => 'https://github.com/mocktools/ruby-smtp-mock/blob/master/README.md',
|
22
|
-
'bug_tracker_uri' => 'https://github.com/mocktools/ruby-smtp-mock/issues'
|
23
|
-
}
|
24
|
-
|
25
|
-
spec.required_ruby_version = '>= 2.5.0'
|
26
|
-
|
27
|
-
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
28
|
-
spec.executables = %w[smtp_mock]
|
29
|
-
spec.require_paths = %w[lib]
|
30
|
-
spec.post_install_message = 'smtpmock is required system dependency. For more details run: `bundle exec smtp_mock -h`'
|
31
|
-
|
32
|
-
spec.add_runtime_dependency 'dry-struct', '~> 1.4'
|
33
|
-
|
34
|
-
spec.add_development_dependency 'bundler-audit', '~> 0.9.1'
|
35
|
-
spec.add_development_dependency 'fasterer', '~> 0.10.0'
|
36
|
-
spec.add_development_dependency 'ffaker', '~> 2.21'
|
37
|
-
spec.add_development_dependency 'net-smtp', '~> 0.3.2'
|
38
|
-
spec.add_development_dependency 'overcommit', '~> 0.59.1'
|
39
|
-
spec.add_development_dependency 'pry-byebug', '~> 3.10', '>= 3.10.1'
|
40
|
-
spec.add_development_dependency 'rake', '~> 13.0', '>= 13.0.6'
|
41
|
-
spec.add_development_dependency 'reek', '~> 6.1', '>= 6.1.1'
|
42
|
-
spec.add_development_dependency 'rspec', '~> 3.11'
|
43
|
-
spec.add_development_dependency 'rubocop', '~> 1.36'
|
44
|
-
spec.add_development_dependency 'rubocop-performance', '~> 1.15'
|
45
|
-
spec.add_development_dependency 'rubocop-rspec', '~> 2.13', '>= 2.13.2'
|
46
|
-
spec.add_development_dependency 'simplecov', '~> 0.21.2'
|
47
|
-
end
|
data/.codeclimate.yml
DELETED
@@ -1,36 +0,0 @@
|
|
1
|
-
# Branch naming convention
|
2
|
-
|
3
|
-
## Branch naming
|
4
|
-
|
5
|
-
> Please note for new pull requests create new branches from current `develop` branch only.
|
6
|
-
|
7
|
-
Branch name should include type of your contribution and context. Please follow next pattern for naming your branches:
|
8
|
-
|
9
|
-
```bash
|
10
|
-
feature/add-some-feature
|
11
|
-
technical/some-technical-improvements
|
12
|
-
bugfix/fix-some-bug-name
|
13
|
-
```
|
14
|
-
|
15
|
-
## Before PR actions
|
16
|
-
|
17
|
-
### Squash commits
|
18
|
-
|
19
|
-
Please squash all branch commits into the one before openning your PR from your fork. It's simple to do with the git:
|
20
|
-
|
21
|
-
```bash
|
22
|
-
git rebase -i [hash your first commit of your branch]~1
|
23
|
-
git rebase -i 6467fe36232401fa740af067cfd8ac9ec932fed2~1 # example
|
24
|
-
```
|
25
|
-
|
26
|
-
### Add commit description
|
27
|
-
|
28
|
-
Please complete your commit description folowing next pattern:
|
29
|
-
|
30
|
-
```
|
31
|
-
Technical/Add info files # should be the same name as your branch name
|
32
|
-
|
33
|
-
* Added license, changelog, contributing, code of conduct docs
|
34
|
-
* Added GitHub templates
|
35
|
-
* Updated project license link
|
36
|
-
```
|
@@ -1,26 +0,0 @@
|
|
1
|
-
# Development environment guide
|
2
|
-
|
3
|
-
## Preparing
|
4
|
-
|
5
|
-
Clone `smtp_mock` repository:
|
6
|
-
|
7
|
-
```bash
|
8
|
-
git clone https://github.com/mocktools/ruby-smtp-mock.git
|
9
|
-
cd ruby-smtp-mock
|
10
|
-
```
|
11
|
-
|
12
|
-
Configure latest Ruby environment:
|
13
|
-
|
14
|
-
```bash
|
15
|
-
echo 'ruby-3.1.2' > .ruby-version
|
16
|
-
cp .circleci/gemspec_latest smtp_mock.gemspec
|
17
|
-
```
|
18
|
-
|
19
|
-
## Commiting
|
20
|
-
|
21
|
-
Commit your changes excluding `.ruby-version`, `smtp_mock.gemspec`
|
22
|
-
|
23
|
-
```bash
|
24
|
-
git add . ':!.ruby-version' ':!smtp_mock.gemspec'
|
25
|
-
git commit -m 'Your new awesome smtp_mock feature'
|
26
|
-
```
|
data/.github/FUNDING.yml
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
github: [bestwebua]
|
@@ -1,28 +0,0 @@
|
|
1
|
-
---
|
2
|
-
name: Bug report
|
3
|
-
about: Create a report to help us improve
|
4
|
-
title: "[BUG] Your bug report title here"
|
5
|
-
labels: bug
|
6
|
-
assignees: bestwebua
|
7
|
-
|
8
|
-
---
|
9
|
-
|
10
|
-
<!-- Thanks for helping to make SmtpMock better! Before submit your bug, please make sure to check the following boxes by putting an x in the [ ] (don't: [x ], [ x], do: [x]) -->
|
11
|
-
|
12
|
-
### New bug checklist
|
13
|
-
|
14
|
-
- [ ] I have updated `dns_mock` to the latest version
|
15
|
-
- [ ] I have read the [Contribution Guidelines](https://github.com/mocktools/ruby-smtp-mock/blob/master/CONTRIBUTING.md)
|
16
|
-
- [ ] I have read the [documentation](https://github.com/mocktools/ruby-smtp-mock/blob/master/README.md)
|
17
|
-
- [ ] I have searched for [existing GitHub issues](https://github.com/mocktools/ruby-smtp-mock/issues)
|
18
|
-
|
19
|
-
<!-- Please use next pattern for your bug report title: [BUG] Your bug report title here -->
|
20
|
-
|
21
|
-
### Bug description
|
22
|
-
<!-- Please include what's happening, expected behavior, and any relevant code samples -->
|
23
|
-
|
24
|
-
##### Complete output when running dns_mock, including the stack trace and command used
|
25
|
-
|
26
|
-
<details>
|
27
|
-
<pre>[INSERT OUTPUT HERE]</pre>
|
28
|
-
</details>
|
@@ -1,27 +0,0 @@
|
|
1
|
-
---
|
2
|
-
name: Feature request
|
3
|
-
about: Suggest an idea for SmtpMock
|
4
|
-
title: "[FEATURE] Your feature request title here"
|
5
|
-
labels: enhancement
|
6
|
-
assignees: bestwebua
|
7
|
-
|
8
|
-
---
|
9
|
-
|
10
|
-
<!-- Thanks for helping to make SmtpMock better! Before submit your new feature request, please make sure to check the following boxes by putting an x in the [ ] (don't: [x ], [ x], do: [x]) -->
|
11
|
-
|
12
|
-
### New feature request checklist
|
13
|
-
|
14
|
-
- [ ] I have updated `dns_mock` to the latest version
|
15
|
-
- [ ] I have read the [Contribution Guidelines](https://github.com/mocktools/ruby-smtp-mock/blob/master/CONTRIBUTING.md)
|
16
|
-
- [ ] I have read the [documentation](https://github.com/mocktools/ruby-smtp-mock/blob/master/README.md)
|
17
|
-
- [ ] I have searched for [existing GitHub issues](https://github.com/mocktools/ruby-smtp-mock/issues)
|
18
|
-
|
19
|
-
<!-- Please use next pattern for your feature request title: [FEATURE] Your feature request title here -->
|
20
|
-
|
21
|
-
### Feature description
|
22
|
-
|
23
|
-
<!-- Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
|
24
|
-
|
25
|
-
Describe the solution you'd like. A clear and concise description of what you want to happen.
|
26
|
-
|
27
|
-
Describe alternatives you've considered. A clear and concise description of any alternative solutions or features you've considered. -->
|
@@ -1,28 +0,0 @@
|
|
1
|
-
---
|
2
|
-
name: Issue report
|
3
|
-
about: Create a report to help us improve
|
4
|
-
title: "[ISSUE] Your issue report title here"
|
5
|
-
labels: ''
|
6
|
-
assignees: bestwebua
|
7
|
-
|
8
|
-
---
|
9
|
-
|
10
|
-
<!-- Thanks for helping to make SmtpMock better! Before submit your issue, please make sure to check the following boxes by putting an x in the [ ] (don't: [x ], [ x], do: [x]) -->
|
11
|
-
|
12
|
-
### New issue checklist
|
13
|
-
|
14
|
-
- [ ] I have updated `dns_mock` to the latest version
|
15
|
-
- [ ] I have read the [Contribution Guidelines](https://github.com/mocktools/ruby-smtp-mock/blob/master/CONTRIBUTING.md)
|
16
|
-
- [ ] I have read the [documentation](https://github.com/mocktools/ruby-smtp-mock/blob/master/README.md)
|
17
|
-
- [ ] I have searched for [existing GitHub issues](https://github.com/mocktools/ruby-smtp-mock/issues)
|
18
|
-
|
19
|
-
<!-- Please use next pattern for your issue report title: [ISSUE] Your issue report title here -->
|
20
|
-
|
21
|
-
### Issue description
|
22
|
-
<!-- Please include what's happening, expected behavior, and any relevant code samples -->
|
23
|
-
|
24
|
-
##### Complete output when running dns_mock, including the stack trace and command used
|
25
|
-
|
26
|
-
<details>
|
27
|
-
<pre>[INSERT OUTPUT HERE]</pre>
|
28
|
-
</details>
|
@@ -1,22 +0,0 @@
|
|
1
|
-
---
|
2
|
-
name: Question
|
3
|
-
about: Ask your question to SmtpMock team
|
4
|
-
title: "[QUESTION] Your question title here"
|
5
|
-
labels: question
|
6
|
-
assignees: bestwebua
|
7
|
-
|
8
|
-
---
|
9
|
-
|
10
|
-
<!-- Thanks for helping to make SmtpMock better! Before submit your question, please make sure to check the following boxes by putting an x in the [ ] (don't: [x ], [ x], do: [x]) -->
|
11
|
-
|
12
|
-
### New question checklist
|
13
|
-
|
14
|
-
- [ ] I have read the [Contribution Guidelines](https://github.com/mocktools/ruby-smtp-mock/blob/master/CONTRIBUTING.md)
|
15
|
-
- [ ] I have read the [documentation](https://github.com/mocktools/ruby-smtp-mock/blob/master/README.md)
|
16
|
-
- [ ] I have searched for [existing GitHub issues](https://github.com/mocktools/ruby-smtp-mock/issues)
|
17
|
-
|
18
|
-
<!-- Please use next pattern for your question title: [QUESTION] Your question title here -->
|
19
|
-
|
20
|
-
### Question
|
21
|
-
|
22
|
-
<!-- Your question context here -->
|
@@ -1,49 +0,0 @@
|
|
1
|
-
# PR Details
|
2
|
-
|
3
|
-
<!-- Provide a general summary of your changes in the Title above -->
|
4
|
-
<!-- PR name should the same name as your branch name, example: -->
|
5
|
-
<!-- Branch name is: feature/add-some-feature -->
|
6
|
-
<!-- PR name should be: Feature/Add some feature -->
|
7
|
-
|
8
|
-
## Description
|
9
|
-
|
10
|
-
<!--- Describe your changes in detail -->
|
11
|
-
|
12
|
-
## Related Issue
|
13
|
-
|
14
|
-
<!--- This project only accepts pull requests related to open issues -->
|
15
|
-
<!--- If suggesting a new feature or change, please discuss it in an issue first -->
|
16
|
-
<!--- If fixing a bug, there should be an issue describing it with steps to reproduce -->
|
17
|
-
<!--- Please link to the issue here: -->
|
18
|
-
|
19
|
-
## Motivation and Context
|
20
|
-
|
21
|
-
<!--- Why is this change required? What problem does it solve? -->
|
22
|
-
|
23
|
-
## How Has This Been Tested
|
24
|
-
|
25
|
-
<!--- Please describe in detail how you tested your changes. -->
|
26
|
-
<!--- Include details of your testing environment, and the tests you ran to -->
|
27
|
-
<!--- see how your change affects other areas of the code, etc. -->
|
28
|
-
|
29
|
-
## Types of changes
|
30
|
-
|
31
|
-
<!--- What types of changes does your code introduce? Put an `x` in all the boxes that apply: -->
|
32
|
-
|
33
|
-
- [ ] Docs change / refactoring / dependency upgrade
|
34
|
-
- [ ] Bug fix (non-breaking change which fixes an issue)
|
35
|
-
- [ ] New feature (non-breaking change which adds functionality)
|
36
|
-
- [ ] Breaking change (fix or feature that would cause existing functionality to change)
|
37
|
-
|
38
|
-
## Checklist
|
39
|
-
|
40
|
-
<!--- Go over all the following points, and put an `x` in all the boxes that apply. -->
|
41
|
-
<!--- If you're unsure about any of these, don't hesitate to ask. We're here to help! -->
|
42
|
-
|
43
|
-
- [ ] My code follows the code style of this project
|
44
|
-
- [ ] My change requires a change to the documentation
|
45
|
-
- [ ] I have updated the documentation accordingly
|
46
|
-
- [ ] I have read the [**CONTRIBUTING** document](https://github.com/mocktools/ruby-smtp-mock/blob/master/CONTRIBUTING.md)
|
47
|
-
- [ ] I have added tests to cover my changes
|
48
|
-
- [ ] I have run `bundle exec rspec` from the root directory to see all new and existing tests pass
|
49
|
-
- [ ] I have run `rubocop` and `reek` to ensure the code style is valid
|
data/.gitignore
DELETED
data/.overcommit.yml
DELETED
@@ -1,32 +0,0 @@
|
|
1
|
-
PreCommit:
|
2
|
-
AuthorEmail:
|
3
|
-
enabled: true
|
4
|
-
required: false
|
5
|
-
|
6
|
-
AuthorName:
|
7
|
-
enabled: false
|
8
|
-
|
9
|
-
BundleAudit:
|
10
|
-
enabled: true
|
11
|
-
|
12
|
-
Fasterer:
|
13
|
-
enabled: true
|
14
|
-
include: '**/*.rb'
|
15
|
-
|
16
|
-
TrailingWhitespace:
|
17
|
-
enabled: true
|
18
|
-
|
19
|
-
RuboCop:
|
20
|
-
enabled: true
|
21
|
-
flags: ['--format=emacs', '--force-exclusion', '--display-cop-names']
|
22
|
-
|
23
|
-
Reek:
|
24
|
-
enabled: true
|
25
|
-
flags: ['--force-exclusion']
|
26
|
-
|
27
|
-
PostCheckout:
|
28
|
-
ALL:
|
29
|
-
quiet: true
|
30
|
-
|
31
|
-
IndexTags:
|
32
|
-
enabled: true
|