rubocop-codetakt 0.83.0.1 → 0.88.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +24 -3
- data/Gemfile +4 -4
- data/config/rubocop.yml +16 -7
- data/lib/rubocop/codetakt/cli.rb +1 -1
- data/lib/rubocop/codetakt/version.rb +1 -1
- data/rubocop-codetakt.gemspec +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e149cc65361a1ea3221217355b9b4f22af6824de4997f077a60bed5da4947105
|
4
|
+
data.tar.gz: 2622b5122c0a18852ba2acce6b4c23c00912a73a432e90d30a93bf09aec2127a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6ce2db55ecf2954f60f31af21a3834788ec75f8ac64ec52c9ca22754fa9f6b799fa1d83c5ed874595ca4c7cf1df62bcf5714db3a23f7c2ce41e9177f1d017d6e
|
7
|
+
data.tar.gz: 7bb178bcbd904e88c10734639adb626e3a8d423b0983d5d25dd3a5a78f26402590db2543a7759895990ccad24c1be8b247b21070cb5ed371b0abf2c85159d53e
|
data/CHANGELOG.md
CHANGED
@@ -1,8 +1,29 @@
|
|
1
1
|
# rubocop-codetakt:
|
2
2
|
|
3
|
+
## v0.88.0.0 (2020-07-17)
|
4
|
+
|
5
|
+
* Update `rubocop` to v0.88.0
|
6
|
+
|
7
|
+
## v0.87.1.0 (2020-07-08)
|
8
|
+
|
9
|
+
* Update `rubocop` v0.87.1 and `rubocop-performance` v1.7.0
|
10
|
+
|
11
|
+
## v0.87.0.0 (2020-07-07)
|
12
|
+
|
13
|
+
* Update `rubocop` v0.87.0, `rubocop-rails` v2.6.0 and `rubocop-rspec` v1.41.0
|
14
|
+
|
15
|
+
## v0.85.0.0 (2020-06-04)
|
16
|
+
|
17
|
+
* Update `rubocop` v0.85.0
|
18
|
+
|
19
|
+
## v0.84.0.0 (2020-06-04)
|
20
|
+
|
21
|
+
* Update `rubocop` v0.84.0, `rubocop-rspec` v1.39.0, `rubocop-rails` v2.5.0 and `rubocop-performance` v1.6.0
|
22
|
+
* Clarify `Layout/HashAlignment` cop option
|
23
|
+
|
3
24
|
## v0.83.0.1 (2020-06-03)
|
4
25
|
|
5
|
-
*
|
26
|
+
* Disable `RSpec/MultipleExpectations:` cop
|
6
27
|
|
7
28
|
## v0.83.0.0 (2020-05-18)
|
8
29
|
|
@@ -21,7 +42,7 @@
|
|
21
42
|
* Separate the file of performance settings
|
22
43
|
* Clarify requiring the `rubocop-rails` gem in the Rails settings file
|
23
44
|
* Refine dependency settings
|
24
|
-
* Remove `Layout/DotPosition` cop
|
45
|
+
* Remove `Layout/DotPosition` cop
|
25
46
|
* Remove `Layout/IndentationConsistency` cop
|
26
47
|
* Remove `Style/BracesAroundHashParameters` cop
|
27
48
|
* Remove `Style/MethodCalledOnDoEndBlock`
|
@@ -79,7 +100,7 @@
|
|
79
100
|
* Update `rubocop` v0.52.0 and `rubocop-rspec` v1.21.0
|
80
101
|
* Remove `DisplayCopNames` configuration
|
81
102
|
* Enable new `Style/ClassStructure` cop
|
82
|
-
*
|
103
|
+
* Disable `Style/FormatStringToken` cop
|
83
104
|
* Change `Layout/SpaceBeforeBlockBraces` cop's empty braces style to `space`
|
84
105
|
* Change `Style/RescueStandardError` cop to implicit style
|
85
106
|
* Change `RSpec/MultipleExpectations` cop to `AggregateFailuresByDefault` style
|
data/Gemfile
CHANGED
@@ -3,8 +3,8 @@ source 'https://rubygems.org'
|
|
3
3
|
# Specify your gem's dependencies in rubocop-codetakt.gemspec
|
4
4
|
gemspec
|
5
5
|
|
6
|
-
gem 'rake', '~>
|
6
|
+
gem 'rake', '~> 13.0'
|
7
7
|
gem 'rspec', '~> 3.0'
|
8
|
-
gem 'rubocop-performance', '~> 1.
|
9
|
-
gem 'rubocop-rails', '~> 2.
|
10
|
-
gem 'rubocop-rspec', '~> 1.
|
8
|
+
gem 'rubocop-performance', '~> 1.7.0'
|
9
|
+
gem 'rubocop-rails', '~> 2.6.0'
|
10
|
+
gem 'rubocop-rspec', '~> 1.41.0'
|
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/lib/rubocop/codetakt/cli.rb
CHANGED
data/rubocop-codetakt.gemspec
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubocop-codetakt
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.88.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- codeTakt Developers
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-07-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubocop
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.88.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.88.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.
|