consul_syncer 1.2.1 → 1.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/consul_syncer/version.rb +1 -1
- data/lib/consul_syncer.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 34b83e20565f0858e1918b7ca93c1c6d41c9a2b2777a32937bb5169345175142
|
4
|
+
data.tar.gz: bf0ff33dd92696b851ca21537dd53bf7b06b8076572418149f91e47d34f8921d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 35f338525c66aea26f700d3b6931ab05676acb24e711428858326b237cf73f1d8874fadb95f51a2eabb0b9a085bf21c1192cae1bbc7f8113e2cf03173e5572c0
|
7
|
+
data.tar.gz: e41f084b247a579ca030419c1f01b1695829291cd63b6b1feedd0af3822f22f3974a2101ac46c68b062f1fd54340b8cd5e8a1a6425beaa0f285b6a55946aecf4
|
data/lib/consul_syncer.rb
CHANGED
@@ -86,7 +86,7 @@ class ConsulSyncer
|
|
86
86
|
private
|
87
87
|
|
88
88
|
def consul_endpoints(requested_tags)
|
89
|
-
services = @consul.request(:get, "/v1/catalog/services?cached&stale
|
89
|
+
services = @consul.request(:get, "/v1/catalog/services?cached&stale")
|
90
90
|
services.each_with_object([]) do |(name, tags), all|
|
91
91
|
# cannot query for multiple tags via query, so handle multi-matching manually
|
92
92
|
next if (requested_tags - tags).any?
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: consul_syncer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Grosser
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-09-
|
11
|
+
date: 2021-09-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|