dns_mock 1.4.2 → 1.4.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: 897efc00bc504413b9241457c05b0a0936a37f6b7d787442ea900ebd1f4c9666
4
- data.tar.gz: afa0eaf67758320d173f5064932fe647931d5d9535cc2a2d60d283400ee32df0
3
+ metadata.gz: 4933cef6e91f5f8ab417d85c8c13c66dd4e19569706f62d7c87b1a237688d2c1
4
+ data.tar.gz: fe2d61a447e7113ef074e5084209484372b10e6df56671423a1e7d4dafea1873
5
5
  SHA512:
6
- metadata.gz: b62d6ddec01b675caa95ac157c005efc7fa5e794c4c98fd4b4a35f45586b0ee03f76a7398396bad6e7269475ae7710e7ccbf9c64adff430fa99440bc4fbe16c7
7
- data.tar.gz: d3a57d14f992448037f76045d6083e36f523565d460ba5826f3f952779e0d49c4d36a9108b7a3a473a275dd7274f5c8e7fe58c4513036863d88beac8ed7f999d
6
+ metadata.gz: 962f933bf2c18aedd85f33f3b4cf9b4e568e018651d87e7463002eac6a05e9f55c61c751f150a989c54c0ca891a13f164928d0945ae64aee04e9219fa8ba3538
7
+ data.tar.gz: 8473f6cd8236855da9cec38daa37a8aa4d3dd441962802c9bf80a2981ea3ef0fa65bffe80985677a6ac9181c5d0908e46769d8f39d3b25af7c0b44a2e4776ea4
data/.codeclimate.yml CHANGED
@@ -7,7 +7,7 @@ checks:
7
7
  plugins:
8
8
  rubocop:
9
9
  enabled: true
10
- channel: rubocop-1-20
10
+ channel: rubocop-1-22
11
11
 
12
12
  reek:
13
13
  enabled: true
data/.rubocop.yml CHANGED
@@ -142,6 +142,15 @@ Style/QuotedSymbols:
142
142
  Style/RedundantSelfAssignmentBranch:
143
143
  Enabled: true
144
144
 
145
+ Style/NumberedParameters:
146
+ Enabled: true
147
+
148
+ Style/NumberedParametersLimit:
149
+ Enabled: true
150
+
151
+ Style/SelectByRegexp:
152
+ Enabled: true
153
+
145
154
  Layout/LineLength:
146
155
  Max: 150
147
156
 
@@ -248,9 +257,21 @@ Lint/EmptyInPattern:
248
257
  Lint/AmbiguousRange:
249
258
  Enabled: true
250
259
 
260
+ Lint/AmbiguousOperatorPrecedence:
261
+ Enabled: true
262
+
263
+ Lint/IncompatibleIoSelectWithFiberScheduler:
264
+ Enabled: true
265
+
266
+ Lint/RequireRelativeSelfPath:
267
+ Enabled: true
268
+
251
269
  Gemspec/DateAssignment:
252
270
  Enabled: true
253
271
 
272
+ Security/IoMethods:
273
+ Enabled: true
274
+
254
275
  Performance/AncestorsInclude:
255
276
  Enabled: true
256
277
 
@@ -334,3 +355,9 @@ RSpec/IdenticalEqualityAssertion:
334
355
 
335
356
  RSpec/Rails/AvoidSetupHook:
336
357
  Enabled: true
358
+
359
+ RSpec/ExcessiveDocstringSpacing:
360
+ Enabled: true
361
+
362
+ RSpec/SubjectDeclaration:
363
+ Enabled: true
data/CHANGELOG.md CHANGED
@@ -2,6 +2,13 @@
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.4.3] - 2021-10-07
6
+
7
+ ### Updated
8
+
9
+ - Updated gem development dependencies
10
+ - Updated gem version
11
+
5
12
  ## [1.4.2] - 2021-09-04
6
13
 
7
14
  ### Updated
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- dns_mock (1.4.2)
4
+ dns_mock (1.4.3)
5
5
  simpleidn (~> 0.2.1)
6
6
 
7
7
  GEM
@@ -22,7 +22,7 @@ GEM
22
22
  fasterer (0.9.0)
23
23
  colorize (~> 0.7)
24
24
  ruby_parser (>= 3.14.1)
25
- ffaker (2.19.0)
25
+ ffaker (2.20.0)
26
26
  iniparse (1.5.0)
27
27
  json (2.5.1)
28
28
  kwalify (0.7.2)
@@ -31,7 +31,7 @@ GEM
31
31
  childprocess (>= 0.6.3, < 5)
32
32
  iniparse (~> 1.4)
33
33
  rexml (~> 3.2)
34
- parallel (1.20.1)
34
+ parallel (1.21.0)
35
35
  parser (3.0.2.0)
36
36
  ast (~> 2.4.1)
37
37
  pry (0.13.1)
@@ -65,23 +65,22 @@ GEM
65
65
  diff-lcs (>= 1.2.0, < 2.0)
66
66
  rspec-support (~> 3.10.0)
67
67
  rspec-support (3.10.2)
68
- rubocop (1.20.0)
68
+ rubocop (1.22.1)
69
69
  parallel (~> 1.10)
70
70
  parser (>= 3.0.0.0)
71
71
  rainbow (>= 2.2.2, < 4.0)
72
72
  regexp_parser (>= 1.8, < 3.0)
73
73
  rexml
74
- rubocop-ast (>= 1.9.1, < 2.0)
74
+ rubocop-ast (>= 1.12.0, < 2.0)
75
75
  ruby-progressbar (~> 1.7)
76
76
  unicode-display_width (>= 1.4.0, < 3.0)
77
- rubocop-ast (1.11.0)
77
+ rubocop-ast (1.12.0)
78
78
  parser (>= 3.0.1.1)
79
79
  rubocop-performance (1.11.5)
80
80
  rubocop (>= 1.7.0, < 2.0)
81
81
  rubocop-ast (>= 0.4.0)
82
- rubocop-rspec (2.4.0)
83
- rubocop (~> 1.0)
84
- rubocop-ast (>= 1.1.0)
82
+ rubocop-rspec (2.5.0)
83
+ rubocop (~> 1.19)
85
84
  ruby-progressbar (1.11.0)
86
85
  ruby_parser (3.17.0)
87
86
  sexp_processor (~> 4.15, >= 4.15.1)
@@ -96,28 +95,28 @@ GEM
96
95
  thor (1.1.0)
97
96
  unf (0.1.4)
98
97
  unf_ext
99
- unf_ext (0.0.7.7)
100
- unicode-display_width (2.0.0)
98
+ unf_ext (0.0.8)
99
+ unicode-display_width (2.1.0)
101
100
 
102
101
  PLATFORMS
103
102
  x86_64-darwin-20
104
103
 
105
104
  DEPENDENCIES
106
- bundler (~> 2.2, >= 2.2.27)
105
+ bundler (~> 2.2, >= 2.2.28)
107
106
  bundler-audit (~> 0.9.0.1)
108
107
  dns_mock!
109
108
  fasterer (~> 0.9.0)
110
- ffaker (~> 2.19)
109
+ ffaker (~> 2.20)
111
110
  overcommit (~> 0.58.0)
112
111
  pry-byebug (~> 3.9)
113
112
  rake (~> 13.0, >= 13.0.6)
114
113
  reek (~> 6.0, >= 6.0.6)
115
114
  rspec (~> 3.10)
116
115
  rspec-dns (~> 0.1.8)
117
- rubocop (~> 1.20)
116
+ rubocop (~> 1.22, >= 1.22.1)
118
117
  rubocop-performance (~> 1.11, >= 1.11.5)
119
- rubocop-rspec (~> 2.4)
118
+ rubocop-rspec (~> 2.5)
120
119
  simplecov (~> 0.17.1)
121
120
 
122
121
  BUNDLED WITH
123
- 2.2.27
122
+ 2.2.28
data/dns_mock.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- lib = File.expand_path('lib', __dir__)
3
+ lib = ::File.expand_path('lib', __dir__)
4
4
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
5
5
  require 'dns_mock/version'
6
6
 
@@ -28,23 +28,23 @@ Gem::Specification.new do |spec|
28
28
 
29
29
  spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
30
30
  spec.bindir = 'exe'
31
- spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
31
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| ::File.basename(f) }
32
32
  spec.require_paths = ['lib']
33
33
 
34
34
  spec.add_runtime_dependency 'simpleidn', '~> 0.2.1'
35
35
 
36
- spec.add_development_dependency 'bundler', '~> 2.2', '>= 2.2.27'
36
+ spec.add_development_dependency 'bundler', '~> 2.2', '>= 2.2.28'
37
37
  spec.add_development_dependency 'bundler-audit', '~> 0.9.0.1'
38
38
  spec.add_development_dependency 'fasterer', '~> 0.9.0'
39
- spec.add_development_dependency 'ffaker', '~> 2.19'
39
+ spec.add_development_dependency 'ffaker', '~> 2.20'
40
40
  spec.add_development_dependency 'overcommit', '~> 0.58.0'
41
41
  spec.add_development_dependency 'pry-byebug', '~> 3.9'
42
42
  spec.add_development_dependency 'rake', '~> 13.0', '>= 13.0.6'
43
43
  spec.add_development_dependency 'reek', '~> 6.0', '>= 6.0.6'
44
44
  spec.add_development_dependency 'rspec', '~> 3.10'
45
45
  spec.add_development_dependency 'rspec-dns', '~> 0.1.8'
46
- spec.add_development_dependency 'rubocop', '~> 1.20'
46
+ spec.add_development_dependency 'rubocop', '~> 1.22', '>= 1.22.1'
47
47
  spec.add_development_dependency 'rubocop-performance', '~> 1.11', '>= 1.11.5'
48
- spec.add_development_dependency 'rubocop-rspec', '~> 2.4'
48
+ spec.add_development_dependency 'rubocop-rspec', '~> 2.5'
49
49
  spec.add_development_dependency 'simplecov', '~> 0.17.1'
50
50
  end
@@ -14,7 +14,7 @@ module DnsMock
14
14
  record_data, custom_record_preference = parse_mx_record_data(record_data)
15
15
  target_factory.new(
16
16
  record_data: [
17
- custom_record_preference&.to_i || record_preference * DnsMock::Record::Builder::Mx::RECORD_PREFERENCE_STEP,
17
+ custom_record_preference&.to_i || (record_preference * DnsMock::Record::Builder::Mx::RECORD_PREFERENCE_STEP),
18
18
  record_data
19
19
  ]
20
20
  ).create
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module DnsMock
4
- VERSION = '1.4.2'
4
+ VERSION = '1.4.3'
5
5
  end
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.4.2
4
+ version: 1.4.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: 2021-09-04 00:00:00.000000000 Z
11
+ date: 2021-10-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: simpleidn
@@ -33,7 +33,7 @@ dependencies:
33
33
  version: '2.2'
34
34
  - - ">="
35
35
  - !ruby/object:Gem::Version
36
- version: 2.2.27
36
+ version: 2.2.28
37
37
  type: :development
38
38
  prerelease: false
39
39
  version_requirements: !ruby/object:Gem::Requirement
@@ -43,7 +43,7 @@ dependencies:
43
43
  version: '2.2'
44
44
  - - ">="
45
45
  - !ruby/object:Gem::Version
46
- version: 2.2.27
46
+ version: 2.2.28
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: bundler-audit
49
49
  requirement: !ruby/object:Gem::Requirement
@@ -78,14 +78,14 @@ dependencies:
78
78
  requirements:
79
79
  - - "~>"
80
80
  - !ruby/object:Gem::Version
81
- version: '2.19'
81
+ version: '2.20'
82
82
  type: :development
83
83
  prerelease: false
84
84
  version_requirements: !ruby/object:Gem::Requirement
85
85
  requirements:
86
86
  - - "~>"
87
87
  - !ruby/object:Gem::Version
88
- version: '2.19'
88
+ version: '2.20'
89
89
  - !ruby/object:Gem::Dependency
90
90
  name: overcommit
91
91
  requirement: !ruby/object:Gem::Requirement
@@ -188,14 +188,20 @@ dependencies:
188
188
  requirements:
189
189
  - - "~>"
190
190
  - !ruby/object:Gem::Version
191
- version: '1.20'
191
+ version: '1.22'
192
+ - - ">="
193
+ - !ruby/object:Gem::Version
194
+ version: 1.22.1
192
195
  type: :development
193
196
  prerelease: false
194
197
  version_requirements: !ruby/object:Gem::Requirement
195
198
  requirements:
196
199
  - - "~>"
197
200
  - !ruby/object:Gem::Version
198
- version: '1.20'
201
+ version: '1.22'
202
+ - - ">="
203
+ - !ruby/object:Gem::Version
204
+ version: 1.22.1
199
205
  - !ruby/object:Gem::Dependency
200
206
  name: rubocop-performance
201
207
  requirement: !ruby/object:Gem::Requirement
@@ -222,14 +228,14 @@ dependencies:
222
228
  requirements:
223
229
  - - "~>"
224
230
  - !ruby/object:Gem::Version
225
- version: '2.4'
231
+ version: '2.5'
226
232
  type: :development
227
233
  prerelease: false
228
234
  version_requirements: !ruby/object:Gem::Requirement
229
235
  requirements:
230
236
  - - "~>"
231
237
  - !ruby/object:Gem::Version
232
- version: '2.4'
238
+ version: '2.5'
233
239
  - !ruby/object:Gem::Dependency
234
240
  name: simplecov
235
241
  requirement: !ruby/object:Gem::Requirement