kithe 2.7.0 → 2.8.0
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/README.md +1 -1
- data/app/models/kithe/model.rb +1 -1
- data/lib/kithe/engine.rb +2 -2
- data/lib/kithe/version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6e68f78d1fcc8bb604b8eaea692460fdb350cae5595c54bbabdb04c3be30f596
|
|
4
|
+
data.tar.gz: 357311e4c2b93fc4b28c06635a9dfd7d03236a5362d423f84bff7bbbfba4b540
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: be441cd7b3ba48aeea850968fd95aec73ceaeab9e7c38f974a966f2155d2c3d69618b08d438d711a6d11b9bc6dad4cf9c722a432515616c82f4c9127eb7871eb
|
|
7
|
+
data.tar.gz: 7b37f72ec3ef8677b55de7280deba1a02384cd0a0dc8263cc15a49dcdd6766694f41f5e791d412acf91f52a7a3e0f3a7037ae777794d7e68cb5817450f5305f6
|
data/README.md
CHANGED
|
@@ -40,7 +40,7 @@ So you want to start an app that uses kithe. We should later provide better 'get
|
|
|
40
40
|
|
|
41
41
|
* Again re-iterate that kithe requires your Rails app use postgres, 9.5+.
|
|
42
42
|
|
|
43
|
-
* kithe works with Rails 5.2 through
|
|
43
|
+
* kithe works with Rails 5.2 through 7.0.
|
|
44
44
|
|
|
45
45
|
* To install migrations from kithe to setup your database for it's models: `rake kithe_engine:install:migrations`
|
|
46
46
|
|
data/app/models/kithe/model.rb
CHANGED
|
@@ -7,7 +7,7 @@ class Kithe::Model < ActiveRecord::Base
|
|
|
7
7
|
|
|
8
8
|
include AttrJson::Record
|
|
9
9
|
include AttrJson::NestedAttributes
|
|
10
|
-
include AttrJson::Record::Dirty
|
|
10
|
+
include AttrJson::Record::Dirty if defined?(AttrJson::Record::Dirty)
|
|
11
11
|
include Kithe::Indexable
|
|
12
12
|
|
|
13
13
|
# While Rails STI means the actual specific class is in `type`, sometimes
|
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.
|
|
4
|
+
version: 2.8.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Jonathan Rochkind
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2023-01-30 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|
|
@@ -36,14 +36,14 @@ dependencies:
|
|
|
36
36
|
requirements:
|
|
37
37
|
- - "<"
|
|
38
38
|
- !ruby/object:Gem::Version
|
|
39
|
-
version:
|
|
39
|
+
version: 3.0.0
|
|
40
40
|
type: :runtime
|
|
41
41
|
prerelease: false
|
|
42
42
|
version_requirements: !ruby/object:Gem::Requirement
|
|
43
43
|
requirements:
|
|
44
44
|
- - "<"
|
|
45
45
|
- !ruby/object:Gem::Version
|
|
46
|
-
version:
|
|
46
|
+
version: 3.0.0
|
|
47
47
|
- !ruby/object:Gem::Dependency
|
|
48
48
|
name: simple_form
|
|
49
49
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -426,7 +426,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
426
426
|
- !ruby/object:Gem::Version
|
|
427
427
|
version: '0'
|
|
428
428
|
requirements: []
|
|
429
|
-
rubygems_version: 3.
|
|
429
|
+
rubygems_version: 3.4.5
|
|
430
430
|
signing_key:
|
|
431
431
|
specification_version: 4
|
|
432
432
|
summary: Shareable tools/components for building a digital collections app in Rails.
|