evt-messaging 2.7.0.1 → 2.7.0.2

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: 9c8945f49315d73d29f7c3a3fa6d88bfca5c8eeb2dcd8fd5e34f2b5020881ef4
4
- data.tar.gz: 77bfd0a23528e8624e74ca29a0a590892ce29d64571a9e75aeca7ed5247def60
3
+ metadata.gz: 3f32c71b5d26c3836a8fe8273bda67167120d95dae478c7bec4d6adff7066714
4
+ data.tar.gz: 0c20f9d0e9d70019449e83b7ee38558a37b4532ec082ff75f9efad8e6a6afada
5
5
  SHA512:
6
- metadata.gz: dbf96b8c14e18786fec12e942b075276b31ded1b1d1c1b7a9e062564d7923f8dbc4e5e1884d7bb935bed784a57f58c2c8bed7e752265643c12f9b462e685d095
7
- data.tar.gz: 8b5ca6436050e0938f58bf081a8369f6fadb5181aed72875b0a0b3c3fa2decc8042336fcb396a175e77f016a56bdd3e70bc2f767f4e518b2274cb197c6e9621d
6
+ metadata.gz: bd7af57fd67951f404b178c29d128d9bab60a12cbde574b960eb8840d853c47751682e23e0833ea8b06f5965cfabdc2d347fae5709158ce202232ca1110e46a3
7
+ data.tar.gz: f691c800fc90f762fcc83b1b535b783c91a281e8bf358a3758f4211a0843cfea9d0c11e6e1381a64954ba5e4cff687fa4f852a7db03faf08a77b9913125bfa80
@@ -4,9 +4,6 @@ module Messaging
4
4
  def self.example
5
5
  data = self.data
6
6
 
7
- data[:properties] = properties
8
- data[:local_properties] = local_properties
9
-
10
7
  Messaging::Message::Metadata.build(data)
11
8
  end
12
9
 
@@ -66,6 +66,13 @@ module Messaging
66
66
  end
67
67
  end
68
68
 
69
+ ## Consider whether "following" takes correlation stream and
70
+ ## reply stream into consideration. Arguably, these attributes
71
+ ## aren't indicative of causation.
72
+ ## Also, follows? doesn't take metadata into consideration
73
+ ## What's probably needed is a `copied?` predicate on metadata
74
+ ## (without a delegation from message)
75
+ ## Scott, Aaron, Tue Apr 11 2023
69
76
  def follows?(preceding_metadata)
70
77
  if causation_message_stream_name.nil? && preceding_metadata.stream_name.nil?
71
78
  return false
@@ -32,6 +32,7 @@ module Messaging
32
32
  end
33
33
  alias :write :call
34
34
 
35
+ ## Should never have had an exclamation mark - Scott, Tue Jan 17 2023
35
36
  def raise_expected_version_error!
36
37
  self.raise_expected_version_error = true
37
38
  nil
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: evt-messaging
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.7.0.1
4
+ version: 2.7.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - The Eventide Project
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-09-12 00:00:00.000000000 Z
11
+ date: 2023-05-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: evt-message_store
@@ -108,7 +108,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
108
108
  - !ruby/object:Gem::Version
109
109
  version: '0'
110
110
  requirements: []
111
- rubygems_version: 3.3.3
111
+ rubygems_version: 3.4.6
112
112
  signing_key:
113
113
  specification_version: 4
114
114
  summary: Common primitives for platform-specific messaging implementations for Eventide