much-style-guide 0.5.0 → 0.6.4

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c4b7017c2c766e8d684a0098766459f9530de50a7e91302ae03819c0e93485f2
4
- data.tar.gz: 950adb43bb0c90ba9adcc2081cafade0900e9c891455c49a21bf2d37a5e6e7c6
3
+ metadata.gz: a66db51da3ce609ed4c0fa2f6d44489d83a86f528ba817e04f33e65bc98cc8bc
4
+ data.tar.gz: b8b00d57effb93b9679f95fec1f1a00920a4c86447ffc44f0d7ad7033c8b74fa
5
5
  SHA512:
6
- metadata.gz: 4a45cb8a028ad528a6f63a455068cf02c15c487f4916f2e5df796b99e78d1b3a8069dfb94fcf2a8854b68865d79099f6e9414e320612c2f3860e78149b48e210
7
- data.tar.gz: 573c4d3f19934facc10b4122dff743ff4c17b67876b1a18db564871cb09c7606029a1cc37679f5d4ec36746bc00889588124e2f4bf9055bcb8241836af4bb25e
6
+ metadata.gz: a177d2acba48e6ea8cb17432ef0495ee86598fac35035268747f4fca20c5802af0271945971c6ee9c9efecb09fe5c31225a29fe2702e8507524aaf55d4630f9d
7
+ data.tar.gz: 3a7de31d451032fa8cca53b958ea7b8712b574280db1655ceb7dc555648422a48cdd3edce399d1dc7b98011009ba8c6a13d6fcfb2425b9e6f9bb90397c2fc788
@@ -39,10 +39,15 @@ Layout/LineLength:
39
39
  - !ruby/regexp /\A\s*include {?\w+(?:::\w+)+}?\z/
40
40
  # Links
41
41
  - !ruby/regexp /\A\s*#\s*http.*\z/
42
+ # Requires
43
+ - !ruby/regexp /\A\s*require\s+".+\z/
42
44
 
43
45
  Layout/MultilineArrayBraceLayout:
44
46
  EnforcedStyle: new_line
45
47
 
48
+ Layout/MultilineAssignmentLayout:
49
+ EnforcedStyle: new_line
50
+
46
51
  Layout/MultilineHashBraceLayout:
47
52
  EnforcedStyle: new_line
48
53
 
@@ -104,6 +109,9 @@ Naming/ClassAndModuleCamelCase:
104
109
  Naming/FileName:
105
110
  Enabled: false
106
111
 
112
+ Naming/MethodName:
113
+ Enabled: false
114
+
107
115
  Naming/MethodParameterName:
108
116
  Enabled: false
109
117
 
@@ -132,6 +140,15 @@ Style/CommandLiteral:
132
140
  EnforcedStyle: backticks
133
141
  AllowInnerBackticks: true
134
142
 
143
+ Style/CollectionMethods:
144
+ PreferredMethods:
145
+ collect: map
146
+ collect!: map!
147
+ inject: reduce
148
+ detect: find
149
+ find_all: select
150
+ member?: include
151
+
135
152
  Style/Documentation:
136
153
  Enabled: false
137
154
 
@@ -193,5 +210,8 @@ Style/TrailingCommaInArrayLiteral:
193
210
  Style/TrailingCommaInHashLiteral:
194
211
  EnforcedStyleForMultiline: consistent_comma
195
212
 
213
+ Style/TrivialAccessors:
214
+ Enabled: false
215
+
196
216
  Style/WordArray:
197
217
  Enabled: false
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module MuchStyleGuide
4
- VERSION = "0.5.0"
4
+ VERSION = "0.6.4"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: much-style-guide
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.6.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kelly Redding
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2021-01-09 00:00:00.000000000 Z
12
+ date: 2021-06-14 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: assert