evt-entity_cache 2.0.1.3 → 2.0.1.4

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: 7759181c081a330787ff8a1814fc4c0b4ad3bfb3b38e8999645b9a8ffefda048
4
- data.tar.gz: 1d78748e6a63819b47ed9e664531dde507aa625c60fe2011c5ce5bcf6f655e42
3
+ metadata.gz: 86856e094159cd5b2437c95d6e4b1bdf7da2ce86245e0a828b9891a40c211d17
4
+ data.tar.gz: 36e530378643381976bba5a5b36ea6b1fe98988c7c4dde6732a5d5fe10b91ed3
5
5
  SHA512:
6
- metadata.gz: a383073e76be1168f8c79dc77f96d51aee274f7c4f6f9b105fccd8425edf33a2bdc3bf47b2070ae8d2bc5800361e9a0ba0d2974c0d3db5f735242246faf5df7c
7
- data.tar.gz: 759685cd2c54a78cd0c9fe3a8083f92cef28f7b9b6bc551b677987fdf289dc71c30f20f07033b17a10130a2d6312df9b064294d7ba0849bff910b9ca6a007230
6
+ metadata.gz: 2a60df5b74810d7cd76e90bea871dbe86ef9312f82b563e1fb8fd21f337d8f40f52fecfd6e1fce4fcd05416106abd5338df359eb3676fd5994928d572a5a8d7b
7
+ data.tar.gz: fdf851830671126a4f743936b2e41f4c3076f9d539f98fa10ea47177cb4784cb985cc5770d0203bd3c643abba7f8579b823dc1b212b8a2379890e79d058a1a89
@@ -8,7 +8,7 @@ class EntityCache
8
8
  include ::Configure
9
9
  include Dependency
10
10
  include Initializer
11
- include Virtual
11
+ include TemplateMethod
12
12
  include Log::Dependency
13
13
 
14
14
  extend Build
@@ -20,9 +20,9 @@ class EntityCache
20
20
 
21
21
  initializer :subject
22
22
 
23
- virtual :configure
24
- abstract :get
25
- abstract :put
23
+ template_method :configure
24
+ template_method! :get
25
+ template_method! :put
26
26
 
27
27
  prepend Configure
28
28
  prepend Get
@@ -1,7 +1,7 @@
1
1
  class EntityCache
2
2
  module Store
3
3
  class Internal
4
- include Virtual
4
+ include TemplateMethod
5
5
  include Log::Dependency
6
6
 
7
7
  attr_accessor :subject
@@ -20,7 +20,7 @@ class EntityCache
20
20
  instance
21
21
  end
22
22
 
23
- abstract :records
23
+ template_method! :records
24
24
 
25
25
  def get(id)
26
26
  logger.trace { "Getting Entity (ID: #{id.inspect})" }
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: 2.0.1.3
4
+ version: 2.0.1.4
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: 2022-09-13 00:00:00.000000000 Z
11
+ date: 2024-04-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: evt-configure
@@ -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.3
144
+ rubygems_version: 3.4.10
145
145
  signing_key:
146
146
  specification_version: 4
147
147
  summary: Cache of entities retrieved by an entity-store, with in-memory temporary