activesupport 2.3.9 → 2.3.10
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
CHANGED
@@ -38,7 +38,7 @@ class Object
|
|
38
38
|
#
|
39
39
|
# foo # => ['bar', 'baz']
|
40
40
|
def returning(value)
|
41
|
-
ActiveSupport::Deprecation.warn('
|
41
|
+
ActiveSupport::Deprecation.warn('Kernel#returning has been deprecated in favor of Object#tap.', caller)
|
42
42
|
yield(value)
|
43
43
|
value
|
44
44
|
end
|
@@ -92,6 +92,8 @@ module ActiveSupport
|
|
92
92
|
#
|
93
93
|
if private_method_defined?(#{original_method.inspect}) # if private_method_defined?(:_unmemoized_mime_type)
|
94
94
|
private #{symbol.inspect} # private :mime_type
|
95
|
+
elsif protected_method_defined?(#{original_method.inspect}) # elsif protected_method_defined?(:_unmemoized_mime_type)
|
96
|
+
protected #{symbol.inspect} # protected :mime_type
|
95
97
|
end # end
|
96
98
|
EOS
|
97
99
|
end
|
@@ -23,12 +23,12 @@ module ActiveSupport
|
|
23
23
|
run_callbacks :setup
|
24
24
|
result = super
|
25
25
|
rescue Exception => e
|
26
|
-
result = runner.puke(self.class,
|
26
|
+
result = runner.puke(self.class, __name__, e)
|
27
27
|
ensure
|
28
28
|
begin
|
29
29
|
run_callbacks :teardown, :enumerator => :reverse_each
|
30
30
|
rescue Exception => e
|
31
|
-
result = runner.puke(self.class,
|
31
|
+
result = runner.puke(self.class, __name__, e)
|
32
32
|
end
|
33
33
|
end
|
34
34
|
result
|
metadata
CHANGED
@@ -1,12 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: activesupport
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
+
hash: 23
|
4
5
|
prerelease: false
|
5
6
|
segments:
|
6
7
|
- 2
|
7
8
|
- 3
|
8
|
-
-
|
9
|
-
version: 2.3.
|
9
|
+
- 10
|
10
|
+
version: 2.3.10
|
10
11
|
platform: ruby
|
11
12
|
authors:
|
12
13
|
- David Heinemeier Hansson
|
@@ -14,7 +15,7 @@ autorequire:
|
|
14
15
|
bindir: bin
|
15
16
|
cert_chain: []
|
16
17
|
|
17
|
-
date: 2010-
|
18
|
+
date: 2010-10-15 00:00:00 +13:00
|
18
19
|
default_executable:
|
19
20
|
dependencies: []
|
20
21
|
|
@@ -413,23 +414,27 @@ rdoc_options: []
|
|
413
414
|
require_paths:
|
414
415
|
- lib
|
415
416
|
required_ruby_version: !ruby/object:Gem::Requirement
|
417
|
+
none: false
|
416
418
|
requirements:
|
417
419
|
- - ">="
|
418
420
|
- !ruby/object:Gem::Version
|
421
|
+
hash: 3
|
419
422
|
segments:
|
420
423
|
- 0
|
421
424
|
version: "0"
|
422
425
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
426
|
+
none: false
|
423
427
|
requirements:
|
424
428
|
- - ">="
|
425
429
|
- !ruby/object:Gem::Version
|
430
|
+
hash: 3
|
426
431
|
segments:
|
427
432
|
- 0
|
428
433
|
version: "0"
|
429
434
|
requirements: []
|
430
435
|
|
431
436
|
rubyforge_project: activesupport
|
432
|
-
rubygems_version: 1.3.
|
437
|
+
rubygems_version: 1.3.7
|
433
438
|
signing_key:
|
434
439
|
specification_version: 3
|
435
440
|
summary: Support and utility classes used by the Rails framework.
|