valid_email2 7.0.9 → 7.0.11
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/.github/workflows/release.yaml +1 -0
- data/.release-please-manifest.json +1 -1
- data/.rubocop.yml +17 -0
- data/.rubocop_todo.yml +263 -0
- data/CHANGELOG.md +14 -0
- data/config/disposable_email_domains.txt +4933 -5703
- data/lib/valid_email2/address.rb +20 -23
- data/lib/valid_email2/version.rb +1 -1
- data/pull_mailchecker_emails.rb +13 -3
- data/spec/address_spec.rb +89 -3
- data/spec/benchmark_spec.rb +13 -2
- data/valid_email2.gemspec +4 -4
- metadata +19 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: efdf6df9c0cfb6786cb150161775d0cd5d93acef4d5ad9982c82ac934af6270b
|
4
|
+
data.tar.gz: 78ab4c49e4ae672fe6f74474a420c4579c341f876fd2bd39b064cdb6ea712e3d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ac91ab2a9226a7cd36044276685d556aef1bb174cf16d991e182ddc096a1178284c9cd63a9cddb77c5c8d3a00264ba3d966c0f1181fcca44509a8886ab7f7ef4
|
7
|
+
data.tar.gz: 172490e4355f80754bf9b3fa90a04f8ff6d4804f7bb334c2471bcbcf7328933e4b8c0a14f4a0e33d29502f7129f6a74d4cf2063398fe2d07a216b8d13e3bf5f0
|
@@ -1 +1 @@
|
|
1
|
-
{".":"7.0.
|
1
|
+
{".":"7.0.11"}
|
data/.rubocop.yml
ADDED
@@ -0,0 +1,17 @@
|
|
1
|
+
inherit_from: .rubocop_todo.yml
|
2
|
+
|
3
|
+
# The behavior of RuboCop can be controlled via the .rubocop.yml
|
4
|
+
# configuration file. It makes it possible to enable/disable
|
5
|
+
# certain cops (checks) and to alter their behavior if they accept
|
6
|
+
# any parameters. The file can be placed either in your home
|
7
|
+
# directory or in some project directory.
|
8
|
+
#
|
9
|
+
# RuboCop will start looking for the configuration file in the directory
|
10
|
+
# where the inspected file is and continue its way up to the root directory.
|
11
|
+
#
|
12
|
+
# See https://docs.rubocop.org/rubocop/configuration
|
13
|
+
|
14
|
+
Style/StringLiterals:
|
15
|
+
EnforcedStyle: double_quotes
|
16
|
+
Gemspec/OrderedDependencies:
|
17
|
+
Enabled: no
|
data/.rubocop_todo.yml
ADDED
@@ -0,0 +1,263 @@
|
|
1
|
+
# This configuration was generated by
|
2
|
+
# `rubocop --auto-gen-config`
|
3
|
+
# on 2025-02-14 12:05:00 UTC using RuboCop version 1.71.2.
|
4
|
+
# The point is for the user to remove these configuration records
|
5
|
+
# one by one as the offenses are removed from the code base.
|
6
|
+
# Note that changes in the inspected code, or installation of new
|
7
|
+
# versions of RuboCop, may require this file to be generated again.
|
8
|
+
|
9
|
+
# Offense count: 1
|
10
|
+
# This cop supports safe autocorrection (--autocorrect).
|
11
|
+
Layout/EmptyLineAfterGuardClause:
|
12
|
+
Exclude:
|
13
|
+
- 'lib/valid_email2/email_validator.rb'
|
14
|
+
|
15
|
+
# Offense count: 2
|
16
|
+
# This cop supports safe autocorrection (--autocorrect).
|
17
|
+
# Configuration parameters: AllowForAlignment, AllowBeforeTrailingComments, ForceEqualSignAlignment.
|
18
|
+
Layout/ExtraSpacing:
|
19
|
+
Exclude:
|
20
|
+
- 'lib/valid_email2.rb'
|
21
|
+
|
22
|
+
# Offense count: 1
|
23
|
+
# This cop supports safe autocorrection (--autocorrect).
|
24
|
+
Layout/SpaceAfterComma:
|
25
|
+
Exclude:
|
26
|
+
- 'spec/spec_helper.rb'
|
27
|
+
|
28
|
+
# Offense count: 2
|
29
|
+
# This cop supports safe autocorrection (--autocorrect).
|
30
|
+
# Configuration parameters: AllowForAlignment, EnforcedStyleForExponentOperator, EnforcedStyleForRationalLiterals.
|
31
|
+
# SupportedStylesForExponentOperator: space, no_space
|
32
|
+
# SupportedStylesForRationalLiterals: space, no_space
|
33
|
+
Layout/SpaceAroundOperators:
|
34
|
+
Exclude:
|
35
|
+
- 'lib/valid_email2.rb'
|
36
|
+
|
37
|
+
# Offense count: 1
|
38
|
+
# This cop supports safe autocorrection (--autocorrect).
|
39
|
+
Lint/ScriptPermission:
|
40
|
+
Exclude:
|
41
|
+
- 'pull_mailchecker_emails.rb'
|
42
|
+
|
43
|
+
# Offense count: 1
|
44
|
+
# This cop supports safe autocorrection (--autocorrect).
|
45
|
+
# Configuration parameters: AutoCorrect, IgnoreEmptyBlocks, AllowUnusedKeywordArguments.
|
46
|
+
Lint/UnusedBlockArgument:
|
47
|
+
Exclude:
|
48
|
+
- 'lib/valid_email2/dns.rb'
|
49
|
+
|
50
|
+
# Offense count: 2
|
51
|
+
# Configuration parameters: AllowedMethods, AllowedPatterns, CountRepeatedAttributes.
|
52
|
+
Metrics/AbcSize:
|
53
|
+
Max: 63
|
54
|
+
|
55
|
+
# Offense count: 11
|
56
|
+
# Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns.
|
57
|
+
# AllowedMethods: refine
|
58
|
+
Metrics/BlockLength:
|
59
|
+
Max: 348
|
60
|
+
|
61
|
+
# Offense count: 1
|
62
|
+
# Configuration parameters: CountComments, CountAsOne.
|
63
|
+
Metrics/ClassLength:
|
64
|
+
Max: 105
|
65
|
+
|
66
|
+
# Offense count: 1
|
67
|
+
# Configuration parameters: AllowedMethods, AllowedPatterns.
|
68
|
+
Metrics/CyclomaticComplexity:
|
69
|
+
Max: 44
|
70
|
+
|
71
|
+
# Offense count: 2
|
72
|
+
# Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns.
|
73
|
+
Metrics/MethodLength:
|
74
|
+
Max: 32
|
75
|
+
|
76
|
+
# Offense count: 1
|
77
|
+
# Configuration parameters: AllowedMethods, AllowedPatterns.
|
78
|
+
Metrics/PerceivedComplexity:
|
79
|
+
Max: 44
|
80
|
+
|
81
|
+
# Offense count: 2
|
82
|
+
# This cop supports safe autocorrection (--autocorrect).
|
83
|
+
# Configuration parameters: EnforcedStyle, ProceduralMethods, FunctionalMethods, AllowedMethods, AllowedPatterns, AllowBracesOnProceduralOneLiners, BracesRequiredMethods.
|
84
|
+
# SupportedStyles: line_count_based, semantic, braces_for_chaining, always_braces
|
85
|
+
# ProceduralMethods: benchmark, bm, bmbm, create, each_with_object, measure, new, realtime, tap, with_object
|
86
|
+
# FunctionalMethods: let, let!, subject, watch
|
87
|
+
# AllowedMethods: lambda, proc, it
|
88
|
+
Style/BlockDelimiters:
|
89
|
+
Exclude:
|
90
|
+
- 'lib/valid_email2/address.rb'
|
91
|
+
|
92
|
+
# Offense count: 1
|
93
|
+
# This cop supports safe autocorrection (--autocorrect).
|
94
|
+
# Configuration parameters: EnforcedStyle, SingleLineConditionsOnly, IncludeTernaryExpressions.
|
95
|
+
# SupportedStyles: assign_to_condition, assign_inside_condition
|
96
|
+
Style/ConditionalAssignment:
|
97
|
+
Exclude:
|
98
|
+
- 'lib/valid_email2/email_validator.rb'
|
99
|
+
|
100
|
+
# Offense count: 4
|
101
|
+
# Configuration parameters: AllowedConstants.
|
102
|
+
Style/Documentation:
|
103
|
+
Exclude:
|
104
|
+
- 'spec/**/*'
|
105
|
+
- 'test/**/*'
|
106
|
+
- 'lib/valid_email2.rb'
|
107
|
+
- 'lib/valid_email2/address.rb'
|
108
|
+
- 'lib/valid_email2/dns.rb'
|
109
|
+
- 'lib/valid_email2/email_validator.rb'
|
110
|
+
|
111
|
+
# Offense count: 1
|
112
|
+
# This cop supports safe autocorrection (--autocorrect).
|
113
|
+
Style/ExpandPathArguments:
|
114
|
+
Exclude:
|
115
|
+
- 'spec/spec_helper.rb'
|
116
|
+
|
117
|
+
# Offense count: 10
|
118
|
+
# This cop supports unsafe autocorrection (--autocorrect-all).
|
119
|
+
# Configuration parameters: EnforcedStyle.
|
120
|
+
# SupportedStyles: always, always_true, never
|
121
|
+
Style/FrozenStringLiteralComment:
|
122
|
+
Exclude:
|
123
|
+
- '**/*.arb'
|
124
|
+
- 'Gemfile'
|
125
|
+
- 'Rakefile'
|
126
|
+
- 'gemfiles/activemodel6.gemfile'
|
127
|
+
- 'gemfiles/activemodel7.gemfile'
|
128
|
+
- 'gemfiles/activemodel8.gemfile'
|
129
|
+
- 'lib/valid_email2/dns.rb'
|
130
|
+
- 'lib/valid_email2/email_validator.rb'
|
131
|
+
- 'pull_mailchecker_emails.rb'
|
132
|
+
- 'spec/spec_helper.rb'
|
133
|
+
- 'valid_email2.gemspec'
|
134
|
+
|
135
|
+
# Offense count: 2
|
136
|
+
# This cop supports safe autocorrection (--autocorrect).
|
137
|
+
# Configuration parameters: MinBodyLength, AllowConsecutiveConditionals.
|
138
|
+
Style/GuardClause:
|
139
|
+
Exclude:
|
140
|
+
- 'lib/valid_email2/dns.rb'
|
141
|
+
- 'lib/valid_email2/email_validator.rb'
|
142
|
+
|
143
|
+
# Offense count: 1
|
144
|
+
# This cop supports unsafe autocorrection (--autocorrect-all).
|
145
|
+
# Configuration parameters: AllowedReceivers.
|
146
|
+
# AllowedReceivers: Thread.current
|
147
|
+
Style/HashEachMethods:
|
148
|
+
Exclude:
|
149
|
+
- 'lib/valid_email2/dns.rb'
|
150
|
+
|
151
|
+
# Offense count: 2
|
152
|
+
# This cop supports safe autocorrection (--autocorrect).
|
153
|
+
# Configuration parameters: EnforcedStyle, EnforcedShorthandSyntax, UseHashRocketsWithSymbolValues, PreferHashRocketsForNonAlnumEndingSymbols.
|
154
|
+
# SupportedStyles: ruby19, hash_rockets, no_mixed_keys, ruby19_no_mixed_keys
|
155
|
+
# SupportedShorthandSyntax: always, never, either, consistent, either_consistent
|
156
|
+
Style/HashSyntax:
|
157
|
+
Exclude:
|
158
|
+
- 'Rakefile'
|
159
|
+
|
160
|
+
# Offense count: 1
|
161
|
+
# This cop supports unsafe autocorrection (--autocorrect-all).
|
162
|
+
# Configuration parameters: EnforcedStyle.
|
163
|
+
# SupportedStyles: literals, strict
|
164
|
+
Style/MutableConstant:
|
165
|
+
Exclude:
|
166
|
+
- 'lib/valid_email2/dns.rb'
|
167
|
+
|
168
|
+
# Offense count: 1
|
169
|
+
# This cop supports safe autocorrection (--autocorrect).
|
170
|
+
# Configuration parameters: Strict, AllowedNumbers, AllowedPatterns.
|
171
|
+
Style/NumericLiterals:
|
172
|
+
MinDigits: 6
|
173
|
+
|
174
|
+
# Offense count: 2
|
175
|
+
# This cop supports unsafe autocorrection (--autocorrect-all).
|
176
|
+
# Configuration parameters: EnforcedStyle, AllowedMethods, AllowedPatterns.
|
177
|
+
# SupportedStyles: predicate, comparison
|
178
|
+
Style/NumericPredicate:
|
179
|
+
Exclude:
|
180
|
+
- 'spec/**/*'
|
181
|
+
- 'lib/valid_email2/address.rb'
|
182
|
+
|
183
|
+
# Offense count: 1
|
184
|
+
# This cop supports safe autocorrection (--autocorrect).
|
185
|
+
Style/Proc:
|
186
|
+
Exclude:
|
187
|
+
- 'spec/valid_email2_spec.rb'
|
188
|
+
|
189
|
+
# Offense count: 1
|
190
|
+
# This cop supports safe autocorrection (--autocorrect).
|
191
|
+
# Configuration parameters: EnforcedStyle, AllowInnerSlashes.
|
192
|
+
# SupportedStyles: slashes, percent_r, mixed
|
193
|
+
Style/RegexpLiteral:
|
194
|
+
Exclude:
|
195
|
+
- 'lib/valid_email2/address.rb'
|
196
|
+
|
197
|
+
# Offense count: 1
|
198
|
+
# This cop supports unsafe autocorrection (--autocorrect-all).
|
199
|
+
Style/SlicingWithRange:
|
200
|
+
Exclude:
|
201
|
+
- 'lib/valid_email2/address.rb'
|
202
|
+
|
203
|
+
# Offense count: 9
|
204
|
+
# This cop supports safe autocorrection (--autocorrect).
|
205
|
+
# Configuration parameters: AllowModifier.
|
206
|
+
Style/SoleNestedConditional:
|
207
|
+
Exclude:
|
208
|
+
- 'lib/valid_email2/email_validator.rb'
|
209
|
+
|
210
|
+
# Offense count: 2
|
211
|
+
# This cop supports unsafe autocorrection (--autocorrect-all).
|
212
|
+
# Configuration parameters: RequireEnglish, EnforcedStyle.
|
213
|
+
# SupportedStyles: use_perl_names, use_english_names, use_builtin_english_names
|
214
|
+
Style/SpecialGlobalVars:
|
215
|
+
Exclude:
|
216
|
+
- 'spec/spec_helper.rb'
|
217
|
+
- 'valid_email2.gemspec'
|
218
|
+
|
219
|
+
# Offense count: 35
|
220
|
+
# This cop supports safe autocorrection (--autocorrect).
|
221
|
+
# Configuration parameters: EnforcedStyle, ConsistentQuotesInMultiline.
|
222
|
+
# SupportedStyles: single_quotes, double_quotes
|
223
|
+
Style/StringLiterals:
|
224
|
+
Exclude:
|
225
|
+
- 'Gemfile'
|
226
|
+
- 'gemfiles/activemodel6.gemfile'
|
227
|
+
- 'gemfiles/activemodel7.gemfile'
|
228
|
+
- 'gemfiles/activemodel8.gemfile'
|
229
|
+
- 'lib/valid_email2.rb'
|
230
|
+
- 'lib/valid_email2/address.rb'
|
231
|
+
- 'lib/valid_email2/email_validator.rb'
|
232
|
+
- 'spec/spec_helper.rb'
|
233
|
+
- 'spec/valid_email2_spec.rb'
|
234
|
+
- 'valid_email2.gemspec'
|
235
|
+
|
236
|
+
# Offense count: 3
|
237
|
+
# This cop supports safe autocorrection (--autocorrect).
|
238
|
+
# Configuration parameters: ExactNameMatch, AllowPredicates, AllowDSLWriters, IgnoreClassMethods, AllowedMethods.
|
239
|
+
# AllowedMethods: to_ary, to_a, to_c, to_enum, to_h, to_hash, to_i, to_int, to_io, to_open, to_path, to_proc, to_r, to_regexp, to_str, to_s, to_sym
|
240
|
+
Style/TrivialAccessors:
|
241
|
+
Exclude:
|
242
|
+
- 'lib/valid_email2/address.rb'
|
243
|
+
|
244
|
+
# Offense count: 1
|
245
|
+
# This cop supports safe autocorrection (--autocorrect).
|
246
|
+
# Configuration parameters: EnforcedStyle, MinSize, WordRegex.
|
247
|
+
# SupportedStyles: percent, brackets
|
248
|
+
Style/WordArray:
|
249
|
+
Exclude:
|
250
|
+
- 'spec/valid_email2_spec.rb'
|
251
|
+
|
252
|
+
# Offense count: 1
|
253
|
+
# This cop supports unsafe autocorrection (--autocorrect-all).
|
254
|
+
Style/ZeroLengthPredicate:
|
255
|
+
Exclude:
|
256
|
+
- 'lib/valid_email2/address.rb'
|
257
|
+
|
258
|
+
# Offense count: 17
|
259
|
+
# This cop supports safe autocorrection (--autocorrect).
|
260
|
+
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns, SplitStrings.
|
261
|
+
# URISchemes: http, https
|
262
|
+
Layout/LineLength:
|
263
|
+
Max: 186
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,19 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## [7.0.11](https://github.com/micke/valid_email2/compare/v7.0.10...v7.0.11) (2025-02-28)
|
4
|
+
|
5
|
+
|
6
|
+
### Bug Fixes
|
7
|
+
|
8
|
+
* check if this actually fetches the tags ([be13649](https://github.com/micke/valid_email2/commit/be136494407c0731ef38e9ef958795f9aec0bcaa))
|
9
|
+
|
10
|
+
## [7.0.10](https://github.com/micke/valid_email2/compare/v7.0.9...v7.0.10) (2025-02-25)
|
11
|
+
|
12
|
+
|
13
|
+
### Bug Fixes
|
14
|
+
|
15
|
+
* remove buildingradar.com ([7c86044](https://github.com/micke/valid_email2/commit/7c860448804638f12b484d20e5973e8a8acc5e1d))
|
16
|
+
|
3
17
|
## [7.0.9](https://github.com/micke/valid_email2/compare/v7.0.8...v7.0.9) (2025-02-14)
|
4
18
|
|
5
19
|
|