simplycop 2.7.2 → 2.9.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: 599a8c0f989bcb8f3d9b7143ca1e359d466c5a6fbfc505c1e5e6b3eea401cfdb
4
- data.tar.gz: c37b67276a4f1b1dcbdd6ed28978ba17aa7dafdffa4102e0f7f3e2b46bbc06e2
3
+ metadata.gz: 31337b33804ba150c7a178f81ed4bf7af27d81759abc5a64257b34799e455520
4
+ data.tar.gz: 22d10ce6541c93291e91005907965948e9e97e134ca096c1350e72abd5cfe738
5
5
  SHA512:
6
- metadata.gz: 778a321cc5c9b439862cfc5f754d6db20b98ed83c1654b0b65aa36aea793d8a0de2a1d688a1e73b789155c08d1fce06db693b7ce22a05c167f568c2e3269a7a0
7
- data.tar.gz: 5399764f9a05c727a1d7da939cf1fe005055d92718c2346782660f6317216546727bee6aaec8f1d7c11d01a90a36f5476522cc593fa9d98f036cf1b72e7ddda9
6
+ metadata.gz: 4a68e5f50561b6daee6546d74be863e766ad5575df9de9dadeb26ea35f9dcb299c7a3d940cf1ce166e05e7cac79599bb29b4a279de2faebb4b9ebad0d4dcda1b
7
+ data.tar.gz: ba236059dd20ca8cd0768a583e29a195b6cee81305203cd933d8fefeb2eeb017a0e12ca184b9cf7eee25c72659d11e7c93fde5578a4026382849696467766059
data/.DS_Store ADDED
Binary file
data/.simplycop_lint.yml CHANGED
@@ -366,6 +366,9 @@ Lint/TripleQuotes:
366
366
  Lint/UnderscorePrefixedVariableName:
367
367
  Enabled: true
368
368
 
369
+ Lint/UnescapedBracketInRegexp:
370
+ Enabled: true
371
+
369
372
  Lint/UnexpectedBlockArity:
370
373
  Enabled: true
371
374
 
@@ -130,6 +130,9 @@ Performance/Squeeze:
130
130
  Performance/StartWith:
131
131
  Enabled: true
132
132
 
133
+ Performance/StringBytesize:
134
+ Enabled: true
135
+
133
136
  Performance/StringIdentifierArgument:
134
137
  Enabled: true
135
138
 
data/.simplycop_style.yml CHANGED
@@ -7,6 +7,9 @@ Style/AccessorGrouping:
7
7
  Style/Alias:
8
8
  Enabled: false
9
9
 
10
+ Style/AmbiguousEndlessMethodDefinition:
11
+ Enabled: true
12
+
10
13
  Style/AndOr:
11
14
  Enabled: true
12
15
 
@@ -44,6 +47,9 @@ Style/BeginBlock:
44
47
  Style/BisectedAttrAccessor:
45
48
  Enabled: true
46
49
 
50
+ Style/BitwisePredicate:
51
+ Enabled: true
52
+
47
53
  Style/BlockComments:
48
54
  Enabled: true
49
55
 
@@ -97,6 +103,9 @@ Style/ColonMethodCall:
97
103
  Style/ColonMethodDefinition:
98
104
  Enabled: true
99
105
 
106
+ Style/CombinableDefined:
107
+ Enabled: true
108
+
100
109
  Style/CombinableLoops:
101
110
  Enabled: true
102
111
 
@@ -329,6 +338,9 @@ Style/IpAddresses:
329
338
  # Enabled: true
330
339
  # Exclude: [*spec.rb]
331
340
 
341
+ Style/KeywordArgumentsMerging:
342
+ Enabled: true
343
+
332
344
  Style/KeywordParametersOrder:
333
345
  Enabled: true
334
346
 
@@ -664,6 +676,9 @@ Style/ReturnNilInPredicateMethodDefinition:
664
676
  Style/SafeNavigation:
665
677
  Enabled: false
666
678
 
679
+ Style/SafeNavigationChainLength:
680
+ Enabled: false
681
+
667
682
  Style/Sample:
668
683
  Enabled: true
669
684
 
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.7.2
13
+ rubygems.org/current-version: 2.9.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.7.2'
10
+ VERSION = '2.9.0'
11
11
  end
data/simplycop.gemspec CHANGED
@@ -17,11 +17,11 @@ 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.67.0'
21
- spec.add_dependency 'rubocop-ast', '1.33.0'
20
+ spec.add_dependency 'rubocop', '1.68.0'
21
+ spec.add_dependency 'rubocop-ast', '1.36.1'
22
22
  spec.add_dependency 'rubocop-capybara', '2.21.0'
23
23
  spec.add_dependency 'rubocop-factory_bot', '2.26.1'
24
- spec.add_dependency 'rubocop-performance', '1.22.1'
24
+ spec.add_dependency 'rubocop-performance', '1.23.0'
25
25
  spec.add_dependency 'rubocop-rails', '2.27.0'
26
26
  spec.add_dependency 'rubocop-rspec', '3.2.0'
27
27
  spec.add_dependency 'rubocop-rspec_rails', '2.30.0'
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.7.2
4
+ version: 2.9.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: 2024-11-01 00:00:00.000000000 Z
11
+ date: 2024-11-22 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.67.0
19
+ version: 1.68.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.67.0
26
+ version: 1.68.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.33.0
33
+ version: 1.36.1
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.33.0
40
+ version: 1.36.1
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rubocop-capybara
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -72,14 +72,14 @@ dependencies:
72
72
  requirements:
73
73
  - - '='
74
74
  - !ruby/object:Gem::Version
75
- version: 1.22.1
75
+ version: 1.23.0
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - '='
81
81
  - !ruby/object:Gem::Version
82
- version: 1.22.1
82
+ version: 1.23.0
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: rubocop-rails
85
85
  requirement: !ruby/object:Gem::Requirement
@@ -172,6 +172,7 @@ executables: []
172
172
  extensions: []
173
173
  extra_rdoc_files: []
174
174
  files:
175
+ - ".DS_Store"
175
176
  - ".custom_simplycop.yml"
176
177
  - ".github/dependabot.yml"
177
178
  - ".github/workflows/ci.yml"