evt-entity_projection 0.3.0.6 → 0.3.0.7

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
  SHA256:
3
- metadata.gz: af9d4df3a26912aaf7e28c273416b4a60542f0ebc2a8a3c1b8bf4f10ed9cfc79
4
- data.tar.gz: 67778febaea76ea1f91941c147377f6a98e2706360d4f3ea404102240ed0d7ec
3
+ metadata.gz: c97071e13d658ef465aa341b745f791a94263ca47c0e4b4ac85080ef2754c8c4
4
+ data.tar.gz: 7d3ff90486daa788a2a9f3ff01004a6e8a505ca6d870906ebb13759d79c3f468
5
5
  SHA512:
6
- metadata.gz: 75346c9cadbe5e064bf1d2b4c49c4b2634d2fb4fde2580548ab7bc69404453cd09b28e713dade871d8d847eaf77a4d874da91d4267ac05be351b218fee5a03fb
7
- data.tar.gz: 7f99218e7ca12e2706139b80253f6f8946a05b082a832e58acbc060182fad5a027f050b0f74a47d1611cb670ae5ab556f73c86e17817d475a52d5df98047a2b5
6
+ metadata.gz: 925471dfb2b5e72d23d23f5bd6fdb409b57b672ae83567abf263d83cd3aa30c0e5a663ae78c9e64a164323b568a49ed304ce817d15f2f6900b2da728e910199f
7
+ data.tar.gz: b2ea73e08bd274dc03399ea1692622342d65fb52169fe95d0aae8a0b76adfcfc1e26cf0d710101c03058e71faf40479ca4b4761c68f74289772e1b35bb94d43b
@@ -125,8 +125,8 @@ module EntityProjection
125
125
  end
126
126
 
127
127
  def apply_event(event)
128
- logger.trace(tags: [:apply, :message]) { "Applying event (Event class: #{event.class.name})" }
129
- logger.trace(tags: [:data, :message, :apply]) { event.pretty_inspect }
128
+ logger.trace(tag: :apply) { "Applying event (Event class: #{event.class.name})" }
129
+ logger.trace(tags: [:data, :message]) { event.pretty_inspect }
130
130
 
131
131
  handler = self.class.handler(event)
132
132
 
@@ -134,15 +134,15 @@ module EntityProjection
134
134
  public_send(handler, event)
135
135
  end
136
136
 
137
- logger.info(tags: [:apply, :message]) { "Applied event (Event class: #{event.class.name})" }
138
- logger.trace(tags: [:data, :message, :apply]) { event.pretty_inspect }
137
+ logger.info(tag: :apply) { "Applied event (Event class: #{event.class.name})" }
138
+ logger.trace(tags: [:data, :message]) { event.pretty_inspect }
139
139
 
140
140
  event
141
141
  end
142
142
 
143
143
  def apply_event_data(event_data)
144
- logger.trace(tags: [:apply, :event_data]) { "Applying event data (Type: #{event_data.type})" }
145
- logger.trace(tags: [:data, :event_data, :apply]) { event_data.pretty_inspect }
144
+ logger.trace(tag: :apply) { "Applying event data (Type: #{event_data.type})" }
145
+ logger.trace(tags: [:data, :message_data]) { event_data.pretty_inspect }
146
146
 
147
147
  res = nil
148
148
 
@@ -159,8 +159,8 @@ module EntityProjection
159
159
  end
160
160
  end
161
161
 
162
- logger.info(tags: [:apply, :event_data]) { "Applied event data (Type: #{event_data.type})" }
163
- logger.info(tags: [:data, :event_data, :apply]) { event_data.pretty_inspect }
162
+ logger.info(tag: :apply) { "Applied event data (Type: #{event_data.type})" }
163
+ logger.info(tags: [:data, :message_data]) { event_data.pretty_inspect }
164
164
 
165
165
  res
166
166
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: evt-entity_projection
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0.6
4
+ version: 0.3.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - The Eventide Project