rubocop-minitest 0.24.0 → 0.25.0
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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 49b67a4071b6ba9e1499054507097424e25948f916e3ebbcf65603d4e0806b94
|
4
|
+
data.tar.gz: 46a351626a6ec6625d5e29fc0f04c47d61844bc28e2745172ea0bb8344936751
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4abcc9e3035a7e7a2902b27442f02f46a9494a2894acb5f5c98d18293d4c0d1ab94e32b2508bf1b23988cca436f7b7d4fd784dfe09fc21fae0c70ba2d6ef80ec
|
7
|
+
data.tar.gz: 6d669e4ff6e60a729a64c5ea87d4f91a20022f4a47cda95a52a10f6084de258a497d66ceeb71c0c08c1e8bbf8538823ac534349ec7644c24ab35df5b8317b30f
|
@@ -38,7 +38,7 @@ module RuboCop
|
|
38
38
|
|
39
39
|
# Support Active Support's `test 'example' { ... }` method.
|
40
40
|
# https://api.rubyonrails.org/classes/ActiveSupport/Testing/Declarative.html
|
41
|
-
test_blocks = class_node.each_descendant(:block).select { |
|
41
|
+
test_blocks = class_node.each_descendant(:block).select { |block| block.method?(:test) || block.method?(:it) }
|
42
42
|
|
43
43
|
test_cases + test_blocks
|
44
44
|
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.
|
4
|
+
version: 0.25.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: 2022-
|
13
|
+
date: 2022-12-10 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rubocop
|
@@ -120,7 +120,7 @@ metadata:
|
|
120
120
|
homepage_uri: https://docs.rubocop.org/rubocop-minitest/
|
121
121
|
changelog_uri: https://github.com/rubocop/rubocop-minitest/blob/master/CHANGELOG.md
|
122
122
|
source_code_uri: https://github.com/rubocop/rubocop-minitest
|
123
|
-
documentation_uri: https://docs.rubocop.org/rubocop-minitest/0.
|
123
|
+
documentation_uri: https://docs.rubocop.org/rubocop-minitest/0.25
|
124
124
|
bug_tracker_uri: https://github.com/rubocop/rubocop-minitest/issues
|
125
125
|
rubygems_mfa_required: 'true'
|
126
126
|
post_install_message:
|