activemodel 8.0.0.1 → 8.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ea32e8baf8f6f4b4762cbf1e8cd44f37059d5684bcec52ede38920d10206d1b3
4
- data.tar.gz: e4d5d7f0598a25d9f664443952724cac17a4938a3127d4d430150a1adec78a22
3
+ metadata.gz: 82c77cf956bb596f9c8b1f54759653d6c89277953f1d4f65cfa0719b4805f7fd
4
+ data.tar.gz: 0a90fee096e7ba10c38382a0773ddc9ba2fbc115f0313442d907243544c03d0f
5
5
  SHA512:
6
- metadata.gz: aebf239e15eb73373f1cd1d63e380258251348242c6fdf3fdf54fdb534754762b120d3fe3d4146f58716b3f59d86c023cb90cdf7a8c70b26c07193c3d071d282
7
- data.tar.gz: '089e238a22adf75f258b4dc84150d5680394022f8546df724b1d70416ee97b54a20e569c787749c3fb9d29bc7c7a245be2e2f370ecfefbf375782ab37e2ac798'
6
+ metadata.gz: abe56d4420b361ac304800b16f9e1c54f8a03e89a27be8341cea8f4b6b29dce30ae88d4a52f9c65944eb31330f70b779b4dcdd9b0812797382f935c5727b6461
7
+ data.tar.gz: aafdd1de1caf910aa090ecd82fad83c106a2b31f500a9884c7668e7aca2c4d89dd9a87e8404b12c26b825b0f4e91c74e6f6fee2473d41c967e78b11f44e8441a
data/CHANGELOG.md CHANGED
@@ -1,3 +1,8 @@
1
+ ## Rails 8.0.1 (December 13, 2024) ##
2
+
3
+ * No changes.
4
+
5
+
1
6
  ## Rails 8.0.0.1 (December 10, 2024) ##
2
7
 
3
8
  * No changes.
@@ -9,8 +9,8 @@ module ActiveModel
9
9
  module VERSION
10
10
  MAJOR = 8
11
11
  MINOR = 0
12
- TINY = 0
13
- PRE = "1"
12
+ TINY = 1
13
+ PRE = nil
14
14
 
15
15
  STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".")
16
16
  end
@@ -176,7 +176,7 @@ module ActiveModel
176
176
  options = options.dup
177
177
  options[:except_on] = Array(options[:except_on])
178
178
  options[:unless] = [
179
- ->(o) { (options[:except_on] & Array(o.validation_context)).any? },
179
+ ->(o) { options[:except_on].intersect?(Array(o.validation_context)) },
180
180
  *options[:unless]
181
181
  ]
182
182
  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: 8.0.0.1
4
+ version: 8.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-12-10 00:00:00.000000000 Z
11
+ date: 2024-12-13 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.1
19
+ version: 8.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.1
26
+ version: 8.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.1/activemodel/CHANGELOG.md
116
- documentation_uri: https://api.rubyonrails.org/v8.0.0.1/
115
+ changelog_uri: https://github.com/rails/rails/blob/v8.0.1/activemodel/CHANGELOG.md
116
+ documentation_uri: https://api.rubyonrails.org/v8.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.1/activemodel
118
+ source_code_uri: https://github.com/rails/rails/tree/v8.0.1/activemodel
119
119
  rubygems_mfa_required: 'true'
120
120
  post_install_message:
121
121
  rdoc_options: []