evt-entity_cache 2.0.1.2 → 2.0.1.3
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7759181c081a330787ff8a1814fc4c0b4ad3bfb3b38e8999645b9a8ffefda048
|
4
|
+
data.tar.gz: 1d78748e6a63819b47ed9e664531dde507aa625c60fe2011c5ce5bcf6f655e42
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a383073e76be1168f8c79dc77f96d51aee274f7c4f6f9b105fccd8425edf33a2bdc3bf47b2070ae8d2bc5800361e9a0ba0d2974c0d3db5f735242246faf5df7c
|
7
|
+
data.tar.gz: 759685cd2c54a78cd0c9fe3a8083f92cef28f7b9b6bc551b677987fdf289dc71c30f20f07033b17a10130a2d6312df9b064294d7ba0849bff910b9ca6a007230
|
@@ -42,6 +42,8 @@ class EntityCache
|
|
42
42
|
|
43
43
|
text = JSON.generate(data)
|
44
44
|
|
45
|
+
FileUtils.mkdir_p(External.file_dump_directory)
|
46
|
+
|
45
47
|
File.write(path, text)
|
46
48
|
end
|
47
49
|
|
@@ -55,13 +57,13 @@ class EntityCache
|
|
55
57
|
|
56
58
|
filename = "#{subject.to_s.gsub('/', '-')}-#{id}.yaml"
|
57
59
|
|
58
|
-
full_name = File.join(
|
60
|
+
full_name = File.join(file_dump_directory, filename)
|
59
61
|
|
60
62
|
full_name
|
61
63
|
end
|
62
64
|
|
63
|
-
def self.
|
64
|
-
|
65
|
+
def self.file_dump_directory
|
66
|
+
"tmp"
|
65
67
|
end
|
66
68
|
end
|
67
69
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: evt-entity_cache
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.1.
|
4
|
+
version: 2.0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- The Eventide Project
|
@@ -141,7 +141,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
141
141
|
- !ruby/object:Gem::Version
|
142
142
|
version: '0'
|
143
143
|
requirements: []
|
144
|
-
rubygems_version: 3.3.
|
144
|
+
rubygems_version: 3.3.3
|
145
145
|
signing_key:
|
146
146
|
specification_version: 4
|
147
147
|
summary: Cache of entities retrieved by an entity-store, with in-memory temporary
|