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
@@ -1,3 +1,6 @@
1
+ *2.3.10 (October 15, 2010)*
2
+
3
+
1
4
  *2.3.9 (September 4, 2010)*
2
5
 
3
6
  * i18n: bundle i18n 0.4.1 for forward compatibility with Rails 3. Deprecates {{foo}} interpolation syntax in favor of 1.9-native %{foo}.
@@ -38,7 +38,7 @@ class Object
38
38
  #
39
39
  # foo # => ['bar', 'baz']
40
40
  def returning(value)
41
- ActiveSupport::Deprecation.warn('Object#returning has been deprecated in favor of Object#tap.', caller)
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, self.name, e)
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, self.name, e)
31
+ result = runner.puke(self.class, __name__, e)
32
32
  end
33
33
  end
34
34
  result
@@ -2,7 +2,7 @@ module ActiveSupport
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 2
4
4
  MINOR = 3
5
- TINY = 9
5
+ TINY = 10
6
6
 
7
7
  STRING = [MAJOR, MINOR, TINY].join('.')
8
8
  end
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
9
- version: 2.3.9
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-09-04 00:00:00 -07:00
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.6
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.