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.
Files changed (4) hide show
  1. checksums.yaml +5 -5
  2. data/default.yml +10 -11
  3. data/rails.yml +0 -6
  4. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: f274112c889043b064b3299ec10333d895292d22
4
- data.tar.gz: 6100574af0e7e359550855fce2b096fe3e3a7943
2
+ SHA256:
3
+ metadata.gz: 8c7186ad7d90e3a7a2dba92c9242da1cd2de57e890b381411f4d052cabaf5bcc
4
+ data.tar.gz: 23e6503a36775a2261e68125f6489f4d1982170d322bb6edfb9ce2e68b39826c
5
5
  SHA512:
6
- metadata.gz: 2278856db14da2c8d3eb67892624829d41c95955f51c4579d91092e2c1b368b595dcc9b61c750c7ddeec11f14a176b70d5d9c8ca55f5beff1dcca0317c5a2570
7
- data.tar.gz: adfc15123645c67d001958dda08c708986c92d54c27d081d4145b2bb877fd0f7a0b70ac20376cb81988d9eebf34093388c8cd8e2b580a5495280f097187a1e36
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/Send:
49
+ Style/ReturnNil:
56
50
  Enabled: true
57
51
 
58
- Style/StringMethods:
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.0.0
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: 2017-09-07 00:00:00.000000000 Z
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.6.13
43
+ rubygems_version: 2.7.4
44
44
  signing_key:
45
45
  specification_version: 4
46
46
  summary: O'Hara Group Ruby style guide