rubocop-minitest 0.10.3 → 0.13.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (83) hide show
  1. checksums.yaml +4 -4
  2. data/.circleci/config.yml +0 -3
  3. data/.github/ISSUE_TEMPLATE/bug_report.md +5 -1
  4. data/.rubocop.yml +4 -1
  5. data/CHANGELOG.md +97 -52
  6. data/CONTRIBUTING.md +3 -3
  7. data/Gemfile +2 -2
  8. data/README.md +4 -4
  9. data/Rakefile +1 -1
  10. data/bin/console +2 -0
  11. data/config/default.yml +15 -4
  12. data/docs/antora.yml +1 -1
  13. data/docs/modules/ROOT/pages/cops.adoc +2 -0
  14. data/docs/modules/ROOT/pages/cops_minitest.adoc +71 -7
  15. data/docs/modules/ROOT/pages/index.adoc +1 -1
  16. data/legacy-docs/cops_minitest.md +16 -16
  17. data/legacy-docs/index.md +1 -1
  18. data/lib/rubocop/cop/minitest/assert_empty.rb +1 -1
  19. data/lib/rubocop/cop/minitest/assert_empty_literal.rb +12 -16
  20. data/lib/rubocop/cop/minitest/assert_equal.rb +1 -1
  21. data/lib/rubocop/cop/minitest/assert_in_delta.rb +4 -1
  22. data/lib/rubocop/cop/minitest/assert_includes.rb +1 -1
  23. data/lib/rubocop/cop/minitest/assert_instance_of.rb +1 -1
  24. data/lib/rubocop/cop/minitest/assert_kind_of.rb +1 -1
  25. data/lib/rubocop/cop/minitest/assert_match.rb +1 -1
  26. data/lib/rubocop/cop/minitest/assert_nil.rb +5 -11
  27. data/lib/rubocop/cop/minitest/assert_output.rb +1 -1
  28. data/lib/rubocop/cop/minitest/assert_path_exists.rb +6 -12
  29. data/lib/rubocop/cop/minitest/assert_respond_to.rb +1 -1
  30. data/lib/rubocop/cop/minitest/assert_silent.rb +8 -6
  31. data/lib/rubocop/cop/minitest/assert_truthy.rb +5 -11
  32. data/lib/rubocop/cop/minitest/assert_with_expected_argument.rb +41 -0
  33. data/lib/rubocop/cop/minitest/assertion_in_lifecycle_hook.rb +1 -1
  34. data/lib/rubocop/cop/minitest/global_expectations.rb +6 -7
  35. data/lib/rubocop/cop/minitest/literal_as_actual_argument.rb +15 -14
  36. data/lib/rubocop/cop/minitest/multiple_assertions.rb +2 -2
  37. data/lib/rubocop/cop/minitest/no_assertions.rb +48 -0
  38. data/lib/rubocop/cop/minitest/refute_empty.rb +1 -1
  39. data/lib/rubocop/cop/minitest/refute_equal.rb +6 -7
  40. data/lib/rubocop/cop/minitest/refute_false.rb +15 -22
  41. data/lib/rubocop/cop/minitest/refute_in_delta.rb +4 -1
  42. data/lib/rubocop/cop/minitest/refute_includes.rb +1 -1
  43. data/lib/rubocop/cop/minitest/refute_instance_of.rb +1 -1
  44. data/lib/rubocop/cop/minitest/refute_kind_of.rb +1 -1
  45. data/lib/rubocop/cop/minitest/refute_match.rb +1 -1
  46. data/lib/rubocop/cop/minitest/refute_nil.rb +4 -8
  47. data/lib/rubocop/cop/minitest/refute_path_exists.rb +6 -12
  48. data/lib/rubocop/cop/minitest/refute_respond_to.rb +1 -1
  49. data/lib/rubocop/cop/minitest/test_method_name.rb +9 -8
  50. data/lib/rubocop/cop/minitest/unspecified_exception.rb +1 -1
  51. data/lib/rubocop/cop/minitest_cops.rb +2 -0
  52. data/lib/rubocop/cop/mixin/in_delta_mixin.rb +5 -15
  53. data/lib/rubocop/cop/mixin/minitest_cop_rule.rb +12 -12
  54. data/lib/rubocop/cop/mixin/minitest_exploration_helpers.rb +14 -4
  55. data/lib/rubocop/minitest/version.rb +1 -1
  56. data/mkdocs.yml +1 -1
  57. data/relnotes/v0.1.0.md +1 -1
  58. data/relnotes/v0.10.0.md +12 -12
  59. data/relnotes/v0.10.1.md +1 -1
  60. data/relnotes/v0.10.2.md +1 -1
  61. data/relnotes/v0.10.3.md +1 -1
  62. data/relnotes/v0.11.0.md +16 -0
  63. data/relnotes/v0.11.1.md +5 -0
  64. data/relnotes/v0.12.0.md +10 -0
  65. data/relnotes/v0.12.1.md +5 -0
  66. data/relnotes/v0.13.0.md +5 -0
  67. data/relnotes/v0.2.0.md +4 -4
  68. data/relnotes/v0.2.1.md +1 -1
  69. data/relnotes/v0.3.0.md +6 -6
  70. data/relnotes/v0.4.0.md +5 -5
  71. data/relnotes/v0.4.1.md +1 -1
  72. data/relnotes/v0.5.0.md +1 -1
  73. data/relnotes/v0.5.1.md +1 -1
  74. data/relnotes/v0.6.0.md +1 -1
  75. data/relnotes/v0.6.1.md +2 -2
  76. data/relnotes/v0.6.2.md +1 -1
  77. data/relnotes/v0.7.0.md +5 -5
  78. data/relnotes/v0.8.0.md +4 -4
  79. data/relnotes/v0.8.1.md +1 -1
  80. data/relnotes/v0.9.0.md +3 -3
  81. data/rubocop-minitest.gemspec +5 -5
  82. data/tasks/cops_documentation.rake +10 -12
  83. metadata +17 -10
data/relnotes/v0.2.1.md CHANGED
@@ -1,5 +1,5 @@
1
1
  ### Bug fixes
2
2
 
3
- * [#13](https://github.com/rubocop-hq/rubocop-minitest/issues/13): Fix the execution target specified in `Include` parameter. ([@koic][])
3
+ * [#13](https://github.com/rubocop/rubocop-minitest/issues/13): Fix the execution target specified in `Include` parameter. ([@koic][])
4
4
 
5
5
  [@koic]: https://github.com/koic
data/relnotes/v0.3.0.md CHANGED
@@ -2,15 +2,15 @@
2
2
 
3
3
  ### New features
4
4
 
5
- * [#15](https://github.com/rubocop-hq/rubocop-minitest/pull/15): Add new `Minitest/RefuteIncludes` cop. ([@abhaynikam][])
6
- * [#18](https://github.com/rubocop-hq/rubocop-minitest/pull/18): Add new `Minitest/RefuteFalse` cop. ([@duduribeiro][])
7
- * [#20](https://github.com/rubocop-hq/rubocop-minitest/pull/20): Add new `Minitest/RefuteEmpty` cop. ([@abhaynikam][])
8
- * [#21](https://github.com/rubocop-hq/rubocop-minitest/pull/21): Add new `Minitest/RefuteEqual` cop. ([@duduribeiro][])
9
- * [#27](https://github.com/rubocop-hq/rubocop-minitest/pull/27): Add new `Minitest/AssertRespondTo` cop. ([@duduribeiro][])
5
+ * [#15](https://github.com/rubocop/rubocop-minitest/pull/15): Add new `Minitest/RefuteIncludes` cop. ([@abhaynikam][])
6
+ * [#18](https://github.com/rubocop/rubocop-minitest/pull/18): Add new `Minitest/RefuteFalse` cop. ([@duduribeiro][])
7
+ * [#20](https://github.com/rubocop/rubocop-minitest/pull/20): Add new `Minitest/RefuteEmpty` cop. ([@abhaynikam][])
8
+ * [#21](https://github.com/rubocop/rubocop-minitest/pull/21): Add new `Minitest/RefuteEqual` cop. ([@duduribeiro][])
9
+ * [#27](https://github.com/rubocop/rubocop-minitest/pull/27): Add new `Minitest/AssertRespondTo` cop. ([@duduribeiro][])
10
10
 
11
11
  ### Bug fixes
12
12
 
13
- * [#19](https://github.com/rubocop-hq/rubocop-minitest/pull/19): Fix a false negative for `Minitest/AssertIncludes` when using `include` method in arguments of `assert` method. ([@abhaynikam][])
13
+ * [#19](https://github.com/rubocop/rubocop-minitest/pull/19): Fix a false negative for `Minitest/AssertIncludes` when using `include` method in arguments of `assert` method. ([@abhaynikam][])
14
14
 
15
15
  [@abhaynikam]: https://github.com/abhaynikam
16
16
  [@duduribeiro]: https://github.com/duduribeiro
data/relnotes/v0.4.0.md CHANGED
@@ -1,13 +1,13 @@
1
1
  ### New features
2
2
 
3
- * [#29](https://github.com/rubocop-hq/rubocop-minitest/pull/29): Add new `Minitest/RefuteRespondTo` cop. ([@herwinw][])
4
- * [#31](https://github.com/rubocop-hq/rubocop-minitest/pull/31): Add new `Minitest/AssertEqual` cop. ([@herwinw][])
5
- * [#34](https://github.com/rubocop-hq/rubocop-minitest/pull/34): Add new `Minitest/AssertInstanceOf` cop. ([@abhaynikam][])
6
- * [#35](https://github.com/rubocop-hq/rubocop-minitest/pull/35): Add new `Minitest/RefuteInstanceOf` cop. ([@abhaynikam][])
3
+ * [#29](https://github.com/rubocop/rubocop-minitest/pull/29): Add new `Minitest/RefuteRespondTo` cop. ([@herwinw][])
4
+ * [#31](https://github.com/rubocop/rubocop-minitest/pull/31): Add new `Minitest/AssertEqual` cop. ([@herwinw][])
5
+ * [#34](https://github.com/rubocop/rubocop-minitest/pull/34): Add new `Minitest/AssertInstanceOf` cop. ([@abhaynikam][])
6
+ * [#35](https://github.com/rubocop/rubocop-minitest/pull/35): Add new `Minitest/RefuteInstanceOf` cop. ([@abhaynikam][])
7
7
 
8
8
  ### Bug fixes
9
9
 
10
- * [#25](https://github.com/rubocop-hq/rubocop-minitest/issues/25): Add `Enabled: true` to `Minitest` department config to suppress `Warning: Minitest does not support Enabled parameter`. ([@koic][])
10
+ * [#25](https://github.com/rubocop/rubocop-minitest/issues/25): Add `Enabled: true` to `Minitest` department config to suppress `Warning: Minitest does not support Enabled parameter`. ([@koic][])
11
11
 
12
12
  [@herwinw]: https://github.com/herwinw
13
13
  [@abhaynikam]: https://github.com/abhaynikam
data/relnotes/v0.4.1.md CHANGED
@@ -1,5 +1,5 @@
1
1
  ### Bug fixes
2
2
 
3
- * [#39](https://github.com/rubocop-hq/rubocop-minitest/issues/39): Fix an incorrect autocorrect for `Minitest/AssertRespondTo` and `Minitest/RefuteRespondTo` when using assertion method calling `respond_to` with receiver omitted. ([@koic][])
3
+ * [#39](https://github.com/rubocop/rubocop-minitest/issues/39): Fix an incorrect autocorrect for `Minitest/AssertRespondTo` and `Minitest/RefuteRespondTo` when using assertion method calling `respond_to` with receiver omitted. ([@koic][])
4
4
 
5
5
  [@koic]: https://github.com/koic
data/relnotes/v0.5.0.md CHANGED
@@ -1,5 +1,5 @@
1
1
  ### New features
2
2
 
3
- * [#32](https://github.com/rubocop-hq/rubocop-minitest/issues/32): Add new `Minitest/AssertEmptyLiteral` cop. ([@tejasbubane][])
3
+ * [#32](https://github.com/rubocop/rubocop-minitest/issues/32): Add new `Minitest/AssertEmptyLiteral` cop. ([@tejasbubane][])
4
4
 
5
5
  [@tejasbubane]: https://github.com/tejasbubane
data/relnotes/v0.5.1.md CHANGED
@@ -1,5 +1,5 @@
1
1
  ### Bug fixes
2
2
 
3
- * [#42](https://github.com/rubocop-hq/rubocop-minitest/issues/42): Fix an incorrect autocorrect for some cops of `Minitest` department when using heredoc message. ([@koic][])
3
+ * [#42](https://github.com/rubocop/rubocop-minitest/issues/42): Fix an incorrect autocorrect for some cops of `Minitest` department when using heredoc message. ([@koic][])
4
4
 
5
5
  [@koic]: https://github.com/koic
data/relnotes/v0.6.0.md CHANGED
@@ -1,5 +1,5 @@
1
1
  ### New features
2
2
 
3
- * [#49](https://github.com/rubocop-hq/rubocop-minitest/pull/49): New cops `AssertMatch` and `RefuteMatch` check for use of `assert_match`/`refute_match` instead of `assert(foo.match(bar))`/`refute(foo.match(bar))`. ([@fsateler][])
3
+ * [#49](https://github.com/rubocop/rubocop-minitest/pull/49): New cops `AssertMatch` and `RefuteMatch` check for use of `assert_match`/`refute_match` instead of `assert(foo.match(bar))`/`refute(foo.match(bar))`. ([@fsateler][])
4
4
 
5
5
  [@fsateler]: https://github.com/fsateler
data/relnotes/v0.6.1.md CHANGED
@@ -1,6 +1,6 @@
1
1
  ### Bug fixes
2
2
 
3
- * [#52](https://github.com/rubocop-hq/rubocop-minitest/issues/52): Make `Minitest/RefuteFalse` cop aware of `assert(!test)`. ([@koic][])
4
- * [#52](https://github.com/rubocop-hq/rubocop-minitest/issues/52): Fix a false negative for `Minitest/AssertIncludes` and `Minitest/RefuteIncludes` when an argument is enclosed in redundant parentheses. ([@koic][])
3
+ * [#52](https://github.com/rubocop/rubocop-minitest/issues/52): Make `Minitest/RefuteFalse` cop aware of `assert(!test)`. ([@koic][])
4
+ * [#52](https://github.com/rubocop/rubocop-minitest/issues/52): Fix a false negative for `Minitest/AssertIncludes` and `Minitest/RefuteIncludes` when an argument is enclosed in redundant parentheses. ([@koic][])
5
5
 
6
6
  [@koic]: https://github.com/koic
data/relnotes/v0.6.2.md CHANGED
@@ -1,5 +1,5 @@
1
1
  ### Bug fixes
2
2
 
3
- * [#55](https://github.com/rubocop-hq/rubocop-minitest/issues/55): Fix an error for `Minitest/AssertIncludes` when using local variable argument. ([@koic][])
3
+ * [#55](https://github.com/rubocop/rubocop-minitest/issues/55): Fix an error for `Minitest/AssertIncludes` when using local variable argument. ([@koic][])
4
4
 
5
5
  [@koic]: https://github.com/koic
data/relnotes/v0.7.0.md CHANGED
@@ -1,13 +1,13 @@
1
1
  ### New features
2
2
 
3
- * [#60](https://github.com/rubocop-hq/rubocop-minitest/issues/60): Add new cop `Minitest/GlobalExpectations` to check for deprecated global expectations. ([@tejasbubane][])
3
+ * [#60](https://github.com/rubocop/rubocop-minitest/issues/60): Add new cop `Minitest/GlobalExpectations` to check for deprecated global expectations. ([@tejasbubane][])
4
4
 
5
5
  ### Bug fixes
6
6
 
7
- * [#58](https://github.com/rubocop-hq/rubocop-minitest/pull/58): Fix a false negative for `Minitest/AssertMatch` and `Minitest/RefuteMatch` when an argument is enclosed in redundant parentheses. ([@koic][])
8
- * [#59](https://github.com/rubocop-hq/rubocop-minitest/pull/59): Fix a false negative for `Minitest/AssertRespondTo` and `Minitest/RefuteRespondTo` when an argument is enclosed in redundant parentheses. ([@koic][])
9
- * [#61](https://github.com/rubocop-hq/rubocop-minitest/pull/61): Fix a false negative for `Minitest/AssertInstanceOf` and `Minitest/RefuteInstanceOf` when an argument is enclosed in redundant parentheses. ([@koic][])
10
- * [#62](https://github.com/rubocop-hq/rubocop-minitest/pull/62): Fix a false negative for `Minitest/AssertEmpty` and `Minitest/RefuteEmpty` when an argument is enclosed in redundant parentheses. ([@koic][])
7
+ * [#58](https://github.com/rubocop/rubocop-minitest/pull/58): Fix a false negative for `Minitest/AssertMatch` and `Minitest/RefuteMatch` when an argument is enclosed in redundant parentheses. ([@koic][])
8
+ * [#59](https://github.com/rubocop/rubocop-minitest/pull/59): Fix a false negative for `Minitest/AssertRespondTo` and `Minitest/RefuteRespondTo` when an argument is enclosed in redundant parentheses. ([@koic][])
9
+ * [#61](https://github.com/rubocop/rubocop-minitest/pull/61): Fix a false negative for `Minitest/AssertInstanceOf` and `Minitest/RefuteInstanceOf` when an argument is enclosed in redundant parentheses. ([@koic][])
10
+ * [#62](https://github.com/rubocop/rubocop-minitest/pull/62): Fix a false negative for `Minitest/AssertEmpty` and `Minitest/RefuteEmpty` when an argument is enclosed in redundant parentheses. ([@koic][])
11
11
 
12
12
  [@tejasbubane]: https://github.com/tejasbubane
13
13
  [@koic]: https://github.com/koic
data/relnotes/v0.8.0.md CHANGED
@@ -1,12 +1,12 @@
1
1
  ### New features
2
2
 
3
- * [#66](https://github.com/rubocop-hq/rubocop-minitest/issues/66): Support all expectations of `Minitest::Expectations` for `Minitest/GlobalExpectations` cop. ([@koic][])
3
+ * [#66](https://github.com/rubocop/rubocop-minitest/issues/66): Support all expectations of `Minitest::Expectations` for `Minitest/GlobalExpectations` cop. ([@koic][])
4
4
 
5
5
  ### Bug fixes
6
6
 
7
- * [#60](https://github.com/rubocop-hq/rubocop-minitest/issues/60): Fix `Minitest/GlobalExpectations` autocorrection for chained methods. ([@tejasbubane][])
8
- * [#69](https://github.com/rubocop-hq/rubocop-minitest/pull/69): Fix a false negative for `Minitest/GlobalExpectations` cop when using a variable or a hash index for receiver. ([@koic][])
9
- * [#71](https://github.com/rubocop-hq/rubocop-minitest/pull/71): Fix a false negative for `Minitest/AssertEqual` when an argument is enclosed in redundant parentheses. ([@koic][])
7
+ * [#60](https://github.com/rubocop/rubocop-minitest/issues/60): Fix `Minitest/GlobalExpectations` autocorrection for chained methods. ([@tejasbubane][])
8
+ * [#69](https://github.com/rubocop/rubocop-minitest/pull/69): Fix a false negative for `Minitest/GlobalExpectations` cop when using a variable or a hash index for receiver. ([@koic][])
9
+ * [#71](https://github.com/rubocop/rubocop-minitest/pull/71): Fix a false negative for `Minitest/AssertEqual` when an argument is enclosed in redundant parentheses. ([@koic][])
10
10
 
11
11
  [@koic]: https://github.com/koic
12
12
  [@tejasbubane]: https://github.com/tejasbubane
data/relnotes/v0.8.1.md CHANGED
@@ -1,5 +1,5 @@
1
1
  ### Bug fixes
2
2
 
3
- * [#72](https://github.com/rubocop-hq/rubocop-minitest/pull/72): Fix some false negatives for `Minitest/GlobalExpectations`. ([@andrykonchin][])
3
+ * [#72](https://github.com/rubocop/rubocop-minitest/pull/72): Fix some false negatives for `Minitest/GlobalExpectations`. ([@andrykonchin][])
4
4
 
5
5
  [@andrykonchin]: https://github.com/andrykonchin
data/relnotes/v0.9.0.md CHANGED
@@ -1,10 +1,10 @@
1
1
  ### Bug fixes
2
2
 
3
- * [#75](https://github.com/rubocop-hq/rubocop-minitest/issues/75): Fix a false negative for `Minitest/GlobalExpectations` when using global expectation methods with no arguments. ([@koic][])
3
+ * [#75](https://github.com/rubocop/rubocop-minitest/issues/75): Fix a false negative for `Minitest/GlobalExpectations` when using global expectation methods with no arguments. ([@koic][])
4
4
 
5
5
  ### Changes
6
6
 
7
- * [#73](https://github.com/rubocop-hq/rubocop-minitest/issues/73): The Minitest department works on file names end with `_test.rb` by default. ([@koic][])
8
- * [#77](https://github.com/rubocop-hq/rubocop-minitest/pull/77): **(BREAKING)** Drop support for Ruby 2.3. ([@koic][])
7
+ * [#73](https://github.com/rubocop/rubocop-minitest/issues/73): The Minitest department works on file names end with `_test.rb` by default. ([@koic][])
8
+ * [#77](https://github.com/rubocop/rubocop-minitest/pull/77): **(BREAKING)** Drop support for Ruby 2.3. ([@koic][])
9
9
 
10
10
  [@koic]: https://github.com/koic
@@ -16,13 +16,13 @@ Gem::Specification.new do |spec|
16
16
  DESCRIPTION
17
17
  spec.license = 'MIT'
18
18
 
19
- spec.required_ruby_version = '>= 2.4.0'
19
+ spec.required_ruby_version = '>= 2.5.0'
20
20
  spec.metadata = {
21
21
  'homepage_uri' => 'https://docs.rubocop.org/rubocop-minitest/',
22
- 'changelog_uri' => 'https://github.com/rubocop-hq/rubocop-minitest/blob/master/CHANGELOG.md',
23
- 'source_code_uri' => 'https://github.com/rubocop-hq/rubocop-minitest',
22
+ 'changelog_uri' => 'https://github.com/rubocop/rubocop-minitest/blob/master/CHANGELOG.md',
23
+ 'source_code_uri' => 'https://github.com/rubocop/rubocop-minitest',
24
24
  'documentation_uri' => "https://docs.rubocop.org/rubocop-minitest/#{RuboCop::Minitest::Version.document_version}",
25
- 'bug_tracker_uri' => 'https://github.com/rubocop-hq/rubocop-minitest/issues'
25
+ 'bug_tracker_uri' => 'https://github.com/rubocop/rubocop-minitest/issues'
26
26
  }
27
27
 
28
28
  # Specify which files should be added to the gem when it is released.
@@ -34,6 +34,6 @@ Gem::Specification.new do |spec|
34
34
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
35
35
  spec.require_paths = ['lib']
36
36
 
37
- spec.add_runtime_dependency 'rubocop', '>= 0.87', '< 2.0'
37
+ spec.add_runtime_dependency 'rubocop', '>= 0.90', '< 2.0'
38
38
  spec.add_development_dependency 'minitest', '~> 5.11'
39
39
  end
@@ -33,7 +33,7 @@ end
33
33
 
34
34
  desc 'Syntax check for the documentation comments'
35
35
  task documentation_syntax_check: :yard_for_generate_documentation do
36
- require 'parser/ruby25'
36
+ require 'parser/ruby30'
37
37
 
38
38
  ok = true
39
39
  YARD::Registry.load!
@@ -46,17 +46,15 @@ task documentation_syntax_check: :yard_for_generate_documentation do
46
46
  end
47
47
 
48
48
  examples.to_a.each do |example|
49
- begin
50
- buffer = Parser::Source::Buffer.new('<code>', 1)
51
- buffer.source = example.text
52
- parser = Parser::Ruby25.new(RuboCop::AST::Builder.new)
53
- parser.diagnostics.all_errors_are_fatal = true
54
- parser.parse(buffer)
55
- rescue Parser::SyntaxError => e
56
- path = example.object.file
57
- puts "#{path}: Syntax Error in an example. #{e}"
58
- ok = false
59
- end
49
+ buffer = Parser::Source::Buffer.new('<code>', 1)
50
+ buffer.source = example.text
51
+ parser = Parser::Ruby30.new(RuboCop::AST::Builder.new)
52
+ parser.diagnostics.all_errors_are_fatal = true
53
+ parser.parse(buffer)
54
+ rescue Parser::SyntaxError => e
55
+ path = example.object.file
56
+ puts "#{path}: Syntax Error in an example. #{e}"
57
+ ok = false
60
58
  end
61
59
  end
62
60
  abort unless ok
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubocop-minitest
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.3
4
+ version: 0.13.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bozhidar Batsov
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: exe
12
12
  cert_chain: []
13
- date: 2021-01-12 00:00:00.000000000 Z
13
+ date: 2021-06-20 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rubocop
@@ -18,7 +18,7 @@ dependencies:
18
18
  requirements:
19
19
  - - ">="
20
20
  - !ruby/object:Gem::Version
21
- version: '0.87'
21
+ version: '0.90'
22
22
  - - "<"
23
23
  - !ruby/object:Gem::Version
24
24
  version: '2.0'
@@ -28,7 +28,7 @@ dependencies:
28
28
  requirements:
29
29
  - - ">="
30
30
  - !ruby/object:Gem::Version
31
- version: '0.87'
31
+ version: '0.90'
32
32
  - - "<"
33
33
  - !ruby/object:Gem::Version
34
34
  version: '2.0'
@@ -100,10 +100,12 @@ files:
100
100
  - lib/rubocop/cop/minitest/assert_respond_to.rb
101
101
  - lib/rubocop/cop/minitest/assert_silent.rb
102
102
  - lib/rubocop/cop/minitest/assert_truthy.rb
103
+ - lib/rubocop/cop/minitest/assert_with_expected_argument.rb
103
104
  - lib/rubocop/cop/minitest/assertion_in_lifecycle_hook.rb
104
105
  - lib/rubocop/cop/minitest/global_expectations.rb
105
106
  - lib/rubocop/cop/minitest/literal_as_actual_argument.rb
106
107
  - lib/rubocop/cop/minitest/multiple_assertions.rb
108
+ - lib/rubocop/cop/minitest/no_assertions.rb
107
109
  - lib/rubocop/cop/minitest/refute_empty.rb
108
110
  - lib/rubocop/cop/minitest/refute_equal.rb
109
111
  - lib/rubocop/cop/minitest/refute_false.rb
@@ -132,6 +134,11 @@ files:
132
134
  - relnotes/v0.10.1.md
133
135
  - relnotes/v0.10.2.md
134
136
  - relnotes/v0.10.3.md
137
+ - relnotes/v0.11.0.md
138
+ - relnotes/v0.11.1.md
139
+ - relnotes/v0.12.0.md
140
+ - relnotes/v0.12.1.md
141
+ - relnotes/v0.13.0.md
135
142
  - relnotes/v0.2.0.md
136
143
  - relnotes/v0.2.1.md
137
144
  - relnotes/v0.3.0.md
@@ -154,10 +161,10 @@ licenses:
154
161
  - MIT
155
162
  metadata:
156
163
  homepage_uri: https://docs.rubocop.org/rubocop-minitest/
157
- changelog_uri: https://github.com/rubocop-hq/rubocop-minitest/blob/master/CHANGELOG.md
158
- source_code_uri: https://github.com/rubocop-hq/rubocop-minitest
159
- documentation_uri: https://docs.rubocop.org/rubocop-minitest/0.10
160
- bug_tracker_uri: https://github.com/rubocop-hq/rubocop-minitest/issues
164
+ changelog_uri: https://github.com/rubocop/rubocop-minitest/blob/master/CHANGELOG.md
165
+ source_code_uri: https://github.com/rubocop/rubocop-minitest
166
+ documentation_uri: https://docs.rubocop.org/rubocop-minitest/0.13
167
+ bug_tracker_uri: https://github.com/rubocop/rubocop-minitest/issues
161
168
  post_install_message:
162
169
  rdoc_options: []
163
170
  require_paths:
@@ -166,14 +173,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
166
173
  requirements:
167
174
  - - ">="
168
175
  - !ruby/object:Gem::Version
169
- version: 2.4.0
176
+ version: 2.5.0
170
177
  required_rubygems_version: !ruby/object:Gem::Requirement
171
178
  requirements:
172
179
  - - ">="
173
180
  - !ruby/object:Gem::Version
174
181
  version: '0'
175
182
  requirements: []
176
- rubygems_version: 3.2.4
183
+ rubygems_version: 3.2.18
177
184
  signing_key:
178
185
  specification_version: 4
179
186
  summary: Automatic Minitest code style checking tool.