aggregate_streams 1.0.0.0.rc3 → 1.0.0.0.rc4

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: d5f0573274f7ac44fc400bea6e4815dd8bce68afc7060349568a1ecb24d48a4c
4
- data.tar.gz: 7d60dbc9ba05543bb01858e5cf87a94944a8d0b2b725a6c4cc84c01a534f99b7
3
+ metadata.gz: ab8ab1a6d681ef30dcfc03fade5e32f3b1c7d54cb8fea4ff3f9e5b22a7c3122f
4
+ data.tar.gz: d2903306103791d7466069ef61f10652ce08daaea9b6a6371af6002bb9c706b6
5
5
  SHA512:
6
- metadata.gz: 30235e1afb0fe08b208a5a33b0f844a5374b6d614ebc64bcb265f497ea36802b394779c644c8c70bfe3d2cd8d01dcce2627a6868623b3cb726edb8a277d89e33
7
- data.tar.gz: 6f8e433db3f060f651e96977da7defbf7e2a986d6c7ad7da12f18dd382b9f1b3771fcf5803da93b61cab066827360b10b65cedbc3ddc3c28cc122bef58d9dbf3
6
+ metadata.gz: e24676f6919e982afaa00badb072dce9b4fe76cb1f86ac90bb3dfc53f55bfd9b45170f779eee70821c6e60752efe14852e51bef89159ab06b42bfc6b511a8c9c
7
+ data.tar.gz: deb98567a015486f7523419a3f34c1f0d86bb958021155253a037c92fe8b8ba607411ed1d33b7116d5aefdb05f7d98942f2520f0cf696e15f68c0a547743aec3
@@ -61,6 +61,11 @@ module AggregateStreams
61
61
  return
62
62
  end
63
63
 
64
+ Try.(MessageStore::ExpectedVersion::Error) do
65
+ stream_name = stream_name(stream_id)
66
+ write.(write_message_data, stream_name, expected_version: version)
67
+ end
68
+
64
69
  logger.info do
65
70
  message_type = message_data.type
66
71
  unless write_message_data.type == message_type
@@ -69,11 +74,6 @@ module AggregateStreams
69
74
 
70
75
  "Message copied (Message Type: #{message_type}, Stream: #{message_data.stream_name}, Global Position: #{message_data.global_position})"
71
76
  end
72
-
73
- Try.(MessageStore::ExpectedVersion::Error) do
74
- stream_name = stream_name(stream_id)
75
- write.(write_message_data, stream_name, expected_version: version)
76
- end
77
77
  end
78
78
 
79
79
  def raw_metadata(metadata)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aggregate_streams
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.0.rc3
4
+ version: 1.0.0.0.rc4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nathan Ladd
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-05-06 00:00:00.000000000 Z
11
+ date: 2021-05-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: evt-consumer-postgres
@@ -136,7 +136,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
136
136
  - !ruby/object:Gem::Version
137
137
  version: 1.3.1
138
138
  requirements: []
139
- rubygems_version: 3.1.4
139
+ rubygems_version: 3.1.6
140
140
  signing_key:
141
141
  specification_version: 4
142
142
  summary: Combine messages from multiple Eventide streams into an aggregate stream