activesupport 3.2.5 → 3.2.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,12 +1,19 @@
1
- ## Rails 3.2.4 (May 31, 2012) ##
1
+ ## Rails 3.2.6 (Jun 12, 2012)
2
2
 
3
- * Added #beginning_of_hour and #end_of_hour to Time and DateTime core
4
- extensions. *Mark J. Titorenko*
3
+ * No changes.
4
+
5
+ ## Rails 3.2.5 (Jun 1, 2012) ##
5
6
 
6
7
  * ActiveSupport::JSON::Variable is deprecated. Define your own #as_json and #encode_json methods
7
8
  for custom JSON string literals. *Erich Menge*
8
9
 
9
10
 
11
+ ## Rails 3.2.4 (May 31, 2012) ##
12
+
13
+ * Added #beginning_of_hour and #end_of_hour to Time and DateTime core
14
+ extensions. *Mark J. Titorenko*
15
+
16
+
10
17
  ## Rails 3.2.3 (March 30, 2012) ##
11
18
 
12
19
  * No changes.
@@ -45,7 +45,6 @@ module ActiveSupport
45
45
  deprecate :auto_flushing
46
46
 
47
47
  def initialize(log, level = DEBUG)
48
- @level = level
49
48
  @log_dest = log
50
49
 
51
50
  unless log.respond_to?(:write)
@@ -58,6 +57,7 @@ Automatic directory creation for '#{log}' is deprecated. Please make sure the d
58
57
  end
59
58
 
60
59
  @log = open_logfile log
60
+ self.level = level
61
61
  end
62
62
 
63
63
  def open_log(log, mode)
@@ -91,7 +91,7 @@ Automatic directory creation for '#{log}' is deprecated. Please make sure the d
91
91
  end # end
92
92
 
93
93
  def #{severity.downcase}? # def debug?
94
- #{severity} >= level # DEBUG >= @level
94
+ #{severity} >= level # DEBUG >= level
95
95
  end # end
96
96
  EOT
97
97
  end
@@ -45,7 +45,7 @@ else
45
45
  class Error #:nodoc:
46
46
  # Silence warnings when reporting test errors.
47
47
  def message_with_silenced_deprecation
48
- ActiveSupport::Deprecation.silence { message_without_silenced_deprecation }
48
+ ::ActiveSupport::Deprecation.silence { message_without_silenced_deprecation }
49
49
  end
50
50
  alias_method :message_without_silenced_deprecation, :message
51
51
  alias_method :message, :message_with_silenced_deprecation
@@ -2,7 +2,7 @@ module ActiveSupport
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 3
4
4
  MINOR = 2
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: 5
4
+ hash: 3
5
5
  prerelease:
6
6
  segments:
7
7
  - 3
8
8
  - 2
9
- - 5
10
- version: 3.2.5
9
+ - 6
10
+ version: 3.2.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-06-01 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: i18n