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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/rubocop.yml +6 -2
  3. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 07e8cd9082342ec19be97b56f3e4865d58c1b700989d36fc07feb3726476f91f
4
- data.tar.gz: eb4ff35f9c18c8a719e452aa8b895e4370c09c2322042ec9bcafd21396b4f740
3
+ metadata.gz: c73e9697213c409e51309957c70ca73fe3862c0c5ae7f44c11c315268ca4c0aa
4
+ data.tar.gz: 2e3764f4bb400028c6df562cd69395c9ca60b28910f64efc9799da012b39e97c
5
5
  SHA512:
6
- metadata.gz: 73e6fb1e6854f43fc4c7d35dbc10accd3701b256ecb693a61d364c53e9d438cdb77a26bb2ef132035d554f9893aaa60c7d04ee91d9d2ba698b5cb6423d77da4d
7
- data.tar.gz: '0759418222ba5378bc98dfa9995f8910ed0f1478642f755f2660e475f25f5ee934a4527ab1a8b7995d417b192ebc56040a339b488682c11cfa00f1756b1f8d55'
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: false
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.11
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: 2022-12-15 00:00:00.000000000 Z
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.0.3.1
39
+ rubygems_version: 3.4.19
40
40
  signing_key:
41
41
  specification_version: 4
42
42
  summary: Rubocop Configuration used with iKnow Projects