aggregate_root 0.30.0 → 0.31.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/aggregate_root.gemspec +1 -1
- data/lib/aggregate_root.rb +1 -1
- data/lib/aggregate_root/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 22b91a6ad1eab6fbc2bbd82599f2b4702b1b3d5f347654df255cd1d4e18b791d
|
4
|
+
data.tar.gz: e73fc787f5a8ce7024fcf83ddef9c7617836520dce7f80a78a8c6919f69fb113
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e8b6ac0d12e7483db31e8e2cbcb249b2a5c21ccae42171b417692fecdf45a318e6838521949e9fcb51b88555d63f1acddd957478f9003552028c664496d66310
|
7
|
+
data.tar.gz: 7827beebc74e4eeee010e88e4878ff50cb1449778003e89a79f5f47097846455cffe1d65f0c6b5a1dd5ae466b64c616c5442cf5e27c0e3568c0cfeef041efee5
|
data/aggregate_root.gemspec
CHANGED
@@ -28,6 +28,6 @@ Gem::Specification.new do |spec|
|
|
28
28
|
spec.add_development_dependency 'bundler', '~> 1.15'
|
29
29
|
spec.add_development_dependency 'rake', '~> 10.0'
|
30
30
|
spec.add_development_dependency 'rspec', '~> 3.6'
|
31
|
-
spec.add_development_dependency 'ruby_event_store', '= 0.
|
31
|
+
spec.add_development_dependency 'ruby_event_store', '= 0.31.0'
|
32
32
|
spec.add_development_dependency 'mutant-rspec', '~> 0.8.14'
|
33
33
|
end
|
data/lib/aggregate_root.rb
CHANGED
@@ -45,7 +45,7 @@ module AggregateRoot
|
|
45
45
|
end
|
46
46
|
|
47
47
|
def store(stream_name = loaded_from_stream_name, event_store: default_event_store)
|
48
|
-
event_store.
|
48
|
+
event_store.publish(unpublished, stream_name: stream_name, expected_version: version)
|
49
49
|
@version += unpublished_events.size
|
50
50
|
@unpublished_events = nil
|
51
51
|
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.
|
4
|
+
version: 0.31.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Arkency
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-07-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -58,14 +58,14 @@ dependencies:
|
|
58
58
|
requirements:
|
59
59
|
- - '='
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: 0.
|
61
|
+
version: 0.31.0
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - '='
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: 0.
|
68
|
+
version: 0.31.0
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: mutant-rspec
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|