top_tests 0.0.5 → 0.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/top_tests/version.rb +1 -1
- data/lib/top_tests.rb +5 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b4b6aabd772a5ac50d25397f467c6c2a7a404a74
|
|
4
|
+
data.tar.gz: 3b8c32a8cae90c70e40b3e1c1b150e5114fc7344
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1850eead7b6d5a6c8f24f4a31630b963ee67ce1717755d6ee6a551264e4853d7e5acfee3d164e0e99f94326748f84ffd0562cad6684e2d19a11dc7280cc0a525
|
|
7
|
+
data.tar.gz: a5da7dedbc8d8315b6b28e54d0dc91cc3f628e6115bc87c15cea593eefef71416e1cd611e759faa07292e9428d51a6ea0e6ae2218c4a5101dbd45ba0e4abdfee
|
data/lib/top_tests/version.rb
CHANGED
data/lib/top_tests.rb
CHANGED
|
@@ -8,7 +8,11 @@ module TopTests
|
|
|
8
8
|
|
|
9
9
|
def self.included(klass)
|
|
10
10
|
klass.extend(ClassMethods)
|
|
11
|
-
|
|
11
|
+
if Minitest.respond_to?(:after_run)
|
|
12
|
+
Minitest.after_run { klass.after_all_tests }
|
|
13
|
+
else
|
|
14
|
+
MiniTest::Unit.after_tests { klass.after_all_tests } # Deprecated
|
|
15
|
+
end
|
|
12
16
|
end
|
|
13
17
|
|
|
14
18
|
########################
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: top_tests
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.6
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Alexis Bernard
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2015-10-20 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: Top tests lists the 10 slowest tests after execution
|
|
14
14
|
email:
|
|
@@ -48,7 +48,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
48
48
|
version: '0'
|
|
49
49
|
requirements: []
|
|
50
50
|
rubyforge_project:
|
|
51
|
-
rubygems_version: 2.
|
|
51
|
+
rubygems_version: 2.4.8
|
|
52
52
|
signing_key:
|
|
53
53
|
specification_version: 4
|
|
54
54
|
summary: Top tests lists the 10 slowest tests after execution
|