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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: edd9a57acfcdadac9ce60c8520b4fa2d3cccda8bebc2bfe1eeea54981bcf5488
4
- data.tar.gz: 31f38443c7edd8af91d3f4de125dbb4a32b8b38612c84ce321633971063fd29b
3
+ metadata.gz: e099c5458f1584fb32b3e3076fc98936270271373d0f9c16085647bd151a51e1
4
+ data.tar.gz: b23a06b6ec93349d9de896b6cf43448a2b71347e9344b05afb0bf9de3adee615
5
5
  SHA512:
6
- metadata.gz: d425621345850d9bd2ec8f878eefcbeb667fb6981d2d74b3b2174e3943463bf95470727f3925f83ba966766fe6817ab8e11b5ba9ed30ff9a6c1bb0826229c261
7
- data.tar.gz: 152ccc8196e8eb7fd68e5e94cc6dcea5307e98d3e1ef23a1ed9e5e320d0d511beac19494c0242eb1a858ceebc9eba27b29e68023c69476ea5046273e6f9b1445
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.0
1
+ 1.2.1
@@ -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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: support_table_data
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Durand