activemodel 8.0.0.rc2 → 8.0.0.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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ea32e8baf8f6f4b4762cbf1e8cd44f37059d5684bcec52ede38920d10206d1b3
|
4
|
+
data.tar.gz: e4d5d7f0598a25d9f664443952724cac17a4938a3127d4d430150a1adec78a22
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aebf239e15eb73373f1cd1d63e380258251348242c6fdf3fdf54fdb534754762b120d3fe3d4146f58716b3f59d86c023cb90cdf7a8c70b26c07193c3d071d282
|
7
|
+
data.tar.gz: '089e238a22adf75f258b4dc84150d5680394022f8546df724b1d70416ee97b54a20e569c787749c3fb9d29bc7c7a245be2e2f370ecfefbf375782ab37e2ac798'
|
data/CHANGELOG.md
CHANGED
@@ -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.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: 2024-10
|
11
|
+
date: 2024-12-10 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.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: 8.0.0.
|
26
|
+
version: 8.0.0.1
|
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.1/activemodel/CHANGELOG.md
|
116
|
+
documentation_uri: https://api.rubyonrails.org/v8.0.0.1/
|
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.1/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).
|