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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1eb597d25eddcad36a8b678d16aec8012a29e0b9c33a145fc7e528303cf1ea27
4
- data.tar.gz: dfa1494d7e788cf1500f030938995d8e5a53a74cee29d3b1fc726687dc7cab85
3
+ metadata.gz: 530b577b485dd169ba5ef2bf3820e7a3fa6e8ec4a6604db775c755d5019a3dbc
4
+ data.tar.gz: cddfba144d854181aecd07f7e3ea98a24d83a281575ec7cece77543f7d9fd448
5
5
  SHA512:
6
- metadata.gz: 1d2923f5964870f8e7262c19476874f01e1785ddbba09ce158909f3cbf0758f7857de4df85586372abb669686d79cbf74f49d74500a4566e457b4eecca830583
7
- data.tar.gz: 5e7efb90fc058ffc9b7c02a6aa948fcd0b20cf50c3b274998dbcc0ca5acc7c268c950afa97031073202747b009c4e520a1b400a1f60d2110f9479c340298acba
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.0)
5
- rubocop (~> 1.57.2)
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.2)
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.4)
25
- concurrent-ruby (1.2.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.6.3)
31
+ json (2.7.1)
32
32
  language_server-protocol (3.17.0.3)
33
- minitest (5.20.0)
33
+ minitest (5.21.1)
34
34
  mutex_m (0.2.0)
35
- parallel (1.23.0)
36
- parser (3.2.2.4)
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.8.2)
43
+ regexp_parser (2.9.0)
44
44
  rexml (3.2.6)
45
- rubocop (1.57.2)
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.2.2.4)
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.28.1, < 2.0)
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.19.0)
58
+ rubocop-capybara (2.20.0)
59
+ rubocop (~> 1.41)
60
+ rubocop-factory_bot (2.25.1)
59
61
  rubocop (~> 1.41)
60
- rubocop-factory_bot (2.24.0)
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.25.0)
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:
@@ -1,3 +1,3 @@
1
1
  module NxtCop
2
- VERSION = '2.0.0'.freeze
2
+ VERSION = '2.0.1'.freeze
3
3
  end
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.57.2'
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.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-09 00:00:00.000000000 Z
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.57.2
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.57.2
26
+ version: 1.60.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rubocop-rails
29
29
  requirement: !ruby/object:Gem::Requirement