event_sourcery 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/CHANGELOG.md +9 -2
- data/README.md +3 -2
- data/lib/event_sourcery/event_processing/esp_process.rb +4 -3
- data/lib/event_sourcery/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d2ee4fc9c7f70b3404136db439e6ca99febbc3ad
|
4
|
+
data.tar.gz: 14dae460b841dca16d240bf99dfc7f316e046c00
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 334b86af5671ae2c3375a4279a5399d89d137c553780137766f6a28f6ac30abf9e94dd83e88f007391a0b45001496dcb02c184e45874e72d7fc729f494cd6b28
|
7
|
+
data.tar.gz: 3c0a200beaadc779c6f6f0066a41228a6ebaf24eca11ad2f1a696822c63a0376849553583f6ca5a05e6850f05185699d31133943024b52f1b906edbaf018b698
|
data/CHANGELOG.md
CHANGED
@@ -5,8 +5,13 @@ All notable changes to this project will be documented in this file.
|
|
5
5
|
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
|
-
## [0.
|
8
|
+
## [0.20.0] - 2018-06-21
|
9
|
+
### Changed
|
10
|
+
- Changed signature of `ESPProcess#initialize` to include a default value for `after_fork`. This prevents the
|
11
|
+
`after_fork` change from 0.19.0 from being a breaking change to external creators of ESPProcess.
|
12
|
+
- Added more logging when a fatal exception occurs in ESPProcess
|
9
13
|
|
14
|
+
## [0.19.0] - 2018-06-06
|
10
15
|
### Added
|
11
16
|
|
12
17
|
- Allow passing an `after_fork` lambda to `ESPRunner` that is called after each
|
@@ -136,10 +141,12 @@ moving all Postgres related code into a separate gem.
|
|
136
141
|
- EventSourcery no longer depends on Virtus.
|
137
142
|
- `Command` and `CommandHandler` have been removed.
|
138
143
|
|
139
|
-
[Unreleased]: https://github.com/envato/event_sourcery/compare/v0.
|
144
|
+
[Unreleased]: https://github.com/envato/event_sourcery/compare/v0.20.0...HEAD
|
145
|
+
[0.20.0]: https://github.com/envato/event_sourcery/compare/v0.19.0...v0.20.0
|
140
146
|
[0.19.0]: https://github.com/envato/event_sourcery/compare/v0.18.0...v0.19.0
|
141
147
|
[0.18.0]: https://github.com/envato/event_sourcery/compare/v0.17.0...v0.18.0
|
142
148
|
[0.17.0]: https://github.com/envato/event_sourcery/compare/v0.16.0...v0.17.0
|
149
|
+
[0.16.1]: https://github.com/envato/event_sourcery/compare/v0.16.0...v0.16.1
|
143
150
|
[0.16.0]: https://github.com/envato/event_sourcery/compare/v0.15.0...v0.16.0
|
144
151
|
[0.15.0]: https://github.com/envato/event_sourcery/compare/v0.14.0...v0.15.0
|
145
152
|
[0.14.0]: https://github.com/envato/event_sourcery/compare/v0.13.0...v0.14.0
|
data/README.md
CHANGED
@@ -103,8 +103,9 @@ bundle exec rspec
|
|
103
103
|
To release a new version:
|
104
104
|
|
105
105
|
1. Update the version number in `lib/event_sourcery/version.rb`
|
106
|
-
2.
|
107
|
-
3.
|
106
|
+
2. Add the new version with release notes to CHANGELOG.md
|
107
|
+
3. Get these changes onto master via the normal PR process
|
108
|
+
4. Run `bundle exec rake release`, this will create a git tag for the
|
108
109
|
version, push tags up to GitHub, and package the code in a `.gem` file.
|
109
110
|
|
110
111
|
## Core Concepts
|
@@ -6,7 +6,7 @@ module EventSourcery
|
|
6
6
|
def initialize(event_processor:,
|
7
7
|
event_source:,
|
8
8
|
subscription_master: EventStore::SignalHandlingSubscriptionMaster.new,
|
9
|
-
after_fork:)
|
9
|
+
after_fork: nil)
|
10
10
|
@event_processor = event_processor
|
11
11
|
@event_source = event_source
|
12
12
|
@subscription_master = subscription_master
|
@@ -21,10 +21,11 @@ module EventSourcery
|
|
21
21
|
error_handler.with_error_handling do
|
22
22
|
EventSourcery.logger.info("Starting #{processor_name}")
|
23
23
|
subscribe_to_event_stream
|
24
|
-
EventSourcery.logger.info("Stopping #{
|
24
|
+
EventSourcery.logger.info("Stopping #{processor_name}")
|
25
25
|
end
|
26
26
|
rescue Exception => e
|
27
|
-
EventSourcery.logger.
|
27
|
+
EventSourcery.logger.fatal("An unhandled exception occurred in #{processor_name}")
|
28
|
+
EventSourcery.logger.fatal(e)
|
28
29
|
raise e
|
29
30
|
end
|
30
31
|
|
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.20.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Envato
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-06-
|
11
|
+
date: 2018-06-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -142,7 +142,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
142
142
|
version: '0'
|
143
143
|
requirements: []
|
144
144
|
rubyforge_project:
|
145
|
-
rubygems_version: 2.5.
|
145
|
+
rubygems_version: 2.5.1
|
146
146
|
signing_key:
|
147
147
|
specification_version: 4
|
148
148
|
summary: Event Sourcing Library
|