gc_ruboconfig 2.31.0 → 3.0.1

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 +86 -0
  3. data/rubocop.yml +62 -0
  4. metadata +26 -11
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c387b8b52b92b33aa3923719da89c97fb44d23b2c1b843c9a65594f1e41aa782
4
- data.tar.gz: 5a2826990854256bef484cba4e43de22aca8848f46d00eb81a14ff27c834405a
3
+ metadata.gz: 32af8852f0cca9bd6cb632c836b45b6c0ea9d2f9616da62cc4688fbfe050436d
4
+ data.tar.gz: 0ce18369ff002cce541d627ad4636f0dfcf8529c2201057d6206df41fa9d2253
5
5
  SHA512:
6
- metadata.gz: 2d05092db51bfd3332b3a04c4096c4b4a062a681f867676fe1a3be2c9dc177ded0263100c3c13c9ef60685d7ac1bd385692e2ca36344dde6707f987513a6b911
7
- data.tar.gz: 7c10a1b206ee04bdb7057930e6440aed56690b75d3734467b49628e58c513241565f395ff97484d7814d654473a06064a39d790a69d7b1832c5f200cd216ce01
6
+ metadata.gz: a1ac0b3314ac1513009010239b1be736fb4c2b320aa1efea383056bc30ad2532eb78ba1dc6d633b82e8e297454ef46d74d03d56e6d3c3778692861c8ccff98e8
7
+ data.tar.gz: 978ef1481d36574b645362a0b91f72099d08522aa700ffd633724a61fb524be914736058d8b456cddfb823d00f4d92d8c46c2daf4aa091443b6a689f14b935f6
data/rails.yml ADDED
@@ -0,0 +1,86 @@
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
data/rubocop.yml CHANGED
@@ -503,3 +503,65 @@ Layout/SpaceBeforeBrackets:
503
503
 
504
504
  Layout/LineEndStringConcatenationIndentation:
505
505
  Enabled: true
506
+
507
+ Style/HashSyntax:
508
+ Enabled: false
509
+
510
+ Style/FileRead:
511
+ Enabled: false
512
+
513
+ Style/FileWrite:
514
+ Enabled: false
515
+
516
+ Style/MapToHash:
517
+ Enabled: true
518
+
519
+ Style/NumberedParameters:
520
+ Enabled: true
521
+
522
+ Style/NumberedParametersLimit:
523
+ Enabled: true
524
+ Max: 2
525
+
526
+ Style/OpenStructUse:
527
+ Enabled: false
528
+
529
+ Style/SelectByRegexp:
530
+ Enabled: false
531
+
532
+ Security/IoMethods:
533
+ Enabled: true
534
+
535
+ Gemspec/RequireMFA:
536
+ Enabled: true
537
+
538
+ Lint/AmbiguousOperatorPrecedence:
539
+ Enabled: true
540
+
541
+ Lint/IncompatibleIoSelectWithFiberScheduler:
542
+ Enabled: true
543
+
544
+ Lint/RequireRelativeSelfPath:
545
+ Enabled: true
546
+
547
+ Lint/UselessRuby2Keywords:
548
+ Enabled: true
549
+
550
+ Naming/BlockForwarding:
551
+ Enabled: true
552
+ EnforcedStyle: "explicit"
553
+
554
+ RSpec/ExcessiveDocstringSpacing:
555
+ Enabled: true
556
+
557
+ RSpec/SubjectDeclaration:
558
+ Enabled: true
559
+
560
+ RSpec/Rails/AvoidSetupHook:
561
+ Enabled: true
562
+
563
+ Performance/ConcurrentMonotonicTime:
564
+ Enabled: true
565
+
566
+ Performance/StringIdentifierArgument:
567
+ 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.31.0
4
+ version: 3.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - GoCardless
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-01-13 00:00:00.000000000 Z
11
+ date: 2022-02-15 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
@@ -59,6 +73,7 @@ executables: []
59
73
  extensions: []
60
74
  extra_rdoc_files: []
61
75
  files:
76
+ - rails.yml
62
77
  - rubocop.yml
63
78
  homepage: https://github.com/gocardless/ruboconfig
64
79
  licenses:
@@ -79,7 +94,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
79
94
  - !ruby/object:Gem::Version
80
95
  version: '0'
81
96
  requirements: []
82
- rubygems_version: 3.1.6
97
+ rubygems_version: 3.2.22
83
98
  signing_key:
84
99
  specification_version: 4
85
100
  summary: GoCardless's shared Rubocop configuration, conforming to our house style