rubocop-config-oharagroup 1.3.0 → 1.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/default.yml +20 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0e3b20504b429f63a47fc981b1a3fd7b254c275bcf50a7bf93d8322c3f76fdbc
|
4
|
+
data.tar.gz: c6d6e60be9a963d5d238803c8345b99634bfff82cd34eb6679a06ef3e449d828
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 34516d33cec26c92b9ad0a0d30dd74431ca3f4160430d43dc03db34990e5d3a76d1bff46ac3ad56a9044bd03e2eb1a0ed337115c80addf09f847b646cba93b7a
|
7
|
+
data.tar.gz: 27104cd623bbb4b7147eac0ffe65fb93169a21b0ba9e60d1d3dcdaf7beb8fd21aab866ea5947da035597560f17b8fd3643d3830c2857f083e326e9a651e0609a
|
data/default.yml
CHANGED
@@ -2,11 +2,14 @@
|
|
2
2
|
# Cops that rubocop disables by default, but we want to enable
|
3
3
|
# ------------------------------------------------------------
|
4
4
|
|
5
|
+
Bundler/GemComment:
|
6
|
+
Enabled: true
|
7
|
+
|
5
8
|
Layout/ClassStructure:
|
6
9
|
Enabled: true
|
7
10
|
|
8
11
|
Layout/EmptyLineAfterGuardClause:
|
9
|
-
Enabled: true
|
12
|
+
Enabled: true ??
|
10
13
|
|
11
14
|
Layout/FirstArrayElementLineBreak:
|
12
15
|
Enabled: true
|
@@ -25,6 +28,12 @@ Layout/MultilineAssignmentLayout:
|
|
25
28
|
|
26
29
|
# Lint/NumberConversion (prefer cast invalid numbers to 0 rather than throw)
|
27
30
|
|
31
|
+
Performance/CaseWhenSplat:
|
32
|
+
Enabled: true
|
33
|
+
|
34
|
+
Performance/ChainArrayAllocation:
|
35
|
+
Enabled: true
|
36
|
+
|
28
37
|
Style/AutoResourceCleanup:
|
29
38
|
Enabled: true
|
30
39
|
|
@@ -35,12 +44,19 @@ Style/Copyright:
|
|
35
44
|
Enabled: true
|
36
45
|
Notice: 'Copyright \(c\) 2016 Scott O.Hara, oharagroup.net'
|
37
46
|
|
47
|
+
Style/DateTime:
|
48
|
+
Enabled: true
|
49
|
+
|
38
50
|
# Style/DocumentationMethod (disabled due to no documentation)
|
39
51
|
|
40
52
|
Style/ImplicitRuntimeError:
|
41
53
|
Enabled: true
|
42
54
|
|
43
55
|
# Style/InlineComment (disabled due to use of inline comments)
|
56
|
+
|
57
|
+
Style/IpAddresses:
|
58
|
+
Enabled: true
|
59
|
+
|
44
60
|
# Style/MethodCallWithArgsParentheses (prefer no parens)
|
45
61
|
|
46
62
|
Style/MethodCalledOnDoEndBlock:
|
@@ -48,6 +64,9 @@ Style/MethodCalledOnDoEndBlock:
|
|
48
64
|
|
49
65
|
# Style/MissingElse (else not required)
|
50
66
|
|
67
|
+
Style/MultilineMethodSignature:
|
68
|
+
Enabled: true
|
69
|
+
|
51
70
|
Style/OptionHash:
|
52
71
|
Enabled: true
|
53
72
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubocop-config-oharagroup
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Scott O'Hara
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-10-22 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Rubocop shared configuration for all O'Hara Group ruby projects
|
14
14
|
email: scott@oharagroup.net
|
@@ -40,7 +40,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
40
40
|
version: '0'
|
41
41
|
requirements: []
|
42
42
|
rubyforge_project:
|
43
|
-
rubygems_version: 2.7.
|
43
|
+
rubygems_version: 2.7.7
|
44
44
|
signing_key:
|
45
45
|
specification_version: 4
|
46
46
|
summary: O'Hara Group Ruby style guide
|