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.

@@ -1,3 +1,7 @@
1
+ ## Rails 3.1.6 (Jun 12, 2012)
2
+
3
+ * No changes.
4
+
1
5
  ## Rails 3.1.5 (May 31, 2012) ##
2
6
 
3
7
  * call binmode on the tempfile for Ruby 1.8 compatibility
@@ -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
@@ -2,7 +2,7 @@ module ActiveSupport
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 3
4
4
  MINOR = 1
5
- TINY = 5
5
+ TINY = 6
6
6
  PRE = nil
7
7
 
8
8
  STRING = [MAJOR, MINOR, TINY, PRE].compact.join('.')
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: 9
4
+ hash: 15
5
5
  prerelease:
6
6
  segments:
7
7
  - 3
8
8
  - 1
9
- - 5
10
- version: 3.1.5
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-05-31 00:00:00 Z
18
+ date: 2012-06-12 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: multi_json