activesupport 3.2.2 → 3.2.3.rc1

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,11 @@
1
+ ## Rails 3.2.3 (unreleased) ##
2
+
3
+ * No changes.
4
+
5
+ ## Rails 3.2.2 (March 1, 2012) ##
6
+
7
+ * No changes.
8
+
1
9
  ## Rails 3.2.1 (January 26, 2012) ##
2
10
 
3
11
  * Documentation fixes and improvements.
@@ -81,6 +89,7 @@
81
89
  * ActiveSupport::BufferedLogger#flush is deprecated. Set sync on your
82
90
  filehandle, or tune your filesystem.
83
91
 
92
+
84
93
  ## Rails 3.1.0 (August 30, 2011) ##
85
94
 
86
95
  * ActiveSupport::Dependencies#load and ActiveSupport::Dependencies#require now
@@ -17,6 +17,7 @@ class File
17
17
  require 'fileutils' unless defined?(FileUtils)
18
18
 
19
19
  temp_file = Tempfile.new(basename(file_name), temp_dir)
20
+ temp_file.binmode
20
21
  yield temp_file
21
22
  temp_file.close
22
23
 
@@ -126,9 +126,7 @@ module ActiveSupport #:nodoc:
126
126
  end
127
127
 
128
128
  def clone_empty
129
- new_safe_buffer = self[0, 0]
130
- new_safe_buffer.instance_variable_set(:@dirty, @dirty)
131
- new_safe_buffer
129
+ self[0, 0]
132
130
  end
133
131
 
134
132
  def concat(value)
@@ -18,15 +18,15 @@
18
18
  # ActiveSupport.run_load_hooks(:active_record, ActiveRecord::Base)
19
19
  #
20
20
  module ActiveSupport
21
- @load_hooks = Hash.new {|h,k| h[k] = [] }
22
- @loaded = {}
21
+ @load_hooks = Hash.new { |h,k| h[k] = [] }
22
+ @loaded = Hash.new { |h,k| h[k] = [] }
23
23
 
24
24
  def self.on_load(name, options = {}, &block)
25
- if base = @loaded[name]
25
+ @loaded[name].each do |base|
26
26
  execute_hook(base, options, block)
27
- else
28
- @load_hooks[name] << [block, options]
29
27
  end
28
+
29
+ @load_hooks[name] << [block, options]
30
30
  end
31
31
 
32
32
  def self.execute_hook(base, options, block)
@@ -38,7 +38,7 @@ module ActiveSupport
38
38
  end
39
39
 
40
40
  def self.run_load_hooks(name, base = Object)
41
- @loaded[name] = base
41
+ @loaded[name] << base
42
42
  @load_hooks[name].each do |hook, options|
43
43
  execute_hook(base, options, hook)
44
44
  end
@@ -2,8 +2,8 @@ module ActiveSupport
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 3
4
4
  MINOR = 2
5
- TINY = 2
6
- PRE = nil
5
+ TINY = 3
6
+ PRE = "rc1"
7
7
 
8
8
  STRING = [MAJOR, MINOR, TINY, PRE].compact.join('.')
9
9
  end
metadata CHANGED
@@ -1,13 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activesupport
3
3
  version: !ruby/object:Gem::Version
4
- hash: 11
5
- prerelease:
4
+ hash: 15424079
5
+ prerelease: true
6
6
  segments:
7
7
  - 3
8
8
  - 2
9
- - 2
10
- version: 3.2.2
9
+ - 3
10
+ - rc
11
+ - 1
12
+ version: 3.2.3.rc1
11
13
  platform: ruby
12
14
  authors:
13
15
  - David Heinemeier Hansson
@@ -15,12 +17,11 @@ autorequire:
15
17
  bindir: bin
16
18
  cert_chain: []
17
19
 
18
- date: 2012-03-01 00:00:00 Z
20
+ date: 2012-03-27 00:00:00 -03:00
21
+ default_executable:
19
22
  dependencies:
20
23
  - !ruby/object:Gem::Dependency
21
- name: i18n
22
- prerelease: false
23
- requirement: &id001 !ruby/object:Gem::Requirement
24
+ version_requirements: &id001 !ruby/object:Gem::Requirement
24
25
  none: false
25
26
  requirements:
26
27
  - - ~>
@@ -30,12 +31,12 @@ dependencies:
30
31
  - 0
31
32
  - 6
32
33
  version: "0.6"
34
+ requirement: *id001
33
35
  type: :runtime
34
- version_requirements: *id001
35
- - !ruby/object:Gem::Dependency
36
- name: multi_json
36
+ name: i18n
37
37
  prerelease: false
38
- requirement: &id002 !ruby/object:Gem::Requirement
38
+ - !ruby/object:Gem::Dependency
39
+ version_requirements: &id002 !ruby/object:Gem::Requirement
39
40
  none: false
40
41
  requirements:
41
42
  - - ~>
@@ -45,8 +46,10 @@ dependencies:
45
46
  - 1
46
47
  - 0
47
48
  version: "1.0"
49
+ requirement: *id002
48
50
  type: :runtime
49
- version_requirements: *id002
51
+ name: multi_json
52
+ prerelease: false
50
53
  description: A toolkit of support libraries and Ruby core extensions extracted from the Rails framework. Rich support for multibyte strings, internationalization, time zones, and testing.
51
54
  email: david@loudthinking.com
52
55
  executables: []
@@ -269,6 +272,7 @@ files:
269
272
  - lib/active_support/xml_mini/rexml.rb
270
273
  - lib/active_support/xml_mini.rb
271
274
  - lib/active_support.rb
275
+ has_rdoc: true
272
276
  homepage: http://www.rubyonrails.org
273
277
  licenses: []
274
278
 
@@ -292,16 +296,18 @@ required_ruby_version: !ruby/object:Gem::Requirement
292
296
  required_rubygems_version: !ruby/object:Gem::Requirement
293
297
  none: false
294
298
  requirements:
295
- - - ">="
299
+ - - ">"
296
300
  - !ruby/object:Gem::Version
297
- hash: 3
301
+ hash: 25
298
302
  segments:
299
- - 0
300
- version: "0"
303
+ - 1
304
+ - 3
305
+ - 1
306
+ version: 1.3.1
301
307
  requirements: []
302
308
 
303
309
  rubyforge_project:
304
- rubygems_version: 1.8.16
310
+ rubygems_version: 1.3.7
305
311
  signing_key:
306
312
  specification_version: 3
307
313
  summary: A toolkit of support libraries and Ruby core extensions extracted from the Rails framework.