truemail-client 0.3.0 → 0.3.4
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/.circleci/config.yml +59 -18
- data/.codeclimate.yml +1 -1
- data/.github/BRANCH_NAMING_CONVENTION.md +36 -0
- data/.github/ISSUE_TEMPLATE/bug_report.md +28 -0
- data/.github/ISSUE_TEMPLATE/feature_request.md +27 -0
- data/.github/{ISSUE_TEMPLATE.md → ISSUE_TEMPLATE/issue_report.md} +14 -3
- data/.github/ISSUE_TEMPLATE/question.md +22 -0
- data/.github/PULL_REQUEST_TEMPLATE.md +3 -0
- data/.rubocop.yml +153 -0
- data/CHANGELOG.md +40 -0
- data/CONTRIBUTING.md +15 -14
- data/Gemfile.lock +68 -67
- data/README.md +11 -7
- data/lib/truemail/client/configuration.rb +4 -4
- data/lib/truemail/client/http.rb +4 -4
- data/lib/truemail/client/version.rb +1 -1
- data/lib/truemail/client.rb +1 -1
- data/truemail-client.gemspec +12 -12
- metadata +40 -37
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7d76fc9751ceb11b5e310fff53490dbc3a37509953eae454457ef4b7577cfe2f
|
4
|
+
data.tar.gz: 12b5aea29729da78ce89e1906d3d154e22b8bed017744a38b585a80c39b9808b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 13df92cb8e7bb3083d3f5c63d17894a4eea5a61abc7a4366cb04fd125af8803dc83e2139e77175b5738bd91347d0a1f26cb18ee6c3fbc02a941c9c34924d3564
|
7
|
+
data.tar.gz: ed53e99b9986e5cfd054a6f78c5848a1ef3c3b6a57466ba65112db59cb64becc66e81f6a0e8da33aacbdb38bc5d0b32ba06e57a589bc13219792a84ccd94463b
|
data/.circleci/config.yml
CHANGED
@@ -1,11 +1,21 @@
|
|
1
|
+
version: 2.1
|
2
|
+
|
1
3
|
defaults: &defaults
|
2
4
|
working_directory: ~/truemail-ruby-client
|
3
5
|
docker:
|
4
|
-
- image:
|
6
|
+
- image: cimg/ruby:<< parameters.ruby-version >>
|
5
7
|
environment:
|
6
8
|
CC_TEST_REPORTER_ID: 183d1173cc05e4e5dbd07ddb60a04b9c4115ed11a4bacda0e1834572eb168c51
|
7
9
|
|
10
|
+
orbs:
|
11
|
+
ruby: circleci/ruby@1.1.3
|
12
|
+
|
8
13
|
references:
|
14
|
+
install_bundler: &install_bundler
|
15
|
+
run:
|
16
|
+
name: Installing Bundler
|
17
|
+
command: gem i bundler -v $(tail -1 Gemfile.lock | tr -d ' ')
|
18
|
+
|
9
19
|
restore_bundle_cache: &restore_bundle_cache
|
10
20
|
restore_cache:
|
11
21
|
keys:
|
@@ -24,66 +34,97 @@ references:
|
|
24
34
|
|
25
35
|
install_codeclimate_reporter: &install_codeclimate_reporter
|
26
36
|
run:
|
27
|
-
name:
|
37
|
+
name: Installing CodeClimate test reporter
|
28
38
|
command: |
|
29
39
|
curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
|
30
40
|
chmod +x ./cc-test-reporter
|
31
41
|
|
32
|
-
version: 2
|
33
42
|
jobs:
|
34
|
-
linters:
|
43
|
+
linters-ruby:
|
44
|
+
parameters:
|
45
|
+
ruby-version:
|
46
|
+
type: string
|
47
|
+
|
35
48
|
<<: *defaults
|
36
49
|
|
37
50
|
steps:
|
38
51
|
- checkout
|
39
52
|
|
53
|
+
- <<: *install_bundler
|
40
54
|
- <<: *restore_bundle_cache
|
41
55
|
- <<: *bundle_install
|
42
56
|
- <<: *save_bundle_cache
|
43
57
|
|
44
58
|
- run:
|
45
|
-
name: Running
|
59
|
+
name: Running Overcommit
|
46
60
|
command: |
|
47
61
|
bundle exec overcommit -s
|
48
62
|
SKIP=AuthorEmail,AuthorName bundle exec overcommit -r
|
49
63
|
|
50
|
-
tests:
|
64
|
+
tests-ruby:
|
65
|
+
parameters:
|
66
|
+
ruby-version:
|
67
|
+
type: string
|
68
|
+
|
51
69
|
<<: *defaults
|
52
70
|
|
53
71
|
steps:
|
54
72
|
- checkout
|
55
73
|
|
74
|
+
- <<: *install_bundler
|
56
75
|
- <<: *restore_bundle_cache
|
57
76
|
- <<: *bundle_install
|
58
77
|
- <<: *save_bundle_cache
|
59
78
|
- <<: *install_codeclimate_reporter
|
60
79
|
|
61
80
|
- run:
|
62
|
-
name: Running
|
81
|
+
name: Running RSpec
|
63
82
|
command: |
|
64
|
-
mkdir /tmp/test-results
|
65
83
|
./cc-test-reporter before-build
|
66
84
|
bundle exec rspec
|
67
85
|
|
68
86
|
- run:
|
69
|
-
name:
|
87
|
+
name: Creating CodeClimate test coverage report
|
70
88
|
command: |
|
71
89
|
./cc-test-reporter format-coverage -t simplecov -o "coverage/codeclimate.$CIRCLE_NODE_INDEX.json"
|
72
90
|
|
73
|
-
- store_test_results:
|
74
|
-
path: /tmp/test-results
|
75
|
-
|
76
91
|
- store_artifacts:
|
77
|
-
|
78
|
-
|
92
|
+
name: Saving Simplecov coverage artifacts
|
93
|
+
path: ~/truemail-ruby-client/coverage
|
94
|
+
destination: coverage
|
79
95
|
|
80
96
|
- deploy:
|
97
|
+
name: Uploading CodeClimate test coverage report
|
81
98
|
command: |
|
82
99
|
./cc-test-reporter sum-coverage --output - --parts $CIRCLE_NODE_TOTAL coverage/codeclimate.*.json | ./cc-test-reporter upload-coverage --debug --input -
|
83
100
|
|
101
|
+
compatibility-ruby:
|
102
|
+
parameters:
|
103
|
+
ruby-version:
|
104
|
+
type: string
|
105
|
+
docker:
|
106
|
+
- image: cimg/ruby:<< parameters.ruby-version >>
|
107
|
+
steps:
|
108
|
+
- checkout
|
109
|
+
- ruby/install-deps:
|
110
|
+
with-cache: false
|
111
|
+
path: './vendor/custom_bundle'
|
112
|
+
- run:
|
113
|
+
name: Running compatibility tests
|
114
|
+
command: bundle exec rspec
|
115
|
+
|
84
116
|
workflows:
|
85
|
-
|
86
|
-
build:
|
117
|
+
build_and_test:
|
87
118
|
jobs:
|
88
|
-
- linters
|
89
|
-
|
119
|
+
- linters-ruby:
|
120
|
+
matrix:
|
121
|
+
parameters:
|
122
|
+
ruby-version: ["2.5"]
|
123
|
+
- tests-ruby:
|
124
|
+
matrix:
|
125
|
+
parameters:
|
126
|
+
ruby-version: ["2.5"]
|
127
|
+
- compatibility-ruby:
|
128
|
+
matrix:
|
129
|
+
parameters:
|
130
|
+
ruby-version: ["2.6", "2.7", "3.0"]
|
data/.codeclimate.yml
CHANGED
@@ -0,0 +1,36 @@
|
|
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
|
+
```
|
@@ -0,0 +1,28 @@
|
|
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-ruby-client` to the latest version
|
15
|
+
- [ ] I have read the [Contribution Guidelines](https://github.com/truemail-rb/truemail-ruby-client/blob/master/CONTRIBUTING.md)
|
16
|
+
- [ ] I have read the [documentation](https://truemail-rb.org/truemail-ruby-client)
|
17
|
+
- [ ] I have searched for [existing GitHub issues](https://github.com/truemail-rb/truemail-ruby-client/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, including the stack trace and command used
|
25
|
+
|
26
|
+
<details>
|
27
|
+
<pre>[INSERT OUTPUT HERE]</pre>
|
28
|
+
</details>
|
@@ -0,0 +1,27 @@
|
|
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-ruby-client` to the latest version
|
15
|
+
- [ ] I have read the [Contribution Guidelines](https://github.com/truemail-rb/truemail-ruby-client/blob/master/CONTRIBUTING.md)
|
16
|
+
- [ ] I have read the [documentation](https://truemail-rb.org/truemail-ruby-client)
|
17
|
+
- [ ] I have searched for [existing GitHub issues](https://github.com/truemail-rb/truemail-ruby-client/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,13 +1,24 @@
|
|
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
|
+
|
1
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]) -->
|
2
11
|
|
3
|
-
### New
|
12
|
+
### New issue checklist
|
4
13
|
|
5
|
-
- [ ] I have updated truemail-ruby-client to the latest version
|
14
|
+
- [ ] I have updated `truemail-ruby-client` to the latest version
|
6
15
|
- [ ] I have read the [Contribution Guidelines](https://github.com/truemail-rb/truemail-ruby-client/blob/master/CONTRIBUTING.md)
|
7
16
|
- [ ] I have read the [documentation](https://truemail-rb.org/truemail-ruby-client)
|
8
17
|
- [ ] I have searched for [existing GitHub issues](https://github.com/truemail-rb/truemail-ruby-client/issues)
|
9
18
|
|
10
|
-
|
19
|
+
<!-- Please use next pattern for your issue report title: [ISSUE] Your issue report title here -->
|
20
|
+
|
21
|
+
### Issue description
|
11
22
|
<!-- Please include what's happening, expected behavior, and any relevant code samples -->
|
12
23
|
|
13
24
|
##### Complete output when running truemail, including the stack trace and command used
|
@@ -0,0 +1,22 @@
|
|
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-ruby-client/blob/master/CONTRIBUTING.md)
|
15
|
+
- [ ] I have read the [documentation](https://truemail-rb.org/truemail-ruby-client)
|
16
|
+
- [ ] I have searched for [existing GitHub issues](https://github.com/truemail-rb/truemail-ruby-client/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,6 +1,9 @@
|
|
1
1
|
# PR Details
|
2
2
|
|
3
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 -->
|
4
7
|
|
5
8
|
## Description
|
6
9
|
|
data/.rubocop.yml
CHANGED
@@ -32,6 +32,9 @@ Naming/VariableNumber:
|
|
32
32
|
Naming/RescuedExceptionsVariableName:
|
33
33
|
Enabled: false
|
34
34
|
|
35
|
+
Naming/InclusiveLanguage:
|
36
|
+
Enabled: false
|
37
|
+
|
35
38
|
Style/Documentation:
|
36
39
|
Enabled: false
|
37
40
|
|
@@ -95,10 +98,58 @@ Style/RedundantRegexpEscape:
|
|
95
98
|
Style/SlicingWithRange:
|
96
99
|
Enabled: true
|
97
100
|
|
101
|
+
Style/ArgumentsForwarding:
|
102
|
+
Enabled: true
|
103
|
+
|
104
|
+
Style/CollectionCompact:
|
105
|
+
Enabled: true
|
106
|
+
|
107
|
+
Style/DocumentDynamicEvalDefinition:
|
108
|
+
Enabled: true
|
109
|
+
|
110
|
+
Style/EndlessMethod:
|
111
|
+
Enabled: true
|
112
|
+
|
113
|
+
Style/HashConversion:
|
114
|
+
Enabled: true
|
115
|
+
|
116
|
+
Style/HashExcept:
|
117
|
+
Enabled: true
|
118
|
+
|
119
|
+
Style/IfWithBooleanLiteralBranches:
|
120
|
+
Enabled: true
|
121
|
+
|
122
|
+
Style/NegatedIfElseCondition:
|
123
|
+
Enabled: true
|
124
|
+
|
125
|
+
Style/NilLambda:
|
126
|
+
Enabled: true
|
127
|
+
|
128
|
+
Style/RedundantArgument:
|
129
|
+
Enabled: true
|
130
|
+
|
131
|
+
Style/StringChars:
|
132
|
+
Enabled: true
|
133
|
+
|
134
|
+
Style/SwapValues:
|
135
|
+
Enabled: true
|
136
|
+
|
98
137
|
Style/IfUnlessModifier:
|
99
138
|
Exclude:
|
100
139
|
- 'lib/truemail/client/http.rb'
|
101
140
|
|
141
|
+
Style/InPatternThen:
|
142
|
+
Enabled: true
|
143
|
+
|
144
|
+
Style/MultilineInPatternThen:
|
145
|
+
Enabled: true
|
146
|
+
|
147
|
+
Style/QuotedSymbols:
|
148
|
+
Enabled: true
|
149
|
+
|
150
|
+
Style/RedundantSelfAssignmentBranch:
|
151
|
+
Enabled: true
|
152
|
+
|
102
153
|
Layout/LineLength:
|
103
154
|
Max: 140
|
104
155
|
|
@@ -133,6 +184,12 @@ Layout/ClassStructure:
|
|
133
184
|
Layout/EmptyLineAfterGuardClause:
|
134
185
|
Enabled: false
|
135
186
|
|
187
|
+
Layout/SpaceBeforeBrackets:
|
188
|
+
Enabled: true
|
189
|
+
|
190
|
+
Layout/LineEndStringConcatenationIndentation:
|
191
|
+
Enabled: true
|
192
|
+
|
136
193
|
Lint/NonDeterministicRequireOrder:
|
137
194
|
Enabled: true
|
138
195
|
|
@@ -151,6 +208,66 @@ Lint/RaiseException:
|
|
151
208
|
Lint/StructNewOverride:
|
152
209
|
Enabled: true
|
153
210
|
|
211
|
+
Lint/AmbiguousAssignment:
|
212
|
+
Enabled: true
|
213
|
+
|
214
|
+
Lint/DeprecatedConstants:
|
215
|
+
Enabled: true
|
216
|
+
|
217
|
+
Lint/DuplicateBranch:
|
218
|
+
Enabled: true
|
219
|
+
|
220
|
+
Lint/DuplicateRegexpCharacterClassElement:
|
221
|
+
Enabled: true
|
222
|
+
|
223
|
+
Lint/EmptyBlock:
|
224
|
+
Enabled: true
|
225
|
+
|
226
|
+
Lint/EmptyClass:
|
227
|
+
Enabled: true
|
228
|
+
|
229
|
+
Lint/LambdaWithoutLiteralBlock:
|
230
|
+
Enabled: true
|
231
|
+
|
232
|
+
Lint/NoReturnInBeginEndBlocks:
|
233
|
+
Enabled: false
|
234
|
+
|
235
|
+
Lint/NumberedParameterAssignment:
|
236
|
+
Enabled: true
|
237
|
+
|
238
|
+
Lint/OrAssignmentToConstant:
|
239
|
+
Enabled: true
|
240
|
+
|
241
|
+
Lint/RedundantDirGlobSort:
|
242
|
+
Enabled: true
|
243
|
+
|
244
|
+
Lint/SymbolConversion:
|
245
|
+
Enabled: true
|
246
|
+
|
247
|
+
Lint/ToEnumArguments:
|
248
|
+
Enabled: true
|
249
|
+
|
250
|
+
Lint/TripleQuotes:
|
251
|
+
Enabled: true
|
252
|
+
|
253
|
+
Lint/UnexpectedBlockArity:
|
254
|
+
Enabled: true
|
255
|
+
|
256
|
+
Lint/UnmodifiedReduceAccumulator:
|
257
|
+
Enabled: true
|
258
|
+
|
259
|
+
Lint/EmptyInPattern:
|
260
|
+
Enabled: true
|
261
|
+
|
262
|
+
Lint/AmbiguousOperatorPrecedence:
|
263
|
+
Enabled: true
|
264
|
+
|
265
|
+
Lint/AmbiguousRange:
|
266
|
+
Enabled: true
|
267
|
+
|
268
|
+
Lint/IncompatibleIoSelectWithFiberScheduler:
|
269
|
+
Enabled: true
|
270
|
+
|
154
271
|
Performance/AncestorsInclude:
|
155
272
|
Enabled: true
|
156
273
|
|
@@ -175,6 +292,33 @@ Performance/Squeeze:
|
|
175
292
|
Performance/StringInclude:
|
176
293
|
Enabled: true
|
177
294
|
|
295
|
+
Performance/BlockGivenWithExplicitBlock:
|
296
|
+
Enabled: true
|
297
|
+
|
298
|
+
Performance/CollectionLiteralInLoop:
|
299
|
+
Enabled: true
|
300
|
+
|
301
|
+
Performance/ConstantRegexp:
|
302
|
+
Enabled: true
|
303
|
+
|
304
|
+
Performance/MapCompact:
|
305
|
+
Enabled: true
|
306
|
+
|
307
|
+
Performance/MethodObjectAsBlock:
|
308
|
+
Enabled: true
|
309
|
+
|
310
|
+
Performance/RedundantEqualityComparisonBlock:
|
311
|
+
Enabled: true
|
312
|
+
|
313
|
+
Performance/RedundantSplitRegexpArgument:
|
314
|
+
Enabled: true
|
315
|
+
|
316
|
+
Performance/Sum:
|
317
|
+
Enabled: true
|
318
|
+
|
319
|
+
Gemspec/DateAssignment:
|
320
|
+
Enabled: true
|
321
|
+
|
178
322
|
RSpec/ExampleLength:
|
179
323
|
Enabled: false
|
180
324
|
|
@@ -201,3 +345,12 @@ RSpec/MultipleDescribes:
|
|
201
345
|
|
202
346
|
RSpec/MultipleMemoizedHelpers:
|
203
347
|
Enabled: false
|
348
|
+
|
349
|
+
RSpec/StubbedMock:
|
350
|
+
Enabled: false
|
351
|
+
|
352
|
+
RSpec/IdenticalEqualityAssertion:
|
353
|
+
Enabled: true
|
354
|
+
|
355
|
+
RSpec/Rails/AvoidSetupHook:
|
356
|
+
Enabled: true
|
data/CHANGELOG.md
CHANGED
@@ -2,6 +2,46 @@
|
|
2
2
|
|
3
3
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
4
4
|
|
5
|
+
## [0.3.4] - 2021-09-16
|
6
|
+
|
7
|
+
### Changed
|
8
|
+
|
9
|
+
- Updated gem dependencies
|
10
|
+
- Updated rubocop/codeclimate config
|
11
|
+
- Updated gem version
|
12
|
+
|
13
|
+
## [0.3.3] - 2021-07-13
|
14
|
+
|
15
|
+
### Fixed
|
16
|
+
|
17
|
+
- Security vulnerability [CVE-2021-32740](https://github.com/advisories/GHSA-jxhc-q857-3j6g)
|
18
|
+
|
19
|
+
### Changed
|
20
|
+
|
21
|
+
- Updated gem dependencies
|
22
|
+
- Updated rubocop/codeclimate config
|
23
|
+
- Updated gem version
|
24
|
+
|
25
|
+
## [0.3.2] - 2021-05-19
|
26
|
+
|
27
|
+
### Fixed
|
28
|
+
|
29
|
+
- Gem syntax compatibility with Ruby 3.x
|
30
|
+
|
31
|
+
### Changed
|
32
|
+
|
33
|
+
- Updated gem dependencies
|
34
|
+
- Updated rubocop/codeclimate config
|
35
|
+
- Updated gem version
|
36
|
+
|
37
|
+
## [0.3.1] - 2021-05-08
|
38
|
+
|
39
|
+
### Changed
|
40
|
+
|
41
|
+
- Updated gem dependencies
|
42
|
+
- Updated rubocop/codeclimate config
|
43
|
+
- Updated gem version
|
44
|
+
|
5
45
|
## [0.3.0] - 2020-10-28
|
6
46
|
|
7
47
|
### Changed
|
data/CONTRIBUTING.md
CHANGED
@@ -6,28 +6,28 @@ Following these guidelines helps to communicate that you respect the time of the
|
|
6
6
|
|
7
7
|
## Using the issue tracker
|
8
8
|
|
9
|
-
The issue tracker is the preferred channel for [bug reports](#
|
9
|
+
The issue tracker is the preferred channel for [issue/bug reports](#issuebug-reports), [feature requests](#feature-requests), [questions](#questions) and submitting [pull requests](#pull-requests).
|
10
10
|
|
11
|
-
|
12
|
-
## Bug/issue reports
|
11
|
+
## Issue/bug reports
|
13
12
|
|
14
|
-
A bug is a _demonstrable problem_ that is caused by the code in the repository.
|
15
|
-
Good bug reports are extremely helpful - thank you!
|
13
|
+
A bug is a _demonstrable problem_ that is caused by the code in the repository. Good bug reports are extremely helpful - thank you!
|
16
14
|
|
17
|
-
Guidelines for bug reports:
|
15
|
+
Guidelines for issue/bug reports:
|
18
16
|
|
19
17
|
1. **Use the GitHub issue search** — check if the issue has already been reported
|
20
|
-
2. **Check if the issue has been fixed** — try to reproduce it using the latest `master` or
|
21
|
-
3. Truemail [issue template](.github/ISSUE_TEMPLATE.md)
|
18
|
+
2. **Check if the issue has been fixed** — try to reproduce it using the latest `master` or `develop` branch in the repository
|
19
|
+
3. Truemail [issue template](.github/ISSUE_TEMPLATE/issue_report.md)/[bug template](.github/ISSUE_TEMPLATE/bug_report.md)
|
22
20
|
|
23
21
|
A good bug report shouldn't leave others needing to chase you up for more information. Please try to be as detailed as possible in your report. What is your environment? What steps will reproduce the issue? What would you expect to be the outcome? All these details will help people to fix any potential bugs.
|
24
22
|
|
25
|
-
<a name="features"></a>
|
26
23
|
## Feature requests
|
27
24
|
|
28
25
|
Feature requests are welcome. But take a moment to find out whether your idea fits with the scope and aims of the project. It's up to *you* to make a strong case to convince the project's developers of the merits of this feature. Please provide as much detail and context as possible.
|
29
26
|
|
30
|
-
|
27
|
+
## Questions
|
28
|
+
|
29
|
+
We're always open to a new conversations. So if you have any questions just ask us.
|
30
|
+
|
31
31
|
## Pull requests
|
32
32
|
|
33
33
|
Good pull requests - patches, improvements, new features - are a fantastic help. They should remain focused in scope and avoid containing unrelated commits.
|
@@ -39,7 +39,8 @@ Please adhere to the coding conventions used throughout a project (indentation,
|
|
39
39
|
Guidelines for pull requests:
|
40
40
|
|
41
41
|
1. Truemail [pull request template](.github/PULL_REQUEST_TEMPLATE.md)
|
42
|
-
2. Fork the repo
|
43
|
-
3. Run the tests. This is to make sure your starting point works
|
44
|
-
4.
|
45
|
-
5.
|
42
|
+
2. Fork the repo, checkout to `develop` branch
|
43
|
+
3. Run the tests. This is to make sure your starting point works
|
44
|
+
4. Read our [branch naming convention](.github/BRANCH_NAMING_CONVENTION.md)
|
45
|
+
5. Create a new branch and make your changes. This includes tests for features!
|
46
|
+
6. Push to your fork and submit a pull request to `develop` branch
|
data/Gemfile.lock
CHANGED
@@ -1,45 +1,47 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
truemail-client (0.3.
|
4
|
+
truemail-client (0.3.4)
|
5
5
|
|
6
6
|
GEM
|
7
7
|
remote: https://rubygems.org/
|
8
8
|
specs:
|
9
|
-
addressable (2.
|
9
|
+
addressable (2.8.0)
|
10
10
|
public_suffix (>= 2.0.2, < 5.0)
|
11
|
-
ast (2.4.
|
12
|
-
bundler-audit (0.
|
11
|
+
ast (2.4.2)
|
12
|
+
bundler-audit (0.9.0.1)
|
13
13
|
bundler (>= 1.2.0, < 3)
|
14
|
-
thor (
|
14
|
+
thor (~> 1.0)
|
15
15
|
byebug (11.1.3)
|
16
|
-
childprocess (4.
|
16
|
+
childprocess (4.1.0)
|
17
17
|
coderay (1.1.3)
|
18
18
|
colorize (0.8.1)
|
19
|
-
concurrent-ruby (1.1.
|
20
|
-
crack (0.4.
|
19
|
+
concurrent-ruby (1.1.9)
|
20
|
+
crack (0.4.5)
|
21
|
+
rexml
|
21
22
|
diff-lcs (1.4.4)
|
22
|
-
docile (1.
|
23
|
-
faker (2.
|
23
|
+
docile (1.4.0)
|
24
|
+
faker (2.19.0)
|
24
25
|
i18n (>= 1.6, < 2)
|
25
|
-
fasterer (0.
|
26
|
+
fasterer (0.9.0)
|
26
27
|
colorize (~> 0.7)
|
27
28
|
ruby_parser (>= 3.14.1)
|
28
29
|
hashdiff (1.0.1)
|
29
|
-
i18n (1.8.
|
30
|
+
i18n (1.8.10)
|
30
31
|
concurrent-ruby (~> 1.0)
|
31
32
|
iniparse (1.5.0)
|
32
|
-
json (2.
|
33
|
+
json (2.5.1)
|
33
34
|
json_matchers (0.11.1)
|
34
35
|
json_schema
|
35
|
-
json_schema (0.
|
36
|
+
json_schema (0.21.0)
|
36
37
|
kwalify (0.7.2)
|
37
38
|
method_source (1.0.0)
|
38
|
-
overcommit (0.
|
39
|
+
overcommit (0.58.0)
|
39
40
|
childprocess (>= 0.6.3, < 5)
|
40
41
|
iniparse (~> 1.4)
|
41
|
-
|
42
|
-
|
42
|
+
rexml (~> 3.2)
|
43
|
+
parallel (1.21.0)
|
44
|
+
parser (3.0.2.0)
|
43
45
|
ast (~> 2.4.1)
|
44
46
|
pry (0.13.1)
|
45
47
|
coderay (~> 1.1)
|
@@ -47,82 +49,81 @@ GEM
|
|
47
49
|
pry-byebug (3.9.0)
|
48
50
|
byebug (~> 11.0)
|
49
51
|
pry (~> 0.13.0)
|
50
|
-
psych (3.2.0)
|
51
52
|
public_suffix (4.0.6)
|
52
53
|
rainbow (3.0.0)
|
53
|
-
rake (13.0.
|
54
|
-
reek (6.0.
|
54
|
+
rake (13.0.6)
|
55
|
+
reek (6.0.6)
|
55
56
|
kwalify (~> 0.7.0)
|
56
|
-
parser (
|
57
|
-
psych (~> 3.1)
|
57
|
+
parser (~> 3.0.0)
|
58
58
|
rainbow (>= 2.0, < 4.0)
|
59
|
-
regexp_parser (1.
|
60
|
-
rexml (3.2.
|
61
|
-
rspec (3.
|
62
|
-
rspec-core (~> 3.
|
63
|
-
rspec-expectations (~> 3.
|
64
|
-
rspec-mocks (~> 3.
|
65
|
-
rspec-core (3.
|
66
|
-
rspec-support (~> 3.
|
67
|
-
rspec-expectations (3.
|
59
|
+
regexp_parser (2.1.1)
|
60
|
+
rexml (3.2.5)
|
61
|
+
rspec (3.10.0)
|
62
|
+
rspec-core (~> 3.10.0)
|
63
|
+
rspec-expectations (~> 3.10.0)
|
64
|
+
rspec-mocks (~> 3.10.0)
|
65
|
+
rspec-core (3.10.1)
|
66
|
+
rspec-support (~> 3.10.0)
|
67
|
+
rspec-expectations (3.10.1)
|
68
68
|
diff-lcs (>= 1.2.0, < 2.0)
|
69
|
-
rspec-support (~> 3.
|
70
|
-
rspec-mocks (3.
|
69
|
+
rspec-support (~> 3.10.0)
|
70
|
+
rspec-mocks (3.10.2)
|
71
71
|
diff-lcs (>= 1.2.0, < 2.0)
|
72
|
-
rspec-support (~> 3.
|
73
|
-
rspec-support (3.
|
74
|
-
rubocop (1.
|
72
|
+
rspec-support (~> 3.10.0)
|
73
|
+
rspec-support (3.10.2)
|
74
|
+
rubocop (1.21.0)
|
75
75
|
parallel (~> 1.10)
|
76
|
-
parser (>=
|
76
|
+
parser (>= 3.0.0.0)
|
77
77
|
rainbow (>= 2.2.2, < 4.0)
|
78
|
-
regexp_parser (>= 1.8)
|
78
|
+
regexp_parser (>= 1.8, < 3.0)
|
79
79
|
rexml
|
80
|
-
rubocop-ast (>=
|
80
|
+
rubocop-ast (>= 1.9.1, < 2.0)
|
81
81
|
ruby-progressbar (~> 1.7)
|
82
|
-
unicode-display_width (>= 1.4.0, <
|
83
|
-
rubocop-ast (1.
|
84
|
-
parser (>=
|
85
|
-
rubocop-performance (1.
|
86
|
-
rubocop (>=
|
82
|
+
unicode-display_width (>= 1.4.0, < 3.0)
|
83
|
+
rubocop-ast (1.11.0)
|
84
|
+
parser (>= 3.0.1.1)
|
85
|
+
rubocop-performance (1.11.5)
|
86
|
+
rubocop (>= 1.7.0, < 2.0)
|
87
87
|
rubocop-ast (>= 0.4.0)
|
88
|
-
rubocop-rspec (2.
|
88
|
+
rubocop-rspec (2.4.0)
|
89
89
|
rubocop (~> 1.0)
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
90
|
+
rubocop-ast (>= 1.1.0)
|
91
|
+
ruby-progressbar (1.11.0)
|
92
|
+
ruby_parser (3.17.0)
|
93
|
+
sexp_processor (~> 4.15, >= 4.15.1)
|
94
|
+
sexp_processor (4.15.3)
|
94
95
|
simplecov (0.17.1)
|
95
96
|
docile (~> 1.1)
|
96
97
|
json (>= 1.8, < 3)
|
97
98
|
simplecov-html (~> 0.10.0)
|
98
99
|
simplecov-html (0.10.2)
|
99
|
-
thor (1.0
|
100
|
-
unicode-display_width (1.
|
101
|
-
webmock (3.
|
102
|
-
addressable (>= 2.
|
100
|
+
thor (1.1.0)
|
101
|
+
unicode-display_width (2.1.0)
|
102
|
+
webmock (3.14.0)
|
103
|
+
addressable (>= 2.8.0)
|
103
104
|
crack (>= 0.3.2)
|
104
105
|
hashdiff (>= 0.4.0, < 2.0.0)
|
105
106
|
|
106
107
|
PLATFORMS
|
107
|
-
|
108
|
+
x86_64-darwin-20
|
108
109
|
|
109
110
|
DEPENDENCIES
|
110
|
-
bundler (~>
|
111
|
-
bundler-audit (~> 0.
|
112
|
-
faker (~> 2.
|
113
|
-
fasterer (~> 0.
|
111
|
+
bundler (~> 2.2, >= 2.2.27)
|
112
|
+
bundler-audit (~> 0.9.0.1)
|
113
|
+
faker (~> 2.19)
|
114
|
+
fasterer (~> 0.9.0)
|
114
115
|
json_matchers (~> 0.11.1)
|
115
|
-
overcommit (~> 0.
|
116
|
+
overcommit (~> 0.58.0)
|
116
117
|
pry-byebug (~> 3.9)
|
117
|
-
rake (~> 13.0, >= 13.0.
|
118
|
-
reek (~> 6.0, >= 6.0.
|
119
|
-
rspec (~> 3.
|
120
|
-
rubocop (~> 1.
|
121
|
-
rubocop-performance (~> 1.
|
122
|
-
rubocop-rspec (~> 2.
|
118
|
+
rake (~> 13.0, >= 13.0.6)
|
119
|
+
reek (~> 6.0, >= 6.0.6)
|
120
|
+
rspec (~> 3.10)
|
121
|
+
rubocop (~> 1.21)
|
122
|
+
rubocop-performance (~> 1.11, >= 1.11.5)
|
123
|
+
rubocop-rspec (~> 2.4)
|
123
124
|
simplecov (~> 0.17.1)
|
124
125
|
truemail-client!
|
125
|
-
webmock (~> 3.
|
126
|
+
webmock (~> 3.14)
|
126
127
|
|
127
128
|
BUNDLED WITH
|
128
|
-
|
129
|
+
2.2.27
|
data/README.md
CHANGED
@@ -2,9 +2,11 @@
|
|
2
2
|
|
3
3
|
[](https://codeclimate.com/github/truemail-rb/truemail-ruby-client/maintainability)
|
4
4
|
[](https://codeclimate.com/github/truemail-rb/truemail-ruby-client/test_coverage)
|
5
|
-
[](https://circleci.com/gh/truemail-rb/truemail-ruby-client/tree/master)
|
6
6
|
[](https://badge.fury.io/rb/truemail-client)
|
7
7
|
[](https://rubygems.org/gems/truemail-client)
|
8
|
+
[](https://gitter.im/truemail-rb/community?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)
|
9
|
+
[](LICENSE.txt)
|
8
10
|
[](CODE_OF_CONDUCT.md)
|
9
11
|
|
10
12
|
`truemail-client` gem - [Truemail web API](https://github.com/truemail-rb/truemail-rack) client library for Ruby.
|
@@ -57,17 +59,17 @@ To have an access for `Truemail::Client` you must configure it first as in the e
|
|
57
59
|
require 'truemail/client'
|
58
60
|
|
59
61
|
Truemail::Client.configure do |config|
|
60
|
-
# Optional parameter (Boolean). By default it is equal false
|
61
|
-
config.secure_connection = true
|
62
|
-
|
63
62
|
# Required parameter (String). It should be a hostname or an ip address where Truemail server runs
|
64
63
|
config.host = 'example.com'
|
65
64
|
|
66
|
-
# Optional parameter (Integer). By default it is equal 9292
|
67
|
-
config.port = 80
|
68
|
-
|
69
65
|
# Required parameter (String). It should be valid Truemail server access token
|
70
66
|
config.token = 'token'
|
67
|
+
|
68
|
+
# Optional parameter (Boolean). By default it is equal false
|
69
|
+
config.secure_connection = true
|
70
|
+
|
71
|
+
# Optional parameter (Integer). By default it is equal 9292
|
72
|
+
config.port = 80
|
71
73
|
end
|
72
74
|
```
|
73
75
|
|
@@ -92,6 +94,8 @@ Truemail::Client.validate('admin@bestweb.com.ua')
|
|
92
94
|
"whitelist_validation": false,
|
93
95
|
"whitelisted_domains": null,
|
94
96
|
"blacklisted_domains": null,
|
97
|
+
"blacklisted_mx_ip_addresses": null,
|
98
|
+
"dns": null,
|
95
99
|
"smtp_safe_check": false,
|
96
100
|
"email_pattern": "default gem value",
|
97
101
|
"smtp_error_body_pattern": "default gem value",
|
@@ -5,8 +5,8 @@ module Truemail
|
|
5
5
|
class Configuration
|
6
6
|
DEFAULT_PORT = 9292
|
7
7
|
|
8
|
-
Error = Class.new(StandardError)
|
9
|
-
ArgumentError = Class.new(StandardError) do
|
8
|
+
Error = ::Class.new(::StandardError)
|
9
|
+
ArgumentError = ::Class.new(::StandardError) do
|
10
10
|
def initialize(arg_value, arg_name)
|
11
11
|
super("#{arg_value} is not a valid #{arg_name[0..-2]}")
|
12
12
|
end
|
@@ -18,7 +18,7 @@ module Truemail
|
|
18
18
|
def initialize(&block)
|
19
19
|
@secure_connection = false
|
20
20
|
@port = Truemail::Client::Configuration::DEFAULT_PORT
|
21
|
-
tap(&block) if
|
21
|
+
tap(&block) if block
|
22
22
|
end
|
23
23
|
|
24
24
|
%i[host port token].each do |method|
|
@@ -26,7 +26,7 @@ module Truemail
|
|
26
26
|
raise_unless(
|
27
27
|
argument,
|
28
28
|
__method__,
|
29
|
-
method.eql?(:port) ? argument.is_a?(Integer) && argument.positive? : argument.is_a?(String)
|
29
|
+
method.eql?(:port) ? argument.is_a?(::Integer) && argument.positive? : argument.is_a?(::String)
|
30
30
|
)
|
31
31
|
instance_variable_set(:"@#{method}", argument)
|
32
32
|
end
|
data/lib/truemail/client/http.rb
CHANGED
@@ -22,8 +22,8 @@ module Truemail
|
|
22
22
|
end
|
23
23
|
|
24
24
|
def run
|
25
|
-
Net::HTTP.start(uri.host, uri.port, use_ssl: secure_connection) do |http|
|
26
|
-
request = Net::HTTP::Get.new(uri)
|
25
|
+
::Net::HTTP.start(uri.host, uri.port, use_ssl: secure_connection) do |http|
|
26
|
+
request = ::Net::HTTP::Get.new(uri)
|
27
27
|
request['User-Agent'] = Truemail::Client::Http::USER_AGENT
|
28
28
|
request['Accept'] = Truemail::Client::Http::MIME_TYPE
|
29
29
|
request['Content-Type'] = Truemail::Client::Http::MIME_TYPE
|
@@ -41,9 +41,9 @@ module Truemail
|
|
41
41
|
attr_reader(*Truemail::Client::Http::URI_ATTRS)
|
42
42
|
|
43
43
|
def request_uri
|
44
|
-
URI::HTTP.build(
|
44
|
+
::URI::HTTP.build(
|
45
45
|
path: endpoint,
|
46
|
-
query: uri_params.empty? ? nil : URI.encode_www_form(uri_params)
|
46
|
+
query: uri_params.empty? ? nil : ::URI.encode_www_form(uri_params)
|
47
47
|
).request_uri
|
48
48
|
end
|
49
49
|
|
data/lib/truemail/client.rb
CHANGED
@@ -12,7 +12,7 @@ module Truemail
|
|
12
12
|
class << self
|
13
13
|
def configuration(&block)
|
14
14
|
@configuration ||= begin
|
15
|
-
return unless
|
15
|
+
return unless block
|
16
16
|
configuration = Truemail::Client::Configuration.new(&block)
|
17
17
|
raise_unless(configuration.complete?, Truemail::Client::INCOMPLETE_CONFIG)
|
18
18
|
configuration
|
data/truemail-client.gemspec
CHANGED
@@ -31,19 +31,19 @@ Gem::Specification.new do |spec|
|
|
31
31
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
32
32
|
spec.require_paths = ['lib']
|
33
33
|
|
34
|
-
spec.add_development_dependency 'bundler', '~>
|
35
|
-
spec.add_development_dependency 'bundler-audit', '~> 0.
|
36
|
-
spec.add_development_dependency 'faker', '~> 2.
|
37
|
-
spec.add_development_dependency 'fasterer', '~> 0.
|
34
|
+
spec.add_development_dependency 'bundler', '~> 2.2', '>= 2.2.27'
|
35
|
+
spec.add_development_dependency 'bundler-audit', '~> 0.9.0.1'
|
36
|
+
spec.add_development_dependency 'faker', '~> 2.19'
|
37
|
+
spec.add_development_dependency 'fasterer', '~> 0.9.0'
|
38
38
|
spec.add_development_dependency 'json_matchers', '~> 0.11.1'
|
39
|
-
spec.add_development_dependency 'overcommit', '~> 0.
|
39
|
+
spec.add_development_dependency 'overcommit', '~> 0.58.0'
|
40
40
|
spec.add_development_dependency 'pry-byebug', '~> 3.9'
|
41
|
-
spec.add_development_dependency 'rake', '~> 13.0', '>= 13.0.
|
42
|
-
spec.add_development_dependency 'reek', '~> 6.0', '>= 6.0.
|
43
|
-
spec.add_development_dependency 'rspec', '~> 3.
|
44
|
-
spec.add_development_dependency 'rubocop', '~> 1.
|
45
|
-
spec.add_development_dependency 'rubocop-performance', '~> 1.
|
46
|
-
spec.add_development_dependency 'rubocop-rspec', '~> 2.
|
41
|
+
spec.add_development_dependency 'rake', '~> 13.0', '>= 13.0.6'
|
42
|
+
spec.add_development_dependency 'reek', '~> 6.0', '>= 6.0.6'
|
43
|
+
spec.add_development_dependency 'rspec', '~> 3.10'
|
44
|
+
spec.add_development_dependency 'rubocop', '~> 1.21'
|
45
|
+
spec.add_development_dependency 'rubocop-performance', '~> 1.11', '>= 1.11.5'
|
46
|
+
spec.add_development_dependency 'rubocop-rspec', '~> 2.4'
|
47
47
|
spec.add_development_dependency 'simplecov', '~> 0.17.1'
|
48
|
-
spec.add_development_dependency 'webmock', '~> 3.
|
48
|
+
spec.add_development_dependency 'webmock', '~> 3.14'
|
49
49
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: truemail-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Vladislav Trotsenko
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-09-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -16,56 +16,62 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
19
|
+
version: '2.2'
|
20
|
+
- - ">="
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 2.2.27
|
20
23
|
type: :development
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
23
26
|
requirements:
|
24
27
|
- - "~>"
|
25
28
|
- !ruby/object:Gem::Version
|
26
|
-
version: '
|
29
|
+
version: '2.2'
|
30
|
+
- - ">="
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: 2.2.27
|
27
33
|
- !ruby/object:Gem::Dependency
|
28
34
|
name: bundler-audit
|
29
35
|
requirement: !ruby/object:Gem::Requirement
|
30
36
|
requirements:
|
31
37
|
- - "~>"
|
32
38
|
- !ruby/object:Gem::Version
|
33
|
-
version: 0.
|
39
|
+
version: 0.9.0.1
|
34
40
|
type: :development
|
35
41
|
prerelease: false
|
36
42
|
version_requirements: !ruby/object:Gem::Requirement
|
37
43
|
requirements:
|
38
44
|
- - "~>"
|
39
45
|
- !ruby/object:Gem::Version
|
40
|
-
version: 0.
|
46
|
+
version: 0.9.0.1
|
41
47
|
- !ruby/object:Gem::Dependency
|
42
48
|
name: faker
|
43
49
|
requirement: !ruby/object:Gem::Requirement
|
44
50
|
requirements:
|
45
51
|
- - "~>"
|
46
52
|
- !ruby/object:Gem::Version
|
47
|
-
version: '2.
|
53
|
+
version: '2.19'
|
48
54
|
type: :development
|
49
55
|
prerelease: false
|
50
56
|
version_requirements: !ruby/object:Gem::Requirement
|
51
57
|
requirements:
|
52
58
|
- - "~>"
|
53
59
|
- !ruby/object:Gem::Version
|
54
|
-
version: '2.
|
60
|
+
version: '2.19'
|
55
61
|
- !ruby/object:Gem::Dependency
|
56
62
|
name: fasterer
|
57
63
|
requirement: !ruby/object:Gem::Requirement
|
58
64
|
requirements:
|
59
65
|
- - "~>"
|
60
66
|
- !ruby/object:Gem::Version
|
61
|
-
version: 0.
|
67
|
+
version: 0.9.0
|
62
68
|
type: :development
|
63
69
|
prerelease: false
|
64
70
|
version_requirements: !ruby/object:Gem::Requirement
|
65
71
|
requirements:
|
66
72
|
- - "~>"
|
67
73
|
- !ruby/object:Gem::Version
|
68
|
-
version: 0.
|
74
|
+
version: 0.9.0
|
69
75
|
- !ruby/object:Gem::Dependency
|
70
76
|
name: json_matchers
|
71
77
|
requirement: !ruby/object:Gem::Requirement
|
@@ -86,14 +92,14 @@ dependencies:
|
|
86
92
|
requirements:
|
87
93
|
- - "~>"
|
88
94
|
- !ruby/object:Gem::Version
|
89
|
-
version: 0.
|
95
|
+
version: 0.58.0
|
90
96
|
type: :development
|
91
97
|
prerelease: false
|
92
98
|
version_requirements: !ruby/object:Gem::Requirement
|
93
99
|
requirements:
|
94
100
|
- - "~>"
|
95
101
|
- !ruby/object:Gem::Version
|
96
|
-
version: 0.
|
102
|
+
version: 0.58.0
|
97
103
|
- !ruby/object:Gem::Dependency
|
98
104
|
name: pry-byebug
|
99
105
|
requirement: !ruby/object:Gem::Requirement
|
@@ -117,7 +123,7 @@ dependencies:
|
|
117
123
|
version: '13.0'
|
118
124
|
- - ">="
|
119
125
|
- !ruby/object:Gem::Version
|
120
|
-
version: 13.0.
|
126
|
+
version: 13.0.6
|
121
127
|
type: :development
|
122
128
|
prerelease: false
|
123
129
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -127,7 +133,7 @@ dependencies:
|
|
127
133
|
version: '13.0'
|
128
134
|
- - ">="
|
129
135
|
- !ruby/object:Gem::Version
|
130
|
-
version: 13.0.
|
136
|
+
version: 13.0.6
|
131
137
|
- !ruby/object:Gem::Dependency
|
132
138
|
name: reek
|
133
139
|
requirement: !ruby/object:Gem::Requirement
|
@@ -137,7 +143,7 @@ dependencies:
|
|
137
143
|
version: '6.0'
|
138
144
|
- - ">="
|
139
145
|
- !ruby/object:Gem::Version
|
140
|
-
version: 6.0.
|
146
|
+
version: 6.0.6
|
141
147
|
type: :development
|
142
148
|
prerelease: false
|
143
149
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -147,69 +153,69 @@ dependencies:
|
|
147
153
|
version: '6.0'
|
148
154
|
- - ">="
|
149
155
|
- !ruby/object:Gem::Version
|
150
|
-
version: 6.0.
|
156
|
+
version: 6.0.6
|
151
157
|
- !ruby/object:Gem::Dependency
|
152
158
|
name: rspec
|
153
159
|
requirement: !ruby/object:Gem::Requirement
|
154
160
|
requirements:
|
155
161
|
- - "~>"
|
156
162
|
- !ruby/object:Gem::Version
|
157
|
-
version: '3.
|
163
|
+
version: '3.10'
|
158
164
|
type: :development
|
159
165
|
prerelease: false
|
160
166
|
version_requirements: !ruby/object:Gem::Requirement
|
161
167
|
requirements:
|
162
168
|
- - "~>"
|
163
169
|
- !ruby/object:Gem::Version
|
164
|
-
version: '3.
|
170
|
+
version: '3.10'
|
165
171
|
- !ruby/object:Gem::Dependency
|
166
172
|
name: rubocop
|
167
173
|
requirement: !ruby/object:Gem::Requirement
|
168
174
|
requirements:
|
169
175
|
- - "~>"
|
170
176
|
- !ruby/object:Gem::Version
|
171
|
-
version: '1.
|
177
|
+
version: '1.21'
|
172
178
|
type: :development
|
173
179
|
prerelease: false
|
174
180
|
version_requirements: !ruby/object:Gem::Requirement
|
175
181
|
requirements:
|
176
182
|
- - "~>"
|
177
183
|
- !ruby/object:Gem::Version
|
178
|
-
version: '1.
|
184
|
+
version: '1.21'
|
179
185
|
- !ruby/object:Gem::Dependency
|
180
186
|
name: rubocop-performance
|
181
187
|
requirement: !ruby/object:Gem::Requirement
|
182
188
|
requirements:
|
183
189
|
- - "~>"
|
184
190
|
- !ruby/object:Gem::Version
|
185
|
-
version: '1.
|
191
|
+
version: '1.11'
|
186
192
|
- - ">="
|
187
193
|
- !ruby/object:Gem::Version
|
188
|
-
version: 1.
|
194
|
+
version: 1.11.5
|
189
195
|
type: :development
|
190
196
|
prerelease: false
|
191
197
|
version_requirements: !ruby/object:Gem::Requirement
|
192
198
|
requirements:
|
193
199
|
- - "~>"
|
194
200
|
- !ruby/object:Gem::Version
|
195
|
-
version: '1.
|
201
|
+
version: '1.11'
|
196
202
|
- - ">="
|
197
203
|
- !ruby/object:Gem::Version
|
198
|
-
version: 1.
|
204
|
+
version: 1.11.5
|
199
205
|
- !ruby/object:Gem::Dependency
|
200
206
|
name: rubocop-rspec
|
201
207
|
requirement: !ruby/object:Gem::Requirement
|
202
208
|
requirements:
|
203
209
|
- - "~>"
|
204
210
|
- !ruby/object:Gem::Version
|
205
|
-
version: 2.
|
211
|
+
version: '2.4'
|
206
212
|
type: :development
|
207
213
|
prerelease: false
|
208
214
|
version_requirements: !ruby/object:Gem::Requirement
|
209
215
|
requirements:
|
210
216
|
- - "~>"
|
211
217
|
- !ruby/object:Gem::Version
|
212
|
-
version: 2.
|
218
|
+
version: '2.4'
|
213
219
|
- !ruby/object:Gem::Dependency
|
214
220
|
name: simplecov
|
215
221
|
requirement: !ruby/object:Gem::Requirement
|
@@ -230,20 +236,14 @@ dependencies:
|
|
230
236
|
requirements:
|
231
237
|
- - "~>"
|
232
238
|
- !ruby/object:Gem::Version
|
233
|
-
version: '3.
|
234
|
-
- - ">="
|
235
|
-
- !ruby/object:Gem::Version
|
236
|
-
version: 3.9.3
|
239
|
+
version: '3.14'
|
237
240
|
type: :development
|
238
241
|
prerelease: false
|
239
242
|
version_requirements: !ruby/object:Gem::Requirement
|
240
243
|
requirements:
|
241
244
|
- - "~>"
|
242
245
|
- !ruby/object:Gem::Version
|
243
|
-
version: '3.
|
244
|
-
- - ">="
|
245
|
-
- !ruby/object:Gem::Version
|
246
|
-
version: 3.9.3
|
246
|
+
version: '3.14'
|
247
247
|
description: Truemail web API client library for Ruby
|
248
248
|
email:
|
249
249
|
- admin@bestweb.com.ua
|
@@ -253,7 +253,11 @@ extra_rdoc_files: []
|
|
253
253
|
files:
|
254
254
|
- ".circleci/config.yml"
|
255
255
|
- ".codeclimate.yml"
|
256
|
-
- ".github/
|
256
|
+
- ".github/BRANCH_NAMING_CONVENTION.md"
|
257
|
+
- ".github/ISSUE_TEMPLATE/bug_report.md"
|
258
|
+
- ".github/ISSUE_TEMPLATE/feature_request.md"
|
259
|
+
- ".github/ISSUE_TEMPLATE/issue_report.md"
|
260
|
+
- ".github/ISSUE_TEMPLATE/question.md"
|
257
261
|
- ".github/PULL_REQUEST_TEMPLATE.md"
|
258
262
|
- ".gitignore"
|
259
263
|
- ".overcommit.yml"
|
@@ -301,8 +305,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
301
305
|
- !ruby/object:Gem::Version
|
302
306
|
version: '0'
|
303
307
|
requirements: []
|
304
|
-
|
305
|
-
rubygems_version: 2.7.3
|
308
|
+
rubygems_version: 3.2.20
|
306
309
|
signing_key:
|
307
310
|
specification_version: 4
|
308
311
|
summary: truemail-client
|