activemodel 4.2.5 → 4.2.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/active_model/gem_version.rb +1 -1
- data/lib/active_model/serializers/json.rb +1 -1
- data/lib/active_model/validations.rb +2 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2799449867dbfe67fd6025fff7436534e27dc17d
|
4
|
+
data.tar.gz: ba7559d193559510463d39579abb58097a1b0f55
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0c76f2cad8b8840d8d49685ae49a574660ad78dad610a2e8bf76df12b38b481030fc1273cdb5667ce0d0207ea7485d77cb21dce9cf945b4874f4e1becaabea7a
|
7
|
+
data.tar.gz: 877384030e6c8cad4bec448e3f21857d08b7640a914eb82c7b4cd2c4ab9bc3ecaec3e9ef5e3a3836490a68508b7c25f438ec9fb96ff5c6a862e13d53376759a1
|
@@ -47,9 +47,10 @@ module ActiveModel
|
|
47
47
|
include HelperMethods
|
48
48
|
|
49
49
|
attr_accessor :validation_context
|
50
|
+
private :validation_context=
|
50
51
|
define_callbacks :validate, scope: :name
|
51
52
|
|
52
|
-
class_attribute :_validators
|
53
|
+
class_attribute :_validators, instance_writer: false
|
53
54
|
self._validators = Hash.new { |h,k| h[k] = [] }
|
54
55
|
end
|
55
56
|
|
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.5
|
4
|
+
version: 4.2.5.1
|
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:
|
11
|
+
date: 2016-01-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.2.5
|
19
|
+
version: 4.2.5.1
|
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.5
|
26
|
+
version: 4.2.5.1
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: builder
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -104,7 +104,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
104
104
|
version: '0'
|
105
105
|
requirements: []
|
106
106
|
rubyforge_project:
|
107
|
-
rubygems_version: 2.
|
107
|
+
rubygems_version: 2.5.1
|
108
108
|
signing_key:
|
109
109
|
specification_version: 4
|
110
110
|
summary: A toolkit for building modeling frameworks (part of Rails).
|