event_sourcery 0.23.1 → 0.24.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +21 -1
- data/README.md +4 -4
- data/event_sourcery.gemspec +1 -1
- data/lib/event_sourcery/aggregate_root.rb +2 -2
- data/lib/event_sourcery/version.rb +1 -1
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f837642276b30c8fae75c9314c2adc4854e5b46105b520870f4960cf2b13b461
|
4
|
+
data.tar.gz: 3622196388903fcf3b4f9b98fb0f5317cbffd71c6cd8b8ccc3cf571d63a773d2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 110dde9b74656dffc1838f5855c203bbd3e74b593a81f5d8a876c2629f99a032b8c577bcd3e59c35f96945032504051d9a7dd1103daa3e44a282b91660f01ac7
|
7
|
+
data.tar.gz: cf26df2449e5db4a83ae3ce336e382b13c81bd3e6a7381dccab52bcc37d0928c2fa1e44f30d0d351475b520ab739e36b7f9438d2afca6f606d0e091a56725b30
|
data/CHANGELOG.md
CHANGED
@@ -6,6 +6,25 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/)
|
|
6
6
|
and this project adheres to [Semantic Versioning](http://semver.org/).
|
7
7
|
|
8
8
|
## [Unreleased]
|
9
|
+
## [0.24.0] - 2021-11-18
|
10
|
+
|
11
|
+
### Added
|
12
|
+
|
13
|
+
- Test against Ruby 3.0 in the CI build ([#229]).
|
14
|
+
|
15
|
+
### Changed
|
16
|
+
|
17
|
+
- Use GitHub Actions for the CI build instead of Travis CI ([#228]).
|
18
|
+
- This project now uses `main` as its default branch ([#230]).
|
19
|
+
- Documentation updated to refer to `main` and links updated accordingly.
|
20
|
+
|
21
|
+
### Removed
|
22
|
+
- Remove Ruby 2.3, 2.4 and 2.5 from the CI test matrix ([#232]).
|
23
|
+
|
24
|
+
[#228]: https://github.com/envato/event_sourcery/pull/228
|
25
|
+
[#229]: https://github.com/envato/event_sourcery/pull/229
|
26
|
+
[#230]: https://github.com/envato/event_sourcery/pull/230
|
27
|
+
[#232]: https://github.com/envato/event_sourcery/pull/232
|
9
28
|
|
10
29
|
## [0.23.1] - 2020-10-02
|
11
30
|
### Fixed
|
@@ -234,7 +253,8 @@ moving all Postgres related code into a separate gem.
|
|
234
253
|
- EventSourcery no longer depends on Virtus.
|
235
254
|
- `Command` and `CommandHandler` have been removed.
|
236
255
|
|
237
|
-
[Unreleased]: https://github.com/envato/event_sourcery/compare/v0.
|
256
|
+
[Unreleased]: https://github.com/envato/event_sourcery/compare/v0.24.0...HEAD
|
257
|
+
[0.24.0]: https://github.com/envato/event_sourcery/compare/v0.23.1...v0.24.0
|
238
258
|
[0.23.1]: https://github.com/envato/event_sourcery/compare/v0.23.0...v0.23.1
|
239
259
|
[0.23.0]: https://github.com/envato/event_sourcery/compare/v0.22.0...v0.23.0
|
240
260
|
[0.22.0]: https://github.com/envato/event_sourcery/compare/v0.21.0...v0.22.0
|
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# EventSourcery
|
2
2
|
|
3
|
-
[![Build Status](https://
|
3
|
+
[![Build Status](https://github.com/envato/event_sourcery/workflows/tests/badge.svg?branch=main)](https://github.com/envato/event_sourcery/actions?query=workflow%3Atests+branch%3Amain)
|
4
4
|
|
5
5
|
A framework for building event sourced, CQRS applications.
|
6
6
|
|
@@ -105,7 +105,7 @@ To release a new version:
|
|
105
105
|
|
106
106
|
1. Update the version number in `lib/event_sourcery/version.rb`
|
107
107
|
2. Add the new version with release notes to CHANGELOG.md
|
108
|
-
3. Get these changes onto
|
108
|
+
3. Get these changes onto main via the normal PR process
|
109
109
|
4. Run `bundle exec rake release`, this will create a git tag for the
|
110
110
|
version, push tags up to GitHub, and package the code in a `.gem` file.
|
111
111
|
|
@@ -218,7 +218,7 @@ The event store is a persistent store of events.
|
|
218
218
|
|
219
219
|
EventSourcery currently supports a Postgres-based event store via the [event_sourcery-postgres gem](https://github.com/envato/event_sourcery-postgres).
|
220
220
|
|
221
|
-
For more information about the `EventStore` API refer to [the postgres event store](https://github.com/envato/event_sourcery-postgres/blob/
|
221
|
+
For more information about the `EventStore` API refer to [the postgres event store](https://github.com/envato/event_sourcery-postgres/blob/HEAD/lib/event_sourcery/postgres/event_store.rb) or the [in memory event store in this repo](lib/event_sourcery/memory/event_store.rb)
|
222
222
|
|
223
223
|
#### Storing Events
|
224
224
|
|
@@ -294,7 +294,7 @@ Reactors can be used to build [process managers or sagas](https://msdn.microsoft
|
|
294
294
|
|
295
295
|
#### Running Multiple ESPs
|
296
296
|
|
297
|
-
An EventSourcery application will typically have multiple ESPs running. EventSourcery provides a class called [ESPRunner](lib/event_sourcery/event_processing/esp_runner.rb) which can be used to run ESPs. It runs each ESP in a forked child process so each ESP can process the event store independently. You can find an example in [event_sourcery_todo_app](https://github.com/envato/event_sourcery_todo_app/blob/
|
297
|
+
An EventSourcery application will typically have multiple ESPs running. EventSourcery provides a class called [ESPRunner](lib/event_sourcery/event_processing/esp_runner.rb) which can be used to run ESPs. It runs each ESP in a forked child process so each ESP can process the event store independently. You can find an example in [event_sourcery_todo_app](https://github.com/envato/event_sourcery_todo_app/blob/HEAD/Rakefile).
|
298
298
|
|
299
299
|
Note that you may instead choose to run each ESP in their own process directly. The coordination of this is not currently provided by EventSourcery.
|
300
300
|
|
data/event_sourcery.gemspec
CHANGED
@@ -14,7 +14,7 @@ Gem::Specification.new do |spec|
|
|
14
14
|
spec.homepage = 'https://github.com/envato/event_sourcery'
|
15
15
|
spec.metadata = {
|
16
16
|
'bug_tracker_uri' => 'https://github.com/envato/event_sourcery/issues',
|
17
|
-
'changelog_uri' => 'https://github.com/envato/event_sourcery/blob/
|
17
|
+
'changelog_uri' => 'https://github.com/envato/event_sourcery/blob/HEAD/CHANGELOG.md',
|
18
18
|
'source_code_uri' => 'https://github.com/envato/event_sourcery',
|
19
19
|
}
|
20
20
|
|
@@ -3,7 +3,7 @@ module EventSourcery
|
|
3
3
|
# EventSourcery::AggregateRoot provides a foundation for writing your own aggregate root classes.
|
4
4
|
# You can use it by including it in your classes, as show in the example code.
|
5
5
|
#
|
6
|
-
# Excerpt from {https://github.com/envato/event_sourcery/blob/
|
6
|
+
# Excerpt from {https://github.com/envato/event_sourcery/blob/HEAD/docs/core-concepts.md EventSourcery Core Concepts} on Aggregates follows:
|
7
7
|
# === Aggregates and Command Handling
|
8
8
|
#
|
9
9
|
# An aggregate is a cluster of domain objects that can be treated as a single unit.
|
@@ -18,7 +18,7 @@ module EventSourcery
|
|
18
18
|
# A typical EventSourcery application will have one or more aggregate roots with multiple commands.
|
19
19
|
#
|
20
20
|
# The following partial example is taken from the EventSourceryTodoApp.
|
21
|
-
# Refer a more complete example {https://github.com/envato/event_sourcery_todo_app/blob/
|
21
|
+
# Refer a more complete example {https://github.com/envato/event_sourcery_todo_app/blob/HEAD/app/aggregates/todo.rb here}.
|
22
22
|
#
|
23
23
|
# @example
|
24
24
|
# module EventSourceryTodoApp
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: event_sourcery
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.24.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Envato
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-11-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -127,9 +127,9 @@ homepage: https://github.com/envato/event_sourcery
|
|
127
127
|
licenses: []
|
128
128
|
metadata:
|
129
129
|
bug_tracker_uri: https://github.com/envato/event_sourcery/issues
|
130
|
-
changelog_uri: https://github.com/envato/event_sourcery/blob/
|
130
|
+
changelog_uri: https://github.com/envato/event_sourcery/blob/HEAD/CHANGELOG.md
|
131
131
|
source_code_uri: https://github.com/envato/event_sourcery
|
132
|
-
post_install_message:
|
132
|
+
post_install_message:
|
133
133
|
rdoc_options: []
|
134
134
|
require_paths:
|
135
135
|
- lib
|
@@ -144,8 +144,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
144
144
|
- !ruby/object:Gem::Version
|
145
145
|
version: '0'
|
146
146
|
requirements: []
|
147
|
-
rubygems_version: 3.
|
148
|
-
signing_key:
|
147
|
+
rubygems_version: 3.0.3
|
148
|
+
signing_key:
|
149
149
|
specification_version: 4
|
150
150
|
summary: Event Sourcing Library
|
151
151
|
test_files: []
|