rubocop-minitest 0.10.1 → 0.12.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.circleci/config.yml +18 -3
- data/.github/ISSUE_TEMPLATE/bug_report.md +5 -1
- data/.rubocop.yml +5 -1
- data/.rubocop_todo.yml +8 -7
- data/CHANGELOG.md +95 -50
- data/CONTRIBUTING.md +3 -3
- data/Gemfile +2 -2
- data/LICENSE.txt +1 -1
- data/README.md +18 -2
- data/Rakefile +1 -1
- data/bin/console +2 -0
- data/config/default.yml +15 -4
- data/docs/antora.yml +1 -1
- data/docs/modules/ROOT/pages/cops.adoc +14 -1
- data/docs/modules/ROOT/pages/cops_minitest.adoc +79 -8
- data/docs/modules/ROOT/pages/index.adoc +1 -1
- data/legacy-docs/cops_minitest.md +16 -16
- data/legacy-docs/index.md +1 -1
- data/lib/rubocop/cop/minitest/assert_empty.rb +1 -1
- data/lib/rubocop/cop/minitest/assert_empty_literal.rb +12 -16
- data/lib/rubocop/cop/minitest/assert_equal.rb +1 -1
- data/lib/rubocop/cop/minitest/assert_in_delta.rb +4 -1
- data/lib/rubocop/cop/minitest/assert_includes.rb +1 -1
- data/lib/rubocop/cop/minitest/assert_instance_of.rb +1 -1
- data/lib/rubocop/cop/minitest/assert_kind_of.rb +1 -1
- data/lib/rubocop/cop/minitest/assert_match.rb +1 -1
- data/lib/rubocop/cop/minitest/assert_nil.rb +5 -11
- data/lib/rubocop/cop/minitest/assert_output.rb +1 -1
- data/lib/rubocop/cop/minitest/assert_path_exists.rb +6 -12
- data/lib/rubocop/cop/minitest/assert_respond_to.rb +1 -1
- data/lib/rubocop/cop/minitest/assert_silent.rb +8 -6
- data/lib/rubocop/cop/minitest/assert_truthy.rb +5 -11
- data/lib/rubocop/cop/minitest/assert_with_expected_argument.rb +41 -0
- data/lib/rubocop/cop/minitest/assertion_in_lifecycle_hook.rb +1 -1
- data/lib/rubocop/cop/minitest/global_expectations.rb +6 -7
- data/lib/rubocop/cop/minitest/literal_as_actual_argument.rb +15 -14
- data/lib/rubocop/cop/minitest/multiple_assertions.rb +2 -2
- data/lib/rubocop/cop/minitest/no_assertions.rb +48 -0
- data/lib/rubocop/cop/minitest/refute_empty.rb +1 -1
- data/lib/rubocop/cop/minitest/refute_equal.rb +7 -8
- data/lib/rubocop/cop/minitest/refute_false.rb +15 -22
- data/lib/rubocop/cop/minitest/refute_in_delta.rb +4 -1
- data/lib/rubocop/cop/minitest/refute_includes.rb +1 -1
- data/lib/rubocop/cop/minitest/refute_instance_of.rb +1 -1
- data/lib/rubocop/cop/minitest/refute_kind_of.rb +1 -1
- data/lib/rubocop/cop/minitest/refute_match.rb +1 -1
- data/lib/rubocop/cop/minitest/refute_nil.rb +4 -8
- data/lib/rubocop/cop/minitest/refute_path_exists.rb +6 -12
- data/lib/rubocop/cop/minitest/refute_respond_to.rb +1 -1
- data/lib/rubocop/cop/minitest/test_method_name.rb +18 -8
- data/lib/rubocop/cop/minitest/unspecified_exception.rb +1 -1
- data/lib/rubocop/cop/minitest_cops.rb +2 -0
- data/lib/rubocop/cop/mixin/in_delta_mixin.rb +5 -15
- data/lib/rubocop/cop/mixin/minitest_cop_rule.rb +13 -13
- data/lib/rubocop/cop/mixin/minitest_exploration_helpers.rb +27 -3
- data/lib/rubocop/minitest/version.rb +8 -1
- data/mkdocs.yml +2 -2
- data/relnotes/v0.1.0.md +1 -1
- data/relnotes/v0.10.0.md +12 -12
- data/relnotes/v0.10.1.md +1 -1
- data/relnotes/v0.10.2.md +5 -0
- data/relnotes/v0.10.3.md +5 -0
- data/relnotes/v0.11.0.md +16 -0
- data/relnotes/v0.11.1.md +5 -0
- data/relnotes/v0.12.0.md +10 -0
- data/relnotes/v0.2.0.md +4 -4
- data/relnotes/v0.2.1.md +1 -1
- data/relnotes/v0.3.0.md +6 -6
- data/relnotes/v0.4.0.md +5 -5
- data/relnotes/v0.4.1.md +1 -1
- data/relnotes/v0.5.0.md +1 -1
- data/relnotes/v0.5.1.md +1 -1
- data/relnotes/v0.6.0.md +1 -1
- data/relnotes/v0.6.1.md +2 -2
- data/relnotes/v0.6.2.md +1 -1
- data/relnotes/v0.7.0.md +5 -5
- data/relnotes/v0.8.0.md +4 -4
- data/relnotes/v0.8.1.md +1 -1
- data/relnotes/v0.9.0.md +3 -3
- data/rubocop-minitest.gemspec +7 -7
- data/tasks/cops_documentation.rake +24 -304
- metadata +28 -15
metadata
CHANGED
@@ -1,16 +1,16 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubocop-minitest
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.12.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Bozhidar Batsov
|
8
8
|
- Jonas Arvidsson
|
9
9
|
- Koichi ITO
|
10
|
-
autorequire:
|
10
|
+
autorequire:
|
11
11
|
bindir: exe
|
12
12
|
cert_chain: []
|
13
|
-
date:
|
13
|
+
date: 2021-04-23 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rubocop
|
@@ -18,14 +18,20 @@ dependencies:
|
|
18
18
|
requirements:
|
19
19
|
- - ">="
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: '0.
|
21
|
+
version: '0.90'
|
22
|
+
- - "<"
|
23
|
+
- !ruby/object:Gem::Version
|
24
|
+
version: '2.0'
|
22
25
|
type: :runtime
|
23
26
|
prerelease: false
|
24
27
|
version_requirements: !ruby/object:Gem::Requirement
|
25
28
|
requirements:
|
26
29
|
- - ">="
|
27
30
|
- !ruby/object:Gem::Version
|
28
|
-
version: '0.
|
31
|
+
version: '0.90'
|
32
|
+
- - "<"
|
33
|
+
- !ruby/object:Gem::Version
|
34
|
+
version: '2.0'
|
29
35
|
- !ruby/object:Gem::Dependency
|
30
36
|
name: minitest
|
31
37
|
requirement: !ruby/object:Gem::Requirement
|
@@ -43,7 +49,7 @@ dependencies:
|
|
43
49
|
description: |
|
44
50
|
Automatic Minitest code style checking tool.
|
45
51
|
A RuboCop extension focused on enforcing Minitest best practices and coding conventions.
|
46
|
-
email:
|
52
|
+
email:
|
47
53
|
executables: []
|
48
54
|
extensions: []
|
49
55
|
extra_rdoc_files: []
|
@@ -94,10 +100,12 @@ files:
|
|
94
100
|
- lib/rubocop/cop/minitest/assert_respond_to.rb
|
95
101
|
- lib/rubocop/cop/minitest/assert_silent.rb
|
96
102
|
- lib/rubocop/cop/minitest/assert_truthy.rb
|
103
|
+
- lib/rubocop/cop/minitest/assert_with_expected_argument.rb
|
97
104
|
- lib/rubocop/cop/minitest/assertion_in_lifecycle_hook.rb
|
98
105
|
- lib/rubocop/cop/minitest/global_expectations.rb
|
99
106
|
- lib/rubocop/cop/minitest/literal_as_actual_argument.rb
|
100
107
|
- lib/rubocop/cop/minitest/multiple_assertions.rb
|
108
|
+
- lib/rubocop/cop/minitest/no_assertions.rb
|
101
109
|
- lib/rubocop/cop/minitest/refute_empty.rb
|
102
110
|
- lib/rubocop/cop/minitest/refute_equal.rb
|
103
111
|
- lib/rubocop/cop/minitest/refute_false.rb
|
@@ -124,6 +132,11 @@ files:
|
|
124
132
|
- relnotes/v0.1.0.md
|
125
133
|
- relnotes/v0.10.0.md
|
126
134
|
- relnotes/v0.10.1.md
|
135
|
+
- relnotes/v0.10.2.md
|
136
|
+
- relnotes/v0.10.3.md
|
137
|
+
- relnotes/v0.11.0.md
|
138
|
+
- relnotes/v0.11.1.md
|
139
|
+
- relnotes/v0.12.0.md
|
127
140
|
- relnotes/v0.2.0.md
|
128
141
|
- relnotes/v0.2.1.md
|
129
142
|
- relnotes/v0.3.0.md
|
@@ -141,16 +154,16 @@ files:
|
|
141
154
|
- rubocop-minitest.gemspec
|
142
155
|
- tasks/cops_documentation.rake
|
143
156
|
- tasks/cut_release.rake
|
144
|
-
homepage:
|
157
|
+
homepage:
|
145
158
|
licenses:
|
146
159
|
- MIT
|
147
160
|
metadata:
|
148
161
|
homepage_uri: https://docs.rubocop.org/rubocop-minitest/
|
149
|
-
changelog_uri: https://github.com/rubocop
|
150
|
-
source_code_uri: https://github.com/rubocop
|
151
|
-
documentation_uri: https://docs.rubocop.org/rubocop-minitest/
|
152
|
-
bug_tracker_uri: https://github.com/rubocop
|
153
|
-
post_install_message:
|
162
|
+
changelog_uri: https://github.com/rubocop/rubocop-minitest/blob/master/CHANGELOG.md
|
163
|
+
source_code_uri: https://github.com/rubocop/rubocop-minitest
|
164
|
+
documentation_uri: https://docs.rubocop.org/rubocop-minitest/0.12
|
165
|
+
bug_tracker_uri: https://github.com/rubocop/rubocop-minitest/issues
|
166
|
+
post_install_message:
|
154
167
|
rdoc_options: []
|
155
168
|
require_paths:
|
156
169
|
- lib
|
@@ -158,15 +171,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
158
171
|
requirements:
|
159
172
|
- - ">="
|
160
173
|
- !ruby/object:Gem::Version
|
161
|
-
version: 2.
|
174
|
+
version: 2.5.0
|
162
175
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
163
176
|
requirements:
|
164
177
|
- - ">="
|
165
178
|
- !ruby/object:Gem::Version
|
166
179
|
version: '0'
|
167
180
|
requirements: []
|
168
|
-
rubygems_version: 3.
|
169
|
-
signing_key:
|
181
|
+
rubygems_version: 3.2.13
|
182
|
+
signing_key:
|
170
183
|
specification_version: 4
|
171
184
|
summary: Automatic Minitest code style checking tool.
|
172
185
|
test_files: []
|