ryu39cop 0.73.0.1 → 0.73.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5cd1f266b3251f95ca57e35f03df9d38c9ad7f52e9549970ca6bc2ff1cb771d7
4
- data.tar.gz: 9c8f90973885aecac64a853b34b889cfa37e08ed81cd6177a657c3e319122eff
3
+ metadata.gz: bb938b0c719392acba0788ef2c8e9869bf3b3c262ae906d3f8a94c2f9507bd3d
4
+ data.tar.gz: b40379e2a1287b0c4386fa71b4263d6004f6dc5877b0592afebc4ea55243681b
5
5
  SHA512:
6
- metadata.gz: 8590283f8c19dded110d158c89dbc80c3366ae2f3237d215eea20f32892bc8825e82a5bb17a1942cfc5620ef34e6ad5ca1557c3d251145bfafdac81e10e27552
7
- data.tar.gz: bdcea12026850c508e080f4e555df00b00f2e6991df41d87284cd4d69f25a4d6661a3ef512ab7bd41177bd34a3bfc857969f89197989460d5b3276835e5a5a1f
6
+ metadata.gz: 1c0afb396f138ac3813b53efe389632fe2831ef3cec3fdb03afc127ae5b58836c57f8325bdf1bdb9c1c42491d0cdcfe0400f9821a9cdf215ac5445f4823fa768
7
+ data.tar.gz: 6756817bbca608e600562511e244939c824120e78eed7171669dfc1d0c10a7a2204885729d1562f5862f31da2c4e88ac236ae090dfd6734f4220c5aa4bd4a054
data/config/rubocop.yml CHANGED
@@ -110,6 +110,18 @@ Metrics/ParameterLists:
110
110
  Metrics/PerceivedComplexity:
111
111
  Max: 8
112
112
 
113
+ ## Naming
114
+ Naming/ConstantName:
115
+ Enabled: true
116
+
117
+ Naming/PredicateName:
118
+ NamePrefixBlacklist:
119
+ - 'is_'
120
+ - 'have_'
121
+ NamePrefix:
122
+ - 'is_'
123
+ - 'have_'
124
+
113
125
  ## Performance
114
126
  # https://rubocop.readthedocs.io/en/latest/cops_performance/
115
127
 
@@ -158,9 +170,6 @@ Style/CollectionMethods:
158
170
  inject: 'inject'
159
171
  reduce: 'inject'
160
172
 
161
- Style/ConstantName:
162
- Enabled: true
163
-
164
173
  # めんどくさい
165
174
  Style/Documentation:
166
175
  Enabled: false
@@ -220,14 +229,6 @@ Style/PercentLiteralDelimiters:
220
229
  Style/PerlBackrefs:
221
230
  AutoCorrect: false
222
231
 
223
- Style/PredicateName:
224
- NamePrefixBlacklist:
225
- - 'is_'
226
- - 'have_'
227
- NamePrefix:
228
- - 'is_'
229
- - 'have_'
230
-
231
232
  Style/PreferredHashMethods:
232
233
  EnforcedStyle: verbose
233
234
 
@@ -253,8 +254,11 @@ Style/SymbolArray:
253
254
  Style/TernaryParentheses:
254
255
  EnforcedStyle: require_parentheses_when_complex
255
256
 
256
- Style/TrailingCommaInLiteral:
257
- EnforcedStyleForMultiline: comma
257
+ Style/TrailingCommaInArrayLiteral:
258
+ EnforcedStyleForMultiline: consistent_comma
259
+
260
+ Style/TrailingCommaInHashLiteral:
261
+ EnforcedStyleForMultiline: consistent_comma
258
262
 
259
263
  Style/WordArray:
260
264
  Enabled: false
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Ryu39Cop
4
- VERSION = '0.73.0.1'.freeze
4
+ VERSION = '0.73.0.2'.freeze
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ryu39cop
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.73.0.1
4
+ version: 0.73.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - ryu39