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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7b68aa98fcd105d7ec3cba87260b2cc36cfb2d2c
4
- data.tar.gz: d912cf598a2288911665c5f76562a22aa6380863
3
+ metadata.gz: a912c235b0d7fbe5b6256df69193f5b6c6f224f1
4
+ data.tar.gz: d5cac27e3b109a57d72557ba78478ee8e99521e0
5
5
  SHA512:
6
- metadata.gz: be97a0bd0bedf10b1c9e4df91305278d6b7de2906dd53751c636bf49525f14bb038bce351150f894f641652d4a1859d9aea297a3bcada4ce7bc3eb795fe979ad
7
- data.tar.gz: 722db6eba032d941ee09d20da93cfaf08f72ad0f268c0af41893c74a142377ede7c47c9cb06fd4b15ed229d71c18b5069cfb3ad378c25ac60ea15ed57a614c3b
6
+ metadata.gz: 300afb93c419b4238dce79ce7dffc235f9a52bc1f68dd265c6ba3de5e07a906dadbccd5172b1071415e9d96ebf27a1202c64eec59a8fa671f9f3dfb1ca404245
7
+ data.tar.gz: 201bb84c9b8f7162003a0d87b8ebc6f16fd4548aa304e7664a0cbcf05b8c37ef07212ea8d0da98c0119624a60afe6e42b868a764d58314526dd5b4fda2410a03
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ### 0.3.5 (11.08.2016)
2
+
3
+ * Fix an issue when default apply strategy generated a wrong method name #7
4
+
1
5
  ### 0.3.4 (10.08.2016)
2
6
 
3
7
  * Fix: missing keyword argument name
@@ -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
@@ -1,3 +1,3 @@
1
1
  module AggregateRoot
2
- VERSION = '0.3.4'
2
+ VERSION = '0.3.5'
3
3
  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
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-10 00:00:00.000000000 Z
11
+ date: 2016-08-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler