activemodel 4.1.14 → 4.1.14.1

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: 486df1c9bdbda8499d607db7f2015db662cf0fc0
4
- data.tar.gz: 2b69cd6310e664dcdf99c79154d6466a71389aab
3
+ metadata.gz: 9b71342e93c52f0d8f923f75583dc80226ae6963
4
+ data.tar.gz: 8cb8140853ed11af5572d77e2cb504eb95d66fde
5
5
  SHA512:
6
- metadata.gz: 53927a9cf4ac90d6fd1187f983055c1b60d65fff52bed7a8fcdd79ec2e542095e3722f60c6433f5f642a36955a0ff6898a7f0f061d9d70a2942eeb35e7ec1d4c
7
- data.tar.gz: 6f0a64519a5aa5c8bf108f82b884a978bffce295c473a39412862128e85bae717b3b28ca6d2ba2cb04766f97d417622500e44774516a14f9fcc72263875f5b28
6
+ metadata.gz: 29e6b5f2c9455ef3b94386cd3533440a0876059fb66bccb0be028dc8e53915f0a1ad1f6451eaa9699b4f77c9dd0ef7d615a6cf37a9ff9ff26d0490667d7aa961
7
+ data.tar.gz: 22bd6a10865b45849585c2792cca8c49b5a4d69dc100e57794dbcdc8aead8d1ffa091a678ed799a1dd4c7ae65c7d47979e7b91c67b230bca3172a6c9f383e0f5
@@ -8,7 +8,7 @@ module ActiveModel
8
8
  MAJOR = 4
9
9
  MINOR = 1
10
10
  TINY = 14
11
- PRE = nil
11
+ PRE = "1"
12
12
 
13
13
  STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".")
14
14
  end
@@ -10,7 +10,7 @@ module ActiveModel
10
10
  included do
11
11
  extend ActiveModel::Naming
12
12
 
13
- class_attribute :include_root_in_json
13
+ class_attribute :include_root_in_json, instance_writer: false
14
14
  self.include_root_in_json = false
15
15
  end
16
16
 
@@ -46,9 +46,10 @@ module ActiveModel
46
46
  include HelperMethods
47
47
 
48
48
  attr_accessor :validation_context
49
+ private :validation_context=
49
50
  define_callbacks :validate, scope: :name
50
51
 
51
- class_attribute :_validators
52
+ class_attribute :_validators, instance_writer: false
52
53
  self._validators = Hash.new { |h,k| h[k] = [] }
53
54
  end
54
55
 
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.1.14
4
+ version: 4.1.14.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: 2015-11-12 00:00:00.000000000 Z
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.1.14
19
+ version: 4.1.14.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.1.14
26
+ version: 4.1.14.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.4.5.1
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).