rubocop-minitest 0.8.1 → 0.9.0

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: 7583581a57a2d02e2794742beda02c84256b1b61e1139095e28d7f95832afa26
4
- data.tar.gz: 724e5254b30b3862ecf1101ca7d33dacb67880abd4d1d84f6dff9b4ab21d433c
3
+ metadata.gz: c082e4d082877168b339446bf00e74f719a3903d7ae2a19dc6b919af185c9c20
4
+ data.tar.gz: b77c805249d256213f7b166579244db96ce188e8dbe8ca7d156d14a4c74e77b5
5
5
  SHA512:
6
- metadata.gz: 3095ba19f3e22c2d8219d1ef6fc87de197d9c27f74e2d62e4ee2336c3bbe47642606a5c406fa4f8f14134fe160cbde7b31e975f982cbddf1dd02c6706c409adc
7
- data.tar.gz: f1d4837b08291f388ea6ec949949d186f59da810ebb05014c6c6375977fe2bcaa545759cd04a1d19d4e48446a5261a31ddd7a8f3ab41fea9fd3586c3cdb8810e
6
+ metadata.gz: 348081b691b1afc2fc563d594482a8e19b3b5f487c18e4e51320e2be6c9e76fe89ea8c6badfcd4327f7c3da8a13b5aa8293e3535ce7385083edec466fedee769
7
+ data.tar.gz: 383422b5cc623d52cef4f0656da57e4b648d85c00699006d317837172dc06c97f182f660e15a7704cd5f13803e12af31912db41aed9f003223149b8cd64f5b51
data/.circleci/config.yml CHANGED
@@ -23,9 +23,6 @@ jobs:
23
23
  workflows:
24
24
  build:
25
25
  jobs:
26
- - rake_default:
27
- name: Ruby 2.3
28
- image: circleci/ruby:2.3
29
26
  - rake_default:
30
27
  name: Ruby 2.4
31
28
  image: circleci/ruby:2.4
data/.rubocop.yml CHANGED
@@ -8,7 +8,7 @@ require:
8
8
  - rubocop-minitest
9
9
 
10
10
  AllCops:
11
- TargetRubyVersion: 2.3
11
+ TargetRubyVersion: 2.4
12
12
 
13
13
  Naming/PredicateName:
14
14
  # Method define macros for dynamically generated method.
data/CHANGELOG.md CHANGED
@@ -2,6 +2,17 @@
2
2
 
3
3
  ## master (unreleased)
4
4
 
5
+ ## 0.9.0 (2020-04-13)
6
+
7
+ ### Bug fixes
8
+
9
+ * [#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][])
10
+
11
+ ### Changes
12
+
13
+ * [#73](https://github.com/rubocop-hq/rubocop-minitest/issues/73): The Minitest department works on file names end with `_test.rb` by default. ([@koic][])
14
+ * [#77](https://github.com/rubocop-hq/rubocop-minitest/pull/77): **(BREAKING)** Drop support for Ruby 2.3. ([@koic][])
15
+
5
16
  ## 0.8.1 (2020-04-06)
6
17
 
7
18
  ### Bug fixes
data/config/default.yml CHANGED
@@ -2,6 +2,7 @@ Minitest:
2
2
  Enabled: true
3
3
  Include:
4
4
  - '**/test/**/*'
5
+ - '**/*_test.rb'
5
6
 
6
7
  Minitest/AssertEmpty:
7
8
  Description: 'This cop enforces the test to use `assert_empty` instead of using `assert(object.empty?)`.'
@@ -44,7 +44,7 @@ module RuboCop
44
44
  end.join(' ').freeze
45
45
 
46
46
  def_node_matcher :value_global_expectation?, <<~PATTERN
47
- (send !(send nil? {#{DSL_METHODS_LIST}} _) {#{VALUE_MATCHERS_STR}} _)
47
+ (send !(send nil? {#{DSL_METHODS_LIST}} _) {#{VALUE_MATCHERS_STR}} ...)
48
48
  PATTERN
49
49
 
50
50
  def_node_matcher :block_global_expectation?, <<~PATTERN
@@ -2,6 +2,6 @@
2
2
 
3
3
  module RuboCop
4
4
  module Minitest
5
- VERSION = '0.8.1'
5
+ VERSION = '0.9.0'
6
6
  end
7
7
  end
@@ -0,0 +1,10 @@
1
+ ### Bug fixes
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][])
4
+
5
+ ### Changes
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][])
9
+
10
+ [@koic]: https://github.com/koic
@@ -16,7 +16,7 @@ Gem::Specification.new do |spec|
16
16
  DESCRIPTION
17
17
  spec.license = 'MIT'
18
18
 
19
- spec.required_ruby_version = '>= 2.3.0'
19
+ spec.required_ruby_version = '>= 2.4.0'
20
20
  spec.metadata = {
21
21
  'homepage_uri' => 'https://docs.rubocop.org/projects/minitest/',
22
22
  'changelog_uri' => 'https://github.com/rubocop-hq/rubocop-minitest/blob/master/CHANGELOG.md',
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.8.1
4
+ version: 0.9.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: 2020-04-06 00:00:00.000000000 Z
13
+ date: 2020-04-13 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rubocop
@@ -112,6 +112,7 @@ files:
112
112
  - relnotes/v0.7.0.md
113
113
  - relnotes/v0.8.0.md
114
114
  - relnotes/v0.8.1.md
115
+ - relnotes/v0.9.0.md
115
116
  - rubocop-minitest.gemspec
116
117
  - tasks/cops_documentation.rake
117
118
  - tasks/cut_release.rake
@@ -132,7 +133,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
132
133
  requirements:
133
134
  - - ">="
134
135
  - !ruby/object:Gem::Version
135
- version: 2.3.0
136
+ version: 2.4.0
136
137
  required_rubygems_version: !ruby/object:Gem::Requirement
137
138
  requirements:
138
139
  - - ">="