truemail-client 0.2.1 → 0.3.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 48c2946676618918377d4bded0c96bbf00c3f5b487d880b305066bd54c2ef248
4
- data.tar.gz: f8842a57578431f8ba94af663ea4a8b3d181ae9f022238ae01b8bc06f77d4ae3
3
+ metadata.gz: 5de5e150ef4ad044d4eb11669beb1e7a0a66856585984fb90a8ea7b56247b83b
4
+ data.tar.gz: d7623cac490c758a506ba0d6b348993377940bb504ddeba4c8ef699039e5a8be
5
5
  SHA512:
6
- metadata.gz: a7afdb7c4dafd711454e1c098b686045470b2fda5cdbfd4a46acb45184176f4ea8991740b94402b6c92e112e606e30ccbd7233cac7b71936325d3c1633945708
7
- data.tar.gz: fc98990b012f75ab3204d439238f2285185975d5bad01dd7425a9eec9d57a5b43c5b8705bb91b5a6a9f04e77a6d8643aaac4ec89890d687b36ca96269bb38b0e
6
+ metadata.gz: 9f8e63b4e2174f9c7865bef1b62f7377d2f1d04c1a253b6ba4c4856303637d9f0bb57a1a27e246b01cca6d57fe6dd220e2a5f55d8128eef98cdf6761e8f39b32
7
+ data.tar.gz: 594b7c73996e5d155f15b33e1db95b18d297005f5bc8b1270cf3f87d8eab96acf870dc0ef9fa0898b94e1d65ba3e75bb2bf19a92749c884c57cc33e8ea92789b
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: circleci/ruby:2.5.0-node
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: Install Code Climate Test Reporter
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 overcommit
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 tests
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: Code Climate Test Coverage
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
- path: /tmp/test-results
78
- destination: test-results
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
- version: 2
86
- build:
117
+ build_and_test:
87
118
  jobs:
88
- - linters
89
- - tests
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
@@ -7,7 +7,7 @@ checks:
7
7
  plugins:
8
8
  rubocop:
9
9
  enabled: true
10
- channel: rubocop-0-88
10
+ channel: rubocop-1-18
11
11
 
12
12
  reek:
13
13
  enabled: true
@@ -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 Issue Checklist
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
- ### Issue Description
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,55 @@ 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
+
102
150
  Layout/LineLength:
103
151
  Max: 140
104
152
 
@@ -133,6 +181,12 @@ Layout/ClassStructure:
133
181
  Layout/EmptyLineAfterGuardClause:
134
182
  Enabled: false
135
183
 
184
+ Layout/SpaceBeforeBrackets:
185
+ Enabled: true
186
+
187
+ Layout/LineEndStringConcatenationIndentation:
188
+ Enabled: true
189
+
136
190
  Lint/NonDeterministicRequireOrder:
137
191
  Enabled: true
138
192
 
@@ -151,6 +205,57 @@ Lint/RaiseException:
151
205
  Lint/StructNewOverride:
152
206
  Enabled: true
153
207
 
208
+ Lint/AmbiguousAssignment:
209
+ Enabled: true
210
+
211
+ Lint/DeprecatedConstants:
212
+ Enabled: true
213
+
214
+ Lint/DuplicateBranch:
215
+ Enabled: true
216
+
217
+ Lint/DuplicateRegexpCharacterClassElement:
218
+ Enabled: true
219
+
220
+ Lint/EmptyBlock:
221
+ Enabled: true
222
+
223
+ Lint/EmptyClass:
224
+ Enabled: true
225
+
226
+ Lint/LambdaWithoutLiteralBlock:
227
+ Enabled: true
228
+
229
+ Lint/NoReturnInBeginEndBlocks:
230
+ Enabled: false
231
+
232
+ Lint/NumberedParameterAssignment:
233
+ Enabled: true
234
+
235
+ Lint/OrAssignmentToConstant:
236
+ Enabled: true
237
+
238
+ Lint/RedundantDirGlobSort:
239
+ Enabled: true
240
+
241
+ Lint/SymbolConversion:
242
+ Enabled: true
243
+
244
+ Lint/ToEnumArguments:
245
+ Enabled: true
246
+
247
+ Lint/TripleQuotes:
248
+ Enabled: true
249
+
250
+ Lint/UnexpectedBlockArity:
251
+ Enabled: true
252
+
253
+ Lint/UnmodifiedReduceAccumulator:
254
+ Enabled: true
255
+
256
+ Lint/EmptyInPattern:
257
+ Enabled: true
258
+
154
259
  Performance/AncestorsInclude:
155
260
  Enabled: true
156
261
 
@@ -175,6 +280,33 @@ Performance/Squeeze:
175
280
  Performance/StringInclude:
176
281
  Enabled: true
177
282
 
283
+ Performance/BlockGivenWithExplicitBlock:
284
+ Enabled: true
285
+
286
+ Performance/CollectionLiteralInLoop:
287
+ Enabled: true
288
+
289
+ Performance/ConstantRegexp:
290
+ Enabled: true
291
+
292
+ Performance/MapCompact:
293
+ Enabled: true
294
+
295
+ Performance/MethodObjectAsBlock:
296
+ Enabled: true
297
+
298
+ Performance/RedundantEqualityComparisonBlock:
299
+ Enabled: true
300
+
301
+ Performance/RedundantSplitRegexpArgument:
302
+ Enabled: true
303
+
304
+ Performance/Sum:
305
+ Enabled: true
306
+
307
+ Gemspec/DateAssignment:
308
+ Enabled: true
309
+
178
310
  RSpec/ExampleLength:
179
311
  Enabled: false
180
312
 
@@ -198,3 +330,15 @@ RSpec/MessageSpies:
198
330
 
199
331
  RSpec/MultipleDescribes:
200
332
  Enabled: false
333
+
334
+ RSpec/MultipleMemoizedHelpers:
335
+ Enabled: false
336
+
337
+ RSpec/StubbedMock:
338
+ Enabled: false
339
+
340
+ RSpec/IdenticalEqualityAssertion:
341
+ Enabled: true
342
+
343
+ RSpec/Rails/AvoidSetupHook:
344
+ Enabled: true
data/CHANGELOG.md CHANGED
@@ -2,6 +2,48 @@
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.3] - 2021-07-13
6
+
7
+ ### Fixed
8
+
9
+ - Security vulnerability [CVE-2021-32740](https://github.com/advisories/GHSA-jxhc-q857-3j6g)
10
+
11
+ ### Changed
12
+
13
+ - Updated gem dependencies
14
+ - Updated rubocop/codeclimate config
15
+ - Updated gem version
16
+
17
+ ## [0.3.2] - 2021-05-19
18
+
19
+ ### Fixed
20
+
21
+ - Gem syntax compatibility with Ruby 3.x
22
+
23
+ ### Changed
24
+
25
+ - Updated gem dependencies
26
+ - Updated rubocop/codeclimate config
27
+ - Updated gem version
28
+
29
+ ## [0.3.1] - 2021-05-08
30
+
31
+ ### Changed
32
+
33
+ - Updated gem dependencies
34
+ - Updated rubocop/codeclimate config
35
+ - Updated gem version
36
+
37
+ ## [0.3.0] - 2020-10-28
38
+
39
+ ### Changed
40
+
41
+ Truemail client sends encoded uri params, follows [RFC 3986, sec 2.1](https://tools.ietf.org/html/rfc3986#section-2.1).
42
+
43
+ - Updated `Truemail::Client::Http#request_uri`
44
+ - Updated gem dependencies
45
+ - Updated gem version, changelog, docs
46
+
5
47
  ## [0.2.1] - 2020-10-05
6
48
 
7
49
  ### Fixed
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](#bugs), [features requests](#features) and [submitting pull requests](#pull-requests).
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
- <a name="bugs"></a>
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** &mdash; check if the issue has already been reported
20
- 2. **Check if the issue has been fixed** &mdash; try to reproduce it using the latest `master` or development branch in the repository
21
- 3. Truemail [issue template](.github/ISSUE_TEMPLATE.md)
18
+ 2. **Check if the issue has been fixed** &mdash; 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
- <a name="pull-requests"></a>
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. Tests can be run via ```rspec```
44
- 4. Create a new branch and make your changes. This includes tests for features!
45
- 5. Push to your fork and submit a pull request
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,42 +1,47 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- truemail-client (0.2.1)
4
+ truemail-client (0.3.3)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
8
8
  specs:
9
- addressable (2.7.0)
9
+ addressable (2.8.0)
10
10
  public_suffix (>= 2.0.2, < 5.0)
11
- ast (2.4.1)
12
- bundler-audit (0.7.0.1)
11
+ ast (2.4.2)
12
+ bundler-audit (0.8.0)
13
13
  bundler (>= 1.2.0, < 3)
14
- thor (>= 0.18, < 2)
14
+ thor (~> 1.0)
15
15
  byebug (11.1.3)
16
- childprocess (4.0.0)
16
+ childprocess (4.1.0)
17
17
  coderay (1.1.3)
18
18
  colorize (0.8.1)
19
- crack (0.4.3)
20
- safe_yaml (~> 1.0.0)
19
+ concurrent-ruby (1.1.9)
20
+ crack (0.4.5)
21
+ rexml
21
22
  diff-lcs (1.4.4)
22
- docile (1.3.2)
23
- fasterer (0.8.3)
23
+ docile (1.4.0)
24
+ faker (2.18.0)
25
+ i18n (>= 1.6, < 2)
26
+ fasterer (0.9.0)
24
27
  colorize (~> 0.7)
25
28
  ruby_parser (>= 3.14.1)
26
- ffaker (2.15.0)
27
29
  hashdiff (1.0.1)
30
+ i18n (1.8.10)
31
+ concurrent-ruby (~> 1.0)
28
32
  iniparse (1.5.0)
29
- json (2.3.1)
33
+ json (2.5.1)
30
34
  json_matchers (0.11.1)
31
35
  json_schema
32
- json_schema (0.20.9)
36
+ json_schema (0.21.0)
33
37
  kwalify (0.7.2)
34
38
  method_source (1.0.0)
35
- overcommit (0.55.0)
39
+ overcommit (0.58.0)
36
40
  childprocess (>= 0.6.3, < 5)
37
41
  iniparse (~> 1.4)
38
- parallel (1.19.2)
39
- parser (2.7.1.4)
42
+ rexml (~> 3.2)
43
+ parallel (1.20.1)
44
+ parser (3.0.2.0)
40
45
  ast (~> 2.4.1)
41
46
  pry (0.13.1)
42
47
  coderay (~> 1.1)
@@ -44,82 +49,83 @@ GEM
44
49
  pry-byebug (3.9.0)
45
50
  byebug (~> 11.0)
46
51
  pry (~> 0.13.0)
47
- psych (3.1.0)
48
- public_suffix (4.0.5)
52
+ psych (3.3.2)
53
+ public_suffix (4.0.6)
49
54
  rainbow (3.0.0)
50
- rake (13.0.1)
51
- reek (6.0.1)
55
+ rake (13.0.6)
56
+ reek (6.0.4)
52
57
  kwalify (~> 0.7.0)
53
- parser (>= 2.5.0.0, < 2.8, != 2.5.1.1)
54
- psych (~> 3.1.0)
58
+ parser (~> 3.0.0)
59
+ psych (~> 3.1)
55
60
  rainbow (>= 2.0, < 4.0)
56
- regexp_parser (1.7.1)
57
- rexml (3.2.4)
58
- rspec (3.9.0)
59
- rspec-core (~> 3.9.0)
60
- rspec-expectations (~> 3.9.0)
61
- rspec-mocks (~> 3.9.0)
62
- rspec-core (3.9.2)
63
- rspec-support (~> 3.9.3)
64
- rspec-expectations (3.9.2)
61
+ regexp_parser (2.1.1)
62
+ rexml (3.2.5)
63
+ rspec (3.10.0)
64
+ rspec-core (~> 3.10.0)
65
+ rspec-expectations (~> 3.10.0)
66
+ rspec-mocks (~> 3.10.0)
67
+ rspec-core (3.10.1)
68
+ rspec-support (~> 3.10.0)
69
+ rspec-expectations (3.10.1)
65
70
  diff-lcs (>= 1.2.0, < 2.0)
66
- rspec-support (~> 3.9.0)
67
- rspec-mocks (3.9.1)
71
+ rspec-support (~> 3.10.0)
72
+ rspec-mocks (3.10.2)
68
73
  diff-lcs (>= 1.2.0, < 2.0)
69
- rspec-support (~> 3.9.0)
70
- rspec-support (3.9.3)
71
- rubocop (0.88.0)
74
+ rspec-support (~> 3.10.0)
75
+ rspec-support (3.10.2)
76
+ rubocop (1.18.3)
72
77
  parallel (~> 1.10)
73
- parser (>= 2.7.1.1)
78
+ parser (>= 3.0.0.0)
74
79
  rainbow (>= 2.2.2, < 4.0)
75
- regexp_parser (>= 1.7)
80
+ regexp_parser (>= 1.8, < 3.0)
76
81
  rexml
77
- rubocop-ast (>= 0.1.0, < 1.0)
82
+ rubocop-ast (>= 1.7.0, < 2.0)
78
83
  ruby-progressbar (~> 1.7)
79
- unicode-display_width (>= 1.4.0, < 2.0)
80
- rubocop-ast (0.2.0)
81
- parser (>= 2.7.0.1)
82
- rubocop-performance (1.7.1)
83
- rubocop (>= 0.82.0)
84
- rubocop-rspec (1.42.0)
85
- rubocop (>= 0.87.0)
86
- ruby-progressbar (1.10.1)
87
- ruby_parser (3.14.2)
88
- sexp_processor (~> 4.9)
89
- safe_yaml (1.0.5)
90
- sexp_processor (4.15.0)
84
+ unicode-display_width (>= 1.4.0, < 3.0)
85
+ rubocop-ast (1.7.0)
86
+ parser (>= 3.0.1.1)
87
+ rubocop-performance (1.11.4)
88
+ rubocop (>= 1.7.0, < 2.0)
89
+ rubocop-ast (>= 0.4.0)
90
+ rubocop-rspec (2.4.0)
91
+ rubocop (~> 1.0)
92
+ rubocop-ast (>= 1.1.0)
93
+ ruby-progressbar (1.11.0)
94
+ ruby_parser (3.16.0)
95
+ sexp_processor (~> 4.15, >= 4.15.1)
96
+ sexp_processor (4.15.3)
91
97
  simplecov (0.17.1)
92
98
  docile (~> 1.1)
93
99
  json (>= 1.8, < 3)
94
100
  simplecov-html (~> 0.10.0)
95
101
  simplecov-html (0.10.2)
96
- thor (1.0.1)
97
- unicode-display_width (1.7.0)
98
- webmock (3.8.3)
102
+ thor (1.1.0)
103
+ unicode-display_width (2.0.0)
104
+ webmock (3.13.0)
99
105
  addressable (>= 2.3.6)
100
106
  crack (>= 0.3.2)
101
107
  hashdiff (>= 0.4.0, < 2.0.0)
102
108
 
103
109
  PLATFORMS
104
- ruby
110
+ x86_64-darwin-20
105
111
 
106
112
  DEPENDENCIES
107
- bundler (~> 1.16)
108
- bundler-audit (~> 0.7.0.1)
109
- fasterer (~> 0.8.3)
110
- ffaker (~> 2.15)
113
+ bundler (~> 2.2, >= 2.2.23)
114
+ bundler-audit (~> 0.8.0)
115
+ faker (~> 2.18)
116
+ fasterer (~> 0.9.0)
111
117
  json_matchers (~> 0.11.1)
112
- overcommit (~> 0.55.0)
118
+ overcommit (~> 0.58.0)
113
119
  pry-byebug (~> 3.9)
114
- rake (~> 13.0, >= 13.0.1)
115
- reek (~> 6.0, >= 6.0.1)
116
- rspec (~> 3.9)
117
- rubocop (~> 0.88.0)
118
- rubocop-performance (~> 1.7, >= 1.7.1)
119
- rubocop-rspec (~> 1.42)
120
+ rake (~> 13.0, >= 13.0.6)
121
+ reek (~> 6.0, >= 6.0.4)
122
+ rspec (~> 3.10)
123
+ rubocop (~> 1.18, >= 1.18.3)
124
+ rubocop-performance (~> 1.11, >= 1.11.4)
125
+ rubocop-rspec (~> 2.4)
120
126
  simplecov (~> 0.17.1)
121
127
  truemail-client!
122
- webmock (~> 3.8, >= 3.8.3)
128
+ webmock (~> 3.13)
123
129
 
124
130
  BUNDLED WITH
125
- 1.16.6
131
+ 2.2.23
data/README.md CHANGED
@@ -1,14 +1,21 @@
1
- # ![Truemail web API client library for Ruby](https://repository-images.githubusercontent.com/246571655/128eda80-63af-11ea-8a0e-d1a7b9043c29)
1
+ # ![Truemail web API client library for Ruby](https://truemail-rb.org/assets/images/truemail_logo.png)
2
2
 
3
- [![Maintainability](https://api.codeclimate.com/v1/badges/ccc7167f4f49d4a10146/maintainability)](https://codeclimate.com/github/truemail-rb/truemail-ruby-client/maintainability) [![Test Coverage](https://api.codeclimate.com/v1/badges/ccc7167f4f49d4a10146/test_coverage)](https://codeclimate.com/github/truemail-rb/truemail-ruby-client/test_coverage) [![CircleCI](https://circleci.com/gh/truemail-rb/truemail-ruby-client/tree/develop.svg?style=svg)](https://circleci.com/gh/truemail-rb/truemail-ruby-client/tree/develop) [![Gem Version](https://badge.fury.io/rb/truemail-client.svg)](https://badge.fury.io/rb/truemail-client) [![Downloads](https://img.shields.io/gem/dt/truemail-client.svg?colorA=004d99&colorB=0073e6)](https://rubygems.org/gems/truemail-client) [![Contributor Covenant](https://img.shields.io/badge/Contributor%20Covenant-v1.4%20adopted-ff69b4.svg)](CODE_OF_CONDUCT.md)
3
+ [![Maintainability](https://api.codeclimate.com/v1/badges/ccc7167f4f49d4a10146/maintainability)](https://codeclimate.com/github/truemail-rb/truemail-ruby-client/maintainability)
4
+ [![Test Coverage](https://api.codeclimate.com/v1/badges/ccc7167f4f49d4a10146/test_coverage)](https://codeclimate.com/github/truemail-rb/truemail-ruby-client/test_coverage)
5
+ [![CircleCI](https://circleci.com/gh/truemail-rb/truemail-ruby-client/tree/master.svg?style=svg)](https://circleci.com/gh/truemail-rb/truemail-ruby-client/tree/master)
6
+ [![Gem Version](https://badge.fury.io/rb/truemail-client.svg)](https://badge.fury.io/rb/truemail-client)
7
+ [![Downloads](https://img.shields.io/gem/dt/truemail-client.svg?colorA=004d99&colorB=0073e6)](https://rubygems.org/gems/truemail-client)
8
+ [![Gitter](https://badges.gitter.im/truemail-rb/community.svg)](https://gitter.im/truemail-rb/community?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)
9
+ [![GitHub](https://img.shields.io/github/license/truemail-rb/truemail-ruby-client)](LICENSE.txt)
10
+ [![Contributor Covenant](https://img.shields.io/badge/Contributor%20Covenant-v1.4%20adopted-ff69b4.svg)](CODE_OF_CONDUCT.md)
4
11
 
5
12
  `truemail-client` gem - [Truemail web API](https://github.com/truemail-rb/truemail-rack) client library for Ruby.
6
13
 
7
-
8
14
  > Actual and maintainable documentation :books: for developers is living [here](https://truemail-rb.org/truemail-ruby-client).
9
15
 
10
16
  ## Table of Contents
11
17
 
18
+ - [Requirements](#requirements)
12
19
  - [Installation](#installation)
13
20
  - [Usage](#usage)
14
21
  - [Setting global configuration](#setting-global-configuration)
@@ -22,6 +29,10 @@
22
29
  - [Versioning](#versioning)
23
30
  - [Changelog](CHANGELOG.md)
24
31
 
32
+ ## Requirements
33
+
34
+ Ruby MRI 2.5.0+
35
+
25
36
  ## Installation
26
37
 
27
38
  Add this line to your application's Gemfile:
@@ -48,17 +59,17 @@ To have an access for `Truemail::Client` you must configure it first as in the e
48
59
  require 'truemail/client'
49
60
 
50
61
  Truemail::Client.configure do |config|
51
- # Optional parameter (Boolean). By default it is equal false
52
- config.secure_connection = true
53
-
54
62
  # Required parameter (String). It should be a hostname or an ip address where Truemail server runs
55
63
  config.host = 'example.com'
56
64
 
57
- # Optional parameter (Integer). By default it is equal 9292
58
- config.port = 80
59
-
60
65
  # Required parameter (String). It should be valid Truemail server access token
61
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
62
73
  end
63
74
  ```
64
75
 
@@ -68,24 +79,29 @@ After successful configuration, you can establish connection with Truemail serve
68
79
 
69
80
  ```ruby
70
81
  Truemail::Client.validate('admin@bestweb.com.ua')
71
- => {
72
- "date": "2020-02-26 17:00:56 +0200",
73
- "email": "admin@bestweb.com.ua",
74
- "validation_type": "smtp",
75
- "success": true,
76
- "errors": null,
77
- "smtp_debug": null,
78
- "configuration": {
79
- "validation_type_by_domain": null,
80
- "whitelist_validation": false,
81
- "whitelisted_domains": null,
82
- "blacklisted_domains": null,
83
- "smtp_safe_check": false,
84
- "email_pattern": "default gem value",
85
- "smtp_error_body_pattern": "default gem value",
86
- "not_rfc_mx_lookup_flow": false
87
- }
88
- }
82
+ ```
83
+
84
+ ```json
85
+ {
86
+ "date": "2020-02-26 17:00:56 +0200",
87
+ "email": "admin@bestweb.com.ua",
88
+ "validation_type": "smtp",
89
+ "success": true,
90
+ "errors": null,
91
+ "smtp_debug": null,
92
+ "configuration": {
93
+ "validation_type_by_domain": null,
94
+ "whitelist_validation": false,
95
+ "whitelisted_domains": null,
96
+ "blacklisted_domains": null,
97
+ "blacklisted_mx_ip_addresses": null,
98
+ "dns": null,
99
+ "smtp_safe_check": false,
100
+ "email_pattern": "default gem value",
101
+ "smtp_error_body_pattern": "default gem value",
102
+ "not_rfc_mx_lookup_flow": false
103
+ }
104
+ }
89
105
  ```
90
106
 
91
107
  `Truemail::Client.validate` always returns JSON data. If something goes wrong you will receive JSON with error details:
@@ -150,14 +166,15 @@ Truemail::Client.configuration
150
166
 
151
167
  ## Truemail family
152
168
 
153
- All Truemail extensions: https://truemail-rb.org
169
+ All Truemail solutions: https://truemail-rb.org
154
170
 
155
171
  | Name | Type | Description |
156
172
  | --- | --- | --- |
157
- | [truemail](https://github.com/rubygarage/truemail) | ruby gem | Configurable framework agnostic plain Ruby email validator, main core |
173
+ | [truemail](https://github.com/truemail-rb/truemail) | ruby gem | Configurable framework agnostic plain Ruby email validator, main core |
158
174
  | [truemail server](https://github.com/truemail-rb/truemail-rack) | ruby app | Lightweight rack based web API wrapper for Truemail |
159
175
  | [truemail-rack-docker](https://github.com/truemail-rb/truemail-rack-docker-image) | docker image | Lightweight rack based web API [dockerized image](https://hub.docker.com/r/truemail/truemail-rack) :whale: of Truemail server |
160
176
  | [truemail-crystal-client](https://github.com/truemail-rb/truemail-crystal-client) | crystal shard | Truemail web API client library for Crystal |
177
+ | [truemail-java-client](https://github.com/truemail-rb/truemail-java-client) | java lib | Truemail web API client library for Java |
161
178
  | [truemail-rspec](https://github.com/truemail-rb/truemail-rspec) | ruby gem | Truemail configuration and validator RSpec helpers |
162
179
 
163
180
  ## Contributing
@@ -12,7 +12,7 @@ module Truemail
12
12
  class << self
13
13
  def configuration(&block)
14
14
  @configuration ||= begin
15
- return unless block_given?
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
@@ -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 block_given?
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
@@ -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,10 +41,10 @@ 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)
47
- ).request_uri.gsub(/%40/, '@') # TODO: should be removed after new Truemail server release with encoding uri param values
46
+ query: uri_params.empty? ? nil : ::URI.encode_www_form(uri_params)
47
+ ).request_uri
48
48
  end
49
49
 
50
50
  def uri
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Truemail
4
4
  module Client
5
- VERSION = '0.2.1'
5
+ VERSION = '0.3.3'
6
6
  end
7
7
  end
@@ -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', '~> 1.16'
35
- spec.add_development_dependency 'bundler-audit', '~> 0.7.0.1'
36
- spec.add_development_dependency 'fasterer', '~> 0.8.3'
37
- spec.add_development_dependency 'ffaker', '~> 2.15'
34
+ spec.add_development_dependency 'bundler', '~> 2.2', '>= 2.2.23'
35
+ spec.add_development_dependency 'bundler-audit', '~> 0.8.0'
36
+ spec.add_development_dependency 'faker', '~> 2.18'
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.55.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.1'
42
- spec.add_development_dependency 'reek', '~> 6.0', '>= 6.0.1'
43
- spec.add_development_dependency 'rspec', '~> 3.9'
44
- spec.add_development_dependency 'rubocop', '~> 0.88.0'
45
- spec.add_development_dependency 'rubocop-performance', '~> 1.7', '>= 1.7.1'
46
- spec.add_development_dependency 'rubocop-rspec', '~> 1.42'
41
+ spec.add_development_dependency 'rake', '~> 13.0', '>= 13.0.6'
42
+ spec.add_development_dependency 'reek', '~> 6.0', '>= 6.0.4'
43
+ spec.add_development_dependency 'rspec', '~> 3.10'
44
+ spec.add_development_dependency 'rubocop', '~> 1.18', '>= 1.18.3'
45
+ spec.add_development_dependency 'rubocop-performance', '~> 1.11', '>= 1.11.4'
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.8', '>= 3.8.3'
48
+ spec.add_development_dependency 'webmock', '~> 3.13'
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.2.1
4
+ version: 0.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vladislav Trotsenko
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-10-05 00:00:00.000000000 Z
11
+ date: 2021-07-13 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: '1.16'
19
+ version: '2.2'
20
+ - - ">="
21
+ - !ruby/object:Gem::Version
22
+ version: 2.2.23
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: '1.16'
29
+ version: '2.2'
30
+ - - ">="
31
+ - !ruby/object:Gem::Version
32
+ version: 2.2.23
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.7.0.1
39
+ version: 0.8.0
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.7.0.1
46
+ version: 0.8.0
41
47
  - !ruby/object:Gem::Dependency
42
- name: fasterer
48
+ name: faker
43
49
  requirement: !ruby/object:Gem::Requirement
44
50
  requirements:
45
51
  - - "~>"
46
52
  - !ruby/object:Gem::Version
47
- version: 0.8.3
53
+ version: '2.18'
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: 0.8.3
60
+ version: '2.18'
55
61
  - !ruby/object:Gem::Dependency
56
- name: ffaker
62
+ name: fasterer
57
63
  requirement: !ruby/object:Gem::Requirement
58
64
  requirements:
59
65
  - - "~>"
60
66
  - !ruby/object:Gem::Version
61
- version: '2.15'
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: '2.15'
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.55.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.55.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.1
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.1
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.1
146
+ version: 6.0.4
141
147
  type: :development
142
148
  prerelease: false
143
149
  version_requirements: !ruby/object:Gem::Requirement
@@ -147,69 +153,75 @@ dependencies:
147
153
  version: '6.0'
148
154
  - - ">="
149
155
  - !ruby/object:Gem::Version
150
- version: 6.0.1
156
+ version: 6.0.4
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.9'
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.9'
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: 0.88.0
177
+ version: '1.18'
178
+ - - ">="
179
+ - !ruby/object:Gem::Version
180
+ version: 1.18.3
172
181
  type: :development
173
182
  prerelease: false
174
183
  version_requirements: !ruby/object:Gem::Requirement
175
184
  requirements:
176
185
  - - "~>"
177
186
  - !ruby/object:Gem::Version
178
- version: 0.88.0
187
+ version: '1.18'
188
+ - - ">="
189
+ - !ruby/object:Gem::Version
190
+ version: 1.18.3
179
191
  - !ruby/object:Gem::Dependency
180
192
  name: rubocop-performance
181
193
  requirement: !ruby/object:Gem::Requirement
182
194
  requirements:
183
195
  - - "~>"
184
196
  - !ruby/object:Gem::Version
185
- version: '1.7'
197
+ version: '1.11'
186
198
  - - ">="
187
199
  - !ruby/object:Gem::Version
188
- version: 1.7.1
200
+ version: 1.11.4
189
201
  type: :development
190
202
  prerelease: false
191
203
  version_requirements: !ruby/object:Gem::Requirement
192
204
  requirements:
193
205
  - - "~>"
194
206
  - !ruby/object:Gem::Version
195
- version: '1.7'
207
+ version: '1.11'
196
208
  - - ">="
197
209
  - !ruby/object:Gem::Version
198
- version: 1.7.1
210
+ version: 1.11.4
199
211
  - !ruby/object:Gem::Dependency
200
212
  name: rubocop-rspec
201
213
  requirement: !ruby/object:Gem::Requirement
202
214
  requirements:
203
215
  - - "~>"
204
216
  - !ruby/object:Gem::Version
205
- version: '1.42'
217
+ version: '2.4'
206
218
  type: :development
207
219
  prerelease: false
208
220
  version_requirements: !ruby/object:Gem::Requirement
209
221
  requirements:
210
222
  - - "~>"
211
223
  - !ruby/object:Gem::Version
212
- version: '1.42'
224
+ version: '2.4'
213
225
  - !ruby/object:Gem::Dependency
214
226
  name: simplecov
215
227
  requirement: !ruby/object:Gem::Requirement
@@ -230,20 +242,14 @@ dependencies:
230
242
  requirements:
231
243
  - - "~>"
232
244
  - !ruby/object:Gem::Version
233
- version: '3.8'
234
- - - ">="
235
- - !ruby/object:Gem::Version
236
- version: 3.8.3
245
+ version: '3.13'
237
246
  type: :development
238
247
  prerelease: false
239
248
  version_requirements: !ruby/object:Gem::Requirement
240
249
  requirements:
241
250
  - - "~>"
242
251
  - !ruby/object:Gem::Version
243
- version: '3.8'
244
- - - ">="
245
- - !ruby/object:Gem::Version
246
- version: 3.8.3
252
+ version: '3.13'
247
253
  description: Truemail web API client library for Ruby
248
254
  email:
249
255
  - admin@bestweb.com.ua
@@ -253,7 +259,11 @@ extra_rdoc_files: []
253
259
  files:
254
260
  - ".circleci/config.yml"
255
261
  - ".codeclimate.yml"
256
- - ".github/ISSUE_TEMPLATE.md"
262
+ - ".github/BRANCH_NAMING_CONVENTION.md"
263
+ - ".github/ISSUE_TEMPLATE/bug_report.md"
264
+ - ".github/ISSUE_TEMPLATE/feature_request.md"
265
+ - ".github/ISSUE_TEMPLATE/issue_report.md"
266
+ - ".github/ISSUE_TEMPLATE/question.md"
257
267
  - ".github/PULL_REQUEST_TEMPLATE.md"
258
268
  - ".gitignore"
259
269
  - ".overcommit.yml"
@@ -301,8 +311,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
301
311
  - !ruby/object:Gem::Version
302
312
  version: '0'
303
313
  requirements: []
304
- rubyforge_project:
305
- rubygems_version: 2.7.3
314
+ rubygems_version: 3.2.20
306
315
  signing_key:
307
316
  specification_version: 4
308
317
  summary: truemail-client