simplycop 2.9.0 → 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: 31337b33804ba150c7a178f81ed4bf7af27d81759abc5a64257b34799e455520
4
- data.tar.gz: 22d10ce6541c93291e91005907965948e9e97e134ca096c1350e72abd5cfe738
3
+ metadata.gz: 34e84430f377828470a671ad53aa07c19e1842b9d43783f5c1a5c799d25d9f99
4
+ data.tar.gz: 4ece782cd63cdf3a41282e104efdbbd7716ae00a9997e94ee7687029d196e4fb
5
5
  SHA512:
6
- metadata.gz: 4a68e5f50561b6daee6546d74be863e766ad5575df9de9dadeb26ea35f9dcb299c7a3d940cf1ce166e05e7cac79599bb29b4a279de2faebb4b9ebad0d4dcda1b
7
- data.tar.gz: ba236059dd20ca8cd0768a583e29a195b6cee81305203cd933d8fefeb2eeb017a0e12ca184b9cf7eee25c72659d11e7c93fde5578a4026382849696467766059
6
+ metadata.gz: '08395aa9cf5cbd8cd31e92766b1471d21f5506df1a534d0f89da4ab897cf15e5282421ef71901e34bbd016f4004d0c5f9ebc8feb6099f2ecb0cad017e4d7c65f'
7
+ data.tar.gz: d405592ea8ac3ba653e5d281cb2cffa9d830cb973cc7feacfa48f82056f3a485f3092a9dce5a1ee751a0a7ba9685c063c402618b628035290241525401256cc3
@@ -18,7 +18,7 @@ jobs:
18
18
 
19
19
  strategy:
20
20
  matrix:
21
- ruby-version: ['3.1', '3.2', '3.3', jruby]
21
+ ruby-version: ['3.1', '3.2', '3.3', '3.4', jruby]
22
22
 
23
23
  steps:
24
24
  - uses: actions/checkout@v4
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.0
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.0'
10
+ VERSION = '2.10.0'
11
11
  end
data/simplycop.gemspec CHANGED
@@ -9,7 +9,7 @@ Gem::Specification.new do |spec|
9
9
  spec.version = Simplycop::VERSION
10
10
  spec.authors = ['Simply Business']
11
11
  spec.email = ['tech@simplybusiness.co.uk']
12
- spec.required_ruby_version = ['>= 3.1 ', '< 3.4']
12
+ spec.required_ruby_version = ['>= 3.1 ', '< 3.5']
13
13
  spec.license = 'MIT'
14
14
  spec.summary = 'Provides a single point of reference for common rubocop rules.'
15
15
  spec.description = 'Require this gem in your application to use Simply Business common rubocop rules.'
@@ -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.0
4
+ version: 2.10.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Simply Business
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-11-22 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
@@ -233,7 +233,7 @@ homepage: https://github.com/simplybusiness/simplycop
233
233
  licenses:
234
234
  - MIT
235
235
  metadata: {}
236
- post_install_message:
236
+ post_install_message:
237
237
  rdoc_options: []
238
238
  require_paths:
239
239
  - lib
@@ -244,7 +244,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
244
244
  version: '3.1'
245
245
  - - "<"
246
246
  - !ruby/object:Gem::Version
247
- version: '3.4'
247
+ version: '3.5'
248
248
  required_rubygems_version: !ruby/object:Gem::Requirement
249
249
  requirements:
250
250
  - - ">="
@@ -252,7 +252,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
252
252
  version: '0'
253
253
  requirements: []
254
254
  rubygems_version: 3.5.11
255
- signing_key:
255
+ signing_key:
256
256
  specification_version: 4
257
257
  summary: Provides a single point of reference for common rubocop rules.
258
258
  test_files: []