activemodel 3.2.12 → 3.2.13.rc1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 04067c15edf41a8d5ce689e6cbb9310fe1732138
4
- data.tar.gz: dd07c473867f7a3429a7dca2c8943921c93c0ad8
3
+ metadata.gz: 2b907e70385a1124a2c906d59029d211ca60f209
4
+ data.tar.gz: 5f3d8bd4b43df2da1dec4a3faeafa569a7c4106a
5
5
  SHA512:
6
- metadata.gz: afe4a7e0d27d0aa1329e377ab123dd17dc4e5525c9f6d82f58b1c3fe927fa929545c1a1ab473dab2b16e8e05d616194815a32e3ac90f2bb1ad89eb0a1dd404a0
7
- data.tar.gz: ddab958f8295fd1dd685856f533c9d854b9240d3c227ecd244688d286579c8f13852f704e6defc02da8207661b05a1a3ca82d2d156a1741bec3bdf1ccac323f4
6
+ metadata.gz: be225f8c803bb17a646e1caba79dc68a49d9b0585f16a7198a920bce7c6e6a23705c41d2e9f93893f25e2e4b8c47a128a94ddf1db809337c981e87dd6b05a890
7
+ data.tar.gz: da0d2a760f9cdc58c4c6a6ac42060f622c71d0311461fc2dd28b5cf17156a56ff6551ffbe7a908398f597a591561b6252dcfe3a5ff2737b09b5b9a6f24861f7e
@@ -1,4 +1,30 @@
1
- ## Rails 3.2.10 ##
1
+ ## unreleased ##
2
+
3
+ * No changes.
4
+
5
+
6
+ ## Rails 3.2.13 (Feb 17, 2013) ##
7
+
8
+ * Specify type of singular association during serialization *Steve Klabnik*
9
+
10
+
11
+ ## Rails 3.2.12 (Feb 11, 2013) ##
12
+
13
+ * Fix issue with `attr_protected` where malformed input could circumvent protection.
14
+ CVE-2013-0276
15
+
16
+ *joernchen*
17
+
18
+
19
+ ## Rails 3.2.11 (Jan 8, 2013) ##
20
+
21
+ * No changes.
22
+
23
+
24
+ ## Rails 3.2.10 (Jan 2, 2013) ##
25
+
26
+ * No changes.
27
+
2
28
 
3
29
  ## Rails 3.2.9 (Nov 12, 2012) ##
4
30
 
@@ -13,24 +39,29 @@
13
39
 
14
40
  *Carlos Antonio da Silva*
15
41
 
42
+
16
43
  ## Rails 3.2.8 (Aug 9, 2012) ##
17
44
 
18
45
  * No changes.
19
46
 
47
+
20
48
  ## Rails 3.2.7 (Jul 26, 2012) ##
21
49
 
22
50
  * `validates_inclusion_of` and `validates_exclusion_of` now accept `:within` option as alias of `:in` as documented.
23
51
 
24
52
  * Fix the the backport of the object dup with the ruby 1.9.3p194.
25
53
 
54
+
26
55
  ## Rails 3.2.6 (Jun 12, 2012) ##
27
56
 
28
57
  * No changes.
29
58
 
59
+
30
60
  ## Rails 3.2.4 (May 31, 2012) ##
31
61
 
32
62
  * No changes.
33
63
 
64
+
34
65
  ## Rails 3.2.3 (March 30, 2012) ##
35
66
 
36
67
  * No changes.
@@ -84,7 +84,7 @@ module ActiveModel
84
84
  end
85
85
 
86
86
  # Backport dup from 1.9 so that #initialize_dup gets called
87
- unless Object.respond_to?(:initialize_dup)
87
+ unless Object.respond_to?(:initialize_dup, true)
88
88
  def dup # :nodoc:
89
89
  copy = super
90
90
  copy.initialize_dup(self)
@@ -144,7 +144,12 @@ module ActiveModel
144
144
  end
145
145
  else
146
146
  merged_options[:root] = association.to_s
147
- records.to_xml(merged_options)
147
+
148
+ unless records.class.to_s.underscore == association.to_s
149
+ merged_options[:type] = records.class.name
150
+ end
151
+
152
+ records.to_xml merged_options
148
153
  end
149
154
  end
150
155
 
@@ -173,7 +173,7 @@ module ActiveModel
173
173
  end
174
174
 
175
175
  # Backport dup from 1.9 so that #initialize_dup gets called
176
- unless Object.respond_to?(:initialize_dup)
176
+ unless Object.respond_to?(:initialize_dup, true)
177
177
  def dup # :nodoc:
178
178
  copy = super
179
179
  copy.initialize_dup(self)
@@ -2,8 +2,8 @@ module ActiveModel
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 3
4
4
  MINOR = 2
5
- TINY = 12
6
- PRE = nil
5
+ TINY = 13
6
+ PRE = "rc1"
7
7
 
8
8
  STRING = [MAJOR, MINOR, TINY, PRE].compact.join('.')
9
9
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activemodel
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.2.12
4
+ version: 3.2.13.rc1
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Heinemeier Hansson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-02-11 00:00:00.000000000 Z
11
+ date: 2013-02-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -16,26 +16,26 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 3.2.12
19
+ version: 3.2.13.rc1
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: 3.2.12
26
+ version: 3.2.13.rc1
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: builder
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - "~>"
31
+ - - ~>
32
32
  - !ruby/object:Gem::Version
33
33
  version: 3.0.0
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - "~>"
38
+ - - ~>
39
39
  - !ruby/object:Gem::Version
40
40
  version: 3.0.0
41
41
  description: A toolkit for building modeling frameworks like Active Record and Active
@@ -93,17 +93,17 @@ require_paths:
93
93
  - lib
94
94
  required_ruby_version: !ruby/object:Gem::Requirement
95
95
  requirements:
96
- - - ">="
96
+ - - '>='
97
97
  - !ruby/object:Gem::Version
98
98
  version: 1.8.7
99
99
  required_rubygems_version: !ruby/object:Gem::Requirement
100
100
  requirements:
101
- - - ">="
101
+ - - '>'
102
102
  - !ruby/object:Gem::Version
103
- version: '0'
103
+ version: 1.3.1
104
104
  requirements: []
105
105
  rubyforge_project:
106
- rubygems_version: 2.0.0.rc.2
106
+ rubygems_version: 2.0.0
107
107
  signing_key:
108
108
  specification_version: 4
109
109
  summary: A toolkit for building modeling frameworks (part of Rails).