simplycop 2.7.1 → 2.8.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: addd86c30008da3c05703d7425093665642488dd01313ae74b513d7bb12bad7c
4
- data.tar.gz: 6f67fcf433f36ff863141309a8ae2911f0ffd127bbf7d1d7c84d6ed67054f343
3
+ metadata.gz: 3f12bf08280dafb0cf7ce09c4adb646d9639f252f81626034a99f6b23a0780a6
4
+ data.tar.gz: 281785b5be1e1cf004b37373aea7a56daad04479df4d7c72949ffc480d9f7fec
5
5
  SHA512:
6
- metadata.gz: 5b7f121afc3c949f8f2b0f00f628b2c2c81701562bf5b4ddf22523a5536df66b8fff238b57228be904404bc5b6be48005de9863d569263feb2aae3c59ea82755
7
- data.tar.gz: adbdc7be387f16f662fc89c53d2668aee70f43fe08b787dab7fa71387455456e0d26328496632e9b595e1ad6c39f6014dcf1f14b1dc5f19a83626dcfae325862
6
+ metadata.gz: 645df57bddf53858d142de2c24a5c1bb933a64b1dc76fae3fa8db93d6d42b48cd8b1101b81a4e54bd9e7398c9e5c085c0a720c1de142e61c0a80e02b22852e69
7
+ data.tar.gz: 4010d8cf74a1f221197335d8f18b9c28ba67f277c7a8e00b7d86e640de366bd70805d2660e0aaa912dfe679ab560dfd4c19630cb8c10e7a2303c6a81eddfbb57
data/.DS_Store ADDED
Binary file
@@ -10,5 +10,6 @@ jobs:
10
10
  uses: simplybusiness/github-action-reusable-workflows/.github/workflows/dobby.yaml@v1
11
11
  with:
12
12
  version_file_path: 'lib/simplycop/version.rb'
13
+ other_version_file_paths: 'catalog-info.yaml'
13
14
  secrets: inherit
14
15
 
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
 
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,6 +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.8.0
13
14
  spec:
14
15
  type: library
15
16
  lifecycle: production
@@ -7,5 +7,5 @@
7
7
  #
8
8
 
9
9
  module Simplycop
10
- VERSION = '2.7.1'
10
+ VERSION = '2.8.0'
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.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.34.1'
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.22.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.7.1
4
+ version: 2.8.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-10-31 00:00:00.000000000 Z
11
+ date: 2024-11-08 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.34.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.34.1
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rubocop-capybara
43
43
  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"