dns_mock 1.5.3 → 1.5.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.circleci/config.yml +2 -2
- data/.circleci/gemspec_latest +4 -4
- data/.codeclimate.yml +1 -1
- data/.rubocop.yml +10 -310
- data/CHANGELOG.md +9 -0
- data/lib/dns_mock/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8573ecff366e1f44d927933913bb3a58ec08b23b7c2b783cb474e22bbbb459ed
|
4
|
+
data.tar.gz: 3be9e2df8f4bf46d60e9fe0ad688309de384b80af978284c0279f843b2181b56
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4ee6aab6e6a5c8eca5c027d994e5df31c38bd554d4d2d35f47518fcfa4ad70d190f9cbcb18f035f9362fd33a31ee8811172f180cec5489b087f706814bbfb3ff
|
7
|
+
data.tar.gz: 828a638d95ca9afaf2e27984038e9e8c483416944f7949eab1858b0936a19ff12dceff00ad44573ee462d8cacf93ae43dad633de12cd15f7b489f78ed4b77ac9
|
data/.circleci/config.yml
CHANGED
@@ -6,7 +6,7 @@ defaults: &defaults
|
|
6
6
|
- image: cimg/ruby:<< parameters.ruby-version >>
|
7
7
|
|
8
8
|
orbs:
|
9
|
-
ruby: circleci/ruby@1.
|
9
|
+
ruby: circleci/ruby@1.8.0
|
10
10
|
|
11
11
|
references:
|
12
12
|
restore_bundle_cache: &restore_bundle_cache
|
@@ -115,7 +115,7 @@ jobs:
|
|
115
115
|
- checkout
|
116
116
|
- <<: *use_compatible_gemspec
|
117
117
|
- ruby/install-deps:
|
118
|
-
bundler-version: "2.3.
|
118
|
+
bundler-version: "2.3.19"
|
119
119
|
with-cache: false
|
120
120
|
path: './vendor/custom_bundle'
|
121
121
|
- run:
|
data/.circleci/gemspec_latest
CHANGED
@@ -31,7 +31,7 @@ Gem::Specification.new do |spec|
|
|
31
31
|
|
32
32
|
spec.add_runtime_dependency 'simpleidn', '~> 0.2.1'
|
33
33
|
|
34
|
-
spec.add_development_dependency 'bundler-audit', '~> 0.9.
|
34
|
+
spec.add_development_dependency 'bundler-audit', '~> 0.9.1'
|
35
35
|
spec.add_development_dependency 'fasterer', '~> 0.10.0'
|
36
36
|
spec.add_development_dependency 'ffaker', '~> 2.21'
|
37
37
|
spec.add_development_dependency 'net-ftp', '~> 0.1.3'
|
@@ -41,8 +41,8 @@ Gem::Specification.new do |spec|
|
|
41
41
|
spec.add_development_dependency 'reek', '~> 6.1', '>= 6.1.1'
|
42
42
|
spec.add_development_dependency 'rspec', '~> 3.11'
|
43
43
|
spec.add_development_dependency 'rspec-dns', '~> 0.1.8'
|
44
|
-
spec.add_development_dependency 'rubocop', '~> 1.
|
45
|
-
spec.add_development_dependency 'rubocop-performance', '~> 1.
|
46
|
-
spec.add_development_dependency 'rubocop-rspec', '~> 2.
|
44
|
+
spec.add_development_dependency 'rubocop', '~> 1.32'
|
45
|
+
spec.add_development_dependency 'rubocop-performance', '~> 1.14', '>= 1.14.3'
|
46
|
+
spec.add_development_dependency 'rubocop-rspec', '~> 2.12', '>= 2.12.1'
|
47
47
|
spec.add_development_dependency 'simplecov', '~> 0.21.2'
|
48
48
|
end
|
data/.codeclimate.yml
CHANGED
data/.rubocop.yml
CHANGED
@@ -6,6 +6,9 @@ AllCops:
|
|
6
6
|
DisplayCopNames: true
|
7
7
|
DisplayStyleGuide: true
|
8
8
|
TargetRubyVersion: 2.5
|
9
|
+
NewCops: enable
|
10
|
+
|
11
|
+
# Metrics ---------------------------------------------------------------------
|
9
12
|
|
10
13
|
Metrics/ClassLength:
|
11
14
|
Max: 150
|
@@ -22,6 +25,8 @@ Metrics/CyclomaticComplexity:
|
|
22
25
|
Metrics/PerceivedComplexity:
|
23
26
|
Enabled: false
|
24
27
|
|
28
|
+
# Naming ----------------------------------------------------------------------
|
29
|
+
|
25
30
|
Naming/VariableNumber:
|
26
31
|
Enabled: false
|
27
32
|
|
@@ -31,8 +36,7 @@ Naming/RescuedExceptionsVariableName:
|
|
31
36
|
Naming/InclusiveLanguage:
|
32
37
|
Enabled: false
|
33
38
|
|
34
|
-
|
35
|
-
Enabled: true
|
39
|
+
# Style -----------------------------------------------------------------------
|
36
40
|
|
37
41
|
Style/Documentation:
|
38
42
|
Enabled: false
|
@@ -49,147 +53,11 @@ Style/ParallelAssignment:
|
|
49
53
|
Style/RescueStandardError:
|
50
54
|
Enabled: false
|
51
55
|
|
52
|
-
|
53
|
-
Enabled: true
|
54
|
-
|
55
|
-
Style/HashTransformKeys:
|
56
|
-
Enabled: true
|
57
|
-
|
58
|
-
Style/HashTransformValues:
|
59
|
-
Enabled: true
|
60
|
-
|
61
|
-
Style/AccessorGrouping:
|
62
|
-
Enabled: true
|
63
|
-
|
64
|
-
Style/ArrayCoercion:
|
65
|
-
Enabled: true
|
66
|
-
|
67
|
-
Style/BisectedAttrAccessor:
|
68
|
-
Enabled: true
|
69
|
-
|
70
|
-
Style/CaseLikeIf:
|
71
|
-
Enabled: true
|
72
|
-
|
73
|
-
Style/ExponentialNotation:
|
74
|
-
Enabled: true
|
75
|
-
|
76
|
-
Style/HashAsLastArrayItem:
|
77
|
-
Enabled: true
|
78
|
-
|
79
|
-
Style/HashLikeCase:
|
80
|
-
Enabled: true
|
81
|
-
|
82
|
-
Style/RedundantAssignment:
|
83
|
-
Enabled: true
|
84
|
-
|
85
|
-
Style/RedundantFetchBlock:
|
86
|
-
Enabled: true
|
87
|
-
|
88
|
-
Style/RedundantFileExtensionInRequire:
|
89
|
-
Enabled: true
|
90
|
-
|
91
|
-
Style/RedundantRegexpCharacterClass:
|
92
|
-
Enabled: true
|
93
|
-
|
94
|
-
Style/RedundantRegexpEscape:
|
95
|
-
Enabled: true
|
96
|
-
|
97
|
-
Style/SlicingWithRange:
|
98
|
-
Enabled: true
|
99
|
-
|
100
|
-
Style/ArgumentsForwarding:
|
101
|
-
Enabled: true
|
102
|
-
|
103
|
-
Style/CollectionCompact:
|
104
|
-
Enabled: true
|
105
|
-
|
106
|
-
Style/DocumentDynamicEvalDefinition:
|
107
|
-
Enabled: true
|
108
|
-
|
109
|
-
Style/NegatedIfElseCondition:
|
110
|
-
Enabled: true
|
111
|
-
|
112
|
-
Style/NilLambda:
|
113
|
-
Enabled: true
|
114
|
-
|
115
|
-
Style/RedundantArgument:
|
116
|
-
Enabled: true
|
117
|
-
|
118
|
-
Style/SwapValues:
|
119
|
-
Enabled: true
|
120
|
-
|
121
|
-
Style/EndlessMethod:
|
122
|
-
Enabled: true
|
123
|
-
|
124
|
-
Style/HashExcept:
|
125
|
-
Enabled: true
|
126
|
-
|
127
|
-
Style/IfWithBooleanLiteralBranches:
|
128
|
-
Enabled: true
|
129
|
-
|
130
|
-
Style/HashConversion:
|
131
|
-
Enabled: true
|
132
|
-
|
133
|
-
Style/StringChars:
|
134
|
-
Enabled: true
|
135
|
-
|
136
|
-
Style/InPatternThen:
|
137
|
-
Enabled: true
|
138
|
-
|
139
|
-
Style/MultilineInPatternThen:
|
140
|
-
Enabled: true
|
141
|
-
|
142
|
-
Style/QuotedSymbols:
|
143
|
-
Enabled: true
|
144
|
-
|
145
|
-
Style/RedundantSelfAssignmentBranch:
|
146
|
-
Enabled: true
|
147
|
-
|
148
|
-
Style/NumberedParameters:
|
149
|
-
Enabled: true
|
150
|
-
|
151
|
-
Style/NumberedParametersLimit:
|
152
|
-
Enabled: true
|
153
|
-
|
154
|
-
Style/SelectByRegexp:
|
155
|
-
Enabled: true
|
156
|
-
|
157
|
-
Style/FileRead:
|
158
|
-
Enabled: true
|
159
|
-
|
160
|
-
Style/FileWrite:
|
161
|
-
Enabled: true
|
162
|
-
|
163
|
-
Style/MapToHash:
|
164
|
-
Enabled: true
|
165
|
-
|
166
|
-
Style/OpenStructUse:
|
167
|
-
Enabled: true
|
168
|
-
|
169
|
-
Style/NestedFileDirname:
|
170
|
-
Enabled: true
|
171
|
-
|
172
|
-
Style/EnvHome:
|
173
|
-
Enabled: true
|
174
|
-
|
175
|
-
Style/FetchEnvVar:
|
176
|
-
Enabled: true
|
177
|
-
|
178
|
-
Style/ObjectThen:
|
179
|
-
Enabled: true
|
180
|
-
|
181
|
-
Style/RedundantInitialize:
|
182
|
-
Enabled: true
|
56
|
+
# Layout ----------------------------------------------------------------------
|
183
57
|
|
184
58
|
Layout/LineLength:
|
185
59
|
Max: 150
|
186
60
|
|
187
|
-
Layout/EmptyLinesAroundAttributeAccessor:
|
188
|
-
Enabled: true
|
189
|
-
|
190
|
-
Layout/SpaceAroundMethodCallOperator:
|
191
|
-
Enabled: true
|
192
|
-
|
193
61
|
Layout/ClassStructure:
|
194
62
|
Enabled: true
|
195
63
|
Categories:
|
@@ -209,164 +77,17 @@ Layout/ClassStructure:
|
|
209
77
|
Layout/EmptyLineAfterGuardClause:
|
210
78
|
Enabled: false
|
211
79
|
|
212
|
-
|
213
|
-
Enabled: true
|
214
|
-
|
215
|
-
Layout/LineEndStringConcatenationIndentation:
|
216
|
-
Enabled: true
|
217
|
-
|
218
|
-
Lint/NonDeterministicRequireOrder:
|
219
|
-
Enabled: true
|
220
|
-
|
221
|
-
Lint/DeprecatedOpenSSLConstant:
|
222
|
-
Enabled: true
|
223
|
-
|
224
|
-
Lint/DuplicateElsifCondition:
|
225
|
-
Enabled: true
|
226
|
-
|
227
|
-
Lint/MixedRegexpCaptureTypes:
|
228
|
-
Enabled: true
|
229
|
-
|
230
|
-
Lint/RaiseException:
|
231
|
-
Enabled: true
|
232
|
-
|
233
|
-
Lint/StructNewOverride:
|
234
|
-
Enabled: true
|
235
|
-
|
236
|
-
Lint/DuplicateBranch:
|
237
|
-
Enabled: true
|
238
|
-
|
239
|
-
Lint/DuplicateRegexpCharacterClassElement:
|
240
|
-
Enabled: true
|
241
|
-
|
242
|
-
Lint/EmptyBlock:
|
243
|
-
Enabled: true
|
244
|
-
|
245
|
-
Lint/EmptyClass:
|
246
|
-
Enabled: true
|
247
|
-
|
248
|
-
Lint/NoReturnInBeginEndBlocks:
|
249
|
-
Enabled: true
|
250
|
-
|
251
|
-
Lint/ToEnumArguments:
|
252
|
-
Enabled: true
|
253
|
-
|
254
|
-
Lint/UnexpectedBlockArity:
|
255
|
-
Enabled: true
|
256
|
-
|
257
|
-
Lint/AmbiguousAssignment:
|
258
|
-
Enabled: true
|
259
|
-
|
260
|
-
Lint/DeprecatedConstants:
|
261
|
-
Enabled: true
|
262
|
-
|
263
|
-
Lint/LambdaWithoutLiteralBlock:
|
264
|
-
Enabled: true
|
265
|
-
|
266
|
-
Lint/RedundantDirGlobSort:
|
267
|
-
Enabled: true
|
268
|
-
|
269
|
-
Lint/UnmodifiedReduceAccumulator:
|
270
|
-
Enabled: true
|
271
|
-
|
272
|
-
Lint/NumberedParameterAssignment:
|
273
|
-
Enabled: true
|
274
|
-
|
275
|
-
Lint/OrAssignmentToConstant:
|
276
|
-
Enabled: true
|
277
|
-
|
278
|
-
Lint/SymbolConversion:
|
279
|
-
Enabled: true
|
280
|
-
|
281
|
-
Lint/TripleQuotes:
|
282
|
-
Enabled: true
|
283
|
-
|
284
|
-
Lint/EmptyInPattern:
|
285
|
-
Enabled: true
|
286
|
-
|
287
|
-
Lint/AmbiguousRange:
|
288
|
-
Enabled: true
|
289
|
-
|
290
|
-
Lint/AmbiguousOperatorPrecedence:
|
291
|
-
Enabled: true
|
292
|
-
|
293
|
-
Lint/IncompatibleIoSelectWithFiberScheduler:
|
294
|
-
Enabled: true
|
295
|
-
|
296
|
-
Lint/RequireRelativeSelfPath:
|
297
|
-
Enabled: true
|
298
|
-
|
299
|
-
Lint/UselessRuby2Keywords:
|
300
|
-
Enabled: true
|
301
|
-
|
302
|
-
Lint/RefinementImportMethods:
|
303
|
-
Enabled: true
|
304
|
-
|
305
|
-
Gemspec/DateAssignment:
|
306
|
-
Enabled: true
|
80
|
+
# Gemspec ---------------------------------------------------------------------
|
307
81
|
|
308
82
|
Gemspec/RequireMFA:
|
309
83
|
Enabled: false
|
310
84
|
|
311
|
-
|
312
|
-
Enabled: true
|
313
|
-
|
314
|
-
Security/CompoundHash:
|
315
|
-
Enabled: true
|
316
|
-
|
317
|
-
Performance/AncestorsInclude:
|
318
|
-
Enabled: true
|
319
|
-
|
320
|
-
Performance/BigDecimalWithNumericArgument:
|
321
|
-
Enabled: true
|
322
|
-
|
323
|
-
Performance/RedundantSortBlock:
|
324
|
-
Enabled: true
|
325
|
-
|
326
|
-
Performance/RedundantStringChars:
|
327
|
-
Enabled: true
|
328
|
-
|
329
|
-
Performance/ReverseFirst:
|
330
|
-
Enabled: true
|
331
|
-
|
332
|
-
Performance/SortReverse:
|
333
|
-
Enabled: true
|
334
|
-
|
335
|
-
Performance/Squeeze:
|
336
|
-
Enabled: true
|
337
|
-
|
338
|
-
Performance/StringInclude:
|
339
|
-
Enabled: true
|
340
|
-
|
341
|
-
Performance/BlockGivenWithExplicitBlock:
|
342
|
-
Enabled: true
|
343
|
-
|
344
|
-
Performance/CollectionLiteralInLoop:
|
345
|
-
Enabled: true
|
346
|
-
|
347
|
-
Performance/ConstantRegexp:
|
348
|
-
Enabled: true
|
85
|
+
# Performance -----------------------------------------------------------------
|
349
86
|
|
350
87
|
Performance/MethodObjectAsBlock:
|
351
88
|
Enabled: false
|
352
89
|
|
353
|
-
|
354
|
-
Enabled: true
|
355
|
-
|
356
|
-
Performance/RedundantEqualityComparisonBlock:
|
357
|
-
Enabled: true
|
358
|
-
|
359
|
-
Performance/RedundantSplitRegexpArgument:
|
360
|
-
Enabled: true
|
361
|
-
|
362
|
-
Performance/MapCompact:
|
363
|
-
Enabled: true
|
364
|
-
|
365
|
-
Performance/ConcurrentMonotonicTime:
|
366
|
-
Enabled: true
|
367
|
-
|
368
|
-
Performance/StringIdentifierArgument:
|
369
|
-
Enabled: true
|
90
|
+
# RSpec -----------------------------------------------------------------------
|
370
91
|
|
371
92
|
RSpec/ExampleLength:
|
372
93
|
Enabled: false
|
@@ -398,26 +119,5 @@ RSpec/MultipleMemoizedHelpers:
|
|
398
119
|
RSpec/StubbedMock:
|
399
120
|
Enabled: false
|
400
121
|
|
401
|
-
RSpec/IdenticalEqualityAssertion:
|
402
|
-
Enabled: true
|
403
|
-
|
404
|
-
RSpec/Rails/AvoidSetupHook:
|
405
|
-
Enabled: true
|
406
|
-
|
407
|
-
RSpec/ExcessiveDocstringSpacing:
|
408
|
-
Enabled: true
|
409
|
-
|
410
|
-
RSpec/SubjectDeclaration:
|
411
|
-
Enabled: true
|
412
|
-
|
413
|
-
RSpec/FactoryBot/SyntaxMethods:
|
414
|
-
Enabled: true
|
415
|
-
|
416
|
-
RSpec/BeEq:
|
417
|
-
Enabled: true
|
418
|
-
|
419
|
-
RSpec/BeNil:
|
420
|
-
Enabled: true
|
421
|
-
|
422
122
|
RSpec/VerifiedDoubleReference:
|
423
123
|
Enabled: false
|
data/CHANGELOG.md
CHANGED
@@ -2,6 +2,15 @@
|
|
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
|
+
## [1.5.4] - 2022-07-31
|
6
|
+
|
7
|
+
### Updated
|
8
|
+
|
9
|
+
- Updated gemspecs
|
10
|
+
- Updated rubocop/codeclimate/circleci configs
|
11
|
+
- Updated gem development dependencies
|
12
|
+
- Updated gem version
|
13
|
+
|
5
14
|
## [1.5.3] - 2022-05-18
|
6
15
|
|
7
16
|
### Updated
|
data/lib/dns_mock/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dns_mock
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.5.
|
4
|
+
version: 1.5.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: 2022-
|
11
|
+
date: 2022-07-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: simpleidn
|