gc_ruboconfig 2.32.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 +85 -0
  3. metadata +16 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f080a2fc03b118e4db2362c7d5319fc63dc13b259e530fbf3b6f22c6847cc602
4
- data.tar.gz: 378d5b34a61760ed47cf63252696fda4ca8f4d90acc2c9dfac9d1a9fdb650426
3
+ metadata.gz: af052d7ef97fa16a0fd639259e6e5d08bafa2c43d0bb122b7171e921afd225fc
4
+ data.tar.gz: bb552206655d79859cd17d379d8a08db685b89e486d47b2d43deed4810f6fa14
5
5
  SHA512:
6
- metadata.gz: 8b305229c7b0bec29190eb7f7fc3f260bfd80867bf9f3b40913dcb88358690025570fa2a5d0e59c6a6e858b425d76a261834b7cace9e5f6bd504b0d7dce60b70
7
- data.tar.gz: 6a12fbd476732321e77c2404ad34754090573d2fa1a29205def28857b1971e9aacb960407a09b9e891f8f37adaa7b1245ce499d57ba1c390bb49143982073559
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:
@@ -565,3 +566,87 @@ Performance/ConcurrentMonotonicTime:
565
566
 
566
567
  Performance/StringIdentifierArgument:
567
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.32.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: 2022-02-08 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
@@ -38,6 +38,20 @@ dependencies:
38
38
  - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: '1.13'
41
+ - !ruby/object:Gem::Dependency
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
41
55
  - !ruby/object:Gem::Dependency
42
56
  name: rubocop-rspec
43
57
  requirement: !ruby/object:Gem::Requirement