gc_ruboconfig 2.29.0 → 2.33.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/rubocop.yml +157 -0
  3. metadata +24 -10
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fbb0165c8bc13ba413b094c1d4981755e69d3271fc05759b38c5f86da713c197
4
- data.tar.gz: 39c0a8e089e581848af3b3f21f036d4a6abeea184467efcd03784bba9a2d28d8
3
+ metadata.gz: af052d7ef97fa16a0fd639259e6e5d08bafa2c43d0bb122b7171e921afd225fc
4
+ data.tar.gz: bb552206655d79859cd17d379d8a08db685b89e486d47b2d43deed4810f6fa14
5
5
  SHA512:
6
- metadata.gz: 8284b1e20246f9fd64df8c5bc000e2d9fe9fbb8bac452ee34c800e8b89acdadbffeae99b900667623b724fb6801234702025cc1d6cc38beb8cb80495665963d9
7
- data.tar.gz: 7b0669366271ccf55545e06c634aca415092341392e0d7f11954abb47d72a22a07096964841a5878af3b50d042b5415b7fb7ba429147cfbd7d593ddb68dffdac
6
+ metadata.gz: 613e51d5b4c73266020649009a19b18743e1a1dcfdbb103ab31ab50235dd185aa50f8647a34c10f2ffb1952aec555cb20ec9f4f4373d997a82cb3bf5d2015ab7
7
+ data.tar.gz: 878380ad91da9591607a48f46e0d6e617e031a92dfbb338e76e8eb78f55c6215e721693aacf67d2f1d97b056edb98903972a94669ae6ca9f7c88493270250f35
data/rubocop.yml CHANGED
@@ -1,5 +1,6 @@
1
1
  require:
2
2
  - rubocop-rspec
3
+ - rubocop-rails
3
4
  - rubocop-performance
4
5
 
5
6
  AllCops:
@@ -36,6 +37,9 @@ Lint/AmbiguousRange:
36
37
  Metrics/ClassLength:
37
38
  Enabled: false
38
39
 
40
+ Metrics/AbcSize:
41
+ Max: 60
42
+
39
43
  Layout/LineLength:
40
44
  Max: 90
41
45
 
@@ -53,10 +57,14 @@ Metrics/ModuleLength:
53
57
 
54
58
  Metrics/ParameterLists:
55
59
  CountKeywordArgs: false
60
+ Max: 10
56
61
 
57
62
  Metrics/PerceivedComplexity:
58
63
  Max: 11
59
64
 
65
+ Metrics/CyclomaticComplexity:
66
+ Max: 10
67
+
60
68
  Style/AsciiComments:
61
69
  Enabled: false
62
70
 
@@ -185,6 +193,9 @@ RSpec/StubbedMock:
185
193
  RSpec/IdenticalEqualityAssertion:
186
194
  Enabled: true
187
195
 
196
+ RSpec/FactoryBot/SyntaxMethods:
197
+ Enabled: false
198
+
188
199
  # Re-enable this when the following is resolved:
189
200
  # https://github.com/rubocop-hq/rubocop/issues/5953
190
201
  Style/AccessModifierDeclarations:
@@ -493,3 +504,149 @@ Layout/SpaceBeforeBrackets:
493
504
 
494
505
  Layout/LineEndStringConcatenationIndentation:
495
506
  Enabled: true
507
+
508
+ Style/HashSyntax:
509
+ Enabled: false
510
+
511
+ Style/FileRead:
512
+ Enabled: false
513
+
514
+ Style/FileWrite:
515
+ Enabled: false
516
+
517
+ Style/MapToHash:
518
+ Enabled: true
519
+
520
+ Style/NumberedParameters:
521
+ Enabled: true
522
+
523
+ Style/NumberedParametersLimit:
524
+ Enabled: true
525
+ Max: 2
526
+
527
+ Style/OpenStructUse:
528
+ Enabled: false
529
+
530
+ Style/SelectByRegexp:
531
+ Enabled: false
532
+
533
+ Security/IoMethods:
534
+ Enabled: true
535
+
536
+ Gemspec/RequireMFA:
537
+ Enabled: true
538
+
539
+ Lint/AmbiguousOperatorPrecedence:
540
+ Enabled: true
541
+
542
+ Lint/IncompatibleIoSelectWithFiberScheduler:
543
+ Enabled: true
544
+
545
+ Lint/RequireRelativeSelfPath:
546
+ Enabled: true
547
+
548
+ Lint/UselessRuby2Keywords:
549
+ Enabled: true
550
+
551
+ Naming/BlockForwarding:
552
+ Enabled: true
553
+ EnforcedStyle: "explicit"
554
+
555
+ RSpec/ExcessiveDocstringSpacing:
556
+ Enabled: true
557
+
558
+ RSpec/SubjectDeclaration:
559
+ Enabled: true
560
+
561
+ RSpec/Rails/AvoidSetupHook:
562
+ Enabled: true
563
+
564
+ Performance/ConcurrentMonotonicTime:
565
+ Enabled: true
566
+
567
+ Performance/StringIdentifierArgument:
568
+ Enabled: true
569
+
570
+ Rails/AddColumnIndex:
571
+ Enabled: false
572
+
573
+ Rails/CompactBlank:
574
+ Enabled: true
575
+
576
+ Rails/DurationArithmetic:
577
+ Enabled: true
578
+
579
+ Rails/EagerEvaluationLogMessage:
580
+ Enabled: true
581
+
582
+ Rails/ExpandedDateRange:
583
+ Enabled: true
584
+
585
+ Rails/I18nLocaleAssignment:
586
+ Enabled: true
587
+
588
+ Rails/RedundantPresenceValidationOnBelongsTo:
589
+ Enabled: true
590
+
591
+ Rails/RedundantTravelBack:
592
+ Enabled: true
593
+
594
+ Rails/RootJoinChain:
595
+ Enabled: true
596
+
597
+ Rails/TimeZoneAssignment:
598
+ Enabled: true
599
+
600
+ Rails/UnusedIgnoredColumns:
601
+ Enabled: true
602
+
603
+ Rails/ActiveRecordCallbacksOrder:
604
+ Enabled: true
605
+
606
+ Rails/AfterCommitOverride:
607
+ Enabled: true
608
+
609
+ Rails/AttributeDefaultBlockValue:
610
+ Enabled: true
611
+
612
+ Rails/FindById:
613
+ Enabled: true
614
+
615
+ Rails/Inquiry:
616
+ Enabled: true
617
+
618
+ Rails/MailerName:
619
+ Enabled: true
620
+
621
+ Rails/MatchRoute:
622
+ Enabled: true
623
+
624
+ Rails/NegateInclude:
625
+ Enabled: true
626
+
627
+ Rails/Pluck:
628
+ Enabled: true
629
+
630
+ Rails/PluckInWhere:
631
+ Enabled: true
632
+
633
+ Rails/RenderInline:
634
+ Enabled: true
635
+
636
+ Rails/RenderPlainText:
637
+ Enabled: true
638
+
639
+ Rails/ShortI18n:
640
+ Enabled: false
641
+
642
+ Rails/SquishedSQLHeredocs:
643
+ Enabled: true
644
+
645
+ Rails/WhereEquals:
646
+ Enabled: true
647
+
648
+ Rails/WhereExists:
649
+ Enabled: true
650
+
651
+ Rails/WhereNot:
652
+ Enabled: true
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gc_ruboconfig
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.29.0
4
+ version: 2.33.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - GoCardless
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-10-19 00:00:00.000000000 Z
11
+ date: 2022-02-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop
@@ -16,42 +16,56 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '1.19'
19
+ version: '1.25'
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.19'
26
+ version: '1.25'
27
27
  - !ruby/object:Gem::Dependency
28
- name: rubocop-rspec
28
+ name: rubocop-performance
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: 2.4.0
33
+ version: '1.13'
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: 2.4.0
40
+ version: '1.13'
41
41
  - !ruby/object:Gem::Dependency
42
- name: rubocop-performance
42
+ name: rubocop-rails
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: 2.13.0
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: 2.13.0
55
+ - !ruby/object:Gem::Dependency
56
+ name: rubocop-rspec
43
57
  requirement: !ruby/object:Gem::Requirement
44
58
  requirements:
45
59
  - - ">="
46
60
  - !ruby/object:Gem::Version
47
- version: '1.11'
61
+ version: 2.8.0
48
62
  type: :runtime
49
63
  prerelease: false
50
64
  version_requirements: !ruby/object:Gem::Requirement
51
65
  requirements:
52
66
  - - ">="
53
67
  - !ruby/object:Gem::Version
54
- version: '1.11'
68
+ version: 2.8.0
55
69
  description:
56
70
  email:
57
71
  - developers@gocardless.com