rubocop-codetakt 0.83.0.0 → 0.83.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +4 -12
- data/CHANGELOG.md +9 -1
- data/config/rspec.yml +5 -7
- data/config/rubocop.yml +5 -1
- data/lib/rubocop/codetakt/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4a1a116f7ed49f573043d6ec43bf766e3b028b0c671fdfbc5ee8dca477f7e1ab
|
4
|
+
data.tar.gz: 92943f9030680a56b48a0477abb497cc1a341d42176a0265a3e9051e09eb7b8b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 87cbb1f19770f0d47af091cb58325663bb0aefd1c1288285327d31a2b66143ff68eaf6c49a800062661a81ff0ee1dcd1401fa2ce202c3b05fa76f252cabf1077
|
7
|
+
data.tar.gz: 1a06732e7f232b43bad6c9ceb10c540e2e90be636a42c60d0a9eab6d1ba29f5172cf37d6342505f94e399912bcc2f755c69bf13fdb7fda2ad29a96228e20f336
|
data/.rubocop.yml
CHANGED
@@ -1,12 +1,4 @@
|
|
1
|
-
|
2
|
-
rubocop
|
3
|
-
|
4
|
-
|
5
|
-
- "config/performance.yml"
|
6
|
-
# uncomment if use rails cops
|
7
|
-
- "config/rails.yml"
|
8
|
-
# uncomment if use rspec cops
|
9
|
-
- "config/rspec.yml"
|
10
|
-
|
11
|
-
AllCops:
|
12
|
-
TargetRubyVersion: 2.5
|
1
|
+
inherit_from:
|
2
|
+
- "config/rubocop.yml"
|
3
|
+
- "config/performance.yml"
|
4
|
+
- "config/rspec.yml"
|
data/CHANGELOG.md
CHANGED
@@ -1,10 +1,18 @@
|
|
1
1
|
# rubocop-codetakt:
|
2
2
|
|
3
|
+
## v0.83.0.1 (2020-06-03)
|
4
|
+
|
5
|
+
* Disalbe `RSpec/MultipleExpectations:` cop
|
6
|
+
|
3
7
|
## v0.83.0.0 (2020-05-18)
|
4
8
|
|
5
|
-
* Make the code in this repository to no offenses
|
6
9
|
* Update `rubocop` v0.83.0
|
7
10
|
|
11
|
+
## v0.82.0.1 (2020-06-01)
|
12
|
+
|
13
|
+
* Make the code in this repository to no offenses
|
14
|
+
* Accept the default setting of new cops
|
15
|
+
|
8
16
|
## v0.82.0.0 (2020-04-20)
|
9
17
|
|
10
18
|
* Fork from onk/onkcop to codetakt/rubocop-codetakt
|
data/config/rspec.yml
CHANGED
@@ -40,14 +40,12 @@ RSpec/ImplicitExpect:
|
|
40
40
|
RSpec/InstanceVariable:
|
41
41
|
Enabled: false
|
42
42
|
|
43
|
-
#
|
44
|
-
#
|
45
|
-
#
|
46
|
-
#
|
47
|
-
# パフォーマンスの問題さえ無ければ 1 example 1 assertion にしておく方が
|
48
|
-
# 読みやすいテストになりやすいので、そこはレビューで担保していく必要がある。
|
43
|
+
# rubocop-rspec v1.34.0 から RSpec/MultipleExpectations の AggregateFailuresByDefault オプションがなくなった
|
44
|
+
# https://github.com/rubocop-hq/rubocop-rspec/blob/v1.34.0/CHANGELOG.md
|
45
|
+
# feature specなどでは1つのitに複数のexpectをよく書く
|
46
|
+
# 弊社ではaggregate_failuresをデフォルトで有効にしているのでこのCopをoffにする
|
49
47
|
RSpec/MultipleExpectations:
|
50
|
-
|
48
|
+
Enabled: false
|
51
49
|
|
52
50
|
# 変に名前つけて呼ぶ方が分かりづらい。
|
53
51
|
# テスト対象メソッドを呼ぶだけの subject 以外を書かないようにする方が効く。
|
data/config/rubocop.yml
CHANGED
@@ -1,5 +1,9 @@
|
|
1
|
-
# 自動生成されるものはチェック対象から除外する
|
2
1
|
AllCops:
|
2
|
+
# We accept the default setting of rookie cops.
|
3
|
+
# https://docs.rubocop.org/rubocop/versioning.html
|
4
|
+
NewCops: enable
|
5
|
+
|
6
|
+
# Exclude automatically generated files.
|
3
7
|
Exclude:
|
4
8
|
- "node_modules/**/*" # rubocop config/default.yml
|
5
9
|
- "vendor/**/*" # rubocop config/default.yml
|
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.83.0.
|
4
|
+
version: 0.83.0.1
|
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-06-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubocop
|