minitest 5.1.0 → 5.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/History.txt +6 -0
- data/README.txt +2 -0
- data/lib/minitest.rb +1 -1
- data/lib/minitest/hell.rb +1 -1
- data/lib/minitest/spec.rb +2 -2
- data/test/minitest/test_minitest_spec.rb +6 -0
- metadata +2 -2
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 75dbf80a230ec9d14a251d9dda5e806ff61c9f57
|
4
|
+
data.tar.gz: 23b3fd30f8362ca16d2d76c3e5c12394b61e74ee
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4b731165061b36c7086e94fad24eff5f078b97b74decfe82d3202b56bee3df1106ee6be823f9e8253d4e1233935c29fb3763906f35f3e3ae4cf25cf426a1e34f
|
7
|
+
data.tar.gz: 2355ed75ddee07dc9ebd2640d1bab4a68d0a27681c87b3909c1dfdfd3d1b53b9a95522afcb0cc00649fa5d20337a75224ee73ce26c28bbeed827a2ae9af96483
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/History.txt
CHANGED
data/README.txt
CHANGED
data/lib/minitest.rb
CHANGED
data/lib/minitest/hell.rb
CHANGED
data/lib/minitest/spec.rb
CHANGED
@@ -8,10 +8,10 @@ class Module # :nodoc:
|
|
8
8
|
self.class_eval <<-EOM
|
9
9
|
def #{new_name} *args
|
10
10
|
case
|
11
|
-
when Proc === self then
|
12
|
-
Minitest::Spec.current.#{meth}(*args, &self)
|
13
11
|
when #{!!dont_flip} then
|
14
12
|
Minitest::Spec.current.#{meth}(self, *args)
|
13
|
+
when Proc === self then
|
14
|
+
Minitest::Spec.current.#{meth}(*args, &self)
|
15
15
|
else
|
16
16
|
Minitest::Spec.current.#{meth}(args.first, self, *args[1..-1])
|
17
17
|
end
|
@@ -557,6 +557,12 @@ describe Minitest::Spec, :let do
|
|
557
557
|
proc { let(:test_value) { true } }.must_raise ArgumentError
|
558
558
|
end
|
559
559
|
end
|
560
|
+
|
561
|
+
it 'procs come after dont_flip' do
|
562
|
+
p = proc{ }
|
563
|
+
assert_respond_to p, :call
|
564
|
+
p.must_respond_to :call
|
565
|
+
end
|
560
566
|
end
|
561
567
|
|
562
568
|
describe Minitest::Spec, :subject do
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: minitest
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.
|
4
|
+
version: 5.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryan Davis
|
@@ -29,7 +29,7 @@ cert_chain:
|
|
29
29
|
Y4evBVezr3SjXz08vPqRO5YRdO3zfeMT8gBjRqZjWJGMZ2lD4XNfrs7eky74CyZw
|
30
30
|
xx3n58i0lQkBE1EpKE0lFu/y
|
31
31
|
-----END CERTIFICATE-----
|
32
|
-
date: 2013-12-
|
32
|
+
date: 2013-12-14 00:00:00.000000000 Z
|
33
33
|
dependencies:
|
34
34
|
- !ruby/object:Gem::Dependency
|
35
35
|
name: rdoc
|
metadata.gz.sig
CHANGED
Binary file
|