activesupport 2.0.4 → 2.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/CHANGELOG CHANGED
@@ -1,3 +1,8 @@
1
+ *2.0.5* (October 19th, 2008)
2
+
3
+ * Included in Rails 2.0.5
4
+
5
+
1
6
  *2.0.4* (2nd September 2008)
2
7
 
3
8
  * Fixed the rexml vulnerability disclosed at http://www.ruby-lang.org/en/news/2008/08/23/dos-vulnerability-in-rexml/ [koz]
@@ -5,7 +5,8 @@ require 'rexml/entity'
5
5
  # http://www.ruby-lang.org/en/news/2008/08/23/dos-vulnerability-in-rexml/
6
6
  # This fix is identical to rexml-expansion-fix version 1.0.1
7
7
 
8
- unless REXML::VERSION > "3.1.7.2"
8
+ # Earlier versions of rexml defined REXML::Version, newer ones REXML::VERSION
9
+ unless (defined?(REXML::VERSION) ? REXML::VERSION : REXML::Version) > "3.1.7.2"
9
10
  module REXML
10
11
  class Entity < Child
11
12
  undef_method :unnormalized
@@ -17,7 +18,9 @@ unless REXML::VERSION > "3.1.7.2"
17
18
  @unnormalized
18
19
  end
19
20
  end
21
+
20
22
  class Document < Element
23
+
21
24
  @@entity_expansion_limit = 10_000
22
25
  def self.entity_expansion_limit= val
23
26
  @@entity_expansion_limit = val
@@ -32,4 +35,4 @@ unless REXML::VERSION > "3.1.7.2"
32
35
  end
33
36
  end
34
37
  end
35
- end
38
+ end
@@ -2,7 +2,7 @@ module ActiveSupport
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 2
4
4
  MINOR = 0
5
- TINY = 4
5
+ TINY = 5
6
6
 
7
7
  STRING = [MAJOR, MINOR, TINY].join('.')
8
8
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activesupport
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.4
4
+ version: 2.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Heinemeier Hansson
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2008-09-03 00:00:00 +02:00
12
+ date: 2008-10-19 00:00:00 +02:00
13
13
  default_executable:
14
14
  dependencies: []
15
15