activemodel 8.0.0.rc1 → 8.0.0
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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e3d2f44a680d3605fd7388f794b48ebb9d3941ff6dbc1da7cc7676ec673cbc34
|
4
|
+
data.tar.gz: 12670fa8a8c4e34f5f839d110a6b7fc5a24a051f40c18ffe7199a56ede071209
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 03b3839d91f61bb262bb891e9f38af1c2f07df96b67a7e3fe459a9a6a07842dca5990a520b3364a0201b3ae0ab9a9044a7f2df621444e45868996d52a844ba37
|
7
|
+
data.tar.gz: 8f8c79da84252fc80aed3ef34b6009abf9e374d9392d3448af474f9986d15e097ca081b25e84cc7337b01e2239c826709ace8f478380d1e8ca0af32b6641b71c
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,13 @@
|
|
1
|
+
## Rails 8.0.0 (November 07, 2024) ##
|
2
|
+
|
3
|
+
* No changes.
|
4
|
+
|
5
|
+
|
6
|
+
## Rails 8.0.0.rc2 (October 30, 2024) ##
|
7
|
+
|
8
|
+
* No changes.
|
9
|
+
|
10
|
+
|
1
11
|
## Rails 8.0.0.rc1 (October 19, 2024) ##
|
2
12
|
|
3
13
|
* Add `:except_on` option for validations. Grants the ability to _skip_ validations in specified contexts.
|
@@ -214,7 +214,7 @@ module ActiveModel
|
|
214
214
|
end
|
215
215
|
end
|
216
216
|
|
217
|
-
def generate_alias_attribute_methods(code_generator, new_name, old_name)
|
217
|
+
def generate_alias_attribute_methods(code_generator, new_name, old_name) # :nodoc:
|
218
218
|
ActiveSupport::CodeGenerator.batch(code_generator, __FILE__, __LINE__) do |owner|
|
219
219
|
attribute_method_patterns.each do |pattern|
|
220
220
|
alias_attribute_method_definition(code_generator, pattern, new_name, old_name)
|
@@ -321,8 +321,8 @@ module ActiveModel
|
|
321
321
|
canonical_method_name = pattern.method_name(attr_name)
|
322
322
|
public_method_name = pattern.method_name(as)
|
323
323
|
|
324
|
-
# If defining a regular attribute method, we don't override methods that are
|
325
|
-
# defined in
|
324
|
+
# If defining a regular attribute method, we don't override methods that are explicitly
|
325
|
+
# defined in parent classes.
|
326
326
|
if instance_method_already_implemented?(public_method_name)
|
327
327
|
# However, for `alias_attribute`, we always define the method.
|
328
328
|
# We check for override second because `instance_method_already_implemented?`
|
@@ -41,7 +41,7 @@ module ActiveModel
|
|
41
41
|
#
|
42
42
|
# Finally, a password reset token that's valid for 15 minutes after issue
|
43
43
|
# is automatically configured when +reset_token+ is set to true (which it is by default)
|
44
|
-
# and the object
|
44
|
+
# and the object responds to +generates_token_for+ (which Active Records do).
|
45
45
|
#
|
46
46
|
# To use +has_secure_password+, add bcrypt (~> 3.1.7) to your Gemfile:
|
47
47
|
#
|
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: 8.0.0
|
4
|
+
version: 8.0.0
|
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: 2024-
|
11
|
+
date: 2024-11-07 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: 8.0.0
|
19
|
+
version: 8.0.0
|
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: 8.0.0
|
26
|
+
version: 8.0.0
|
27
27
|
description: A toolkit for building modeling frameworks like Active Record. Rich support
|
28
28
|
for attributes, callbacks, validations, serialization, internationalization, and
|
29
29
|
testing.
|
@@ -112,10 +112,10 @@ licenses:
|
|
112
112
|
- MIT
|
113
113
|
metadata:
|
114
114
|
bug_tracker_uri: https://github.com/rails/rails/issues
|
115
|
-
changelog_uri: https://github.com/rails/rails/blob/v8.0.0
|
116
|
-
documentation_uri: https://api.rubyonrails.org/v8.0.0
|
115
|
+
changelog_uri: https://github.com/rails/rails/blob/v8.0.0/activemodel/CHANGELOG.md
|
116
|
+
documentation_uri: https://api.rubyonrails.org/v8.0.0/
|
117
117
|
mailing_list_uri: https://discuss.rubyonrails.org/c/rubyonrails-talk
|
118
|
-
source_code_uri: https://github.com/rails/rails/tree/v8.0.0
|
118
|
+
source_code_uri: https://github.com/rails/rails/tree/v8.0.0/activemodel
|
119
119
|
rubygems_mfa_required: 'true'
|
120
120
|
post_install_message:
|
121
121
|
rdoc_options: []
|
@@ -132,7 +132,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
132
132
|
- !ruby/object:Gem::Version
|
133
133
|
version: '0'
|
134
134
|
requirements: []
|
135
|
-
rubygems_version: 3.5.
|
135
|
+
rubygems_version: 3.5.22
|
136
136
|
signing_key:
|
137
137
|
specification_version: 4
|
138
138
|
summary: A toolkit for building modeling frameworks (part of Rails).
|