rubocop-iknow 0.0.11 → 0.0.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/rubocop.yml +6 -2
- 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: c73e9697213c409e51309957c70ca73fe3862c0c5ae7f44c11c315268ca4c0aa
|
4
|
+
data.tar.gz: 2e3764f4bb400028c6df562cd69395c9ca60b28910f64efc9799da012b39e97c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7f134fce7f1c445e2a9a1b6daec35822e6da808214684205708a2028e59d50177601d68cd37f2a500644bd9a7f431ae81d05aeedccb6d0c7f943ae41f1dca14a
|
7
|
+
data.tar.gz: c7c1cafb32427ef78d706d7192c798111644a49ed59471d068617153fc77a2b4cb0d0ea0d7643a9366117a31d150ea2240d63935699f5e636c57fdada1c2280f
|
data/rubocop.yml
CHANGED
@@ -116,7 +116,8 @@ Naming/MethodParameterName:
|
|
116
116
|
Enabled: false
|
117
117
|
|
118
118
|
Naming/PredicateName:
|
119
|
-
NamePrefix: [is_]
|
119
|
+
NamePrefix: [is_, have_]
|
120
|
+
ForbiddenPrefixes: [is_, have_]
|
120
121
|
|
121
122
|
Naming/RescuedExceptionsVariableName:
|
122
123
|
Enabled: false
|
@@ -169,7 +170,10 @@ Style/HashEachMethods:
|
|
169
170
|
Style/HashSyntax:
|
170
171
|
# We explicitly choose to use rocket style syntax when the Hash is being used
|
171
172
|
# to represent some other sort of data structure (trees, pairs, etc).
|
172
|
-
Enabled:
|
173
|
+
Enabled: true
|
174
|
+
EnforcedStyle: no_mixed_keys
|
175
|
+
EnforcedShorthandSyntax: always
|
176
|
+
Severity: error
|
173
177
|
|
174
178
|
Style/HashTransformKeys:
|
175
179
|
Enabled: true
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubocop-iknow
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.13
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- iKnow Team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-10-28 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description:
|
14
14
|
email: edge@iknow.jp
|
@@ -36,7 +36,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
36
36
|
- !ruby/object:Gem::Version
|
37
37
|
version: '0'
|
38
38
|
requirements: []
|
39
|
-
rubygems_version: 3.
|
39
|
+
rubygems_version: 3.4.19
|
40
40
|
signing_key:
|
41
41
|
specification_version: 4
|
42
42
|
summary: Rubocop Configuration used with iKnow Projects
|