gc_ruboconfig 2.33.0 → 3.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/rails.yml +110 -0
  3. data/rubocop.yml +1 -83
  4. metadata +8 -7
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: af052d7ef97fa16a0fd639259e6e5d08bafa2c43d0bb122b7171e921afd225fc
4
- data.tar.gz: bb552206655d79859cd17d379d8a08db685b89e486d47b2d43deed4810f6fa14
3
+ metadata.gz: 2ce2d2ccfc4b4155244423c97c5c96055d665af88c6e7725d5db8ce2da1585c8
4
+ data.tar.gz: 4b051c084c9ce8902f3612d0866b102934f96796d93f203e5c93e6c9253843ac
5
5
  SHA512:
6
- metadata.gz: 613e51d5b4c73266020649009a19b18743e1a1dcfdbb103ab31ab50235dd185aa50f8647a34c10f2ffb1952aec555cb20ec9f4f4373d997a82cb3bf5d2015ab7
7
- data.tar.gz: 878380ad91da9591607a48f46e0d6e617e031a92dfbb338e76e8eb78f55c6215e721693aacf67d2f1d97b056edb98903972a94669ae6ca9f7c88493270250f35
6
+ metadata.gz: 685a9c3e63aa16aa84e2e8bc064dd695a7f549a8a97f34f3c8a0508761f9adf9d007ece2574f4c062da47e3f6f18cef65606fe7b3553dcec487b0ae2d88220cc
7
+ data.tar.gz: e68420ea98469c2d209651774cb4b693c968890a56fcc2c174f0ca49d64eaa32545ed76834aec4b841395885c89e11402317b7221ebb59d41bc38a6116324b90
data/rails.yml ADDED
@@ -0,0 +1,110 @@
1
+ require:
2
+ - rubocop-rails
3
+
4
+ Rails/AddColumnIndex:
5
+ Enabled: false
6
+
7
+ Rails/CompactBlank:
8
+ Enabled: true
9
+
10
+ Rails/DurationArithmetic:
11
+ Enabled: true
12
+
13
+ Rails/EagerEvaluationLogMessage:
14
+ Enabled: true
15
+
16
+ Rails/ExpandedDateRange:
17
+ Enabled: true
18
+
19
+ Rails/I18nLocaleAssignment:
20
+ Enabled: true
21
+
22
+ Rails/RedundantPresenceValidationOnBelongsTo:
23
+ Enabled: true
24
+
25
+ Rails/RedundantTravelBack:
26
+ Enabled: true
27
+
28
+ Rails/RootJoinChain:
29
+ Enabled: true
30
+
31
+ Rails/TimeZoneAssignment:
32
+ Enabled: true
33
+
34
+ Rails/UnusedIgnoredColumns:
35
+ Enabled: true
36
+
37
+ Rails/ActiveRecordCallbacksOrder:
38
+ Enabled: true
39
+
40
+ Rails/AfterCommitOverride:
41
+ Enabled: true
42
+
43
+ Rails/AttributeDefaultBlockValue:
44
+ Enabled: true
45
+
46
+ Rails/FindById:
47
+ Enabled: true
48
+
49
+ Rails/Inquiry:
50
+ Enabled: true
51
+
52
+ Rails/MailerName:
53
+ Enabled: true
54
+
55
+ Rails/MatchRoute:
56
+ Enabled: true
57
+
58
+ Rails/NegateInclude:
59
+ Enabled: true
60
+
61
+ Rails/Pluck:
62
+ Enabled: true
63
+
64
+ Rails/PluckInWhere:
65
+ Enabled: true
66
+
67
+ Rails/RenderInline:
68
+ Enabled: true
69
+
70
+ Rails/RenderPlainText:
71
+ Enabled: true
72
+
73
+ Rails/ShortI18n:
74
+ Enabled: false
75
+
76
+ Rails/SquishedSQLHeredocs:
77
+ Enabled: true
78
+
79
+ Rails/WhereEquals:
80
+ Enabled: true
81
+
82
+ Rails/WhereExists:
83
+ Enabled: true
84
+
85
+ Rails/WhereNot:
86
+ Enabled: true
87
+
88
+ Rails/ActionControllerTestCase:
89
+ Enabled: true
90
+
91
+ Rails/DeprecatedActiveModelErrorsMethods:
92
+ Enabled: true
93
+
94
+ Rails/DuplicateAssociation:
95
+ Enabled: true
96
+
97
+ Rails/DuplicateScope:
98
+ Enabled: true
99
+
100
+ Rails/I18nLazyLookup:
101
+ Enabled: true
102
+
103
+ Rails/I18nLocaleTexts:
104
+ Enabled: true
105
+
106
+ Rails/MigrationClassName:
107
+ Enabled: true
108
+
109
+ Rails/TransactionExitStatement:
110
+ Enabled: true
data/rubocop.yml CHANGED
@@ -1,6 +1,5 @@
1
1
  require:
2
2
  - rubocop-rspec
3
- - rubocop-rails
4
3
  - rubocop-performance
5
4
 
6
5
  AllCops:
@@ -567,86 +566,5 @@ Performance/ConcurrentMonotonicTime:
567
566
  Performance/StringIdentifierArgument:
568
567
  Enabled: true
569
568
 
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:
569
+ Style/NestedFileDirname:
652
570
  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.33.0
4
+ version: 3.1.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-09 00:00:00.000000000 Z
11
+ date: 2022-03-31 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.25'
19
+ version: '1.26'
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.25'
26
+ version: '1.26'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rubocop-performance
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -44,14 +44,14 @@ dependencies:
44
44
  requirements:
45
45
  - - ">="
46
46
  - !ruby/object:Gem::Version
47
- version: 2.13.0
47
+ version: 2.14.0
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - ">="
53
53
  - !ruby/object:Gem::Version
54
- version: 2.13.0
54
+ version: 2.14.0
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: rubocop-rspec
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -73,6 +73,7 @@ executables: []
73
73
  extensions: []
74
74
  extra_rdoc_files: []
75
75
  files:
76
+ - rails.yml
76
77
  - rubocop.yml
77
78
  homepage: https://github.com/gocardless/ruboconfig
78
79
  licenses:
@@ -93,7 +94,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
93
94
  - !ruby/object:Gem::Version
94
95
  version: '0'
95
96
  requirements: []
96
- rubygems_version: 3.2.22
97
+ rubygems_version: 3.3.7
97
98
  signing_key:
98
99
  specification_version: 4
99
100
  summary: GoCardless's shared Rubocop configuration, conforming to our house style