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 +4 -4
- data/CHANGELOG.md +6 -0
- data/lib/rubocop/cop/mixin/includes_cop_rule.rb +1 -1
- data/lib/rubocop/minitest/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fc4f5cfff2920e3509292c6ff6fc813e67bf0fd4
|
4
|
+
data.tar.gz: 0b84a930fc18cd0872fc26795d03e2579bc2c43f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
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.
|
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-
|
13
|
+
date: 2020-02-19 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rubocop
|