ryu39cop 0.73.0.2 → 1.0.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/config/rubocop.yml +3 -6
- data/lib/ryu39cop/version.rb +1 -1
- metadata +10 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: edfc078726aa5c637298b44cf22beb736d1c45a819dc91b669eb91bebdb57b49
|
4
|
+
data.tar.gz: c49274922f8bf94d17615312988c5844406abcbc4133eaaa19333518006fab53
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 80c7cebc6d8ed7235fb3003b1604ef72fad7ad6b61e6dccc99d4bfe16ace3cdb4d814960f4bad5505934b0c60b59317a0ab6703dd27e804ec5551d512eeb6bfb
|
7
|
+
data.tar.gz: 9870c3a9bfc979d14eb4add950b523380f2d78094779fd0ffc69a77f58ab44c8e5e47a74cdfe4f5166fe5bfc54bd6ab91b3a2fcba6e582cadd4113edc32d4ec0
|
data/config/rubocop.yml
CHANGED
@@ -21,7 +21,7 @@ Layout/ExtraSpacing:
|
|
21
21
|
- 'db/migrate/*.rb'
|
22
22
|
|
23
23
|
# 設定が面倒。各自に任せる。
|
24
|
-
Layout/
|
24
|
+
Layout/HeredocIndentation:
|
25
25
|
Enabled: false
|
26
26
|
|
27
27
|
# 状況に応じて使い分けてよい
|
@@ -95,7 +95,7 @@ Metrics/CyclomaticComplexity:
|
|
95
95
|
# 多くのRubyコーディング規約では「80」か「100」が主流な値であった。
|
96
96
|
# 「80」だと厳しすぎるので、「100」に設定する。
|
97
97
|
# 自動生成ファイルは除外
|
98
|
-
|
98
|
+
Layout/LineLength:
|
99
99
|
Max: 100
|
100
100
|
|
101
101
|
Metrics/MethodLength:
|
@@ -115,7 +115,7 @@ Naming/ConstantName:
|
|
115
115
|
Enabled: true
|
116
116
|
|
117
117
|
Naming/PredicateName:
|
118
|
-
|
118
|
+
ForbiddenPrefixes:
|
119
119
|
- 'is_'
|
120
120
|
- 'have_'
|
121
121
|
NamePrefix:
|
@@ -152,9 +152,6 @@ Style/BlockDelimiters:
|
|
152
152
|
Exclude:
|
153
153
|
- 'spec/**/*'
|
154
154
|
|
155
|
-
Style/BracesAroundHashParameters:
|
156
|
-
Enabled: false
|
157
|
-
|
158
155
|
# class A::Bと書いてインデントを減らして定義した方が読みやすいケースも結構ある。
|
159
156
|
# 特にauto_loadingが効くRailsでは、使ってもよいはず。
|
160
157
|
Style/ClassAndModuleChildren:
|
data/lib/ryu39cop/version.rb
CHANGED
metadata
CHANGED
@@ -1,29 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ryu39cop
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 1.0.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ryu39
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-03-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubocop
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0
|
19
|
+
version: '0'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - "
|
24
|
+
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 0
|
26
|
+
version: '0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rubocop-rspec
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -87,7 +87,7 @@ homepage: https://github.com/ryu39/ryu39cop
|
|
87
87
|
licenses:
|
88
88
|
- MIT
|
89
89
|
metadata: {}
|
90
|
-
post_install_message:
|
90
|
+
post_install_message:
|
91
91
|
rdoc_options: []
|
92
92
|
require_paths:
|
93
93
|
- lib
|
@@ -102,8 +102,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
102
102
|
- !ruby/object:Gem::Version
|
103
103
|
version: '0'
|
104
104
|
requirements: []
|
105
|
-
rubygems_version: 3.
|
106
|
-
signing_key:
|
105
|
+
rubygems_version: 3.2.3
|
106
|
+
signing_key:
|
107
107
|
specification_version: 4
|
108
108
|
summary: ryu39's rubocop configuration
|
109
109
|
test_files: []
|