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 +4 -4
- data/CHANGELOG.md +6 -0
- data/VERSION +1 -1
- data/lib/support_table_data.rb +1 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 25c555ca2a0e07c825f2b13c70224cf4e4ae27e489bad54e4e9f5983fa26df8a
|
4
|
+
data.tar.gz: b033e09b4eac22c923dc489d8d9762ffad9fdfec65f8fe25f20d13bd76339a48
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
1
|
+
1.2.4
|
data/lib/support_table_data.rb
CHANGED
@@ -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.
|
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-
|
11
|
+
date: 2024-08-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|