istox 0.1.138 → 0.1.139
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +3 -3
- data/lib/istox/helpers/remote_model_cache.rb +4 -4
- data/lib/istox/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 193d26a0c83a50c94bb9d3fa971daa24144ed006c57bfa22dd756f0381bb2cd1
|
4
|
+
data.tar.gz: 51c810efe532b07c6577c6d0941afdc20e7258b7309923b5ecbf5e16ebedb4b0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2d5e1f4e6bd2167d1be7203653c1792a509351d5692f12ecf5748d47d5eca9554dcc1a614655d4347c39da0b11db0caf2f3bcdbd1dee9763a5eca278a044ed47
|
7
|
+
data.tar.gz: bfc1a32a9cbaef3eee2d3477993cb1a925a9952ab200b554875e9e06666597652ff486e3b361067f78ddaa5f99b786d0d7957959540c2411cf180392ce7aed72
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
istox (0.1.
|
4
|
+
istox (0.1.138)
|
5
5
|
awesome_print
|
6
6
|
binding_of_caller
|
7
7
|
bunny (>= 2.12.0)
|
@@ -98,7 +98,7 @@ GEM
|
|
98
98
|
ffi (1.12.2)
|
99
99
|
globalid (0.4.2)
|
100
100
|
activesupport (>= 4.2.0)
|
101
|
-
google-protobuf (3.11.4)
|
101
|
+
google-protobuf (3.11.4-universal-darwin)
|
102
102
|
googleapis-common-protos-types (1.0.4)
|
103
103
|
google-protobuf (~> 3.0)
|
104
104
|
graphlient (0.3.7)
|
@@ -109,7 +109,7 @@ GEM
|
|
109
109
|
graphql-client (0.16.0)
|
110
110
|
activesupport (>= 3.0)
|
111
111
|
graphql (~> 1.8)
|
112
|
-
grpc (1.27.0)
|
112
|
+
grpc (1.27.0-universal-darwin)
|
113
113
|
google-protobuf (~> 3.11)
|
114
114
|
googleapis-common-protos-types (~> 1.0)
|
115
115
|
grpc-tools (1.27.0)
|
@@ -32,13 +32,13 @@ module Istox
|
|
32
32
|
|
33
33
|
raise 'Fields cannot be empty' if fields.empty?
|
34
34
|
|
35
|
-
log.debug "Removing data from cache, key: #{key}, fields: #{fields.inspect}"
|
36
|
-
|
37
35
|
fields = fields.map(&:to_s)
|
38
36
|
|
39
|
-
|
37
|
+
fields.each do |f|
|
38
|
+
next unless redis.hexists(key, f)
|
40
39
|
|
41
|
-
|
40
|
+
redis.hdel(key, [field])
|
41
|
+
end
|
42
42
|
end
|
43
43
|
|
44
44
|
def get(key:, field:)
|
data/lib/istox/version.rb
CHANGED