kithe 2.7.0 → 2.7.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 +4 -4
- data/lib/kithe/engine.rb +2 -2
- data/lib/kithe/version.rb +1 -1
- 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: 3458905d56f4bcfc065e070be88609a69fb60d0367ef3c4ddbcd1cd6823019ea
|
|
4
|
+
data.tar.gz: 20fcfa357363b7d94ab8debd0621723275defbdbafcea2dbeae3001ce5a37f17
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e212b3f5d085a84ff6fff0299fefc931951f2ed5a27a1f4ea2923d856164b9645cb396549914f94c9eba7bf1731e5467b67b81a42589e347d376091db381cd93
|
|
7
|
+
data.tar.gz: a4aedda158f61fd9ade8bc1b2c0856572ab643ce0d3c9ba267a844c98bb20bb93b6b7b7511ebbc01a029240b75c45d8e0725bb13dd769e5b3ffc5002f585b2aa
|
data/lib/kithe/engine.rb
CHANGED
|
@@ -25,9 +25,9 @@ module Kithe
|
|
|
25
25
|
# Descendants wont' be pre-loaded during initialization, but this is the best
|
|
26
26
|
# we can do.
|
|
27
27
|
initializer ("kithe.preload_single_table_inheritance") do
|
|
28
|
-
unless
|
|
28
|
+
unless Rails.configuration.cache_classes && Rails.configuration.eager_load
|
|
29
29
|
Rails.configuration.to_prepare do
|
|
30
|
-
Kithe::Model.preload_sti
|
|
30
|
+
Kithe::Model.preload_sti if Kithe::Model.respond_to?(:preloaded) && !Kithe::Model.preloaded
|
|
31
31
|
rescue ActiveRecord::NoDatabaseError, ActiveRecord::StatementInvalid => e
|
|
32
32
|
Rails.logger.debug("Could not pre-load Kithe::Models Single-Table Inheritance descendents: #{e.inspect}")
|
|
33
33
|
end
|
data/lib/kithe/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: kithe
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.7.
|
|
4
|
+
version: 2.7.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Jonathan Rochkind
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2022-12-
|
|
11
|
+
date: 2022-12-06 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|