bps-stan 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/bps/publisher/stan.rb +2 -0
- data/lib/bps/subscriber/stan.rb +2 -0
- data/spec/bps/publisher/stan_spec.rb +1 -1
- data/spec/bps/subscriber/stan_spec.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7108a7bf17771ebd494e2fc1cd438aff207e49b2492a3bfa43c8e55de3ec61ca
|
4
|
+
data.tar.gz: 4876378fbb7efa31e15ee93f633c4596919fde413ce1c4fa261b014a76589486
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ab1e0361768cfceae98e1709a9065fc33d82f21bc529fa6ef010d6964c7382249e8a3acc1a34a53c33c7bc97f3a10d17198009571e29104461f1d644b7049e48
|
7
|
+
data.tar.gz: 85cda889a293c0c48050139b2888cbd238e2924c1630c9484a83ee870bedc5d03ec7a2d5ae71f7c53ed28d60febb46cce28423aabcb1734db4e218b76b29bfb8
|
data/lib/bps/publisher/stan.rb
CHANGED
data/lib/bps/subscriber/stan.rb
CHANGED
@@ -39,7 +39,7 @@ RSpec.describe 'STAN', stan: true do
|
|
39
39
|
let(:cluster_id) { 'test-cluster' } # this is a default cluster for https://hub.docker.com/_/nats-streaming
|
40
40
|
let(:client_id) { 'bps-test' }
|
41
41
|
|
42
|
-
let(:nats_servers) { ENV.fetch('
|
42
|
+
let(:nats_servers) { ENV.fetch('STAN_ADDRS', '127.0.0.1:4222').split(',') }
|
43
43
|
let(:nats_servers_with_scheme) { nats_servers.map {|s| "nats://#{s}" } }
|
44
44
|
|
45
45
|
let(:publisher_url) { "stan://#{CGI.escape(nats_servers.join(','))}/?cluster_id=#{cluster_id}&client_id=#{client_id}" }
|
@@ -39,7 +39,7 @@ RSpec.describe 'STAN', stan: true do
|
|
39
39
|
let(:cluster_id) { 'test-cluster' } # this is a default cluster for https://hub.docker.com/_/nats-streaming
|
40
40
|
let(:client_id) { 'bps-test' }
|
41
41
|
|
42
|
-
let(:nats_servers) { ENV.fetch('
|
42
|
+
let(:nats_servers) { ENV.fetch('STAN_ADDRS', '127.0.0.1:4222').split(',') }
|
43
43
|
let(:nats_servers_with_scheme) { nats_servers.map {|s| "nats://#{s}" } }
|
44
44
|
|
45
45
|
let(:subscriber_url) { "stan://#{CGI.escape(nats_servers.join(','))}/?cluster_id=#{cluster_id}&client_id=#{client_id}" }
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bps-stan
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Black Square Media
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-09-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bps
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.2.
|
19
|
+
version: 0.2.2
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - '='
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 0.2.
|
26
|
+
version: 0.2.2
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: nats-streaming
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -70,7 +70,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
70
70
|
- !ruby/object:Gem::Version
|
71
71
|
version: '0'
|
72
72
|
requirements: []
|
73
|
-
rubygems_version: 3.
|
73
|
+
rubygems_version: 3.2.15
|
74
74
|
signing_key:
|
75
75
|
specification_version: 4
|
76
76
|
summary: BPS adapter for nats-streaming
|