simplycop 2.14.0 → 2.15.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4803e524b4745b70f96be0dc60b5f653b8256d0408ba5c7bcaebd6388f85a894
4
- data.tar.gz: e88c1a5708dec5eda23e8cddd1d41fab8429e62856da632294b5ecfb27eeb222
3
+ metadata.gz: 9533e9be57ea5b5426ae2281a38a07107b8d08df130b3ce3602dc2087643cb8b
4
+ data.tar.gz: 5aac1a1ab8f0e60b6999bc5276af34b943e4e6a582385b0e12b2c88effa92e55
5
5
  SHA512:
6
- metadata.gz: 44ca9ba7109d917f7d19be1333a6ba5c9635bb481b6546b5762122d0d75ad15438d05a03b626f9cca32d00e55ceae43229db07e34bc4f6bcb4c13c6ccfb06b4e
7
- data.tar.gz: 808aa15535661dd3a06795be15172c2e7c2b924f70d85ef40a815a8600e93f70adf5de694c3418c84b34185fdb6518d9388e59622f38a6aa51f35b16d26aeacc
6
+ metadata.gz: 5ec594e0ce8c5d6e8466efff142a68685b618af4f1bc9cd35f71ae4414d3e6d3c2e280860d22b847a7a0824e09dc33710fdadcce08acec6c96222484c3a8481d
7
+ data.tar.gz: b4c9331d7eb41aed654ad015f12c6ebddd651105c02edb2ae9f730a7c0f05cafe74f84f4307ce432c4d7bedca6709f0efb9fd8e315769362b83b4e0c9be06625
@@ -1,5 +1,4 @@
1
- require:
2
- - rubocop-capybara
1
+ plugins: rubocop-capybara
3
2
 
4
3
  Capybara/AmbiguousClick:
5
4
  Enabled: true
@@ -1,5 +1,4 @@
1
- require:
2
- - rubocop-factory_bot
1
+ plugins: rubocop-factory_bot
3
2
 
4
3
  FactoryBot/AssociationStyle:
5
4
  Enabled: true
data/.simplycop_lint.yml CHANGED
@@ -54,6 +54,9 @@ Lint/ConstantReassignment:
54
54
  Lint/ConstantResolution:
55
55
  Enabled: false
56
56
 
57
+ Lint/CopDirectiveSyntax:
58
+ Enabled: true
59
+
57
60
  Lint/Debugger:
58
61
  Enabled: true
59
62
 
@@ -290,6 +293,9 @@ Lint/RedundantSplatExpansion:
290
293
  Lint/RedundantStringCoercion:
291
294
  Enabled: true
292
295
 
296
+ Lint/RedundantTypeConversion:
297
+ Enabled: true
298
+
293
299
  Lint/RedundantWithIndex:
294
300
  Enabled: true
295
301
 
@@ -357,6 +363,9 @@ Lint/StructNewOverride:
357
363
  Lint/SuppressedException:
358
364
  Enabled: true
359
365
 
366
+ Lint/SuppressedExceptionInNumberConversion:
367
+ Enabled: true
368
+
360
369
  Lint/SymbolConversion:
361
370
  Enabled: true
362
371
 
@@ -417,6 +426,9 @@ Lint/UselessAccessModifier:
417
426
  Lint/UselessAssignment:
418
427
  Enabled: true
419
428
 
429
+ Lint/UselessConstantScoping:
430
+ Enabled: true
431
+
420
432
  Lint/UselessDefined:
421
433
  Enabled: true
422
434
 
@@ -1,5 +1,4 @@
1
- require:
2
- - rubocop-performance
1
+ plugins: rubocop-performance
3
2
 
4
3
  Performance/AncestorsInclude:
5
4
  Enabled: true
data/.simplycop_rails.yml CHANGED
@@ -1,5 +1,4 @@
1
- require:
2
- - rubocop-rails
1
+ plugins: rubocop-rails
3
2
 
4
3
  # Overridden in Chopin
5
4
  Rails/ActionControllerFlashBeforeRender:
data/.simplycop_rspec.yml CHANGED
@@ -1,5 +1,4 @@
1
- require:
2
- - rubocop-rspec
1
+ plugins: rubocop-rspec
3
2
 
4
3
  RSpec/AlignLeftLetBrace:
5
4
  Enabled: false
@@ -1,5 +1,4 @@
1
- require:
2
- - rubocop-rspec_rails
1
+ plugins: rubocop-rspec_rails
3
2
 
4
3
  RSpecRails/AvoidSetupHook:
5
4
  Enabled: true
data/.simplycop_style.yml CHANGED
@@ -612,6 +612,9 @@ Style/RedundantFileExtensionInRequire:
612
612
  Style/RedundantFilterChain:
613
613
  Enabled: true
614
614
 
615
+ Style/RedundantFormat:
616
+ Enabled: true
617
+
615
618
  Style/RedundantFreeze:
616
619
  Enabled: true
617
620
 
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.14.0
13
+ rubygems.org/current-version: 2.15.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.14.0'
10
+ VERSION = '2.15.0'
11
11
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simplycop
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.14.0
4
+ version: 2.15.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Simply Business
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-03-24 00:00:00.000000000 Z
10
+ date: 2025-03-26 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: rubocop