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 +4 -4
- data/bps-nats.gemspec +2 -1
- data/lib/bps/publisher/nats.rb +2 -0
- data/spec/bps/nats_spec.rb +1 -1
- metadata +8 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 89a44c8ef909b1a9a328748e7bd504185e93fed4c913f2100567b5771cac29ce
|
4
|
+
data.tar.gz: 29cfac457c4557e5ce356dfffa6b0ae831c0cdf4fc0d3b6636a8984abe91931c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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
|
data/lib/bps/publisher/nats.rb
CHANGED
data/spec/bps/nats_spec.rb
CHANGED
@@ -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('
|
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.
|
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:
|
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.
|
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.
|
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.
|
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.
|
72
|
+
rubygems_version: 3.3.3
|
72
73
|
signing_key:
|
73
74
|
specification_version: 4
|
74
75
|
summary: BPS adapter for nats
|