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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a027f4ee4322f2cf88f285940118622d0e388152bcc5dd05e496d58ac8accc5e
4
- data.tar.gz: 69473545481c7a68bb9f38055af0b911b94a5d307215c64a561d2b80913a31bb
3
+ metadata.gz: d3502b38f4aa2cc6d54549502a78825dc2cb6001e5e6ffff7f77700829425d04
4
+ data.tar.gz: 708c7becb68d60bfd469599780abeeccfa73fa7e15585dc005a8e9f92f91b90b
5
5
  SHA512:
6
- metadata.gz: 884dc5138ad6decd88bf97d70f12d58d5f0bdd0fc32cbebbfc49ec3240e485bd12f454e8ddd42e9eb9323389f6b77bd0fa17db0e185990d8b3bf0d63c1500dec
7
- data.tar.gz: dd6b3e43126f70b9a2cde51b36fbb923d2690b30492bdd511f6ede8ad58c7437231c822bcbaa96562113a7f11b28a2231c9b01ccec64ad31361124e1b75eb317
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
- serialize :details, Hash
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) }
@@ -1,3 +1,3 @@
1
1
  module EffectiveTrash
2
- VERSION = '0.4.3'.freeze
2
+ VERSION = '0.4.4'.freeze
3
3
  end
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.3
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-08-24 00:00:00.000000000 Z
11
+ date: 2023-11-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails