activesupport 2.3.10 → 2.3.11

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,5 @@
1
+ *2.3.11 (February 9, 2011)*
2
+
1
3
  *2.3.10 (October 15, 2010)*
2
4
 
3
5
 
@@ -1,13 +1,7 @@
1
- # A base class with no predefined methods that tries to behave like Builder's
2
- # BlankSlate in Ruby 1.9. In Ruby pre-1.9, this is actually the
3
- # Builder::BlankSlate class.
4
- #
5
- # Ruby 1.9 introduces BasicObject which differs slightly from Builder's
6
- # BlankSlate that has been used so far. ActiveSupport::BasicObject provides a
7
- # barebones base class that emulates Builder::BlankSlate while still relying on
8
- # Ruby 1.9's BasicObject in Ruby 1.9.
9
1
  module ActiveSupport
10
2
  if defined? ::BasicObject
3
+ # A class with no predefined methods that behaves similarly to Builder's
4
+ # BlankSlate. Used for proxy classes.
11
5
  class BasicObject < ::BasicObject
12
6
  undef_method :==
13
7
  undef_method :equal?
@@ -18,7 +12,10 @@ module ActiveSupport
18
12
  end
19
13
  end
20
14
  else
21
- require 'blankslate'
22
- BasicObject = BlankSlate
15
+ class BasicObject #:nodoc:
16
+ instance_methods.each do |m|
17
+ undef_method(m) if m.to_s !~ /(?:^__|^nil\?$|^send$|^object_id$)/
18
+ end
19
+ end
23
20
  end
24
21
  end
@@ -1,3 +1,5 @@
1
+ require 'thread'
2
+
1
3
  module ActiveSupport
2
4
  # Inspired by the buffered logger idea by Ezra
3
5
  class BufferedLogger
@@ -15,7 +15,10 @@ en:
15
15
  month_names: [~, January, February, March, April, May, June, July, August, September, October, November, December]
16
16
  abbr_month_names: [~, Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec]
17
17
  # Used in date_select and datime_select.
18
- order: [ :year, :month, :day ]
18
+ order:
19
+ - :year
20
+ - :month
21
+ - :day
19
22
 
20
23
  time:
21
24
  formats:
@@ -2,7 +2,7 @@ module ActiveSupport
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 2
4
4
  MINOR = 3
5
- TINY = 10
5
+ TINY = 11
6
6
 
7
7
  STRING = [MAJOR, MINOR, TINY].join('.')
8
8
  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: 23
4
+ hash: 21
5
5
  prerelease: false
6
6
  segments:
7
7
  - 2
8
8
  - 3
9
- - 10
10
- version: 2.3.10
9
+ - 11
10
+ version: 2.3.11
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: 2010-10-15 00:00:00 +13:00
18
+ date: 2011-02-09 00:00:00 +13:00
19
19
  default_executable:
20
20
  dependencies: []
21
21