activerecord-virtual_attributes 7.2.0.0 → 7.2.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 260aa27f658147ebc871065001208154de2b21712d80d1591b40142ed155d872
|
4
|
+
data.tar.gz: 5901450c1fa44dd6a6aa2388c614dc3363e17b24909ca1e0932dfae09c46d7b1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 38acaea3a84533a5d13759e543e41d06874397af9c086180653b3cdb2db2c93c116a36b46995c03379703c26736f7a4d9810656b8261c28e0057571950fbcf96
|
7
|
+
data.tar.gz: 6ba72a6d0c341ee9737b24ebd16d9c28cc547e6649406366390fd8365ac9adaccf98e990ad5628897709b6bfa4d7a261f0a65e31ec1d0b34b93b51b7b8b6e7ff
|
data/CHANGELOG.md
CHANGED
@@ -4,6 +4,10 @@ The versioning of this gem follows ActiveRecord versioning, and does not follow
|
|
4
4
|
|
5
5
|
## [Unreleased]
|
6
6
|
|
7
|
+
## [7.2.0.1] - 2025-07-18
|
8
|
+
|
9
|
+
* Fix includes and associations with empty uses [#195](https://github.com/ManageIQ/activerecord-virtual_attributes/pull/195)
|
10
|
+
|
7
11
|
## [7.2.0.0] - 2025-06-25
|
8
12
|
|
9
13
|
* virtual_delegate requires type [#185](https://github.com/ManageIQ/activerecord-virtual_attributes/pull/185)
|
@@ -125,7 +129,8 @@ The versioning of this gem follows ActiveRecord versioning, and does not follow
|
|
125
129
|
* Initial Release
|
126
130
|
* Extracted from ManageIQ/manageiq
|
127
131
|
|
128
|
-
[Unreleased]: https://github.com/ManageIQ/activerecord-virtual_attributes/compare/v7.2.0.
|
132
|
+
[Unreleased]: https://github.com/ManageIQ/activerecord-virtual_attributes/compare/v7.2.0.1...HEAD
|
133
|
+
[7.2.0.1]: https://github.com/ManageIQ/activerecord-virtual_attributes/compare/v7.2.0.0...v7.2.0.1
|
129
134
|
[7.2.0.0]: https://github.com/ManageIQ/activerecord-virtual_attributes/compare/v7.1.2...v7.2.0.0
|
130
135
|
[7.1.2]: https://github.com/ManageIQ/activerecord-virtual_attributes/compare/v7.1.1...v7.1.2
|
131
136
|
[7.1.1]: https://github.com/ManageIQ/activerecord-virtual_attributes/compare/v7.1.0...v7.1.1
|
@@ -183,6 +183,7 @@ module ActiveRecord
|
|
183
183
|
source_records.each do |record|
|
184
184
|
# begin virtual_attributes changes
|
185
185
|
association = record.class.replace_virtual_fields(self.association)
|
186
|
+
next if association.nil?
|
186
187
|
# end virtual_attributes changes
|
187
188
|
|
188
189
|
reflection = record.class._reflect_on_association(association)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: activerecord-virtual_attributes
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 7.2.0.
|
4
|
+
version: 7.2.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Keenan Brock
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-
|
11
|
+
date: 2025-07-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|