event_engine 0.2.0 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: dec18ac1cb2f4605efaec53cc844453046e5ee7d9e1c111bb7a303ac8e10eb03
4
- data.tar.gz: a1e46a6755d4f04675ee8a7931dc226f6d386de00bf5c69aea2cc644b3c68bd7
3
+ metadata.gz: 9f780a13e96d7a1fd1534d39aeda5cca32379d283e886839538f969d2cdcfa53
4
+ data.tar.gz: 1dad812c37e3d4b44178d8d2a9b42b1623a94fef984c6e32d66f84a0b4a3d76a
5
5
  SHA512:
6
- metadata.gz: 5ecdfe7997ff911c9ee0cb24b55ebdf3a749b9f3a038884e320eeddfb4c3bb10ee8b405b03593c51c4709bb3a151640cdfdb3c541e9cbd975f40b9e023058b00
7
- data.tar.gz: fba7d789ab7a5dbefb02dbcc368bee0379f7131552413b33914bc8a1391af7e33c9080e98f307d391acb1d5f17119e855b2d497cbbfed2f7c0704a85a031056e
6
+ metadata.gz: 685bad2445b1b6022625790855b51c4614be06e7cfafc81556d959a1a2d3254663a5a701bccfdc805c3260ec19919e939f22a5733d64481bdf894a60daeae896
7
+ data.tar.gz: bd15af2c996f15d0422b624947c78fa2d2607e13a611b028ed6f03a3d5a470ee3d8963c15c038976c5bb2c164f3eebe41a90fe372d4c3c28b39abb0e4fa8d955
data/CHANGELOG.md CHANGED
@@ -7,6 +7,24 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [0.2.1] - 2026-07-29
11
+
12
+ ### Fixed
13
+
14
+ - Running `event_engine:catalog` broke `emit`. The task scaffolds a rules file
15
+ listing every catalogued event with no value, and those bare keys counted as
16
+ declared rules — so routing was considered active while every event resolved to
17
+ nothing, raising `UnroutableEventError` on emit until each rule was filled in.
18
+
19
+ An app that processes events through **handlers** rather than processors — for
20
+ example one using `event_engine-store`, whose `Recorder` observes every event —
21
+ could not emit at all after building its catalog.
22
+
23
+ An undecided rule is now treated as no rule: a rules file where nothing is decided
24
+ behaves exactly like no rules file, and `event_engine:rules:check` still reports
25
+ the undecided events so the gap stays visible.
26
+
27
+
10
28
  ## [0.2.0] - 2026-07-29
11
29
 
12
30
  This release completes the split between **authoring** and **runtime**. Events are
data/README.md CHANGED
@@ -82,6 +82,15 @@ What a host still decides for itself is **how** each event is processed, in the
82
82
 
83
83
  ---
84
84
 
85
+ ## A working example
86
+
87
+ [**DYB-Development/event_engine_example**](https://github.com/DYB-Development/event_engine_example)
88
+ is a minimal Rails app wired to this pipeline end to end — declaring an event,
89
+ compiling it, declaring how it is processed, and handling it. It installs all three
90
+ gems from RubyGems, so it is what a real host looks like.
91
+
92
+ ---
93
+
85
94
  ## Getting started
86
95
 
87
96
  ```ruby
@@ -29,7 +29,7 @@ module EventEngine
29
29
  end
30
30
 
31
31
  def any?
32
- !@default.nil? || @packs.any? || @events.any?
32
+ processor_names.any?
33
33
  end
34
34
 
35
35
  def processor_names
@@ -1,3 +1,3 @@
1
1
  module EventEngine
2
- VERSION = "0.2.0"
2
+ VERSION = "0.2.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: event_engine
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - tylercschneider
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-07-29 00:00:00.000000000 Z
11
+ date: 2026-09-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties