bps-nats 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c89d1a58982808caab9abd60615814758133bf82e65fbe3a5d09c181a50de071
4
- data.tar.gz: 86b6bbea55f302e1b0ecdd9f781cf692dfc7f89c87b4a739d1a743e9a2443820
3
+ metadata.gz: d47486043ad6408920ed64a20fce77cce18fe06395af55df3f7d6797c844b56a
4
+ data.tar.gz: 84826357e4825e0ba250c270bdc5b058ed7602653e8e6e6fb005f5d99a1de2c4
5
5
  SHA512:
6
- metadata.gz: 69fda10cfd008b0c9ec1d8571477e6d4647e20e51893177137f56bdc311cfd97a93ae929a516c90437573b9618d548d863968810980ae37831232895320510ae
7
- data.tar.gz: 8de90a1259cacafe09a636aa22f26064d16d8e4d90ea4df19a73ba435203b161220c79bf8a6efbe145caba9b5aeca92d2da1c672d8cf7c631ddc01196743ffad
6
+ metadata.gz: 5baf3dc700887b5c2e17216fb137241323a092306883c4ff8e085b2eda9b74f38e0456a7eb2e2ed7c60fd1f93a3677b989a2a599cc6bd857385f25c076d56478
7
+ data.tar.gz: 02e36d145197eb630a4fd4918d9d745fd774df2676713585aa72504b78a6659eec83e75e33526e623d6a946595d6c6b0d0f84f931a8fa7912a4a89beb62990e7
@@ -71,6 +71,8 @@ module BPS
71
71
  end
72
72
 
73
73
  def close
74
+ super
75
+
74
76
  @client.close
75
77
  end
76
78
  end
@@ -33,7 +33,7 @@ RSpec.describe 'NATS', nats: true do
33
33
  end
34
34
 
35
35
  context BPS::Publisher::NATS do
36
- let(:nats_servers) { ENV.fetch('NATS_SERVERS', '127.0.0.1:4222').split(',') }
36
+ let(:nats_servers) { ENV.fetch('NATS_ADDRS', '127.0.0.1:4222').split(',') }
37
37
  let(:messages_queue) { Queue.new }
38
38
  let(:nats_servers_with_scheme) { nats_servers.map {|s| "nats://#{s}" } }
39
39
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bps-nats
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
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-03-05 00:00:00.000000000 Z
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.1
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.1
26
+ version: 0.2.2
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: nats-pure
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -68,7 +68,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
68
68
  - !ruby/object:Gem::Version
69
69
  version: '0'
70
70
  requirements: []
71
- rubygems_version: 3.1.4
71
+ rubygems_version: 3.2.15
72
72
  signing_key:
73
73
  specification_version: 4
74
74
  summary: BPS adapter for nats