kithe 2.14.0 → 2.15.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 +7 -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: db54257ac9bfcbf8907af9fd6a859a528b8772b62316c4d124314c2ab4a5828d
|
|
4
|
+
data.tar.gz: 655706b8554e5a001eec8e2b79b591c3ccf0f4e71b7c48a3d7701aa9861a9148
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3f890a25210f673751a2d89f127a0b3b6d4bf1ca5d9aab184c4cdf4c51787eae157ccf6ab7a32bc92321b39c27a8c6666f6362e51a3f5440431619e518958ef6
|
|
7
|
+
data.tar.gz: 4198d3dd5eed7f59e4c7a202c06ba365d90e9c3daefa73b55ca6347c7746406fd77dd69c2dd9b55cd173af04be77861deeff4798405803d7297d62af9fce2126
|
data/app/models/kithe/model.rb
CHANGED
|
@@ -23,7 +23,13 @@ class Kithe::Model < ActiveRecord::Base
|
|
|
23
23
|
#
|
|
24
24
|
# Since the rails enum uses an int field, this doens't take up too much extra
|
|
25
25
|
# space in pg or anything, and is convenient.
|
|
26
|
-
|
|
26
|
+
#
|
|
27
|
+
# Start using new non-deprecated args in Rails 7.0
|
|
28
|
+
if Rails.gem_version < Gem::Version.new("7.0")
|
|
29
|
+
enum kithe_model_type: { collection: 0, work: 1, asset: 2}
|
|
30
|
+
else
|
|
31
|
+
enum :kithe_model_type, { collection: 0, work: 1, asset: 2}
|
|
32
|
+
end
|
|
27
33
|
|
|
28
34
|
attr_json_config(default_accepts_nested_attributes: { reject_if: :all_blank })
|
|
29
35
|
|
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.15.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: 2024-
|
|
11
|
+
date: 2024-08-19 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|
|
@@ -19,7 +19,7 @@ dependencies:
|
|
|
19
19
|
version: '6.0'
|
|
20
20
|
- - "<"
|
|
21
21
|
- !ruby/object:Gem::Version
|
|
22
|
-
version: '
|
|
22
|
+
version: '8.0'
|
|
23
23
|
type: :runtime
|
|
24
24
|
prerelease: false
|
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -29,7 +29,7 @@ dependencies:
|
|
|
29
29
|
version: '6.0'
|
|
30
30
|
- - "<"
|
|
31
31
|
- !ruby/object:Gem::Version
|
|
32
|
-
version: '
|
|
32
|
+
version: '8.0'
|
|
33
33
|
- !ruby/object:Gem::Dependency
|
|
34
34
|
name: attr_json
|
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -442,7 +442,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
442
442
|
- !ruby/object:Gem::Version
|
|
443
443
|
version: '0'
|
|
444
444
|
requirements: []
|
|
445
|
-
rubygems_version: 3.5.
|
|
445
|
+
rubygems_version: 3.5.9
|
|
446
446
|
signing_key:
|
|
447
447
|
specification_version: 4
|
|
448
448
|
summary: Shareable tools/components for building a digital collections app in Rails.
|