activemodel 5.0.0.beta1 → 5.0.0.beta1.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: 6ac74cf489726c9ec6fe5932520215ccffd304a8
4
- data.tar.gz: 415b347104e566577357cd976b129a43cd2cf698
3
+ metadata.gz: c48b606d8a5f6f02eafb61ae9556a837c8010afb
4
+ data.tar.gz: 38517052f8c025ac71630d8fbfb64c1c77acb799
5
5
  SHA512:
6
- metadata.gz: e9ecb240f9de03285920ca4fc1e3d687049afcfb73ed7108a4dd18068776d43ddd9d894cb9a66419df758e175475346f059cb0d932077214fe63830c1d28eda7
7
- data.tar.gz: 243ad2ee7768e1773f0b31a3d8cc714e17c2c0aab54d1907e1db7d1136a3b718fb58fc0e5877bce2589d9d3de16d0011a046da9b1d68bf8bc970cdc4fbb36f7b
6
+ metadata.gz: 8f32abf65c343c56aa3a31a3495bb1bb742abc20fe48f9fe17b9e618de0b8f37b3688010f3ecec6037d952a6ad8c6ff06e774a46d0de0f98291e10dd10b7f25a
7
+ data.tar.gz: 904895df50a73f79956d82247c4f304089377265bb662176a51dbe93d1cff7c539a6c81022b88b498b2df9aa8a5f04fd4b1621f1bf1cc94b5e94ae979620a3af
@@ -8,7 +8,7 @@ module ActiveModel
8
8
  MAJOR = 5
9
9
  MINOR = 0
10
10
  TINY = 0
11
- PRE = "beta1"
11
+ PRE = "beta1.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
 
@@ -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: 5.0.0.beta1
4
+ version: 5.0.0.beta1.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-12-18 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: 5.0.0.beta1
19
+ version: 5.0.0.beta1.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: 5.0.0.beta1
26
+ version: 5.0.0.beta1.1
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: builder
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -132,4 +132,3 @@ signing_key:
132
132
  specification_version: 4
133
133
  summary: A toolkit for building modeling frameworks (part of Rails).
134
134
  test_files: []
135
- has_rdoc: