top_tests 0.0.5 → 0.0.6

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
  SHA1:
3
- metadata.gz: c6500236650bc3f1c6babb8f418a2bcc79f50c4d
4
- data.tar.gz: 6828b2b696aabce0d0de989cec4e61f216bf9e5e
3
+ metadata.gz: b4b6aabd772a5ac50d25397f467c6c2a7a404a74
4
+ data.tar.gz: 3b8c32a8cae90c70e40b3e1c1b150e5114fc7344
5
5
  SHA512:
6
- metadata.gz: 4a75e5a94e7ca70f614408d4fc059ae64b91ec16c6269cfe76a0924b0df403933bbfb8d474d88fd84e650c99373794438e712afb73553258bfd0ecf635675cf8
7
- data.tar.gz: ca955f0edf7fa624230c54bb72558fd89e65119fe1e28b5c142a05283e708e5e02f1e96cc496d4f0288492e6b66ef926814f9c5e5212607ec0b6ffa55fe4f4e2
6
+ metadata.gz: 1850eead7b6d5a6c8f24f4a31630b963ee67ce1717755d6ee6a551264e4853d7e5acfee3d164e0e99f94326748f84ffd0562cad6684e2d19a11dc7280cc0a525
7
+ data.tar.gz: a5da7dedbc8d8315b6b28e54d0dc91cc3f628e6115bc87c15cea593eefef71416e1cd611e759faa07292e9428d51a6ea0e6ae2218c4a5101dbd45ba0e4abdfee
@@ -2,7 +2,7 @@
2
2
 
3
3
  module TopTests
4
4
 
5
- VERSION = "0.0.5".freeze
5
+ VERSION = '0.0.6'.freeze
6
6
 
7
7
  end
8
8
 
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
- MiniTest::Unit.after_tests { klass.after_all_tests }
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.5
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: 2014-05-20 00:00:00.000000000 Z
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.2.1
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