aggregate_root 0.19.0 → 0.20.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +2 -1
- data/README.md +14 -14
- data/aggregate_root.gemspec +1 -2
- data/lib/aggregate_root/version.rb +1 -1
- metadata +5 -19
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 90e3e8807f2fb0a7ceac3f7b644d669d620d2145
|
4
|
+
data.tar.gz: 0dfbde2a85936b665603460606376cbba2e0a896
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2a949fc20b8d1e8ba651f49ea6227cde7d64681e6b494b0d8458d0d3124cdeefbb01677b2d0e091aaacf7c67460391dae1d4cea38a731b1f726cf2fc5b4c7abf
|
7
|
+
data.tar.gz: bf8342a38d2fe9809f25adecacf463e92ec74a68324ede7caba8e1ad2ff3ef714bfc01721f872a943f3f3585514091d3df0509534629a00a4987c990205bb611
|
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -13,7 +13,7 @@ gem 'aggregate_root'
|
|
13
13
|
## Before use
|
14
14
|
|
15
15
|
Choose your weapon now! Ekhm I mean choose your event store client.
|
16
|
-
To do so add configuration in environment setup. Example using [RailsEventStore](https://github.com/
|
16
|
+
To do so add configuration in environment setup. Example using [RailsEventStore](https://github.com/RailsEventStore/rails_event_store/):
|
17
17
|
|
18
18
|
```ruby
|
19
19
|
AggregateRoot.configure do |config|
|
@@ -23,13 +23,13 @@ end
|
|
23
23
|
|
24
24
|
Remember that this is only a default event store used by `AggregateRoot` module when no event store is given in `load` / `store` methods parameters.
|
25
25
|
|
26
|
-
To use [RailsEventStore](https://github.com/
|
26
|
+
To use [RailsEventStore](https://github.com/RailsEventStore/rails_event_store/) add to Gemfile:
|
27
27
|
|
28
28
|
```ruby
|
29
29
|
gem 'rails_event_store'
|
30
30
|
```
|
31
31
|
|
32
|
-
Then setup [RailsEventStore](https://github.com/
|
32
|
+
Then setup [RailsEventStore](https://github.com/RailsEventStore/rails_event_store/) as described in
|
33
33
|
the [docs](https://railseventstore.org/docs/install/)
|
34
34
|
|
35
35
|
## Usage
|
@@ -111,14 +111,14 @@ in the same stream from which order has been loaded.
|
|
111
111
|
|
112
112
|
#### Resources
|
113
113
|
|
114
|
-
There're already few blog posts about building an event sourced applications with [rails_event_store](https://github.com/
|
115
|
-
|
116
|
-
* [Why use Event Sourcing](
|
117
|
-
* [The Event Store for Rails developers](
|
118
|
-
* [Fast introduction to Event Sourcing for Ruby programmers](
|
119
|
-
* [Building an Event Sourced application using rails_event_store](
|
120
|
-
* [Using domain events as success/failure messages](
|
121
|
-
* [Subscribing for events in rails_event_store](
|
122
|
-
* [Testing an Event Sourced application](
|
123
|
-
* [Testing Event Sourced application - the read side](
|
124
|
-
* [One event to rule them all](
|
114
|
+
There're already few blog posts about building an event sourced applications with [rails_event_store](https://github.com/RailsEventStore/rails_event_store) and aggregate_root gems:
|
115
|
+
|
116
|
+
* [Why use Event Sourcing](https://blog.arkency.com/2015/03/why-use-event-sourcing/)
|
117
|
+
* [The Event Store for Rails developers](https://blog.arkency.com/2015/04/the-event-store-for-rails-developers/)
|
118
|
+
* [Fast introduction to Event Sourcing for Ruby programmers](https://blog.arkency.com/2015/03/fast-introduction-to-event-sourcing-for-ruby-programmers/)
|
119
|
+
* [Building an Event Sourced application using rails_event_store](https://blog.arkency.com/2015/05/building-an-event-sourced-application-using-rails-event-store/)
|
120
|
+
* [Using domain events as success/failure messages](https://blog.arkency.com/2015/05/using-domain-events-as-success-slash-failure-messages/)
|
121
|
+
* [Subscribing for events in rails_event_store](https://blog.arkency.com/2015/06/subscribing-for-events-in-rails-event-store/)
|
122
|
+
* [Testing an Event Sourced application](https://blog.arkency.com/2015/07/testing-event-sourced-application/)
|
123
|
+
* [Testing Event Sourced application - the read side](https://blog.arkency.com/2015/09/testing-event-sourced-application-the-read-side/)
|
124
|
+
* [One event to rule them all](https://blog.arkency.com/2016/01/one-event-to-rule-them-all/)
|
data/aggregate_root.gemspec
CHANGED
@@ -22,8 +22,7 @@ Gem::Specification.new do |spec|
|
|
22
22
|
spec.add_development_dependency 'bundler', '~> 1.15'
|
23
23
|
spec.add_development_dependency 'rake', '~> 10.0'
|
24
24
|
spec.add_development_dependency 'rspec', '~> 3.6'
|
25
|
-
spec.add_development_dependency '
|
26
|
-
spec.add_development_dependency 'ruby_event_store', '= 0.19.0'
|
25
|
+
spec.add_development_dependency 'ruby_event_store', '= 0.20.0'
|
27
26
|
spec.add_development_dependency 'mutant-rspec', '~> 0.8.14'
|
28
27
|
|
29
28
|
spec.add_dependency 'activesupport', '>= 3.0'
|
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.20.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Arkency
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-11-
|
11
|
+
date: 2017-11-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -52,34 +52,20 @@ dependencies:
|
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '3.6'
|
55
|
-
- !ruby/object:Gem::Dependency
|
56
|
-
name: rails
|
57
|
-
requirement: !ruby/object:Gem::Requirement
|
58
|
-
requirements:
|
59
|
-
- - "~>"
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
version: '5.1'
|
62
|
-
type: :development
|
63
|
-
prerelease: false
|
64
|
-
version_requirements: !ruby/object:Gem::Requirement
|
65
|
-
requirements:
|
66
|
-
- - "~>"
|
67
|
-
- !ruby/object:Gem::Version
|
68
|
-
version: '5.1'
|
69
55
|
- !ruby/object:Gem::Dependency
|
70
56
|
name: ruby_event_store
|
71
57
|
requirement: !ruby/object:Gem::Requirement
|
72
58
|
requirements:
|
73
59
|
- - '='
|
74
60
|
- !ruby/object:Gem::Version
|
75
|
-
version: 0.
|
61
|
+
version: 0.20.0
|
76
62
|
type: :development
|
77
63
|
prerelease: false
|
78
64
|
version_requirements: !ruby/object:Gem::Requirement
|
79
65
|
requirements:
|
80
66
|
- - '='
|
81
67
|
- !ruby/object:Gem::Version
|
82
|
-
version: 0.
|
68
|
+
version: 0.20.0
|
83
69
|
- !ruby/object:Gem::Dependency
|
84
70
|
name: mutant-rspec
|
85
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -144,7 +130,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
144
130
|
version: '0'
|
145
131
|
requirements: []
|
146
132
|
rubyforge_project:
|
147
|
-
rubygems_version: 2.6.
|
133
|
+
rubygems_version: 2.6.11
|
148
134
|
signing_key:
|
149
135
|
specification_version: 4
|
150
136
|
summary: Event sourced (with Rails Event Store) aggregate root implementation
|