nxt_cop 2.0.0 → 2.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/Gemfile.lock +18 -18
- data/default.yml +28 -0
- data/lib/nxt_cop/version.rb +1 -1
- data/nxt_cop.gemspec +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 530b577b485dd169ba5ef2bf3820e7a3fa6e8ec4a6604db775c755d5019a3dbc
|
4
|
+
data.tar.gz: cddfba144d854181aecd07f7e3ea98a24d83a281575ec7cece77543f7d9fd448
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 04b24945b0ca039e944b465e822b9be9882672db7a2d9dca15528ae6be45945a0c2a3ec2ebd90a7ce7c48a6a10703ce183ffedb2c5b2e2f189ea79b7f3f07beb
|
7
|
+
data.tar.gz: 5c535e553548102f708b5c981e255af718bcdde9580cdda845a06ba7ae8f9cdd162139d2b0f7e4cc7873df53094677d0c21aac0f97848e5be69fc6b42cbc83d5
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,9 @@
|
|
1
|
+
# v2.0.1 2024-01-10
|
2
|
+
## What's Changed
|
3
|
+
* Disable more cops depending on the code style in our backend-services
|
4
|
+
|
5
|
+
* **Full Changelog**: https://github.com/nxt-insurance/nxt_cop/compare/v2.0.0...v2.0.1
|
6
|
+
|
1
7
|
# v2.0.0 2023-11-28
|
2
8
|
## What's Changed
|
3
9
|
* Enabled all cops by default
|
data/Gemfile.lock
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
nxt_cop (2.0.
|
5
|
-
rubocop (~> 1.
|
4
|
+
nxt_cop (2.0.1)
|
5
|
+
rubocop (~> 1.60.0)
|
6
6
|
rubocop-rails (~> 2.8)
|
7
7
|
rubocop-rspec (~> 2.12)
|
8
8
|
|
9
9
|
GEM
|
10
10
|
remote: https://rubygems.org/
|
11
11
|
specs:
|
12
|
-
activesupport (7.1.
|
12
|
+
activesupport (7.1.3)
|
13
13
|
base64
|
14
14
|
bigdecimal
|
15
15
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
@@ -21,50 +21,50 @@ GEM
|
|
21
21
|
tzinfo (~> 2.0)
|
22
22
|
ast (2.4.2)
|
23
23
|
base64 (0.2.0)
|
24
|
-
bigdecimal (3.1.
|
25
|
-
concurrent-ruby (1.2.
|
24
|
+
bigdecimal (3.1.5)
|
25
|
+
concurrent-ruby (1.2.3)
|
26
26
|
connection_pool (2.4.1)
|
27
27
|
drb (2.2.0)
|
28
28
|
ruby2_keywords
|
29
29
|
i18n (1.14.1)
|
30
30
|
concurrent-ruby (~> 1.0)
|
31
|
-
json (2.
|
31
|
+
json (2.7.1)
|
32
32
|
language_server-protocol (3.17.0.3)
|
33
|
-
minitest (5.
|
33
|
+
minitest (5.21.1)
|
34
34
|
mutex_m (0.2.0)
|
35
|
-
parallel (1.
|
36
|
-
parser (3.
|
35
|
+
parallel (1.24.0)
|
36
|
+
parser (3.3.0.4)
|
37
37
|
ast (~> 2.4.1)
|
38
38
|
racc
|
39
39
|
racc (1.7.3)
|
40
40
|
rack (3.0.8)
|
41
41
|
rainbow (3.1.1)
|
42
42
|
rake (13.1.0)
|
43
|
-
regexp_parser (2.
|
43
|
+
regexp_parser (2.9.0)
|
44
44
|
rexml (3.2.6)
|
45
|
-
rubocop (1.
|
45
|
+
rubocop (1.60.0)
|
46
46
|
json (~> 2.3)
|
47
47
|
language_server-protocol (>= 3.17.0)
|
48
48
|
parallel (~> 1.10)
|
49
|
-
parser (>= 3.
|
49
|
+
parser (>= 3.3.0.2)
|
50
50
|
rainbow (>= 2.2.2, < 4.0)
|
51
51
|
regexp_parser (>= 1.8, < 3.0)
|
52
52
|
rexml (>= 3.2.5, < 4.0)
|
53
|
-
rubocop-ast (>= 1.
|
53
|
+
rubocop-ast (>= 1.30.0, < 2.0)
|
54
54
|
ruby-progressbar (~> 1.7)
|
55
55
|
unicode-display_width (>= 2.4.0, < 3.0)
|
56
56
|
rubocop-ast (1.30.0)
|
57
57
|
parser (>= 3.2.1.0)
|
58
|
-
rubocop-capybara (2.
|
58
|
+
rubocop-capybara (2.20.0)
|
59
|
+
rubocop (~> 1.41)
|
60
|
+
rubocop-factory_bot (2.25.1)
|
59
61
|
rubocop (~> 1.41)
|
60
|
-
rubocop-
|
61
|
-
rubocop (~> 1.33)
|
62
|
-
rubocop-rails (2.22.2)
|
62
|
+
rubocop-rails (2.23.1)
|
63
63
|
activesupport (>= 4.2.0)
|
64
64
|
rack (>= 1.1)
|
65
65
|
rubocop (>= 1.33.0, < 2.0)
|
66
66
|
rubocop-ast (>= 1.30.0, < 2.0)
|
67
|
-
rubocop-rspec (2.
|
67
|
+
rubocop-rspec (2.26.1)
|
68
68
|
rubocop (~> 1.40)
|
69
69
|
rubocop-capybara (~> 2.17)
|
70
70
|
rubocop-factory_bot (~> 2.22)
|
data/default.yml
CHANGED
@@ -429,6 +429,34 @@ Style/RedundantInterpolation:
|
|
429
429
|
Enabled: false
|
430
430
|
Style/ZeroLengthPredicate:
|
431
431
|
Enabled: false
|
432
|
+
Style/MultilineTernaryOperator:
|
433
|
+
Enabled: false
|
434
|
+
Style/RedundantReturn:
|
435
|
+
Enabled: false
|
436
|
+
Style/ClassCheck:
|
437
|
+
Enabled: false
|
438
|
+
Style/LineEndConcatenation:
|
439
|
+
Enabled: false
|
440
|
+
Style/RedundantFetchBlock:
|
441
|
+
Enabled: false
|
442
|
+
Style/FloatDivision:
|
443
|
+
Enabled: false
|
444
|
+
Layout/MultilineOperationIndentation:
|
445
|
+
Enabled: false
|
446
|
+
Style/SoleNestedConditional:
|
447
|
+
Enabled: false
|
448
|
+
Rails/FindEach:
|
449
|
+
Enabled: false
|
450
|
+
Style/RedundantParentheses:
|
451
|
+
Enabled: false
|
452
|
+
Style/IfInsideElse:
|
453
|
+
Enabled: false
|
454
|
+
Style/EmptyCaseCondition:
|
455
|
+
Enabled: false
|
456
|
+
Style/TernaryParentheses:
|
457
|
+
EnforcedStyle: require_parentheses_when_complex
|
458
|
+
Style/HashLikeCase:
|
459
|
+
Enabled: false
|
432
460
|
|
433
461
|
# 🤔 Should we enable these cops or not? They look useful but require alignment within the team
|
434
462
|
Style/OpenStructUse:
|
data/lib/nxt_cop/version.rb
CHANGED
data/nxt_cop.gemspec
CHANGED
@@ -33,7 +33,7 @@ Gem::Specification.new do |spec|
|
|
33
33
|
|
34
34
|
spec.required_ruby_version = '>= 3.2'
|
35
35
|
|
36
|
-
spec.add_dependency 'rubocop', '~> 1.
|
36
|
+
spec.add_dependency 'rubocop', '~> 1.60.0'
|
37
37
|
spec.add_dependency 'rubocop-rails', '~> 2.8'
|
38
38
|
spec.add_dependency 'rubocop-rspec', '~> 2.12'
|
39
39
|
spec.add_development_dependency 'bundler', '~> 2.1'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nxt_cop
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Scott Livingstone
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-01-
|
11
|
+
date: 2024-01-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubocop
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 1.
|
19
|
+
version: 1.60.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.
|
26
|
+
version: 1.60.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rubocop-rails
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|