rubocop-minitest 0.6.1 → 0.6.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ba7306fba69394bb98154a2d39b7f755587ad0e4
4
- data.tar.gz: 9d20cb250e999413a04620cfbe0eb5c930a3b83e
3
+ metadata.gz: fc4f5cfff2920e3509292c6ff6fc813e67bf0fd4
4
+ data.tar.gz: 0b84a930fc18cd0872fc26795d03e2579bc2c43f
5
5
  SHA512:
6
- metadata.gz: c9e12069624b30051284458118b7447fd5d52697d97cbd150f1062898cbd2a5975d2bb24d13185afd94b13ad40702a242ba180c1484e2b6761f0218f30e0bab3
7
- data.tar.gz: f33c1179084c1ac358d702c4537b84eba697851368a6c3d9245e54abf20e4acd4149c7d0bfb833ee3c9b42537cde7d0bfca6bd30420fd1e1480e5386490d0d6c
6
+ metadata.gz: 011aadcd866b0ad8dafd2dc7d08bb0902f00080c26fd36aef654bc5326b82a9ff8a961a540e05d87474b388c817ae472575046ea747e4093f15d6b468b4c4bfb
7
+ data.tar.gz: 75d3ef888f72db5d40bfdd7a33619c2280d69709ba633cfde388433c9b2b8757d727b710e169c86aaa2e612ef629bf815c2802fd22a2bb12274afb5a99479d20
data/CHANGELOG.md CHANGED
@@ -2,6 +2,12 @@
2
2
 
3
3
  ## master (unreleased)
4
4
 
5
+ ## 0.6.2 (2020-02-19)
6
+
7
+ ### Bug fixes
8
+
9
+ * [#55](https://github.com/rubocop-hq/rubocop-minitest/issues/55): Fix an error for `Minitest/AssertIncludes` when using local variable argument. ([@koic][])
10
+
5
11
  ## 0.6.1 (2020-02-18)
6
12
 
7
13
  ### Bug fixes
@@ -14,7 +14,7 @@ module RuboCop
14
14
  def on_send(node)
15
15
  return unless node.method?(:#{target_method})
16
16
  return unless (arguments = peel_redundant_parentheses_from(node.arguments))
17
- return unless arguments.first.method?(:include?)
17
+ return unless arguments.first.respond_to?(:method?) && arguments.first.method?(:include?)
18
18
 
19
19
  add_offense(node, message: offense_message(arguments))
20
20
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module RuboCop
4
4
  module Minitest
5
- VERSION = '0.6.1'
5
+ VERSION = '0.6.2'
6
6
  end
7
7
  end
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.6.1
4
+ version: 0.6.2
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-02-18 00:00:00.000000000 Z
13
+ date: 2020-02-19 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rubocop