event_store_client 1.0.14 → 1.0.15
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 76dd0d7f4b109542128bf7c4ca8c27a1fdc45e248adda2426150f4b0c46eff9f
|
4
|
+
data.tar.gz: 05c9705d93bbd1b0cf9f1ebb238d1ea575aeda0f664645610b54af4135400514
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b73a7e950dfb52143d75b557621ec9cc56e6b940136d9574a008ff36f082960da829f3948876eaf47ff100aa6eadf2da84f88743a80dd4ed61de5f51e2b6dca0
|
7
|
+
data.tar.gz: 59916961db398165362682c052c6bc83376943534520f9a1de8fe8f4162094e4d3719ad79f5f44dc4372e68dd97c90ba3c1beb83c34741439774396fbf2be5cd
|
@@ -22,9 +22,9 @@ module EventStoreClient
|
|
22
22
|
end
|
23
23
|
end
|
24
24
|
|
25
|
-
def subscribe(subscriber, to: [])
|
25
|
+
def subscribe(subscriber, to: [], options: {})
|
26
26
|
raise NoCallMethodOnSubscriber unless subscriber.respond_to?(:call)
|
27
|
-
@subscriptions.create(subscriber, to)
|
27
|
+
@subscriptions.create(subscriber, to, options: options)
|
28
28
|
end
|
29
29
|
|
30
30
|
def listen(wait: false)
|
@@ -2,11 +2,11 @@
|
|
2
2
|
|
3
3
|
module EventStoreClient
|
4
4
|
class Subscriptions
|
5
|
-
def create(subscriber, event_types)
|
5
|
+
def create(subscriber, event_types, options: {})
|
6
6
|
subscription = Subscription.new(subscriber, event_types: event_types, service: service)
|
7
7
|
|
8
8
|
unless @subscriptions.detect { |sub| sub.name == subscription.name }
|
9
|
-
connection.subscribe_to_stream(subscription)
|
9
|
+
connection.subscribe_to_stream(subscription, options)
|
10
10
|
subscriptions << subscription
|
11
11
|
end
|
12
12
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: event_store_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.15
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sebastian Wilgosz
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-05-
|
11
|
+
date: 2021-05-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: dry-configurable
|
@@ -244,7 +244,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
244
244
|
- !ruby/object:Gem::Version
|
245
245
|
version: '0'
|
246
246
|
requirements: []
|
247
|
-
rubygems_version: 3.0.
|
247
|
+
rubygems_version: 3.0.6
|
248
248
|
signing_key:
|
249
249
|
specification_version: 4
|
250
250
|
summary: Ruby integration for https://eventstore.org
|