rubocop-config-oharagroup 1.0.0 → 1.1.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 +5 -5
- data/default.yml +10 -11
- data/rails.yml +0 -6
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 8c7186ad7d90e3a7a2dba92c9242da1cd2de57e890b381411f4d052cabaf5bcc
|
4
|
+
data.tar.gz: 23e6503a36775a2261e68125f6489f4d1982170d322bb6edfb9ce2e68b39826c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2d78f5216c3cf5d90335960d2d6d2fc8fe84add4cb8ab5d88301a48e01e9aa2137abbc0b53d4e0bee65edbdbb8e5a780d726b57caab10b75f2b175881ad1115a
|
7
|
+
data.tar.gz: 7d09eb64057e427bcb619fd0c268fe2aa2f697d668379239e2598011701a65571a1b91008a2e285c8e7322fdbadf6a1a6bf9a99688106fc3279fe821c02505ff
|
data/default.yml
CHANGED
@@ -1,13 +1,10 @@
|
|
1
|
-
AllCops:
|
2
|
-
Exclude:
|
3
|
-
- 'bin/*'
|
4
|
-
- 'node_modules/**/*'
|
5
|
-
- 'vendor/**/*'
|
6
|
-
|
7
1
|
# ------------------------------------------------------------
|
8
2
|
# Cops that rubocop disables by default, but we want to enable
|
9
3
|
# ------------------------------------------------------------
|
10
4
|
|
5
|
+
Layout/ClassStructure:
|
6
|
+
Enabled: true
|
7
|
+
|
11
8
|
Layout/FirstArrayElementLineBreak:
|
12
9
|
Enabled: true
|
13
10
|
|
@@ -35,9 +32,6 @@ Style/Copyright:
|
|
35
32
|
|
36
33
|
# Style/DocumentationMethod (disabled due to no documentation)
|
37
34
|
|
38
|
-
Style/Encoding:
|
39
|
-
Enabled: true
|
40
|
-
|
41
35
|
Style/ImplicitRuntimeError:
|
42
36
|
Enabled: true
|
43
37
|
|
@@ -52,15 +46,20 @@ Style/MethodCalledOnDoEndBlock:
|
|
52
46
|
Style/OptionHash:
|
53
47
|
Enabled: true
|
54
48
|
|
55
|
-
Style/
|
49
|
+
Style/ReturnNil:
|
56
50
|
Enabled: true
|
57
51
|
|
58
|
-
Style/
|
52
|
+
Style/Send:
|
59
53
|
Enabled: true
|
60
54
|
|
61
55
|
Style/SingleLineBlockParams:
|
62
56
|
Enabled: true
|
63
57
|
|
58
|
+
# Style/StringHashKeys (disabled because JSON used heavily with string keys)
|
59
|
+
|
60
|
+
Style/StringMethods:
|
61
|
+
Enabled: true
|
62
|
+
|
64
63
|
# ------------------------------------------------------------
|
65
64
|
# END disabled by default cops
|
66
65
|
# ------------------------------------------------------------
|
data/rails.yml
CHANGED
@@ -1,9 +1,3 @@
|
|
1
|
-
AllCops:
|
2
|
-
Exclude:
|
3
|
-
- 'config/**/*'
|
4
|
-
- 'db/migrate/*'
|
5
|
-
- 'db/schema.rb'
|
6
|
-
|
7
1
|
# ------------------------------------------------------------
|
8
2
|
# Cops that rubocop disables by default, but we want to enable
|
9
3
|
# ------------------------------------------------------------
|
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.1.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:
|
11
|
+
date: 2018-01-10 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.
|
43
|
+
rubygems_version: 2.7.4
|
44
44
|
signing_key:
|
45
45
|
specification_version: 4
|
46
46
|
summary: O'Hara Group Ruby style guide
|