support_table_data 1.2.3 → 1.2.4

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: 0c7ebdaec82fe24f35650ee6906331233abaf106ec8627e92c003ad4c08692a1
4
- data.tar.gz: 95ec232e9ecb03ae9300b0f799c0424beaa7d7c564591ddc54e9dec0b45479b4
3
+ metadata.gz: 25c555ca2a0e07c825f2b13c70224cf4e4ae27e489bad54e4e9f5983fa26df8a
4
+ data.tar.gz: b033e09b4eac22c923dc489d8d9762ffad9fdfec65f8fe25f20d13bd76339a48
5
5
  SHA512:
6
- metadata.gz: 6688998b029d42da0e82d5046386c033e8472ba49f869d3a573ca339c169bae3b5801c23d9018a9e4472427035e2a61883207919935f822c2115f98d4efd45b1
7
- data.tar.gz: '02398f8ed62df1a2c035aeab8b00ed453a1185c9e03717eb98af60aee429bc7d523343b1f5ea346bfa072a85ac6b5e29839137713e6f096def8d01f093547d76'
6
+ metadata.gz: ad12a5e0be457211552148035f0102b484ac27d17868f7a41d471b95b65b2e933e95e6179068f9fd6f4e09987e005bcf22bdef9748dbb8e04e566cc30053f542
7
+ data.tar.gz: a891b014ff3d7b92d26375223e61cf0f8419f05bbb0f55b2a16d8602b634c36f9f8d3449e301bc1fd23a03defadb24150c64902ea0f5530914db8d62780279a5
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.4
8
+
9
+ ### Fixed
10
+
11
+ - Fixed issue with `sync_all!` finding obsolete classes that are no longer defined as support tables in development or test environments.
12
+
7
13
  ## 1.2.3
8
14
 
9
15
  ### Fixed
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.2.3
1
+ 1.2.4
@@ -380,6 +380,7 @@ module SupportTableData
380
380
  active_record_classes = ActiveRecord::Base.descendants.reject { |klass| klass.name.nil? }
381
381
  active_record_classes.sort_by(&:name).each do |klass|
382
382
  next unless klass.include?(SupportTableData)
383
+ next unless klass.instance_variable_defined?(:@support_table_data_files) && klass.instance_variable_get(:@support_table_data_files).is_a?(Array)
383
384
  next if klass.abstract_class?
384
385
  next if classes.include?(klass)
385
386
  classes << klass
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: support_table_data
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.3
4
+ version: 1.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Durand
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-08-23 00:00:00.000000000 Z
11
+ date: 2024-08-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord