simplycop 2.9.1 → 2.10.0

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: 96ea2ae5ddc2723a3cfe5acbc78a1344951e1735c2487b3122082eafec7f0823
4
- data.tar.gz: acc94e81ee442aab70047b5d391167ce5c7e0adfc89f062e1cd147390e1694d7
3
+ metadata.gz: 34e84430f377828470a671ad53aa07c19e1842b9d43783f5c1a5c799d25d9f99
4
+ data.tar.gz: 4ece782cd63cdf3a41282e104efdbbd7716ae00a9997e94ee7687029d196e4fb
5
5
  SHA512:
6
- metadata.gz: 91fb2e9de477b0ce343f32a07b36e494c9bc78339179b92ddfcbeea85e42dc6c4198562998e5ca20afb4e5ae3eb1d57a5d2da6a1ac92dfed78ba4995668e4907
7
- data.tar.gz: 591fb6e3403d8b3f1f159d97fb64ba48936a396420ca81fea93d07a8b0407955ee1dc32d7a6343af5cd2817c5caa69c3ae79a2db918dfd10f9116c925472c67f
6
+ metadata.gz: '08395aa9cf5cbd8cd31e92766b1471d21f5506df1a534d0f89da4ab897cf15e5282421ef71901e34bbd016f4004d0c5f9ebc8feb6099f2ecb0cad017e4d7c65f'
7
+ data.tar.gz: d405592ea8ac3ba653e5d281cb2cffa9d830cb973cc7feacfa48f82056f3a485f3092a9dce5a1ee751a0a7ba9685c063c402618b628035290241525401256cc3
data/.simplycop_lint.yml CHANGED
@@ -147,6 +147,9 @@ Lint/FormatParameterMismatch:
147
147
  Lint/HashCompareByIdentity:
148
148
  Enabled: true
149
149
 
150
+ Lint/HashNewWithKeywordArgumentsAsDefault:
151
+ Enabled: true
152
+
150
153
  Lint/HeredocMethodCallPosition:
151
154
  Enabled: true
152
155
 
@@ -230,6 +233,9 @@ Lint/NumberConversion:
230
233
  Lint/NumberedParameterAssignment:
231
234
  Enabled: true
232
235
 
236
+ Lint/NumericOperationWithConstantResult:
237
+ Enabled: true
238
+
233
239
  Lint/OrAssignmentToConstant:
234
240
  Enabled: true
235
241
 
@@ -402,6 +408,9 @@ Lint/UselessAccessModifier:
402
408
  Lint/UselessAssignment:
403
409
  Enabled: true
404
410
 
411
+ Lint/UselessDefined:
412
+ Enabled: true
413
+
405
414
  Lint/UselessElseWithoutRescue:
406
415
  Enabled: true
407
416
 
data/.simplycop_style.yml CHANGED
@@ -146,6 +146,9 @@ Style/DateTime:
146
146
  Style/DefWithParentheses:
147
147
  Enabled: true
148
148
 
149
+ Style/DigChain:
150
+ Enabled: true
151
+
149
152
  Style/Dir:
150
153
  Enabled: true
151
154
 
@@ -259,6 +262,12 @@ Style/FormatStringToken:
259
262
  Style/FrozenStringLiteralComment:
260
263
  Enabled: false
261
264
 
265
+ Style/FileNull:
266
+ Enabled: true
267
+
268
+ Style/FileTouch:
269
+ Enabled: false
270
+
262
271
  Style/GlobalStdStream:
263
272
  Enabled: true
264
273
 
data/catalog-info.yaml CHANGED
@@ -10,7 +10,7 @@ metadata:
10
10
  simplybusiness.com/bnw-app-name: simplycop
11
11
  simplybusiness.com/sast-scanning: enabled
12
12
  rubygems.org/name: simplycop
13
- rubygems.org/current-version: 2.9.1
13
+ rubygems.org/current-version: 2.10.0
14
14
  spec:
15
15
  type: library
16
16
  lifecycle: production
@@ -7,5 +7,5 @@
7
7
  #
8
8
 
9
9
  module Simplycop
10
- VERSION = '2.9.1'
10
+ VERSION = '2.10.0'
11
11
  end
data/simplycop.gemspec CHANGED
@@ -17,13 +17,13 @@ Gem::Specification.new do |spec|
17
17
  spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
18
18
  spec.require_paths = ['lib']
19
19
 
20
- spec.add_dependency 'rubocop', '1.68.0'
21
- spec.add_dependency 'rubocop-ast', '1.36.1'
20
+ spec.add_dependency 'rubocop', '1.69.0'
21
+ spec.add_dependency 'rubocop-ast', '1.37.0'
22
22
  spec.add_dependency 'rubocop-capybara', '2.21.0'
23
23
  spec.add_dependency 'rubocop-factory_bot', '2.26.1'
24
24
  spec.add_dependency 'rubocop-performance', '1.23.0'
25
- spec.add_dependency 'rubocop-rails', '2.27.0'
26
- spec.add_dependency 'rubocop-rspec', '3.2.0'
25
+ spec.add_dependency 'rubocop-rails', '2.28.0'
26
+ spec.add_dependency 'rubocop-rspec', '3.3.0'
27
27
  spec.add_dependency 'rubocop-rspec_rails', '2.30.0'
28
28
  spec.add_development_dependency 'bundler', '>= 2.2.15'
29
29
  spec.add_development_dependency 'rake', '>= 12.3.3'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simplycop
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.9.1
4
+ version: 2.10.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Simply Business
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-01-02 00:00:00.000000000 Z
11
+ date: 2025-01-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop
@@ -16,28 +16,28 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 1.68.0
19
+ version: 1.69.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: 1.68.0
26
+ version: 1.69.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rubocop-ast
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - '='
32
32
  - !ruby/object:Gem::Version
33
- version: 1.36.1
33
+ version: 1.37.0
34
34
  type: :runtime
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: 1.36.1
40
+ version: 1.37.0
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rubocop-capybara
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -86,28 +86,28 @@ dependencies:
86
86
  requirements:
87
87
  - - '='
88
88
  - !ruby/object:Gem::Version
89
- version: 2.27.0
89
+ version: 2.28.0
90
90
  type: :runtime
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - '='
95
95
  - !ruby/object:Gem::Version
96
- version: 2.27.0
96
+ version: 2.28.0
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: rubocop-rspec
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
101
  - - '='
102
102
  - !ruby/object:Gem::Version
103
- version: 3.2.0
103
+ version: 3.3.0
104
104
  type: :runtime
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
108
  - - '='
109
109
  - !ruby/object:Gem::Version
110
- version: 3.2.0
110
+ version: 3.3.0
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: rubocop-rspec_rails
113
113
  requirement: !ruby/object:Gem::Requirement