rubocop-codetakt 0.83.0.0 → 0.83.0.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 74197207090407a16111797eec67eace293f5044205c6c2cddb660f0ee1cbcbe
4
- data.tar.gz: 6576637d5db9a171f3f29950ecb974e5bd093f5ccad175c8f59f46a9d45b33a9
3
+ metadata.gz: 4a1a116f7ed49f573043d6ec43bf766e3b028b0c671fdfbc5ee8dca477f7e1ab
4
+ data.tar.gz: 92943f9030680a56b48a0477abb497cc1a341d42176a0265a3e9051e09eb7b8b
5
5
  SHA512:
6
- metadata.gz: 0b47b0320871768ab3d68a22f68722a627b2000300447ad69133599f6be0e3c200b3d08fc5713ed1783e80228e4b78ff0b35be8c402343fb15ffd91704dd2560
7
- data.tar.gz: a8f5f97b9b40b91afaebfc037397776e1e7c204d8f886f0d61938120eda013a2830894c9ffe2a4d506b6de55c5e7ee08ec4c81f68308ef16e41a5d1e3c9ae225
6
+ metadata.gz: 87cbb1f19770f0d47af091cb58325663bb0aefd1c1288285327d31a2b66143ff68eaf6c49a800062661a81ff0ee1dcd1401fa2ce202c3b05fa76f252cabf1077
7
+ data.tar.gz: 1a06732e7f232b43bad6c9ceb10c540e2e90be636a42c60d0a9eab6d1ba29f5172cf37d6342505f94e399912bcc2f755c69bf13fdb7fda2ad29a96228e20f336
@@ -1,12 +1,4 @@
1
- inherit_gem:
2
- rubocop-codetakt:
3
- - "config/rubocop.yml"
4
- # uncomment if use performance cops
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"
@@ -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
@@ -40,14 +40,12 @@ RSpec/ImplicitExpect:
40
40
  RSpec/InstanceVariable:
41
41
  Enabled: false
42
42
 
43
- # spec_helper meta[:aggregate_failures] を設定することで
44
- # aggregate_failures が全ての spec で有効になる。
45
- #
46
- # ほぼ MultipleExpectations についてはチェックされなくなる設定なので注意。
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
- AggregateFailuresByDefault: true
48
+ Enabled: false
51
49
 
52
50
  # 変に名前つけて呼ぶ方が分かりづらい。
53
51
  # テスト対象メソッドを呼ぶだけの subject 以外を書かないようにする方が効く。
@@ -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
@@ -1,5 +1,5 @@
1
1
  module RuboCop
2
2
  module Codetakt
3
- VERSION = '0.83.0.0'.freeze
3
+ VERSION = '0.83.0.1'.freeze
4
4
  end
5
5
  end
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.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-05-18 00:00:00.000000000 Z
11
+ date: 2020-06-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop