activemodel 4.2.2 → 4.2.3.rc1

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: be9dc17124180dee4b7085503467069c39d6391b
4
- data.tar.gz: 8bc5bc2bcf72beadf6a5107b60596605d162732b
3
+ metadata.gz: 28748d4ab00b9efe432b6f95c2523ff41149bebc
4
+ data.tar.gz: 6fb9e3aaadbdd635a5f5900e2c66e4bea73bd725
5
5
  SHA512:
6
- metadata.gz: b1f2922ef4c2cd3b1e2c3950d9ef049c4faf565f05bb35c11ae704feac139ca297a66d138d2ce5d7b2cad754c42a538134c16348c34823c9c4133fcf1c8ad97d
7
- data.tar.gz: 1d13f6b308584fccbf3f93c4842d52de2d55a0256220c821d0164f3f214e77e32be3a47f6f805fd186e8a1394ebc5ffc0e9b8d476d0ac2e7ee9678af288eb97f
6
+ metadata.gz: 715318def2ceddac3edcd97d17ffd92bb81da91a3a96a3e4dbd80c61b23e0b7eabdf771c404ce82fd02c52d27b15933a5ac55177c2e6b06d867323b4f697389c
7
+ data.tar.gz: d55fd91fae87a91d3034a52fd0c9de335bcce6a22b514f2f3a764450e8837199a45979962858987087907ed2da4ce7997e34fe68930defb6e195bb087ad25782
data/CHANGELOG.md CHANGED
@@ -1,11 +1,16 @@
1
+ ## Rails 4.2.3 (June 22, 2015) ##
2
+
3
+ * No Changes *
4
+
5
+
1
6
  ## Rails 4.2.2 (June 16, 2015) ##
2
7
 
3
8
  * No Changes *
4
9
 
5
10
 
6
- ## Rails 4.2.1 (March 19, 2014) ##
11
+ ## Rails 4.2.1 (March 19, 2015) ##
7
12
 
8
- * No changes *
13
+ * No changes.
9
14
 
10
15
 
11
16
  ## Rails 4.2.0 (December 20, 2014) ##
@@ -7,8 +7,8 @@ module ActiveModel
7
7
  module VERSION
8
8
  MAJOR = 4
9
9
  MINOR = 2
10
- TINY = 2
11
- PRE = nil
10
+ TINY = 3
11
+ PRE = "rc1"
12
12
 
13
13
  STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".")
14
14
  end
@@ -130,7 +130,7 @@ module ActiveModel
130
130
  #
131
131
  # Equivalent to +to_s+.
132
132
  delegate :==, :===, :<=>, :=~, :"!~", :eql?, :to_s,
133
- :to_str, to: :name
133
+ :to_str, :as_json, to: :name
134
134
 
135
135
  # Returns a new ActiveModel::Name instance. By default, the +namespace+
136
136
  # and +name+ option will take the namespace and name of the given class
@@ -392,7 +392,7 @@ module ActiveModel
392
392
  protected
393
393
 
394
394
  def run_validations! #:nodoc:
395
- _run_validate_callbacks
395
+ run_callbacks :validate
396
396
  errors.empty?
397
397
  end
398
398
  end
@@ -110,7 +110,7 @@ module ActiveModel
110
110
 
111
111
  # Overwrite run validations to include callbacks.
112
112
  def run_validations! #:nodoc:
113
- _run_validation_callbacks { super }
113
+ run_callbacks(:validation) { super }
114
114
  end
115
115
  end
116
116
  end
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.2
4
+ version: 4.2.3.rc1
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-06-16 00:00:00.000000000 Z
11
+ date: 2015-06-22 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.2
19
+ version: 4.2.3.rc1
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.2
26
+ version: 4.2.3.rc1
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: '0'
104
+ version: 1.3.1
105
105
  requirements: []
106
106
  rubyforge_project:
107
107
  rubygems_version: 2.4.5