effective_trash 0.4.3 → 0.4.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/models/effective/trash.rb +5 -1
- data/lib/effective_trash/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: d3502b38f4aa2cc6d54549502a78825dc2cb6001e5e6ffff7f77700829425d04
|
4
|
+
data.tar.gz: 708c7becb68d60bfd469599780abeeccfa73fa7e15585dc005a8e9f92f91b90b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 59ffc3c60dcca824cad433d876a87ccb9fcbcd33b2c93d2b260b7003d9ea5a97d6876f99317a52966e2c62b200ff750c04ac32368a4ea5edc984e972a4cbfc3c
|
7
|
+
data.tar.gz: 427977e12249a3f2fb6a9b8f0d586a38d93ada9cb178054f99ebc90b4336c5c6cd273e73c61dc859692834168d5dbb6847c131d2775d6234827b0786956be229
|
@@ -14,7 +14,11 @@ module Effective
|
|
14
14
|
# details :text
|
15
15
|
# timestamps
|
16
16
|
|
17
|
-
|
17
|
+
if EffectiveResources.serialize_with_coder?
|
18
|
+
serialize :details, type: Hash, coder: YAML
|
19
|
+
else
|
20
|
+
serialize :details, Hash
|
21
|
+
end
|
18
22
|
|
19
23
|
scope :deep, -> { includes(:user, :trashed) }
|
20
24
|
scope :sorted, -> { order(:id) }
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: effective_trash
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Code and Effect
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-11-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|