evt-entity_cache 0.18.1.0 → 0.18.1.1
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: 94f206a027d9d22acc32dce2a87efe4907e706b0f40fd6de99453be22b9b1102
|
4
|
+
data.tar.gz: 240bf7f82bb643fb7e9d52c3b522c804a29c3ec14164145de71f5a9924922221
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3ace79fda00fc330ae54d60c540235826b54e024038340b015ea7bae1266587ae4b7b0e7d04ded4209da74431c01659bc789c1fd3bef030b57a0900753181c9f
|
7
|
+
data.tar.gz: a6772b958929660f4ee481082177dcf812d277cbd3faf302880314fb8c98d0afdcb5fa4d4920aafefcf04524be2bf03bf1572a9d5dd6c33d2ce41273d4b2f72d
|
@@ -35,6 +35,16 @@ class EntityCache
|
|
35
35
|
External.path(subject, id)
|
36
36
|
end
|
37
37
|
end
|
38
|
+
|
39
|
+
def self.path(subject, id=nil)
|
40
|
+
id ||= ID.example
|
41
|
+
|
42
|
+
File.join(tmpdir, "#{subject}-#{id}.yaml")
|
43
|
+
end
|
44
|
+
|
45
|
+
def self.tmpdir
|
46
|
+
@tmpdir ||= Dir.tmpdir
|
47
|
+
end
|
38
48
|
end
|
39
49
|
end
|
40
50
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: evt-entity_cache
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.18.1.
|
4
|
+
version: 0.18.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- The Eventide Project
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-10-
|
11
|
+
date: 2018-10-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: evt-configure
|