activemodel 7.0.0.rc3 → 7.0.2.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 +4 -4
- data/CHANGELOG.md +30 -0
- data/MIT-LICENSE +1 -1
- data/lib/active_model/attribute_methods.rb +1 -1
- data/lib/active_model/gem_version.rb +2 -2
- data/lib/active_model/type/date.rb +1 -1
- data/lib/active_model/type/helpers/time_value.rb +1 -1
- data/lib/active_model.rb +1 -1
- metadata +10 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a512f9c555922bc70dbf5ac4bc3d278da1a8e973a235baf8fa25b2ec70c72961
|
4
|
+
data.tar.gz: 3c5bcf811c3fe5c4f694c3da78c196d7ca4cef6326940570a67cecf6f37a7063
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ba80c0adf8b27cd6428a091dedd5863ad659fa03d10cebe6daa5026d18ed01c7d4841378230f54691628af73c081c2c8fd67be9fdbb97b7df281d9c6999968ba
|
7
|
+
data.tar.gz: 75cacab8778ab81714ec3e08a3657019136b3a2fc2aad75ac4b5420cb20f3ec04bc51587b7c909d92bf5c1d0521b74f9efcbb4cbc299bdce2f26f59855a3c5f3
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,29 @@
|
|
1
|
+
## Rails 7.0.2.1 (February 11, 2022) ##
|
2
|
+
|
3
|
+
* No changes.
|
4
|
+
|
5
|
+
|
6
|
+
## Rails 7.0.2 (February 08, 2022) ##
|
7
|
+
|
8
|
+
* Use different cache namespace for proxy calls
|
9
|
+
|
10
|
+
Models can currently have different attribute bodies for the same method
|
11
|
+
names, leading to conflicts. Adding a new namespace `:active_model_proxy`
|
12
|
+
fixes the issue.
|
13
|
+
|
14
|
+
*Chris Salzberg*
|
15
|
+
|
16
|
+
|
17
|
+
## Rails 7.0.1 (January 06, 2022) ##
|
18
|
+
|
19
|
+
* No changes.
|
20
|
+
|
21
|
+
|
22
|
+
## Rails 7.0.0 (December 15, 2021) ##
|
23
|
+
|
24
|
+
* No changes.
|
25
|
+
|
26
|
+
|
1
27
|
## Rails 7.0.0.rc3 (December 14, 2021) ##
|
2
28
|
|
3
29
|
* No changes.
|
@@ -5,6 +31,10 @@
|
|
5
31
|
|
6
32
|
## Rails 7.0.0.rc2 (December 14, 2021) ##
|
7
33
|
|
34
|
+
* No changes.
|
35
|
+
|
36
|
+
## Rails 7.0.0.rc1 (December 06, 2021) ##
|
37
|
+
|
8
38
|
* Remove support to Marshal load Rails 5.x `ActiveModel::AttributeSet` format.
|
9
39
|
|
10
40
|
*Rafael Mendonça França*
|
data/MIT-LICENSE
CHANGED
@@ -319,7 +319,7 @@ module ActiveModel
|
|
319
319
|
if respond_to?(generate_method, true)
|
320
320
|
send(generate_method, attr_name.to_s, owner: owner)
|
321
321
|
else
|
322
|
-
define_proxy_call(owner, method_name, matcher.target, matcher.parameters, attr_name.to_s, namespace: :
|
322
|
+
define_proxy_call(owner, method_name, matcher.target, matcher.parameters, attr_name.to_s, namespace: :active_model_proxy)
|
323
323
|
end
|
324
324
|
end
|
325
325
|
end
|
data/lib/active_model.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
#--
|
4
|
-
# Copyright (c) 2004-
|
4
|
+
# Copyright (c) 2004-2022 David Heinemeier Hansson
|
5
5
|
#
|
6
6
|
# Permission is hereby granted, free of charge, to any person obtaining
|
7
7
|
# a copy of this software and associated documentation files (the
|
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: 7.0.
|
4
|
+
version: 7.0.2.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:
|
11
|
+
date: 2022-02-11 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: 7.0.
|
19
|
+
version: 7.0.2.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: 7.0.
|
26
|
+
version: 7.0.2.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.
|
@@ -107,10 +107,10 @@ licenses:
|
|
107
107
|
- MIT
|
108
108
|
metadata:
|
109
109
|
bug_tracker_uri: https://github.com/rails/rails/issues
|
110
|
-
changelog_uri: https://github.com/rails/rails/blob/v7.0.
|
111
|
-
documentation_uri: https://api.rubyonrails.org/v7.0.
|
110
|
+
changelog_uri: https://github.com/rails/rails/blob/v7.0.2.1/activemodel/CHANGELOG.md
|
111
|
+
documentation_uri: https://api.rubyonrails.org/v7.0.2.1/
|
112
112
|
mailing_list_uri: https://discuss.rubyonrails.org/c/rubyonrails-talk
|
113
|
-
source_code_uri: https://github.com/rails/rails/tree/v7.0.
|
113
|
+
source_code_uri: https://github.com/rails/rails/tree/v7.0.2.1/activemodel
|
114
114
|
rubygems_mfa_required: 'true'
|
115
115
|
post_install_message:
|
116
116
|
rdoc_options: []
|
@@ -123,11 +123,11 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
123
123
|
version: 2.7.0
|
124
124
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
125
125
|
requirements:
|
126
|
-
- - "
|
126
|
+
- - ">="
|
127
127
|
- !ruby/object:Gem::Version
|
128
|
-
version:
|
128
|
+
version: '0'
|
129
129
|
requirements: []
|
130
|
-
rubygems_version: 3.2.
|
130
|
+
rubygems_version: 3.2.22
|
131
131
|
signing_key:
|
132
132
|
specification_version: 4
|
133
133
|
summary: A toolkit for building modeling frameworks (part of Rails).
|