euston-eventstore 1.2.4-java → 1.2.5-java
Sign up to get free protection for your applications and to get access to all the features.
data/euston-eventstore.gemspec
CHANGED
@@ -10,8 +10,8 @@ module Euston
|
|
10
10
|
|
11
11
|
def save aggregate
|
12
12
|
stream = aggregate.stream
|
13
|
-
aggregate.uncommitted_events.each { |e| stream << EventStore::
|
14
|
-
aggregate.uncommitted_commands.each { |c| stream << EventStore::
|
13
|
+
aggregate.uncommitted_events.each { |e| stream << EventStore::EventMessage.new(e.to_hash.stringify__keys) }
|
14
|
+
aggregate.uncommitted_commands.each { |c| stream << EventStore::CommandMessage.new(c.to_hash.stringify__keys) }
|
15
15
|
stream.uncommitted_headers[:aggregate_type] = aggregate.class.to_s
|
16
16
|
stream.commit_changes Euston.uuid.generate
|
17
17
|
end
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: euston-eventstore
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 1.2.
|
5
|
+
version: 1.2.5
|
6
6
|
platform: java
|
7
7
|
authors:
|
8
8
|
- Lee Henson
|
@@ -176,7 +176,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
176
176
|
none: false
|
177
177
|
requirements: []
|
178
178
|
rubyforge_project:
|
179
|
-
rubygems_version: 1.8.
|
179
|
+
rubygems_version: 1.8.15
|
180
180
|
signing_key:
|
181
181
|
specification_version: 3
|
182
182
|
summary: Event store for use with Euston.
|