simplycop 2.2.0 → 2.3.1

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: b470c2049d559a2b55d2b6b64607be03c7fb6becdee8b366c1878fb56203c4ee
4
- data.tar.gz: 49ec4afe30d6b3880edc82c3f0795305771149006153c0e20f4b4bcd37062654
3
+ metadata.gz: b7fab0d73a460bfd41fac6ff69d394a64a356f99ef1ca0ee463638ec2bad8e8d
4
+ data.tar.gz: 93e5db714dbac62742a84cd753b7679cc81db0662958d68a402f309925d8cef3
5
5
  SHA512:
6
- metadata.gz: e72751674c0444db7d22fca6fc2b9c28d46d8d6e216e80437efdfde9091c51318c906284331173d784e35c018ffcf46b8d5a0dba09d5e569a11d6bdae32f9d25
7
- data.tar.gz: 4d654a1d6f7d5eda864c94ebc1a8c38d80efc9d5fb49601fc96cfbf66335a630f409e7a5a3474d8b807c15e1286f2e9992dd3e280003df96fa7bcf27dfc8432f
6
+ metadata.gz: e64b244c3d4dd08619ca1b8e6f616b69ecbc7a81fb7c2ba459d694dd07339b83acf5fbbdb0e193551ffedacba1c645af8a72163fcb11fdc86582806f2100db7c
7
+ data.tar.gz: 1c55e8c3790ff36b8c4564851e56c70e5e1b94b91cfbf5feb19e7eb4c420f79ae925cd887161c7c64d352defdc2f36d946e61695900c8a34f466f26689dfa447
data/.simplycop_lint.yml CHANGED
@@ -404,6 +404,9 @@ Lint/UselessElseWithoutRescue:
404
404
  Lint/UselessMethodDefinition:
405
405
  Enabled: true
406
406
 
407
+ Lint/UselessNumericOperation:
408
+ Enabled: true
409
+
407
410
  # TODO: Single fail on Chopin
408
411
  Lint/UselessRescue:
409
412
  Enabled: true
data/.simplycop_style.yml CHANGED
@@ -593,6 +593,9 @@ Style/RedundantInitialize:
593
593
  Style/RedundantInterpolation:
594
594
  Enabled: false
595
595
 
596
+ Style/RedundantInterpolationUnfreeze:
597
+ Enabled: true
598
+
596
599
  Style/RedundantLineContinuation:
597
600
  Enabled: true
598
601
 
@@ -7,5 +7,5 @@
7
7
  #
8
8
 
9
9
  module Simplycop
10
- VERSION = '2.2.0'
10
+ VERSION = '2.3.1'
11
11
  end
data/simplycop.gemspec CHANGED
@@ -17,8 +17,8 @@ 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.65.1'
21
- spec.add_dependency 'rubocop-ast', '1.32.1'
20
+ spec.add_dependency 'rubocop', '1.66.1'
21
+ spec.add_dependency 'rubocop-ast', '1.32.3'
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.21.1'
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.2.0
4
+ version: 2.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Simply Business
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-08-30 00:00:00.000000000 Z
11
+ date: 2024-09-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.65.1
19
+ version: 1.66.1
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.65.1
26
+ version: 1.66.1
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.32.1
33
+ version: 1.32.3
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.32.1
40
+ version: 1.32.3
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rubocop-capybara
43
43
  requirement: !ruby/object:Gem::Requirement