bps-nats 0.2.1 → 0.2.4

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: 89a44c8ef909b1a9a328748e7bd504185e93fed4c913f2100567b5771cac29ce
4
+ data.tar.gz: 29cfac457c4557e5ce356dfffa6b0ae831c0cdf4fc0d3b6636a8984abe91931c
5
5
  SHA512:
6
- metadata.gz: 69fda10cfd008b0c9ec1d8571477e6d4647e20e51893177137f56bdc311cfd97a93ae929a516c90437573b9618d548d863968810980ae37831232895320510ae
7
- data.tar.gz: 8de90a1259cacafe09a636aa22f26064d16d8e4d90ea4df19a73ba435203b161220c79bf8a6efbe145caba9b5aeca92d2da1c672d8cf7c631ddc01196743ffad
6
+ metadata.gz: 76700e642bf5888103c1ce61435b4e183c8dff56270118f86da98e24b01d9c8088a68b6f9fd56b40d0d7ba788e1e2398d24cb61cd55a5ba095c1b79c87ca9f34
7
+ data.tar.gz: d48eec125c0a356296b0e8c87263a6f3c9d18444b303cd7d579d221668e524c98849a1a0399f61bccb01c62c6c6936209c0de1ec824b21e4254ad859b3036776
data/bps-nats.gemspec CHANGED
@@ -15,8 +15,9 @@ Gem::Specification.new do |s|
15
15
  s.files = `git ls-files`.split("\n")
16
16
  s.test_files = `git ls-files -- spec/*`.split("\n")
17
17
  s.require_paths = ['lib']
18
- s.required_ruby_version = '>= 2.6.0'
18
+ s.required_ruby_version = '>= 2.7'
19
19
 
20
20
  s.add_dependency 'bps', s.version
21
21
  s.add_dependency 'nats-pure', '~> 0.6.2'
22
+ s.metadata['rubygems_mfa_required'] = 'true'
22
23
  end
@@ -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.4
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: 2022-03-15 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.4
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.4
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: nats-pure
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -52,7 +52,8 @@ files:
52
52
  homepage: https://github.com/bsm/bps
53
53
  licenses:
54
54
  - Apache-2.0
55
- metadata: {}
55
+ metadata:
56
+ rubygems_mfa_required: 'true'
56
57
  post_install_message:
57
58
  rdoc_options: []
58
59
  require_paths:
@@ -61,14 +62,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
61
62
  requirements:
62
63
  - - ">="
63
64
  - !ruby/object:Gem::Version
64
- version: 2.6.0
65
+ version: '2.7'
65
66
  required_rubygems_version: !ruby/object:Gem::Requirement
66
67
  requirements:
67
68
  - - ">="
68
69
  - !ruby/object:Gem::Version
69
70
  version: '0'
70
71
  requirements: []
71
- rubygems_version: 3.1.4
72
+ rubygems_version: 3.3.3
72
73
  signing_key:
73
74
  specification_version: 4
74
75
  summary: BPS adapter for nats