minitest-reporters 0.14.14 → 0.14.15

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: b4dd29cac403b1337694f3bedc75246542d83fbc
4
- data.tar.gz: 26b244e99fdd6ba011a2396b4e5ff7939c8f478c
3
+ metadata.gz: 5adb9958803f82e41346a430c30d240cc76cdfbc
4
+ data.tar.gz: 287a74675cd818ea570bc841c4e905ba43fed859
5
5
  SHA512:
6
- metadata.gz: 8ce0df434790718604a78c298f3f1fa82822d6c51ffd8367938b20577e177467c132f839f1cc4707a310dcb70bc2de3bcf2d930a4685860fbc79b0cf26674bfa
7
- data.tar.gz: 4f0f682214aa31e5422335b02da33fa7c51fdde19dcd6b2380dc22c00f008407b6b039ddbb8b3057a804a444d9602e8e9d6eeaa601ae908e7d77fb3c64e52210
6
+ metadata.gz: c8e4e1152f7729595e16be5edc7882b8fb41c1506e24e3ae82484dc8bbe51641b1d7382644a91ba8aaf99c9d691ede259c4b197c5ef77352267d8162df69f60e
7
+ data.tar.gz: 5cf6175a3d6536bd3149b79b97c6f57338f2c7089a0c76d62221f12e07d0a7ee9e5c4bfde9872394b55d60e2bd17a36de588a9715fe04791bb93a3eb6c3e70eb
data/Gemfile CHANGED
@@ -1,2 +1,2 @@
1
- source :rubygems
1
+ source "https://rubygems.org"
2
2
  gemspec
@@ -0,0 +1,21 @@
1
+ require "active_support/testing/setup_and_teardown"
2
+
3
+ module ActiveSupport
4
+ module Testing
5
+ module SetupAndTeardown
6
+ module ForMiniTest
7
+ remove_method :run
8
+
9
+ def before_setup
10
+ super
11
+ run_callbacks :setup
12
+ end
13
+
14
+ def after_teardown
15
+ run_callbacks :teardown
16
+ super
17
+ end
18
+ end
19
+ end
20
+ end
21
+ end
@@ -25,6 +25,7 @@ module MiniTest
25
25
  use_around_test_hooks!
26
26
  use_backtrace_filter!(backtrace_filter)
27
27
  use_parallel_length_method!
28
+ use_old_activesupport_fix!
28
29
  end
29
30
 
30
31
  def self.use_runner!(console_reporters, env)
@@ -82,5 +83,11 @@ module MiniTest
82
83
  end
83
84
  end
84
85
  end
86
+
87
+ def self.use_old_activesupport_fix!
88
+ if defined?(ActiveSupport) && ActiveSupport::VERSION::MAJOR < 4
89
+ require "minitest/old_activesupport_fix"
90
+ end
91
+ end
85
92
  end
86
93
  end
@@ -1,5 +1,5 @@
1
1
  module MiniTest
2
2
  module Reporters
3
- VERSION = "0.14.14"
3
+ VERSION = "0.14.15"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: minitest-reporters
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.14.14
4
+ version: 0.14.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexander Kern
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-04-03 00:00:00.000000000 Z
11
+ date: 2013-04-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: minitest
@@ -116,6 +116,7 @@ files:
116
116
  - Rakefile
117
117
  - lib/minitest/around_test_hooks.rb
118
118
  - lib/minitest/extensible_backtrace_filter.rb
119
+ - lib/minitest/old_activesupport_fix.rb
119
120
  - lib/minitest/relative_position.rb
120
121
  - lib/minitest/reporter.rb
121
122
  - lib/minitest/reporter_runner.rb
@@ -156,7 +157,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
156
157
  version: '0'
157
158
  requirements: []
158
159
  rubyforge_project: minitest-reporters
159
- rubygems_version: 2.0.3
160
+ rubygems_version: 2.0.0
160
161
  signing_key:
161
162
  specification_version: 4
162
163
  summary: Create customizable MiniTest output formats