activesupport 3.1.5 → 3.1.6
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of activesupport might be problematic. Click here for more details.
data/CHANGELOG.md
CHANGED
@@ -28,17 +28,22 @@ module ActiveSupport
|
|
28
28
|
end
|
29
29
|
|
30
30
|
module ForMiniTest
|
31
|
+
PASSTHROUGH_EXCEPTIONS = MiniTest::Unit::TestCase::PASSTHROUGH_EXCEPTIONS rescue [NoMemoryError, SignalException, Interrupt, SystemExit]
|
31
32
|
def run(runner)
|
32
33
|
result = '.'
|
33
34
|
begin
|
34
35
|
run_callbacks :setup do
|
35
36
|
result = super
|
36
37
|
end
|
38
|
+
rescue *PASSTHROUGH_EXCEPTIONS => e
|
39
|
+
raise e
|
37
40
|
rescue Exception => e
|
38
41
|
result = runner.puke(self.class, method_name, e)
|
39
42
|
ensure
|
40
43
|
begin
|
41
44
|
run_callbacks :teardown
|
45
|
+
rescue *PASSTHROUGH_EXCEPTIONS => e
|
46
|
+
raise e
|
42
47
|
rescue Exception => e
|
43
48
|
result = runner.puke(self.class, method_name, e)
|
44
49
|
end
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: activesupport
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 15
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 3
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 3.1.
|
9
|
+
- 6
|
10
|
+
version: 3.1.6
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- David Heinemeier Hansson
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2012-
|
18
|
+
date: 2012-06-12 00:00:00 Z
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
21
|
name: multi_json
|