truemail-client 0.3.0 → 0.3.1

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: 3933df107140dc00dc06bd55e77d561365f266c6184fd33e4a521723c124dec2
4
- data.tar.gz: e09ec25896d687773a757f0546a6aaf2580cb16e4fa54e429b4ba5711862a2df
3
+ metadata.gz: 5a409167c3748d25cdf77daab9413712e7b3eda3b4daf22583ce2f32454e3aa8
4
+ data.tar.gz: a010200a17a38e82d705c7f926cef692dac02c274d18d5c67982a4c95f2b61de
5
5
  SHA512:
6
- metadata.gz: 0f6ff1fc708a617da946a957873083ea0228cc461f2736644c42814c383a91ff90f7c97d04a379d1f102d586d16a7ba95f849fd21dd597d8caaf1ba2621f956d
7
- data.tar.gz: 9b5b04f4571bb8af155d9a3cebaa5236da8490030d5955173be39bd080b2e163a4cdfdb1b3637492b3d1dc553673d547d1d77fd06ac38cb32a57c0d85ec9af2e
6
+ metadata.gz: 27df3b47bb7ec391f571483206845567581581d6b39223b612ff3751f4f3232322feba4be494dd9f6b7ec9aeb245ecbb1014132375f1d37c0b256642d31a5727
7
+ data.tar.gz: 43528b0002f699979274747718a91e096ee9eb35f338c6f1317146378650d7b5b1276bacc0ed0209e1e553c584864d06625241a9916f320c680a587e5fbcbe0d
data/.codeclimate.yml CHANGED
@@ -7,7 +7,7 @@ checks:
7
7
  plugins:
8
8
  rubocop:
9
9
  enabled: true
10
- channel: rubocop-1-0
10
+ channel: rubocop-1-14
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
@@ -95,6 +95,42 @@ Style/RedundantRegexpEscape:
95
95
  Style/SlicingWithRange:
96
96
  Enabled: true
97
97
 
98
+ Style/ArgumentsForwarding:
99
+ Enabled: true
100
+
101
+ Style/CollectionCompact:
102
+ Enabled: true
103
+
104
+ Style/DocumentDynamicEvalDefinition:
105
+ Enabled: true
106
+
107
+ Style/EndlessMethod:
108
+ Enabled: true
109
+
110
+ Style/HashConversion:
111
+ Enabled: true
112
+
113
+ Style/HashExcept:
114
+ Enabled: true
115
+
116
+ Style/IfWithBooleanLiteralBranches:
117
+ Enabled: true
118
+
119
+ Style/NegatedIfElseCondition:
120
+ Enabled: true
121
+
122
+ Style/NilLambda:
123
+ Enabled: true
124
+
125
+ Style/RedundantArgument:
126
+ Enabled: true
127
+
128
+ Style/StringChars:
129
+ Enabled: true
130
+
131
+ Style/SwapValues:
132
+ Enabled: true
133
+
98
134
  Style/IfUnlessModifier:
99
135
  Exclude:
100
136
  - 'lib/truemail/client/http.rb'
@@ -133,6 +169,9 @@ Layout/ClassStructure:
133
169
  Layout/EmptyLineAfterGuardClause:
134
170
  Enabled: false
135
171
 
172
+ Layout/SpaceBeforeBrackets:
173
+ Enabled: true
174
+
136
175
  Lint/NonDeterministicRequireOrder:
137
176
  Enabled: true
138
177
 
@@ -151,6 +190,54 @@ Lint/RaiseException:
151
190
  Lint/StructNewOverride:
152
191
  Enabled: true
153
192
 
193
+ Lint/AmbiguousAssignment:
194
+ Enabled: true
195
+
196
+ Lint/DeprecatedConstants:
197
+ Enabled: true
198
+
199
+ Lint/DuplicateBranch:
200
+ Enabled: true
201
+
202
+ Lint/DuplicateRegexpCharacterClassElement:
203
+ Enabled: true
204
+
205
+ Lint/EmptyBlock:
206
+ Enabled: true
207
+
208
+ Lint/EmptyClass:
209
+ Enabled: true
210
+
211
+ Lint/LambdaWithoutLiteralBlock:
212
+ Enabled: true
213
+
214
+ Lint/NoReturnInBeginEndBlocks:
215
+ Enabled: false
216
+
217
+ Lint/NumberedParameterAssignment:
218
+ Enabled: true
219
+
220
+ Lint/OrAssignmentToConstant:
221
+ Enabled: true
222
+
223
+ Lint/RedundantDirGlobSort:
224
+ Enabled: true
225
+
226
+ Lint/SymbolConversion:
227
+ Enabled: true
228
+
229
+ Lint/ToEnumArguments:
230
+ Enabled: true
231
+
232
+ Lint/TripleQuotes:
233
+ Enabled: true
234
+
235
+ Lint/UnexpectedBlockArity:
236
+ Enabled: true
237
+
238
+ Lint/UnmodifiedReduceAccumulator:
239
+ Enabled: true
240
+
154
241
  Performance/AncestorsInclude:
155
242
  Enabled: true
156
243
 
@@ -175,6 +262,33 @@ Performance/Squeeze:
175
262
  Performance/StringInclude:
176
263
  Enabled: true
177
264
 
265
+ Performance/BlockGivenWithExplicitBlock:
266
+ Enabled: true
267
+
268
+ Performance/CollectionLiteralInLoop:
269
+ Enabled: true
270
+
271
+ Performance/ConstantRegexp:
272
+ Enabled: true
273
+
274
+ Performance/MapCompact:
275
+ Enabled: true
276
+
277
+ Performance/MethodObjectAsBlock:
278
+ Enabled: true
279
+
280
+ Performance/RedundantEqualityComparisonBlock:
281
+ Enabled: true
282
+
283
+ Performance/RedundantSplitRegexpArgument:
284
+ Enabled: true
285
+
286
+ Performance/Sum:
287
+ Enabled: true
288
+
289
+ Gemspec/DateAssignment:
290
+ Enabled: true
291
+
178
292
  RSpec/ExampleLength:
179
293
  Enabled: false
180
294
 
@@ -201,3 +315,6 @@ RSpec/MultipleDescribes:
201
315
 
202
316
  RSpec/MultipleMemoizedHelpers:
203
317
  Enabled: false
318
+
319
+ RSpec/StubbedMock:
320
+ Enabled: false
data/CHANGELOG.md CHANGED
@@ -2,6 +2,14 @@
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.1] - 2021-05-08
6
+
7
+ ### Changed
8
+
9
+ - Updated gem dependencies
10
+ - Updated rubocop/codeclimate config
11
+ - Updated gem version
12
+
5
13
  ## [0.3.0] - 2020-10-28
6
14
 
7
15
  ### 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](#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,45 +1,46 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- truemail-client (0.3.0)
4
+ truemail-client (0.3.1)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
8
8
  specs:
9
9
  addressable (2.7.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
16
  childprocess (4.0.0)
17
17
  coderay (1.1.3)
18
18
  colorize (0.8.1)
19
- concurrent-ruby (1.1.7)
20
- crack (0.4.4)
19
+ concurrent-ruby (1.1.8)
20
+ crack (0.4.5)
21
+ rexml
21
22
  diff-lcs (1.4.4)
22
- docile (1.3.2)
23
- faker (2.14.0)
23
+ docile (1.3.5)
24
+ faker (2.17.0)
24
25
  i18n (>= 1.6, < 2)
25
- fasterer (0.8.3)
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.5)
30
+ i18n (1.8.10)
30
31
  concurrent-ruby (~> 1.0)
31
32
  iniparse (1.5.0)
32
- json (2.3.1)
33
+ json (2.5.1)
33
34
  json_matchers (0.11.1)
34
35
  json_schema
35
- json_schema (0.20.9)
36
+ json_schema (0.21.0)
36
37
  kwalify (0.7.2)
37
38
  method_source (1.0.0)
38
39
  overcommit (0.57.0)
39
40
  childprocess (>= 0.6.3, < 5)
40
41
  iniparse (~> 1.4)
41
- parallel (1.19.2)
42
- parser (2.7.2.0)
42
+ parallel (1.20.1)
43
+ parser (3.0.1.1)
43
44
  ast (~> 2.4.1)
44
45
  pry (0.13.1)
45
46
  coderay (~> 1.1)
@@ -47,58 +48,59 @@ GEM
47
48
  pry-byebug (3.9.0)
48
49
  byebug (~> 11.0)
49
50
  pry (~> 0.13.0)
50
- psych (3.2.0)
51
+ psych (3.3.1)
51
52
  public_suffix (4.0.6)
52
53
  rainbow (3.0.0)
53
- rake (13.0.1)
54
- reek (6.0.2)
54
+ rake (13.0.3)
55
+ reek (6.0.4)
55
56
  kwalify (~> 0.7.0)
56
- parser (>= 2.5.0.0, < 2.8, != 2.5.1.1)
57
+ parser (~> 3.0.0)
57
58
  psych (~> 3.1)
58
59
  rainbow (>= 2.0, < 4.0)
59
- regexp_parser (1.8.2)
60
- rexml (3.2.4)
61
- rspec (3.9.0)
62
- rspec-core (~> 3.9.0)
63
- rspec-expectations (~> 3.9.0)
64
- rspec-mocks (~> 3.9.0)
65
- rspec-core (3.9.3)
66
- rspec-support (~> 3.9.3)
67
- rspec-expectations (3.9.3)
60
+ regexp_parser (2.1.1)
61
+ rexml (3.2.5)
62
+ rspec (3.10.0)
63
+ rspec-core (~> 3.10.0)
64
+ rspec-expectations (~> 3.10.0)
65
+ rspec-mocks (~> 3.10.0)
66
+ rspec-core (3.10.1)
67
+ rspec-support (~> 3.10.0)
68
+ rspec-expectations (3.10.1)
68
69
  diff-lcs (>= 1.2.0, < 2.0)
69
- rspec-support (~> 3.9.0)
70
- rspec-mocks (3.9.1)
70
+ rspec-support (~> 3.10.0)
71
+ rspec-mocks (3.10.2)
71
72
  diff-lcs (>= 1.2.0, < 2.0)
72
- rspec-support (~> 3.9.0)
73
- rspec-support (3.9.4)
74
- rubocop (1.0.0)
73
+ rspec-support (~> 3.10.0)
74
+ rspec-support (3.10.2)
75
+ rubocop (1.14.0)
75
76
  parallel (~> 1.10)
76
- parser (>= 2.7.1.5)
77
+ parser (>= 3.0.0.0)
77
78
  rainbow (>= 2.2.2, < 4.0)
78
- regexp_parser (>= 1.8)
79
+ regexp_parser (>= 1.8, < 3.0)
79
80
  rexml
80
- rubocop-ast (>= 0.6.0)
81
+ rubocop-ast (>= 1.5.0, < 2.0)
81
82
  ruby-progressbar (~> 1.7)
82
- unicode-display_width (>= 1.4.0, < 2.0)
83
- rubocop-ast (1.1.0)
84
- parser (>= 2.7.1.5)
85
- rubocop-performance (1.8.1)
86
- rubocop (>= 0.87.0)
83
+ unicode-display_width (>= 1.4.0, < 3.0)
84
+ rubocop-ast (1.5.0)
85
+ parser (>= 3.0.1.1)
86
+ rubocop-performance (1.11.3)
87
+ rubocop (>= 1.7.0, < 2.0)
87
88
  rubocop-ast (>= 0.4.0)
88
- rubocop-rspec (2.0.0.pre)
89
+ rubocop-rspec (2.3.0)
89
90
  rubocop (~> 1.0)
90
- ruby-progressbar (1.10.1)
91
- ruby_parser (3.15.0)
91
+ rubocop-ast (>= 1.1.0)
92
+ ruby-progressbar (1.11.0)
93
+ ruby_parser (3.15.1)
92
94
  sexp_processor (~> 4.9)
93
- sexp_processor (4.15.1)
95
+ sexp_processor (4.15.2)
94
96
  simplecov (0.17.1)
95
97
  docile (~> 1.1)
96
98
  json (>= 1.8, < 3)
97
99
  simplecov-html (~> 0.10.0)
98
100
  simplecov-html (0.10.2)
99
- thor (1.0.1)
100
- unicode-display_width (1.7.0)
101
- webmock (3.9.3)
101
+ thor (1.1.0)
102
+ unicode-display_width (2.0.0)
103
+ webmock (3.12.2)
102
104
  addressable (>= 2.3.6)
103
105
  crack (>= 0.3.2)
104
106
  hashdiff (>= 0.4.0, < 2.0.0)
@@ -108,21 +110,21 @@ PLATFORMS
108
110
 
109
111
  DEPENDENCIES
110
112
  bundler (~> 1.16)
111
- bundler-audit (~> 0.7.0.1)
112
- faker (~> 2.14)
113
- fasterer (~> 0.8.3)
113
+ bundler-audit (~> 0.8.0)
114
+ faker (~> 2.17)
115
+ fasterer (~> 0.9.0)
114
116
  json_matchers (~> 0.11.1)
115
117
  overcommit (~> 0.57.0)
116
118
  pry-byebug (~> 3.9)
117
- rake (~> 13.0, >= 13.0.1)
118
- reek (~> 6.0, >= 6.0.2)
119
- rspec (~> 3.9)
120
- rubocop (~> 1.0)
121
- rubocop-performance (~> 1.8, >= 1.8.1)
122
- rubocop-rspec (~> 2.0.0.pre)
119
+ rake (~> 13.0, >= 13.0.3)
120
+ reek (~> 6.0, >= 6.0.4)
121
+ rspec (~> 3.10)
122
+ rubocop (~> 1.14)
123
+ rubocop-performance (~> 1.11, >= 1.11.3)
124
+ rubocop-rspec (~> 2.3)
123
125
  simplecov (~> 0.17.1)
124
126
  truemail-client!
125
- webmock (~> 3.9, >= 3.9.3)
127
+ webmock (~> 3.12, >= 3.12.2)
126
128
 
127
129
  BUNDLED WITH
128
130
  1.16.6
data/README.md CHANGED
@@ -5,6 +5,8 @@
5
5
  [![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)
6
6
  [![Gem Version](https://badge.fury.io/rb/truemail-client.svg)](https://badge.fury.io/rb/truemail-client)
7
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)
8
10
  [![Contributor Covenant](https://img.shields.io/badge/Contributor%20Covenant-v1.4%20adopted-ff69b4.svg)](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.
@@ -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
@@ -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|
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Truemail
4
4
  module Client
5
- VERSION = '0.3.0'
5
+ VERSION = '0.3.1'
6
6
  end
7
7
  end
@@ -32,18 +32,18 @@ Gem::Specification.new do |spec|
32
32
  spec.require_paths = ['lib']
33
33
 
34
34
  spec.add_development_dependency 'bundler', '~> 1.16'
35
- spec.add_development_dependency 'bundler-audit', '~> 0.7.0.1'
36
- spec.add_development_dependency 'faker', '~> 2.14'
37
- spec.add_development_dependency 'fasterer', '~> 0.8.3'
35
+ spec.add_development_dependency 'bundler-audit', '~> 0.8.0'
36
+ spec.add_development_dependency 'faker', '~> 2.17'
37
+ spec.add_development_dependency 'fasterer', '~> 0.9.0'
38
38
  spec.add_development_dependency 'json_matchers', '~> 0.11.1'
39
39
  spec.add_development_dependency 'overcommit', '~> 0.57.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.2'
43
- spec.add_development_dependency 'rspec', '~> 3.9'
44
- spec.add_development_dependency 'rubocop', '~> 1.0'
45
- spec.add_development_dependency 'rubocop-performance', '~> 1.8', '>= 1.8.1'
46
- spec.add_development_dependency 'rubocop-rspec', '~> 2.0.0.pre'
41
+ spec.add_development_dependency 'rake', '~> 13.0', '>= 13.0.3'
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.14'
45
+ spec.add_development_dependency 'rubocop-performance', '~> 1.11', '>= 1.11.3'
46
+ spec.add_development_dependency 'rubocop-rspec', '~> 2.3'
47
47
  spec.add_development_dependency 'simplecov', '~> 0.17.1'
48
- spec.add_development_dependency 'webmock', '~> 3.9', '>= 3.9.3'
48
+ spec.add_development_dependency 'webmock', '~> 3.12', '>= 3.12.2'
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.0
4
+ version: 0.3.1
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-28 00:00:00.000000000 Z
11
+ date: 2021-05-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -30,42 +30,42 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 0.7.0.1
33
+ version: 0.8.0
34
34
  type: :development
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: 0.7.0.1
40
+ version: 0.8.0
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: faker
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '2.14'
47
+ version: '2.17'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: '2.14'
54
+ version: '2.17'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: fasterer
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: 0.8.3
61
+ version: 0.9.0
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: 0.8.3
68
+ version: 0.9.0
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: json_matchers
71
71
  requirement: !ruby/object:Gem::Requirement
@@ -117,7 +117,7 @@ dependencies:
117
117
  version: '13.0'
118
118
  - - ">="
119
119
  - !ruby/object:Gem::Version
120
- version: 13.0.1
120
+ version: 13.0.3
121
121
  type: :development
122
122
  prerelease: false
123
123
  version_requirements: !ruby/object:Gem::Requirement
@@ -127,7 +127,7 @@ dependencies:
127
127
  version: '13.0'
128
128
  - - ">="
129
129
  - !ruby/object:Gem::Version
130
- version: 13.0.1
130
+ version: 13.0.3
131
131
  - !ruby/object:Gem::Dependency
132
132
  name: reek
133
133
  requirement: !ruby/object:Gem::Requirement
@@ -137,7 +137,7 @@ dependencies:
137
137
  version: '6.0'
138
138
  - - ">="
139
139
  - !ruby/object:Gem::Version
140
- version: 6.0.2
140
+ version: 6.0.4
141
141
  type: :development
142
142
  prerelease: false
143
143
  version_requirements: !ruby/object:Gem::Requirement
@@ -147,69 +147,69 @@ dependencies:
147
147
  version: '6.0'
148
148
  - - ">="
149
149
  - !ruby/object:Gem::Version
150
- version: 6.0.2
150
+ version: 6.0.4
151
151
  - !ruby/object:Gem::Dependency
152
152
  name: rspec
153
153
  requirement: !ruby/object:Gem::Requirement
154
154
  requirements:
155
155
  - - "~>"
156
156
  - !ruby/object:Gem::Version
157
- version: '3.9'
157
+ version: '3.10'
158
158
  type: :development
159
159
  prerelease: false
160
160
  version_requirements: !ruby/object:Gem::Requirement
161
161
  requirements:
162
162
  - - "~>"
163
163
  - !ruby/object:Gem::Version
164
- version: '3.9'
164
+ version: '3.10'
165
165
  - !ruby/object:Gem::Dependency
166
166
  name: rubocop
167
167
  requirement: !ruby/object:Gem::Requirement
168
168
  requirements:
169
169
  - - "~>"
170
170
  - !ruby/object:Gem::Version
171
- version: '1.0'
171
+ version: '1.14'
172
172
  type: :development
173
173
  prerelease: false
174
174
  version_requirements: !ruby/object:Gem::Requirement
175
175
  requirements:
176
176
  - - "~>"
177
177
  - !ruby/object:Gem::Version
178
- version: '1.0'
178
+ version: '1.14'
179
179
  - !ruby/object:Gem::Dependency
180
180
  name: rubocop-performance
181
181
  requirement: !ruby/object:Gem::Requirement
182
182
  requirements:
183
183
  - - "~>"
184
184
  - !ruby/object:Gem::Version
185
- version: '1.8'
185
+ version: '1.11'
186
186
  - - ">="
187
187
  - !ruby/object:Gem::Version
188
- version: 1.8.1
188
+ version: 1.11.3
189
189
  type: :development
190
190
  prerelease: false
191
191
  version_requirements: !ruby/object:Gem::Requirement
192
192
  requirements:
193
193
  - - "~>"
194
194
  - !ruby/object:Gem::Version
195
- version: '1.8'
195
+ version: '1.11'
196
196
  - - ">="
197
197
  - !ruby/object:Gem::Version
198
- version: 1.8.1
198
+ version: 1.11.3
199
199
  - !ruby/object:Gem::Dependency
200
200
  name: rubocop-rspec
201
201
  requirement: !ruby/object:Gem::Requirement
202
202
  requirements:
203
203
  - - "~>"
204
204
  - !ruby/object:Gem::Version
205
- version: 2.0.0.pre
205
+ version: '2.3'
206
206
  type: :development
207
207
  prerelease: false
208
208
  version_requirements: !ruby/object:Gem::Requirement
209
209
  requirements:
210
210
  - - "~>"
211
211
  - !ruby/object:Gem::Version
212
- version: 2.0.0.pre
212
+ version: '2.3'
213
213
  - !ruby/object:Gem::Dependency
214
214
  name: simplecov
215
215
  requirement: !ruby/object:Gem::Requirement
@@ -230,20 +230,20 @@ dependencies:
230
230
  requirements:
231
231
  - - "~>"
232
232
  - !ruby/object:Gem::Version
233
- version: '3.9'
233
+ version: '3.12'
234
234
  - - ">="
235
235
  - !ruby/object:Gem::Version
236
- version: 3.9.3
236
+ version: 3.12.2
237
237
  type: :development
238
238
  prerelease: false
239
239
  version_requirements: !ruby/object:Gem::Requirement
240
240
  requirements:
241
241
  - - "~>"
242
242
  - !ruby/object:Gem::Version
243
- version: '3.9'
243
+ version: '3.12'
244
244
  - - ">="
245
245
  - !ruby/object:Gem::Version
246
- version: 3.9.3
246
+ version: 3.12.2
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/ISSUE_TEMPLATE.md"
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"