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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f528360cbe1f6e9429878c2213ccb074af5eb4f6d6c31dba76510bba6ca7aba9
4
- data.tar.gz: 6e6cd892f7f6f6a394ba9a5fdb78e7054d792174e127c552a0d4d87b06b88d25
3
+ metadata.gz: 22b91a6ad1eab6fbc2bbd82599f2b4702b1b3d5f347654df255cd1d4e18b791d
4
+ data.tar.gz: e73fc787f5a8ce7024fcf83ddef9c7617836520dce7f80a78a8c6919f69fb113
5
5
  SHA512:
6
- metadata.gz: ceaa2235c8f9a9ed673d333a5f2c2afb788396028d9537a16e2b05f1c538940a4fb428787d3034d7b945e991cabbcf900d31d8220e65566441f606e7af2ddf73
7
- data.tar.gz: 71760d632cab8a6ea1278e7126f082152607b8b932a8e9eb2c51f29cd45d287fc265d5a43114cf71a826facf76c44697e615fe0bbe3e9d594ae8515c69973b41
6
+ metadata.gz: e8b6ac0d12e7483db31e8e2cbcb249b2a5c21ccae42171b417692fecdf45a318e6838521949e9fcb51b88555d63f1acddd957478f9003552028c664496d66310
7
+ data.tar.gz: 7827beebc74e4eeee010e88e4878ff50cb1449778003e89a79f5f47097846455cffe1d65f0c6b5a1dd5ae466b64c616c5442cf5e27c0e3568c0cfeef041efee5
@@ -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.30.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
@@ -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.publish_events(unpublished_events, stream_name: stream_name, expected_version: version)
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
@@ -1,3 +1,3 @@
1
1
  module AggregateRoot
2
- VERSION = "0.30.0"
2
+ VERSION = "0.31.0"
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.30.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-05-31 00:00:00.000000000 Z
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.30.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.30.0
68
+ version: 0.31.0
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: mutant-rspec
71
71
  requirement: !ruby/object:Gem::Requirement