support_table_data 1.2.0 → 1.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/VERSION +1 -1
- data/lib/support_table_data.rb +3 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e099c5458f1584fb32b3e3076fc98936270271373d0f9c16085647bd151a51e1
|
4
|
+
data.tar.gz: b23a06b6ec93349d9de896b6cf43448a2b71347e9344b05afb0bf9de3adee615
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fcdb93b92ed17bda1537f3fa40fed8da49a04db5f752e9b21d48514599daddedcbe682789a8ab4a33e47b9bb2df405df8825041631c9b7ca0d6a48fc6bba7487
|
7
|
+
data.tar.gz: 22ccf807040781616ddaa70f7e8906162bf1120b9335980da213c82c2414e03d1c6d0a69b2bd13890b53ada1f7d9befc756b869fa4c23e76a3590c2b655d6aa2
|
data/CHANGELOG.md
CHANGED
@@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.
|
|
4
4
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
5
5
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
6
6
|
|
7
|
+
## 1.2.1
|
8
|
+
|
9
|
+
### Changed
|
10
|
+
|
11
|
+
- Ignore invalid associations when inspecting reflections on `sync_all!` to establish the load order. These kinds of errors have nothing to do with the support table definition and create confusion when the are raised while syncing data.
|
12
|
+
|
7
13
|
## 1.2.0
|
8
14
|
|
9
15
|
### Added
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.2.
|
1
|
+
1.2.1
|
data/lib/support_table_data.rb
CHANGED
@@ -406,6 +406,9 @@ module SupportTableData
|
|
406
406
|
next unless reflection.belongs_to? || reflection.through_reflection?
|
407
407
|
|
408
408
|
dependencies << reflection.klass
|
409
|
+
rescue => e
|
410
|
+
message = "Error inspecting reflection #{reflection.name} on #{klass.name}: #{e.inspect}"
|
411
|
+
klass.logger&.warn(message)
|
409
412
|
end
|
410
413
|
|
411
414
|
dependencies
|