evt-entity_snapshot-postgres 0.3.0.1 → 0.3.1.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4bd37b41e9088ffe8392748646225cf365f0faabcc65f9ebcc171e8b234211f8
|
4
|
+
data.tar.gz: 2cd2daf83553c5d56fe1709d59c8bd736f381cc1fc000cb7133cdb789daa1f59
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 37ad7974acf3f4857fd133c05b501720c173d2003027d0c99789630a1584768046c8af30187b370f029506899667b31848aebaa77a63ab2b24c3a60d75871eea
|
7
|
+
data.tar.gz: b8e34fea890a25e3538fb7e61c8bbb647deeda031ef9a514136e6883844647edabb48a653be353091c622bef311d87ae70b8f34883209e55b519a8e9ed85114a
|
@@ -9,6 +9,20 @@ module EntitySnapshot
|
|
9
9
|
category ||= 'example'
|
10
10
|
::EntityStore::Controls::EntityStore.example(category: category, entity_class: entity_class, projection_class: projection_class, reader_class: reader_class, snapshot_class: snapshot_class, snapshot_interval: snapshot_interval)
|
11
11
|
end
|
12
|
+
|
13
|
+
module Assurance
|
14
|
+
def self.example(snapshot_class: nil, snapshot_interval: nil)
|
15
|
+
Example.new.tap do |instance|
|
16
|
+
instance.snapshot_class = snapshot_class
|
17
|
+
instance.snapshot_interval = snapshot_interval
|
18
|
+
end
|
19
|
+
end
|
20
|
+
|
21
|
+
Example = Struct.new(
|
22
|
+
:snapshot_class,
|
23
|
+
:snapshot_interval
|
24
|
+
)
|
25
|
+
end
|
12
26
|
end
|
13
27
|
end
|
14
28
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: evt-entity_snapshot-postgres
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.0
|
4
|
+
version: 0.3.1.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-
|
11
|
+
date: 2018-10-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: evt-entity_store
|