kithe 2.6.0 → 2.6.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/app/models/kithe/model.rb +2 -3
- data/lib/kithe/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b4f768036d2b89fb4fedb4220b007e87f23967f9b81177cf4818fbd967f0b0d2
|
|
4
|
+
data.tar.gz: 358cf6e4531c022160b4877e8ea7931a10930e71e2714f095bc0e52499fc6eee
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 44139f3684a3609b16f972dffc58656bc2b110c6f6b5aefd635fc303089b30824a1351918ff704bcd48850bfb6cc95978bf2732ecda4166e8d9715ce9ab5ffee
|
|
7
|
+
data.tar.gz: 6be86d9e1b234832bced241f1b4bf7a9badcc446fd3d1c00b617395864e833ddc2894e702b6ce2b41789d87fc310e1725818bc8b44d786666a5f3fe549fea6f5
|
data/app/models/kithe/model.rb
CHANGED
|
@@ -32,9 +32,8 @@ class Kithe::Model < ActiveRecord::Base
|
|
|
32
32
|
# this should only apply to Works, but we define it here so we can preload it
|
|
33
33
|
# when fetching all Kithe::Model. And it's to Kithe::Model so it can include
|
|
34
34
|
# both Works and Assets. We do some app-level validation to try and make it used
|
|
35
|
-
# as intended.
|
|
36
|
-
has_many :members,
|
|
37
|
-
class_name: "Kithe::Model", foreign_key: :parent_id,
|
|
35
|
+
# as intended.
|
|
36
|
+
has_many :members, class_name: "Kithe::Model", foreign_key: :parent_id,
|
|
38
37
|
inverse_of: :parent, dependent: :destroy
|
|
39
38
|
|
|
40
39
|
belongs_to :parent, class_name: "Kithe::Model", inverse_of: :members, optional: true
|
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.6.
|
|
4
|
+
version: 2.6.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-08-
|
|
11
|
+
date: 2022-08-23 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|
|
@@ -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.20
|
|
430
430
|
signing_key:
|
|
431
431
|
specification_version: 4
|
|
432
432
|
summary: Shareable tools/components for building a digital collections app in Rails.
|