onkcop 0.43.0.1 → 0.43.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -0
- data/config/rspec.yml +26 -0
- data/config/rubocop.yml +1 -1
- data/lib/onkcop/version.rb +1 -1
- data/onkcop.gemspec +1 -0
- metadata +18 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 27720efc2d73cbc00e29545fa306149edc88f43b
|
4
|
+
data.tar.gz: acc802de2245ba927f516f806a1e211eebe52da1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5d6040676ff34580c6e24122462451aebf22edb404b4ecd5d009e8772a7b6c80a6b2ff0a577a6807ebf911aa8f60d48d45d7422d2dba27bbe43e3ebc574a81bf
|
7
|
+
data.tar.gz: 593fff693ffcb2e4ee98df497d9a83199098ee877d7cbcf81ccd23bc48686484b062bfdd6cc5d7ea8eecc4c770b71ed589b12c3aca4bd1cb8d41dd1fd61c31fc
|
data/README.md
CHANGED
data/config/rspec.yml
ADDED
@@ -0,0 +1,26 @@
|
|
1
|
+
require: "rubocop-rspec"
|
2
|
+
|
3
|
+
# subject はコピペ可搬性よりもそのまま USAGE であって欲しい
|
4
|
+
RSpec/DescribedClass:
|
5
|
+
Enabled: false
|
6
|
+
|
7
|
+
# each で回したり aggregate_failures 使ってたりすると厳しい。
|
8
|
+
# feature spec は exclude でも良いかもしれない。
|
9
|
+
# ヒアドキュメント使うと一瞬で超えるので disable も検討。
|
10
|
+
RSpec/ExampleLength:
|
11
|
+
Max: 8
|
12
|
+
|
13
|
+
# let を使うのは context 間で条件が違うものが存在する時だけにしたい。
|
14
|
+
# before の方が事前条件を整えていることが分かりやすい。
|
15
|
+
RSpec/InstanceVariable:
|
16
|
+
Enabled: false
|
17
|
+
|
18
|
+
# 変に名前つけて呼ぶ方が分かりづらい。
|
19
|
+
# テスト対象メソッドを呼ぶだけの subject 以外を書かないようにする方が効く。
|
20
|
+
RSpec/NamedSubject:
|
21
|
+
Enabled: false
|
22
|
+
|
23
|
+
# 強く 1 example 1 assertion の立場は取らないが、多すぎてもツラいので。
|
24
|
+
# aggregate_failures で囲われていたら無視する的なオプション欲しい。
|
25
|
+
RSpec/MultipleExpectations:
|
26
|
+
Max: 3
|
data/config/rubocop.yml
CHANGED
data/lib/onkcop/version.rb
CHANGED
data/onkcop.gemspec
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: onkcop
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.43.0.
|
4
|
+
version: 0.43.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Takafumi ONAKA
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-10-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubocop
|
@@ -24,6 +24,20 @@ dependencies:
|
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: 0.43.0
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rubocop-rspec
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 1.7.0
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 1.7.0
|
27
41
|
- !ruby/object:Gem::Dependency
|
28
42
|
name: bundler
|
29
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -68,6 +82,7 @@ files:
|
|
68
82
|
- bin/console
|
69
83
|
- bin/setup
|
70
84
|
- config/rails.yml
|
85
|
+
- config/rspec.yml
|
71
86
|
- config/rubocop.yml
|
72
87
|
- lib/onkcop.rb
|
73
88
|
- lib/onkcop/version.rb
|
@@ -92,7 +107,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
92
107
|
version: '0'
|
93
108
|
requirements: []
|
94
109
|
rubyforge_project:
|
95
|
-
rubygems_version: 2.6.
|
110
|
+
rubygems_version: 2.6.7
|
96
111
|
signing_key:
|
97
112
|
specification_version: 4
|
98
113
|
summary: OnkCop is a RuboCop configration gem.
|