event-sourcing 0.4.1.pre → 0.4.2.pre
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/event_sourcing/active_record/event.rb +1 -1
- data/lib/event_sourcing/version.rb +1 -1
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c5d4d745b25230078b0b727189bc7ba87094c207ae1b07e7c31214498ec482c9
|
4
|
+
data.tar.gz: 5413cf66d1ec90e65118173c246243ac4835b4b1d07cf25332628acd658c93ce
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 407fe7c6bf09131308df7b0172f0cc3f706a7abedbf25c9bf792bf0699ccb002b204155f63babd04110452965916638b599f509b2261b6fc5a054c1b4f846260
|
7
|
+
data.tar.gz: 4468f58a2f2d3fc9dd8c3a1770bff4f0164e84878f3bf7a4083fbdeda3d982a9bc8916c2ee79917e00b8350f63f7827092b7ea7539a206eed22b6d02f50ecf69
|
@@ -87,6 +87,7 @@ module EventSourcing
|
|
87
87
|
::ActiveRecord::Base.transaction(requires_new: true) do
|
88
88
|
yield
|
89
89
|
end
|
90
|
+
end
|
90
91
|
|
91
92
|
# @return [Class] Given class from metadata[:klass]
|
92
93
|
# Materializes the event class from the database
|
@@ -94,7 +95,6 @@ module EventSourcing
|
|
94
95
|
event_class = Object.const_get(metadata[:klass])
|
95
96
|
event_class.find(self[:id])
|
96
97
|
end
|
97
|
-
end
|
98
98
|
end
|
99
99
|
end
|
100
100
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: event-sourcing
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.2.pre
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- The Conversation Dev Team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-01-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -119,8 +119,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
119
119
|
- !ruby/object:Gem::Version
|
120
120
|
version: 1.3.1
|
121
121
|
requirements: []
|
122
|
-
|
123
|
-
rubygems_version: 2.7.7
|
122
|
+
rubygems_version: 3.0.0
|
124
123
|
signing_key:
|
125
124
|
specification_version: 4
|
126
125
|
summary: The Conversation Event sourcing library
|