active_cash 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/lib/active_cash/cache.rb +1 -1
- data/lib/active_cash/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cc6af6d130d8e95109a2dcac2a802ca449a98069
|
4
|
+
data.tar.gz: 919b1fe2a5717f11e349d83d9b8b3aea3e8f336e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f64ac4e8e01b964f8e5871a11485249fe093aabecf8b39429325a8de3e911b9cf7cde8b9c5096f950c368396118a47a28f204e9e45005a75bbc3150323fc3a09
|
7
|
+
data.tar.gz: e19af22875e7eac0795a325354765260044cf1e56efabcc35cdd8737313fe2329127b3b7362669cb0bf01b09722cac8acaded6b16629331e9573f9ae4649008f
|
data/.gitignore
CHANGED
data/lib/active_cash/cache.rb
CHANGED
@@ -39,7 +39,7 @@ module ActiveCash::Cache
|
|
39
39
|
changes = OpenStruct.new(instance.previous_changes)
|
40
40
|
return true if changes.send(returns) != nil
|
41
41
|
|
42
|
-
find_by.keys.each_with_index do |key, i|
|
42
|
+
(find_by.is_a?(Array) ? find_by : find_by.keys).each_with_index do |key, i|
|
43
43
|
if changes.send(key) != nil
|
44
44
|
return true
|
45
45
|
end
|
data/lib/active_cash/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: active_cash
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Filippos Vasilakis
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-02-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: redis-objects
|