activemodel 4.2.0.rc2 → 4.2.0.rc3

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of activemodel might be problematic. Click here for more details.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 730f64c39007b7ccd83f0a170179606e187a83f4
4
- data.tar.gz: 84c9b855006ecb33711a8615d2db862574ad220f
3
+ metadata.gz: 51acfdefa6a8c4dc6a35d634c238389300e82765
4
+ data.tar.gz: 5a5976288dfdbf7c37ddbf781b8ec375b0c9ace4
5
5
  SHA512:
6
- metadata.gz: 5e764a287ef04bacdea7a34fbe405e43b072ed373611b1d4d36584077c2cb3b76031d7ce8d9eef55e30f2e1225d5a08ea4b6db52a1cb36d572712716c5a3acb1
7
- data.tar.gz: 31ae1b2f2ccd0750467e9daf39ff4d35237a66b67ebe5a9d343fb31b953a997e90bccd51956943374f9e9b6f39b3c5c583c6acccbe43e126b4a4320e74fe645b
6
+ metadata.gz: ab76a1569e3b75dde4940001a30ead1f3e46075585b4669779928fe20918de0fd1d9586a88531d8f6173cf941eb355ecc230beb902144f58e3d3bc0a9d42a1a2
7
+ data.tar.gz: 81c85c483c64a84880e37af53360650daf527cfd4f628c181827d82859f12867c49204a71ec37b7941653a3460e3ec5799bc491f843f58fca76c98145313c594
@@ -8,7 +8,7 @@ module ActiveModel
8
8
  MAJOR = 4
9
9
  MINOR = 2
10
10
  TINY = 0
11
- PRE = "rc2"
11
+ PRE = "rc3"
12
12
 
13
13
  STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".")
14
14
  end
@@ -87,7 +87,7 @@ module ActiveModel
87
87
  validates_with BlockValidator, _merge_attributes(attr_names), &block
88
88
  end
89
89
 
90
- VALID_OPTIONS_FOR_VALIDATE = [:on, :if, :unless].freeze
90
+ VALID_OPTIONS_FOR_VALIDATE = [:on, :if, :unless, :prepend].freeze
91
91
 
92
92
  # Adds a validation method or block to the class. This is useful when
93
93
  # overriding the +validate+ instance method becomes too unwieldy and
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.2.0.rc2
4
+ version: 4.2.0.rc3
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: 2014-12-05 00:00:00.000000000 Z
11
+ date: 2014-12-13 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: 4.2.0.rc2
19
+ version: 4.2.0.rc3
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.2.0.rc2
26
+ version: 4.2.0.rc3
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.1'
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.1'
41
41
  description: A toolkit for building modeling frameworks like Active Record. Rich support
@@ -94,17 +94,17 @@ require_paths:
94
94
  - lib
95
95
  required_ruby_version: !ruby/object:Gem::Requirement
96
96
  requirements:
97
- - - '>='
97
+ - - ">="
98
98
  - !ruby/object:Gem::Version
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
104
  version: 1.3.1
105
105
  requirements: []
106
106
  rubyforge_project:
107
- rubygems_version: 2.2.1
107
+ rubygems_version: 2.2.2
108
108
  signing_key:
109
109
  specification_version: 4
110
110
  summary: A toolkit for building modeling frameworks (part of Rails).