evt-entity_store 0.5.2.1 → 0.5.3.0

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: 25338950a3cdbcfe0578681548bd139068f5dd2616f0b42d1f599a3bd9500b72
4
- data.tar.gz: 4475d91f9fcaf81858f53fe9fc3dff1f1a42687e25ca20d4f8a255fdc44f1abc
3
+ metadata.gz: 7b11d879851f50150dca75c96c1b2af8b02586a44e23715c59f058c9bc8d84fb
4
+ data.tar.gz: 7685ac23f48c2f2313ae188c8c10af6f143cb2fc07e388144c59eaee215e1370
5
5
  SHA512:
6
- metadata.gz: f6ff5730971255d4aca3bdc71bea50cf585e69a4dd504c4c8e243d3cff286cf91308752becf559bdfa8e23579a2476c39df83ef592c5555a2bcc9abf53cef96f
7
- data.tar.gz: 57357ebbf0713e1c5fa5731d43314806e311087eeb130bc9fbfde263c11dd935281e67807da11fd3935b1412ddb9e2f09cb56e4d1f64997e349e4f9aedde79f9
6
+ metadata.gz: 295fb1a1597ee2ce8058a745d7afbb3821129c406cde72dd2b90bc365d14ed15141848dae455d6a7f48b8b04f21c6cc583f1b13c427a9d21ae36794966eed77f
7
+ data.tar.gz: b9615f3af277ce61d552adc74dd2d516e33f5a104ba24afde38d4c3fa53c80543c955948b5865653ed5507cf4007c9192086a7a641735b3edceabe4e63b0a738
@@ -11,4 +11,5 @@ require 'entity_store/controls/projection'
11
11
  require 'entity_store/controls/snapshot_interval'
12
12
  require 'entity_store/controls/snapshot'
13
13
  require 'entity_store/controls/reader'
14
+ require 'entity_store/controls/record'
14
15
  require 'entity_store/controls/entity_store'
@@ -0,0 +1,5 @@
1
+ module EntityStore
2
+ module Controls
3
+ Record = EntityCache::Controls::Record
4
+ end
5
+ end
@@ -180,10 +180,15 @@ module EntityStore
180
180
  entity
181
181
  end
182
182
 
183
+ ## TODO use message store stream name module
183
184
  def stream_name(id)
184
185
  "#{category}-#{id}"
185
186
  end
186
187
 
188
+ def delete_cache_record(id)
189
+ cache.internal_store.delete(id)
190
+ end
191
+
187
192
  module EntityMacro
188
193
  def entity_macro(cls)
189
194
  define_singleton_method :entity_class do
data/lib/loader.rb ADDED
@@ -0,0 +1 @@
1
+ lib/entity_store.rb
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: evt-entity_store
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.2.1
4
+ version: 0.5.3.0
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-12 00:00:00.000000000 Z
11
+ date: 2018-10-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: evt-entity_projection
@@ -67,6 +67,7 @@ files:
67
67
  - lib/entity_store/controls/message.rb
68
68
  - lib/entity_store/controls/projection.rb
69
69
  - lib/entity_store/controls/reader.rb
70
+ - lib/entity_store/controls/record.rb
70
71
  - lib/entity_store/controls/snapshot.rb
71
72
  - lib/entity_store/controls/snapshot_interval.rb
72
73
  - lib/entity_store/controls/stream_name.rb
@@ -74,6 +75,7 @@ files:
74
75
  - lib/entity_store/entity_store.rb
75
76
  - lib/entity_store/log.rb
76
77
  - lib/entity_store/substitute.rb
78
+ - lib/loader.rb
77
79
  homepage: https://github.com/eventide-project/entity-store
78
80
  licenses:
79
81
  - MIT
@@ -94,7 +96,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
94
96
  version: '0'
95
97
  requirements: []
96
98
  rubyforge_project:
97
- rubygems_version: 2.7.6
99
+ rubygems_version: 2.7.3
98
100
  signing_key:
99
101
  specification_version: 4
100
102
  summary: Store of entities that are projected from streams