evt-entity_projection 1.0.0.0 → 1.0.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: bad16e95eb0302849dd051e89b25cb7a9ece4bbf324418ec5adfdec7ab5a24c4
|
4
|
+
data.tar.gz: 13ac15e2bb08e71f3d1530c7d6e41c185cae6e38116d100b640d3508c41dd9d9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 966559e6cf39ff937181fc2dd91da549b5a8eb68a8cdc5aaba5649e037dcb96345177c2e84ee8b685281f73e1cd57b2df19e57165cd60a16ff4e3f5a0fabe0ad
|
7
|
+
data.tar.gz: 1fce057cb04e4864e0a60eb7d6adc7d38312d585592b9811a777f10933346cb08c9bb4e8ad6b65862b6ae2f9305ccd5941b6332719e43c279585e7e73611395e
|
@@ -10,6 +10,7 @@ module EntityProjection
|
|
10
10
|
extend Info
|
11
11
|
extend ApplyMacro
|
12
12
|
extend EventRegistry
|
13
|
+
extend Register
|
13
14
|
extend EntityNameMacro
|
14
15
|
|
15
16
|
virtual :configure
|
@@ -107,6 +108,12 @@ module EntityProjection
|
|
107
108
|
end
|
108
109
|
end
|
109
110
|
|
111
|
+
module Register
|
112
|
+
def register(event_class)
|
113
|
+
event_registry.register(event_class)
|
114
|
+
end
|
115
|
+
end
|
116
|
+
|
110
117
|
module EntityNameMacro
|
111
118
|
def entity_name_macro(entity_name)
|
112
119
|
send(:define_method, entity_name) do
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: evt-entity_projection
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.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:
|
11
|
+
date: 2019-03-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: evt-messaging
|
@@ -85,8 +85,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
85
85
|
- !ruby/object:Gem::Version
|
86
86
|
version: '0'
|
87
87
|
requirements: []
|
88
|
-
|
89
|
-
rubygems_version: 2.7.6
|
88
|
+
rubygems_version: 3.0.1
|
90
89
|
signing_key:
|
91
90
|
specification_version: 4
|
92
91
|
summary: Projects event data into an entity
|