minitest-implicit-subject 1.3.0 → 1.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/minitest/implicit/subject.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 628068983257f6c1c71ea64936143a53f092d797
|
4
|
+
data.tar.gz: 463364fdf54ac912bf2521ee53d0102db66499de
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e14aa4fa7e49888b7f34007c519b660f0871f84412e1590c5043cd6ac40c8148908f6ae25290972c148f7beb6ebab4d30f6402e7215ef949fcd3af56ad953c29
|
7
|
+
data.tar.gz: 39f7103ba628d7525ac200381d51595223eb6f319ff5e555a04a624dacd35155baea9180c09e17642ad93bab1de737493d631129d44a1ac1a1a692b484e12d42
|
@@ -11,7 +11,7 @@ module Kernel
|
|
11
11
|
subject = args.first
|
12
12
|
|
13
13
|
if !subject.is_a?(String) && !cls.instance_methods.include?(:subject)
|
14
|
-
if subject.respond_to?(:included_modules) && Array
|
14
|
+
if subject.respond_to?(:included_modules) && Array(subject.included_modules).include?(Singleton)
|
15
15
|
subject = subject.instance
|
16
16
|
end
|
17
17
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: minitest-implicit-subject
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Anton Lindqvist
|
@@ -14,16 +14,16 @@ dependencies:
|
|
14
14
|
name: minitest
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - '>='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: '0'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- -
|
24
|
+
- - '>='
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
26
|
+
version: '0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: awesome_print
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|