aggregate_root 0.3.4 → 0.3.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/aggregate_root/default_apply_strategy.rb +1 -1
- data/lib/aggregate_root/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a912c235b0d7fbe5b6256df69193f5b6c6f224f1
|
4
|
+
data.tar.gz: d5cac27e3b109a57d72557ba78478ee8e99521e0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 300afb93c419b4238dce79ce7dffc235f9a52bc1f68dd265c6ba3de5e07a906dadbccd5172b1071415e9d96ebf27a1202c64eec59a8fa671f9f3dfb1ca404245
|
7
|
+
data.tar.gz: 201bb84c9b8f7162003a0d87b8ebc6f16fd4548aa304e7664a0cbcf05b8c37ef07212ea8d0da98c0119624a60afe6e42b868a764d58314526dd5b4fda2410a03
|
data/CHANGELOG.md
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
module AggregateRoot
|
2
2
|
class DefaultApplyStrategy
|
3
3
|
def call(aggregate, event)
|
4
|
-
event_name_processed = event.class.to_s.underscore
|
4
|
+
event_name_processed = event.class.to_s.underscore.gsub('/','_')
|
5
5
|
aggregate.method("apply_#{event_name_processed}".to_sym).call(event)
|
6
6
|
end
|
7
7
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aggregate_root
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Arkency
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-08-
|
11
|
+
date: 2016-08-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|