rubocop-codetakt 0.83.0.1 → 0.84.0.0
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 +4 -4
- data/CHANGELOG.md +8 -3
- data/Gemfile +2 -2
- data/config/rubocop.yml +16 -7
- data/lib/rubocop/codetakt/version.rb +1 -1
- data/rubocop-codetakt.gemspec +1 -1
- 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: c3e05cc34a03191e9f9953b257f39c35153ca6381136a483d60600c85bfc361e
|
4
|
+
data.tar.gz: 9773cc51adb3e99928a210852738e472bdae56aee88eb9123eede5c587a5f8e0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 620f002d2100d5f3b04a7143be1adb6a36db98c083e73fa460225cd6dfdd67765562e805135d7f74dc555f181d3415fa85bcb4d8e398fd4b640451a004f17d32
|
7
|
+
data.tar.gz: 12fc69e7d802f3bc46a574bb6aabcbe749d6778561264a28f90e62ca4dec1ea7b7bddefc64c817a88e37520c23c79aae9b2f8435234e1363d5db87ca33687ab4
|
data/CHANGELOG.md
CHANGED
@@ -1,8 +1,13 @@
|
|
1
1
|
# rubocop-codetakt:
|
2
2
|
|
3
|
+
## v0.84.0.0 (2020-06-04)
|
4
|
+
|
5
|
+
* Update `rubocop` v0.84.0, `rubocop-rspec` v1.39.0, `rubocop-rails` v2.5.0 and `rubocop-performance` v1.6.0
|
6
|
+
* Clarify `Layout/HashAlignment` cop option
|
7
|
+
|
3
8
|
## v0.83.0.1 (2020-06-03)
|
4
9
|
|
5
|
-
*
|
10
|
+
* Disable `RSpec/MultipleExpectations:` cop
|
6
11
|
|
7
12
|
## v0.83.0.0 (2020-05-18)
|
8
13
|
|
@@ -21,7 +26,7 @@
|
|
21
26
|
* Separate the file of performance settings
|
22
27
|
* Clarify requiring the `rubocop-rails` gem in the Rails settings file
|
23
28
|
* Refine dependency settings
|
24
|
-
* Remove `Layout/DotPosition` cop
|
29
|
+
* Remove `Layout/DotPosition` cop
|
25
30
|
* Remove `Layout/IndentationConsistency` cop
|
26
31
|
* Remove `Style/BracesAroundHashParameters` cop
|
27
32
|
* Remove `Style/MethodCalledOnDoEndBlock`
|
@@ -79,7 +84,7 @@
|
|
79
84
|
* Update `rubocop` v0.52.0 and `rubocop-rspec` v1.21.0
|
80
85
|
* Remove `DisplayCopNames` configuration
|
81
86
|
* Enable new `Style/ClassStructure` cop
|
82
|
-
*
|
87
|
+
* Disable `Style/FormatStringToken` cop
|
83
88
|
* Change `Layout/SpaceBeforeBlockBraces` cop's empty braces style to `space`
|
84
89
|
* Change `Style/RescueStandardError` cop to implicit style
|
85
90
|
* Change `RSpec/MultipleExpectations` cop to `AggregateFailuresByDefault` style
|
data/Gemfile
CHANGED
data/config/rubocop.yml
CHANGED
@@ -35,6 +35,15 @@ Layout/FirstArrayElementIndentation:
|
|
35
35
|
Layout/FirstHashElementIndentation:
|
36
36
|
EnforcedStyle: consistent
|
37
37
|
|
38
|
+
# We have decided to accept the default options of this cop (as of
|
39
|
+
# RuboCop v0.83.0.) These are certainly useful in many situations.
|
40
|
+
# However, any product team has the discretion to locally disable this
|
41
|
+
# cop.
|
42
|
+
Layout/HashAlignment:
|
43
|
+
EnforcedHashRocketStyle: key
|
44
|
+
EnforcedColonStyle: key
|
45
|
+
EnforcedLastArgumentHashStyle: always_inspect
|
46
|
+
|
38
47
|
# * 警告 120文字
|
39
48
|
# * 禁止 160文字
|
40
49
|
# のイメージ
|
@@ -143,6 +152,13 @@ Metrics/PerceivedComplexity:
|
|
143
152
|
|
144
153
|
#################### Naming ################################
|
145
154
|
|
155
|
+
# 3 文字未満だと指摘されるが、未使用を示す _ や e(rror), b(lock),
|
156
|
+
# n(umber) といった 1 文字変数は頻出するし、前置詞(by, to, ...)や
|
157
|
+
# よく知られた省略語 (op: operator とか pk: primary key とか) も妥当。
|
158
|
+
# 変数 s にどんな文字列かを形容したい場合と、不要な場合とがある=無効
|
159
|
+
Naming/MethodParameterName:
|
160
|
+
Enabled: false
|
161
|
+
|
146
162
|
# has_ から始まるメソッドは許可する
|
147
163
|
Naming/PredicateName:
|
148
164
|
ForbiddenPrefixes:
|
@@ -152,13 +168,6 @@ Naming/PredicateName:
|
|
152
168
|
- "is_"
|
153
169
|
- "have_"
|
154
170
|
|
155
|
-
# 3 文字未満だと指摘されるが、未使用を示す _ や e(rror), b(lock),
|
156
|
-
# n(umber) といった 1 文字変数は頻出するし、前置詞(by, to, ...)や
|
157
|
-
# よく知られた省略語 (op: operator とか pk: primary key とか) も妥当。
|
158
|
-
# 変数 s にどんな文字列かを形容したい場合と、不要な場合とがある=無効
|
159
|
-
Naming/MethodParameterName:
|
160
|
-
Enabled: false
|
161
|
-
|
162
171
|
#################### Security ##############################
|
163
172
|
|
164
173
|
# 毎回 YAML.safe_load(yaml_str, [Date, Time]) するのは面倒で。。
|
data/rubocop-codetakt.gemspec
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubocop-codetakt
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.84.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- codeTakt Developers
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.84.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.84.0
|
27
27
|
description: |2
|
28
28
|
This includes the RuboCop configuration used by codeTakt. It is
|
29
29
|
for the unification and linting of coding styles.
|