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: cff9ce182fe19b1ba44acb21c565c8527602855ad42582c68ca865c6c7808418
4
- data.tar.gz: ac9f1b90cdad91c42d192ccd31fff45f96236a05dfab084a6846a1bba2881f31
3
+ metadata.gz: e3d2f44a680d3605fd7388f794b48ebb9d3941ff6dbc1da7cc7676ec673cbc34
4
+ data.tar.gz: 12670fa8a8c4e34f5f839d110a6b7fc5a24a051f40c18ffe7199a56ede071209
5
5
  SHA512:
6
- metadata.gz: f1cd9e0aabc319cfa3b73d3951470b2c31adedc2aafc11a5cd25a13ddaa7f346db103d6351009bd0f681184e8fbf840358df747b808e59e2857133bd6e372561
7
- data.tar.gz: 917d12bda8d9f7f7f442897256fd046d27f29ca0f8a28aee17c68773cf48772f0142f30603af455f952ec1a308a20b4fc70367eba3dcabaa28cb1c24397eccef
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.
@@ -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 = "rc1"
13
+ PRE = nil
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.rc1
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-10-19 00:00:00.000000000 Z
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.rc1
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.rc1
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.rc1/activemodel/CHANGELOG.md
116
- documentation_uri: https://api.rubyonrails.org/v8.0.0.rc1/
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.rc1/activemodel
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.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).