truemail-rspec 0.9.2 → 1.1.0
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/LICENSE.txt +1 -1
- data/lib/truemail/rspec/validator_helper.rb +9 -5
- data/lib/truemail/rspec/version.rb +1 -1
- data/truemail-rspec.gemspec +6 -9
- metadata +13 -43
- data/.circleci/config.yml +0 -139
- data/.circleci/gemspec_compatible +0 -40
- data/.circleci/gemspec_latest +0 -49
- 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 -4
- data/.overcommit.yml +0 -32
- data/.reek.yml +0 -44
- data/.rspec +0 -2
- data/.rubocop.yml +0 -70
- data/.ruby-gemset +0 -1
- data/CHANGELOG.md +0 -254
- data/CODE_OF_CONDUCT.md +0 -74
- data/CONTRIBUTING.md +0 -48
- data/Gemfile +0 -5
- data/README.md +0 -178
- 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: 0af0d3f7a6e68f38a40b6204ff152160baa41e97170158b69924a6022ea9ebad
|
4
|
+
data.tar.gz: dff856d236d958a4bd97a1fb25845c0822bd2ad9a9302ba69999f6478b951b7a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cf85922aeef5d7f85393cd8e7a5f4a182c231c47a1e48c09bf9e47286f5b390afeb8391f118fe0ce554bf9df9affdeb95a18e505e20ec0eddfd19e7e2d4e0053
|
7
|
+
data.tar.gz: 475c1a291eba95591c5762636c99f3f3a24bfec2b9fb7c9bcfb269a6e89bf2979b99ea5a8fa67a257913847b70aaab43bde1b3ece1bbe0e3d1349ebd2ac52ae1
|
data/LICENSE.txt
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
The MIT License (MIT)
|
2
2
|
|
3
|
-
Copyright (c) 2020-
|
3
|
+
Copyright (c) 2020-2023 Vladislav Trotsenko
|
4
4
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
6
|
of this software and associated documentation files (the "Software"), to deal
|
@@ -3,6 +3,8 @@
|
|
3
3
|
module Truemail
|
4
4
|
module RSpec
|
5
5
|
module ValidatorHelper
|
6
|
+
VALIDATION_LIST_TYPE_REGEX_PATTERN = /(emails|domains)(_list)/.freeze
|
7
|
+
|
6
8
|
def create_servers_list(size = nil)
|
7
9
|
::Array.new(size || ::Random.rand(1..4)) { ::FFaker::Internet.ip_v4_address }
|
8
10
|
end
|
@@ -122,13 +124,15 @@ module Truemail
|
|
122
124
|
attr_reader :success, :email, :mail_servers, :configuration
|
123
125
|
attr_accessor :validation_type
|
124
126
|
|
125
|
-
def process_validator_params
|
127
|
+
def process_validator_params # rubocop:disable Metrics/AbcSize
|
126
128
|
case validation_type
|
127
|
-
when
|
129
|
+
when Truemail::RSpec::ValidatorHelper::VALIDATION_LIST_TYPE_REGEX_PATTERN
|
130
|
+
list_type = validation_type[Truemail::RSpec::ValidatorHelper::VALIDATION_LIST_TYPE_REGEX_PATTERN, 1]
|
128
131
|
self.validation_type = nil
|
129
|
-
method = success ? :
|
130
|
-
|
131
|
-
|
132
|
+
method = success ? :"whitelisted_#{list_type}" : :"blacklisted_#{list_type}"
|
133
|
+
configuration.tap do |config|
|
134
|
+
config.public_send(method) << (list_type.eql?('emails') ? email : email[Truemail::RegexConstant::REGEX_EMAIL_PATTERN, 3])
|
135
|
+
end
|
132
136
|
when :mx_blacklist
|
133
137
|
configuration.blacklisted_mx_ip_addresses.push(*mail_servers) unless success
|
134
138
|
end
|
data/truemail-rspec.gemspec
CHANGED
@@ -23,18 +23,15 @@ Gem::Specification.new do |spec|
|
|
23
23
|
}
|
24
24
|
|
25
25
|
spec.required_ruby_version = '>= 2.5.0'
|
26
|
-
|
27
|
-
spec.
|
28
|
-
spec.bindir = 'exe'
|
29
|
-
spec.executables = spec.files.grep(%r{^exe/}) { |f| ::File.basename(f) }
|
30
|
-
spec.require_paths = ['lib']
|
26
|
+
spec.files = `git ls-files -z`.split("\x0").select { |f| f.match(%r{^(bin|lib)/|.ruby-version|truemail-rspec.gemspec|LICENSE}) }
|
27
|
+
spec.require_paths = %w[lib]
|
31
28
|
|
32
29
|
spec.add_runtime_dependency 'ffaker', '~> 2.21'
|
33
|
-
spec.add_runtime_dependency 'net-smtp', '~> 0.3.
|
34
|
-
spec.add_runtime_dependency 'rspec', '~> 3.
|
35
|
-
spec.add_runtime_dependency 'truemail', '~>
|
30
|
+
spec.add_runtime_dependency 'net-smtp', '~> 0.3.3' if ::Gem::Version.new(::RUBY_VERSION) >= ::Gem::Version.new('3.1.0')
|
31
|
+
spec.add_runtime_dependency 'rspec', '~> 3.12'
|
32
|
+
spec.add_runtime_dependency 'truemail', '~> 3.0'
|
36
33
|
|
37
34
|
spec.add_development_dependency 'ffaker', '~> 2.21'
|
38
35
|
spec.add_development_dependency 'rake', '~> 13.0', '>= 13.0.6'
|
39
|
-
spec.add_development_dependency 'rspec', '~> 3.
|
36
|
+
spec.add_development_dependency 'rspec', '~> 3.12'
|
40
37
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: truemail-rspec
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Vladislav Trotsenko
|
8
|
-
autorequire:
|
9
|
-
bindir:
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-02-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ffaker
|
@@ -30,34 +30,28 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '3.
|
33
|
+
version: '3.12'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '3.
|
40
|
+
version: '3.12'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: truemail
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: '
|
48
|
-
- - ">="
|
49
|
-
- !ruby/object:Gem::Version
|
50
|
-
version: 2.7.4
|
47
|
+
version: '3.0'
|
51
48
|
type: :runtime
|
52
49
|
prerelease: false
|
53
50
|
version_requirements: !ruby/object:Gem::Requirement
|
54
51
|
requirements:
|
55
52
|
- - "~>"
|
56
53
|
- !ruby/object:Gem::Version
|
57
|
-
version: '
|
58
|
-
- - ">="
|
59
|
-
- !ruby/object:Gem::Version
|
60
|
-
version: 2.7.4
|
54
|
+
version: '3.0'
|
61
55
|
- !ruby/object:Gem::Dependency
|
62
56
|
name: ffaker
|
63
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -98,14 +92,14 @@ dependencies:
|
|
98
92
|
requirements:
|
99
93
|
- - "~>"
|
100
94
|
- !ruby/object:Gem::Version
|
101
|
-
version: '3.
|
95
|
+
version: '3.12'
|
102
96
|
type: :development
|
103
97
|
prerelease: false
|
104
98
|
version_requirements: !ruby/object:Gem::Requirement
|
105
99
|
requirements:
|
106
100
|
- - "~>"
|
107
101
|
- !ruby/object:Gem::Version
|
108
|
-
version: '3.
|
102
|
+
version: '3.12'
|
109
103
|
description: Truemail RSpec helpers
|
110
104
|
email:
|
111
105
|
- admin@bestweb.com.ua
|
@@ -113,32 +107,8 @@ executables: []
|
|
113
107
|
extensions: []
|
114
108
|
extra_rdoc_files: []
|
115
109
|
files:
|
116
|
-
- ".circleci/config.yml"
|
117
|
-
- ".circleci/gemspec_compatible"
|
118
|
-
- ".circleci/gemspec_latest"
|
119
|
-
- ".codeclimate.yml"
|
120
|
-
- ".github/BRANCH_NAMING_CONVENTION.md"
|
121
|
-
- ".github/DEVELOPMENT_ENVIRONMENT_GUIDE.md"
|
122
|
-
- ".github/FUNDING.yml"
|
123
|
-
- ".github/ISSUE_TEMPLATE/bug_report.md"
|
124
|
-
- ".github/ISSUE_TEMPLATE/feature_request.md"
|
125
|
-
- ".github/ISSUE_TEMPLATE/issue_report.md"
|
126
|
-
- ".github/ISSUE_TEMPLATE/question.md"
|
127
|
-
- ".github/PULL_REQUEST_TEMPLATE.md"
|
128
|
-
- ".gitignore"
|
129
|
-
- ".overcommit.yml"
|
130
|
-
- ".reek.yml"
|
131
|
-
- ".rspec"
|
132
|
-
- ".rubocop.yml"
|
133
|
-
- ".ruby-gemset"
|
134
110
|
- ".ruby-version"
|
135
|
-
- CHANGELOG.md
|
136
|
-
- CODE_OF_CONDUCT.md
|
137
|
-
- CONTRIBUTING.md
|
138
|
-
- Gemfile
|
139
111
|
- LICENSE.txt
|
140
|
-
- README.md
|
141
|
-
- Rakefile
|
142
112
|
- bin/console
|
143
113
|
- bin/setup
|
144
114
|
- lib/truemail/rspec.rb
|
@@ -156,7 +126,7 @@ metadata:
|
|
156
126
|
source_code_uri: https://github.com/truemail-rb/truemail-rspec
|
157
127
|
documentation_uri: https://truemail-rb.org/truemail-rspec
|
158
128
|
bug_tracker_uri: https://github.com/truemail-rb/truemail-rspec/issues
|
159
|
-
post_install_message:
|
129
|
+
post_install_message:
|
160
130
|
rdoc_options: []
|
161
131
|
require_paths:
|
162
132
|
- lib
|
@@ -171,8 +141,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
171
141
|
- !ruby/object:Gem::Version
|
172
142
|
version: '0'
|
173
143
|
requirements: []
|
174
|
-
rubygems_version: 3.2.
|
175
|
-
signing_key:
|
144
|
+
rubygems_version: 3.2.15
|
145
|
+
signing_key:
|
176
146
|
specification_version: 4
|
177
147
|
summary: truemail-rspec
|
178
148
|
test_files: []
|
data/.circleci/config.yml
DELETED
@@ -1,139 +0,0 @@
|
|
1
|
-
version: 2.1
|
2
|
-
|
3
|
-
defaults: &defaults
|
4
|
-
working_directory: ~/truemail-rspec
|
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
|
-
- truemail-rspec-{{ checksum "truemail-rspec.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: truemail-rspec-{{ checksum "truemail-rspec.gemspec" }}
|
27
|
-
paths:
|
28
|
-
- vendor/bundle
|
29
|
-
|
30
|
-
install_codeclimate_reporter: &install_codeclimate_reporter
|
31
|
-
run:
|
32
|
-
name: Installing CodeClimate test reporter
|
33
|
-
command: |
|
34
|
-
curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
|
35
|
-
chmod +x ./cc-test-reporter
|
36
|
-
|
37
|
-
use_latest_gemspec: &use_latest_gemspec
|
38
|
-
run:
|
39
|
-
name: Using latest gemspec
|
40
|
-
command: |
|
41
|
-
cp .circleci/gemspec_latest truemail-rspec.gemspec
|
42
|
-
|
43
|
-
use_compatible_gemspec: &use_compatible_gemspec
|
44
|
-
run:
|
45
|
-
name: Using compatible gemspec
|
46
|
-
command: |
|
47
|
-
cp .circleci/gemspec_compatible truemail-rspec.gemspec
|
48
|
-
|
49
|
-
jobs:
|
50
|
-
linters-ruby:
|
51
|
-
parameters:
|
52
|
-
ruby-version:
|
53
|
-
type: string
|
54
|
-
|
55
|
-
<<: *defaults
|
56
|
-
|
57
|
-
steps:
|
58
|
-
- checkout
|
59
|
-
|
60
|
-
- <<: *use_latest_gemspec
|
61
|
-
- <<: *restore_bundle_cache
|
62
|
-
- <<: *bundle_install
|
63
|
-
- <<: *save_bundle_cache
|
64
|
-
|
65
|
-
- run:
|
66
|
-
name: Running Overcommit
|
67
|
-
command: |
|
68
|
-
bundle exec overcommit -s
|
69
|
-
SKIP=AuthorEmail,AuthorName bundle exec overcommit -r
|
70
|
-
|
71
|
-
tests-ruby:
|
72
|
-
parameters:
|
73
|
-
ruby-version:
|
74
|
-
type: string
|
75
|
-
|
76
|
-
<<: *defaults
|
77
|
-
|
78
|
-
steps:
|
79
|
-
- checkout
|
80
|
-
|
81
|
-
- <<: *use_latest_gemspec
|
82
|
-
- <<: *restore_bundle_cache
|
83
|
-
- <<: *bundle_install
|
84
|
-
- <<: *save_bundle_cache
|
85
|
-
- <<: *install_codeclimate_reporter
|
86
|
-
|
87
|
-
- run:
|
88
|
-
name: Running RSpec
|
89
|
-
command: |
|
90
|
-
./cc-test-reporter before-build
|
91
|
-
bundle exec rspec
|
92
|
-
|
93
|
-
- run:
|
94
|
-
name: Creating CodeClimate test coverage report
|
95
|
-
command: |
|
96
|
-
./cc-test-reporter format-coverage -t simplecov -o "coverage/codeclimate.$CIRCLE_NODE_INDEX.json"
|
97
|
-
|
98
|
-
- store_artifacts:
|
99
|
-
name: Saving Simplecov coverage artifacts
|
100
|
-
path: ~/truemail-rspec/coverage
|
101
|
-
destination: coverage
|
102
|
-
|
103
|
-
- deploy:
|
104
|
-
name: Uploading CodeClimate test coverage report
|
105
|
-
command: |
|
106
|
-
./cc-test-reporter sum-coverage --output - --parts $CIRCLE_NODE_TOTAL coverage/codeclimate.*.json | ./cc-test-reporter upload-coverage --debug --input -
|
107
|
-
|
108
|
-
compatibility-ruby:
|
109
|
-
parameters:
|
110
|
-
ruby-version:
|
111
|
-
type: string
|
112
|
-
docker:
|
113
|
-
- image: cimg/ruby:<< parameters.ruby-version >>
|
114
|
-
steps:
|
115
|
-
- checkout
|
116
|
-
- <<: *use_compatible_gemspec
|
117
|
-
- ruby/install-deps:
|
118
|
-
bundler-version: "2.3.23"
|
119
|
-
with-cache: false
|
120
|
-
path: './vendor/custom_bundle'
|
121
|
-
- run:
|
122
|
-
name: Running compatibility tests
|
123
|
-
command: bundle exec rspec
|
124
|
-
|
125
|
-
workflows:
|
126
|
-
build_and_test:
|
127
|
-
jobs:
|
128
|
-
- linters-ruby:
|
129
|
-
matrix:
|
130
|
-
parameters:
|
131
|
-
ruby-version: ["3.1"]
|
132
|
-
- tests-ruby:
|
133
|
-
matrix:
|
134
|
-
parameters:
|
135
|
-
ruby-version: ["3.1"]
|
136
|
-
- compatibility-ruby:
|
137
|
-
matrix:
|
138
|
-
parameters:
|
139
|
-
ruby-version: ["2.5", "2.6", "2.7", "3.0"]
|
@@ -1,40 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
require_relative 'lib/truemail/rspec/version'
|
4
|
-
|
5
|
-
Gem::Specification.new do |spec|
|
6
|
-
spec.name = 'truemail-rspec'
|
7
|
-
spec.version = Truemail::RSpec::VERSION
|
8
|
-
spec.authors = ['Vladislav Trotsenko']
|
9
|
-
spec.email = ['admin@bestweb.com.ua']
|
10
|
-
|
11
|
-
spec.summary = %(truemail-rspec)
|
12
|
-
spec.description = %(Truemail RSpec helpers)
|
13
|
-
|
14
|
-
spec.homepage = 'https://github.com/truemail-rb/truemail-rspec'
|
15
|
-
spec.license = 'MIT'
|
16
|
-
|
17
|
-
spec.metadata = {
|
18
|
-
'homepage_uri' => 'https://truemail-rb.org',
|
19
|
-
'changelog_uri' => 'https://github.com/truemail-rb/truemail-rspec/blob/master/CHANGELOG.md',
|
20
|
-
'source_code_uri' => 'https://github.com/truemail-rb/truemail-rspec',
|
21
|
-
'documentation_uri' => 'https://truemail-rb.org/truemail-rspec',
|
22
|
-
'bug_tracker_uri' => 'https://github.com/truemail-rb/truemail-rspec/issues'
|
23
|
-
}
|
24
|
-
|
25
|
-
spec.required_ruby_version = ['>= 2.5.0', '< 3.1.0']
|
26
|
-
|
27
|
-
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
28
|
-
spec.bindir = 'exe'
|
29
|
-
spec.executables = spec.files.grep(%r{^exe/}) { |f| ::File.basename(f) }
|
30
|
-
spec.require_paths = ['lib']
|
31
|
-
|
32
|
-
spec.add_runtime_dependency 'ffaker', '~> 2.21'
|
33
|
-
spec.add_runtime_dependency 'rspec', '~> 3.11'
|
34
|
-
spec.add_runtime_dependency 'truemail', '~> 2.7', '>= 2.7.4'
|
35
|
-
|
36
|
-
spec.add_development_dependency 'ffaker', '~> 2.21'
|
37
|
-
spec.add_development_dependency 'pry-byebug', '~> 3.9'
|
38
|
-
spec.add_development_dependency 'rake', '~> 13.0', '>= 13.0.6'
|
39
|
-
spec.add_development_dependency 'rspec', '~> 3.11'
|
40
|
-
end
|
data/.circleci/gemspec_latest
DELETED
@@ -1,49 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
require_relative 'lib/truemail/rspec/version'
|
4
|
-
|
5
|
-
Gem::Specification.new do |spec|
|
6
|
-
spec.name = 'truemail-rspec'
|
7
|
-
spec.version = Truemail::RSpec::VERSION
|
8
|
-
spec.authors = ['Vladislav Trotsenko']
|
9
|
-
spec.email = ['admin@bestweb.com.ua']
|
10
|
-
|
11
|
-
spec.summary = %(truemail-rspec)
|
12
|
-
spec.description = %(Truemail RSpec helpers)
|
13
|
-
|
14
|
-
spec.homepage = 'https://github.com/truemail-rb/truemail-rspec'
|
15
|
-
spec.license = 'MIT'
|
16
|
-
|
17
|
-
spec.metadata = {
|
18
|
-
'homepage_uri' => 'https://truemail-rb.org',
|
19
|
-
'changelog_uri' => 'https://github.com/truemail-rb/truemail-rspec/blob/master/CHANGELOG.md',
|
20
|
-
'source_code_uri' => 'https://github.com/truemail-rb/truemail-rspec',
|
21
|
-
'documentation_uri' => 'https://truemail-rb.org/truemail-rspec',
|
22
|
-
'bug_tracker_uri' => 'https://github.com/truemail-rb/truemail-rspec/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.bindir = 'exe'
|
29
|
-
spec.executables = spec.files.grep(%r{^exe/}) { |f| ::File.basename(f) }
|
30
|
-
spec.require_paths = ['lib']
|
31
|
-
|
32
|
-
spec.add_runtime_dependency 'ffaker', '~> 2.21'
|
33
|
-
spec.add_runtime_dependency 'net-smtp', '~> 0.3.2'
|
34
|
-
spec.add_runtime_dependency 'rspec', '~> 3.11'
|
35
|
-
spec.add_runtime_dependency 'truemail', '~> 2.7', '>= 2.7.4'
|
36
|
-
|
37
|
-
spec.add_development_dependency 'bundler-audit', '~> 0.9.1'
|
38
|
-
spec.add_development_dependency 'fasterer', '~> 0.10.0'
|
39
|
-
spec.add_development_dependency 'ffaker', '~> 2.21'
|
40
|
-
spec.add_development_dependency 'overcommit', '~> 0.59.1'
|
41
|
-
spec.add_development_dependency 'pry-byebug', '~> 3.10', '>= 3.10.1'
|
42
|
-
spec.add_development_dependency 'rake', '~> 13.0', '>= 13.0.6'
|
43
|
-
spec.add_development_dependency 'reek', '~> 6.1', '>= 6.1.1'
|
44
|
-
spec.add_development_dependency 'rspec', '~> 3.11'
|
45
|
-
spec.add_development_dependency 'rubocop', '~> 1.36'
|
46
|
-
spec.add_development_dependency 'rubocop-performance', '~> 1.15'
|
47
|
-
spec.add_development_dependency 'rubocop-rspec', '~> 2.13', '>= 2.13.2'
|
48
|
-
spec.add_development_dependency 'simplecov', '~> 0.21.2'
|
49
|
-
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 `truemail-rspec` repository:
|
6
|
-
|
7
|
-
```bash
|
8
|
-
git clone https://github.com/truemail-rb/truemail-rspec.git
|
9
|
-
cd truemail-rspec
|
10
|
-
```
|
11
|
-
|
12
|
-
Configure latest Ruby environment:
|
13
|
-
|
14
|
-
```bash
|
15
|
-
echo 'ruby-3.1.1' > .ruby-version
|
16
|
-
cp .circleci/gemspec_latest truemail.gemspec
|
17
|
-
```
|
18
|
-
|
19
|
-
## Commiting
|
20
|
-
|
21
|
-
Commit your changes excluding `.ruby-version`, `truemail.gemspec`
|
22
|
-
|
23
|
-
```bash
|
24
|
-
git add . ':!.ruby-version' ':!truemail.gemspec'
|
25
|
-
git commit -m 'Your new awesome truemail 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 Truemail 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 `truemail-rspec` to the latest version
|
15
|
-
- [ ] I have read the [Contribution Guidelines](https://github.com/truemail-rb/truemail-rspec/blob/master/CONTRIBUTING.md)
|
16
|
-
- [ ] I have read the [documentation](https://truemail-rb.org/truemail-rspec)
|
17
|
-
- [ ] I have searched for [existing GitHub issues](https://github.com/truemail-rb/truemail-rspec/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 truemail-rspec, 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 Truemail
|
4
|
-
title: "[FEATURE] Your feature request title here"
|
5
|
-
labels: enhancement
|
6
|
-
assignees: bestwebua
|
7
|
-
|
8
|
-
---
|
9
|
-
|
10
|
-
<!-- Thanks for helping to make Truemail 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 `truemail-rspec` to the latest version
|
15
|
-
- [ ] I have read the [Contribution Guidelines](https://github.com/truemail-rb/truemail-rspec/blob/master/CONTRIBUTING.md)
|
16
|
-
- [ ] I have read the [documentation](https://truemail-rb.org/truemail-rspec)
|
17
|
-
- [ ] I have searched for [existing GitHub issues](https://github.com/truemail-rb/truemail-rspec/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 Truemail 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 `truemail-rspec` to the latest version
|
15
|
-
- [ ] I have read the [Contribution Guidelines](https://github.com/truemail-rb/truemail-rspec/blob/master/CONTRIBUTING.md)
|
16
|
-
- [ ] I have read the [documentation](https://truemail-rb.org/truemail-rspec)
|
17
|
-
- [ ] I have searched for [existing GitHub issues](https://github.com/truemail-rb/truemail-rspec/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 truemail-rspec, 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 Truemail team
|
4
|
-
title: "[QUESTION] Your question title here"
|
5
|
-
labels: question
|
6
|
-
assignees: bestwebua
|
7
|
-
|
8
|
-
---
|
9
|
-
|
10
|
-
<!-- Thanks for helping to make Truemail 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/truemail-rb/truemail-rspec/blob/master/CONTRIBUTING.md)
|
15
|
-
- [ ] I have read the [documentation](https://truemail-rb.org/truemail-rspec)
|
16
|
-
- [ ] I have searched for [existing GitHub issues](https://github.com/truemail-rb/truemail-rspec/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 -->
|