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: fe86b869064247ef19c8c715e9c0488388d6560596263be3da35e496da95d1bc
4
- data.tar.gz: bacf541e392054fe3d8db5c23f2ef572ffb9423594aac67ac80797a102f99fec
3
+ metadata.gz: ea32e8baf8f6f4b4762cbf1e8cd44f37059d5684bcec52ede38920d10206d1b3
4
+ data.tar.gz: e4d5d7f0598a25d9f664443952724cac17a4938a3127d4d430150a1adec78a22
5
5
  SHA512:
6
- metadata.gz: 3be677d21f7ad823f4ced7c283159fdf9e4a3a74f806d68b80dfb4683965099e975c7fa56a4b35e520690d25c1a62c0d690ffe9a67ccd050708cb946631dd1a8
7
- data.tar.gz: 73546bdd04dc2ca32cfd3a1a006cda6e1c4ea0922a9697c4bc72f64c62cc2d79cb774695f4b11d4dc07121ebc4d04cf743834b1d01a209e1614b7a1230f0173a
6
+ metadata.gz: aebf239e15eb73373f1cd1d63e380258251348242c6fdf3fdf54fdb534754762b120d3fe3d4146f58716b3f59d86c023cb90cdf7a8c70b26c07193c3d071d282
7
+ data.tar.gz: '089e238a22adf75f258b4dc84150d5680394022f8546df724b1d70416ee97b54a20e569c787749c3fb9d29bc7c7a245be2e2f370ecfefbf375782ab37e2ac798'
data/CHANGELOG.md CHANGED
@@ -1,3 +1,13 @@
1
+ ## Rails 8.0.0.1 (December 10, 2024) ##
2
+
3
+ * No changes.
4
+
5
+
6
+ ## Rails 8.0.0 (November 07, 2024) ##
7
+
8
+ * No changes.
9
+
10
+
1
11
  ## Rails 8.0.0.rc2 (October 30, 2024) ##
2
12
 
3
13
  * No changes.
@@ -59,7 +59,7 @@ module ActiveModel
59
59
 
60
60
  private
61
61
  def _assign_attributes(attributes)
62
- attributes.each do |k, v|
62
+ attributes.each_pair do |k, v|
63
63
  _assign_attribute(k, v)
64
64
  end
65
65
  end
@@ -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 explictly
325
- # defined in parrent classes.
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?`
@@ -10,7 +10,7 @@ module ActiveModel
10
10
  MAJOR = 8
11
11
  MINOR = 0
12
12
  TINY = 0
13
- PRE = "rc2"
13
+ PRE = "1"
14
14
 
15
15
  STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".")
16
16
  end
@@ -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 reponds to +generates_token_for+ (which Active Records do).
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.rc2
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-30 00:00:00.000000000 Z
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.rc2
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.rc2
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.rc2/activemodel/CHANGELOG.md
116
- documentation_uri: https://api.rubyonrails.org/v8.0.0.rc2/
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.rc2/activemodel
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.16
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).