kithe 2.7.1 → 2.9.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/blacklight_tools/search_service_bulk_load.rb +8 -1
- 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: 981fc65d0f244c001b3fe4e769ad3ba8cbba9b94c5a41ababeab9bd1ee8c547e
|
|
4
|
+
data.tar.gz: 9afd39007cc0e3e707b6b23454e116104cf313b2875ad86835c7bd8702e5e1e0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 545afe321bfb8261b6b9c8f50414ff32df6128644d0d7b96c7096699fdcde8aa092578f6e229513c4444d33bbcc5300c1f83432d7e3ce130415ee53e3f3ff29a
|
|
7
|
+
data.tar.gz: 89dda8bb1a56bd11a9817ad74c1c8bf0cb1098079ea8cac5cdeeeac1856760566cf9d66f7060deeb5638a91e00799d0bcef36dd9e71b50b6a56bcbb840db6c06
|
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
|
|
@@ -47,7 +47,14 @@ module Kithe
|
|
|
47
47
|
end
|
|
48
48
|
end
|
|
49
49
|
|
|
50
|
-
|
|
50
|
+
if _documents.nil?
|
|
51
|
+
# NIL, not even empty array -- we are in Blacklight 8+ where this method is supposed
|
|
52
|
+
# to return just ONE object, response
|
|
53
|
+
response
|
|
54
|
+
else
|
|
55
|
+
# Blacklight 7, where this method needs to return two objects
|
|
56
|
+
[response, _documents]
|
|
57
|
+
end
|
|
51
58
|
end
|
|
52
59
|
end
|
|
53
60
|
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.9.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-06-27 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.3.26
|
|
430
430
|
signing_key:
|
|
431
431
|
specification_version: 4
|
|
432
432
|
summary: Shareable tools/components for building a digital collections app in Rails.
|