aggregate_root 0.2.1 → 0.3.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
  SHA1:
3
- metadata.gz: 425b633e04659649bbbc74c05d41e1dc43214517
4
- data.tar.gz: 5ddfb79657eddd81d66a6090f5e52cecb62f2f4f
3
+ metadata.gz: 9269e58f11949ca02b4479e63e6dd488d468b5ff
4
+ data.tar.gz: 0837b3165ceb42ac6f397d83969a17cdd7c266d2
5
5
  SHA512:
6
- metadata.gz: c126d648a70c5f2fc16b804a3c04c8885d3504374cc6c56e9b6eaab1c3cac8234125ffe31c0ed33198deb7d7fb16a7b5a11dd93ef78fad5c5d007b0c5e415dd7
7
- data.tar.gz: 5ee31251087468d33f55835aca7dd89c1181a8d1979fd749bee3a2b10761baa034cb503fd1051c1c1469a9115e40e761e6dcafe9c05ebd1ab428f72bb8faf5bb
6
+ metadata.gz: 0eabb50f5828c8a6320bd2e536d4897aa541319b7cc3e896487298a4447dda66eceda91f136026283717e368c26ee2f74cdb08bfee58ecb0bc702559a5305dfd
7
+ data.tar.gz: ec9964ba3c5bbb967927ec869acacf31da1b5693659329a58c2a102ecb629c7b60c1fef2f9d1d2e8e93a226ccd4c4a644efb918235d9f0cbe98d0c884aa1114d
@@ -1,4 +1,6 @@
1
- ### HEAD
1
+ ### 0.3.0 (21.06.2016)
2
+
3
+ * Change: Replace RailsEventStore dependency with moer generic RubyEventStore
2
4
 
3
5
  ### 0.2.1 (21.03.2016)
4
6
 
@@ -23,7 +23,7 @@ Gem::Specification.new do |spec|
23
23
  spec.add_development_dependency 'pry'
24
24
  spec.add_development_dependency 'rspec'
25
25
  spec.add_development_dependency 'rails', '~> 4.2.1'
26
- spec.add_development_dependency 'rails_event_store', '~> 0.5.0'
26
+ spec.add_development_dependency 'ruby_event_store', '~> 0.8.0'
27
27
 
28
28
  spec.add_dependency 'activesupport', '>= 3.0'
29
29
  end
@@ -11,7 +11,7 @@ module AggregateRoot
11
11
  end
12
12
 
13
13
  def load(aggregate)
14
- events = event_store.read_all_events(aggregate.id)
14
+ events = event_store.read_stream_events_forward(aggregate.id)
15
15
  events.each do |event|
16
16
  aggregate.apply_old_event(event)
17
17
  end
@@ -1,3 +1,3 @@
1
1
  module AggregateRoot
2
- VERSION = '0.2.1'
2
+ VERSION = '0.3.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.2.1
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - mpraglowski
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-03-21 00:00:00.000000000 Z
11
+ date: 2016-06-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -81,19 +81,19 @@ dependencies:
81
81
  - !ruby/object:Gem::Version
82
82
  version: 4.2.1
83
83
  - !ruby/object:Gem::Dependency
84
- name: rails_event_store
84
+ name: ruby_event_store
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
87
  - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: 0.5.0
89
+ version: 0.8.0
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - "~>"
95
95
  - !ruby/object:Gem::Version
96
- version: 0.5.0
96
+ version: 0.8.0
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: activesupport
99
99
  requirement: !ruby/object:Gem::Requirement
@@ -147,7 +147,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
147
147
  version: '0'
148
148
  requirements: []
149
149
  rubyforge_project:
150
- rubygems_version: 2.2.3
150
+ rubygems_version: 2.5.1
151
151
  signing_key:
152
152
  specification_version: 4
153
153
  summary: Event sourced (with Rails Event Store) aggregate root implementation