activemodel 4.0.0.rc2 → 4.0.0

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: 6aa2aecf4bda96a7e235db9ea86b18694f38eb1f
4
- data.tar.gz: 151da99081ef1acbec2e9a36b9714f152a96f381
3
+ metadata.gz: 9010096d9a5a2c70cf316ef02ae6204cdd32583b
4
+ data.tar.gz: b96b3b73ac4cb59a4ec4d0f547b62d6845186970
5
5
  SHA512:
6
- metadata.gz: 3be8435d14cfcd59406f8690f8e870bed760dbf9040d1876debbb6312d25fcf5a776543edf41d864c22df17697656d60821bae0518223a6224c8e3c6634038be
7
- data.tar.gz: 694318bbec36b0d99869b78f3e0c232ac17606b26821e3f2e40011750089054c40deb8c6f6e9a57c4bda2169f4f84e61d0d3d57a16dfc3a7789dccebbb449e60
6
+ metadata.gz: 62731c37876a8e9a673e48ccca818fe1fda5eff960a017b088a47ef93de0907fb12eb03b121c8b616c1e3ab8f70606219754ea013c41e09b267d471d008b2dc7
7
+ data.tar.gz: c9af5c117d95d21d6281f267eebd78651244a3490c03f9996dc1c85405034805110d68ef13d7fd8303cd63b74f1785a311e68ded32458c576b5884c20d34c4ce
data/CHANGELOG.md CHANGED
@@ -1,12 +1,10 @@
1
- ## Rails 4.0.0.rc2 (June 11, 2013) ##
1
+ ## Rails 4.0.0 (June 25, 2013) ##
2
2
 
3
3
  * Fix regression in has_secure_password. When a password is set, but a
4
4
  confirmation is an empty string, it would incorrectly save.
5
5
 
6
6
  *Steve Klabnik* and *Phillip Calvin*
7
7
 
8
- ## Rails 4.0.0.rc1 (April 29, 2013) ##
9
-
10
8
  * Add `ActiveModel::Errors#full_messages_for`, to return all the error messages
11
9
  for a given attribute.
12
10
 
@@ -75,8 +73,6 @@
75
73
 
76
74
  *Yves Senn*
77
75
 
78
- ## Rails 4.0.0.beta1 (February 25, 2013) ##
79
-
80
76
  * Add `ActiveModel::Validations::AbsenceValidator`, a validator to check the
81
77
  absence of attributes.
82
78
 
@@ -79,6 +79,8 @@ module ActiveModel
79
79
  params.each do |attr, value|
80
80
  self.public_send("#{attr}=", value)
81
81
  end if params
82
+
83
+ super()
82
84
  end
83
85
 
84
86
  # Indicates if the model is persisted. Default is +false+.
@@ -1,7 +1,7 @@
1
1
  module ActiveModel
2
2
  # Returns the version of the currently loaded ActiveModel as a Gem::Version
3
3
  def self.version
4
- Gem::Version.new "4.0.0.rc2"
4
+ Gem::Version.new "4.0.0"
5
5
  end
6
6
 
7
7
  module VERSION #:nodoc:
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: 4.0.0.rc2
4
+ version: 4.0.0
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-06-11 00:00:00.000000000 Z
11
+ date: 2013-06-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 4.0.0.rc2
19
+ version: 4.0.0
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: 4.0.0.rc2
26
+ version: 4.0.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: builder
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -99,9 +99,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
99
99
  version: 1.9.3
100
100
  required_rubygems_version: !ruby/object:Gem::Requirement
101
101
  requirements:
102
- - - '>'
102
+ - - '>='
103
103
  - !ruby/object:Gem::Version
104
- version: 1.3.1
104
+ version: '0'
105
105
  requirements: []
106
106
  rubyforge_project:
107
107
  rubygems_version: 2.0.2