dis 1.1.12 → 1.1.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/dis/model/data.rb +2 -0
- data/lib/dis/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: c2ca8b5aa3b6e9e27987f33e3dd32c9a912cf7fe37c9277b53f4797be13653a1
|
4
|
+
data.tar.gz: 81ce7ff7957b0afcb8bfd1be7adac9551c6fa1773470e4bb23ba0f5cf2033dbe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9dfd2f361cc55b6d7f2f8db29323d56b0cbdbf03a614c961a5ce9d8a7b6199036e678e887205df4a472536fcfe92198bb068d7d87b5d5e7c0f533b2eee20bda0
|
7
|
+
data.tar.gz: ce2a50bd934b3ca7163191e46195be42e95713864157ccc2737bfdd0db514ab2074ac3d995ebb64b24cf46ca60c53a73d59a4f853ef5a2c78728c5999ff93a93
|
data/lib/dis/model/data.rb
CHANGED
@@ -50,6 +50,8 @@ module Dis
|
|
50
50
|
# by existing records. This is triggered from callbacks on the record
|
51
51
|
# whenever they are changed or destroyed.
|
52
52
|
def expire(hash)
|
53
|
+
return if hash.blank?
|
54
|
+
|
53
55
|
unless @record.class.where(
|
54
56
|
@record.class.dis_attributes[:content_hash] => hash
|
55
57
|
).any?
|
data/lib/dis/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dis
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.13
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Inge Jørgensen
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-09-
|
11
|
+
date: 2023-09-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: fog-core
|