activemodel 4.2.3 → 4.2.4.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: e46c48d23b4073ca60c528a7d29866930949bbe2
4
- data.tar.gz: d418aa1588400fb4af20377426384951823159a9
3
+ metadata.gz: 4814e1f1a95a10bd6d0eca4ebe7f1e2bdbb81a6e
4
+ data.tar.gz: 7b4a28408fc0ec79a82ef8ccbe320db3ecb37e08
5
5
  SHA512:
6
- metadata.gz: e1bf8df569ca2607f571cd28f57797157bdf3f4a389bd965e5a1abdb6d7f718844907bb7abeb22f2c69d312d322e1c229e5ad17e1767266481f1dbf16cc1bb04
7
- data.tar.gz: 898468bfe06061161dd3137cf07abfa56edb8a47737225175a7a575925f29f6c26f25faad72cb9cfa08986498094d5784a58df81f99dfbca8ae4cafe36976f4a
6
+ metadata.gz: dd247377c44777ad90fbb2c14dacc1f60a6426207bdffb99a9f2103b2b0774858faffc6b285b059f91bea62340d68e487b556615295a791e7afe82179095f037
7
+ data.tar.gz: 0305ee477406298527e016f0c98f85676f21bcb2e1ae380de20c66c113b97f0894bcf1a68c5155c3c85bf44bdc9ef509eb97f01c2a1c4c60a6702170c9048dd4
@@ -1,3 +1,8 @@
1
+ ## Rails 4.2.4 (August 14, 2015) ##
2
+
3
+ * No Changes *
4
+
5
+
1
6
  ## Rails 4.2.3 (June 25, 2015) ##
2
7
 
3
8
  * No Changes *
@@ -7,8 +7,8 @@ module ActiveModel
7
7
  module VERSION
8
8
  MAJOR = 4
9
9
  MINOR = 2
10
- TINY = 3
11
- PRE = nil
10
+ TINY = 4
11
+ PRE = "rc1"
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, :prepend].freeze
90
+ VALID_OPTIONS_FOR_VALIDATE = [:on, :if, :unless, :prepend].freeze # :nodoc:
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
@@ -129,6 +129,9 @@ module ActiveModel
129
129
  # end
130
130
  # end
131
131
  #
132
+ # Note that the return value of validation methods is not relevant.
133
+ # It's not possible to halt the validate callback chain.
134
+ #
132
135
  # Options:
133
136
  # * <tt>:on</tt> - Specifies the contexts where this validation is active.
134
137
  # Runs in all validation contexts by default (nil). You can pass a symbol
@@ -392,7 +395,7 @@ module ActiveModel
392
395
  protected
393
396
 
394
397
  def run_validations! #:nodoc:
395
- run_callbacks :validate
398
+ _run_validate_callbacks
396
399
  errors.empty?
397
400
  end
398
401
  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_callbacks(:validation) { super }
113
+ _run_validation_callbacks { 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.3
4
+ version: 4.2.4.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-25 00:00:00.000000000 Z
11
+ date: 2015-08-14 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.3
19
+ version: 4.2.4.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.3
26
+ version: 4.2.4.rc1
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: builder
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -99,13 +99,14 @@ 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
- rubygems_version: 2.4.5
107
+ rubygems_version: 2.4.7
108
108
  signing_key:
109
109
  specification_version: 4
110
110
  summary: A toolkit for building modeling frameworks (part of Rails).
111
111
  test_files: []
112
+ has_rdoc: