consul_syncer 0.7.0 → 1.0.0

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: 6ff1ddbb967d9933780e182ffb58e1d01acd148521b70c09094a63b67776d2d0
4
- data.tar.gz: e04b891a2681d9905f1c6179b0d88b56430f2fca1349a8f02e34ce2d6f747c9b
3
+ metadata.gz: 6354e9ee4ccdf46a22fd97263f8008da145c27a92ff766b501b15f8431303585
4
+ data.tar.gz: a93e69e00dbcba1cb4d7ee4f5ab4f0fe7cd32ec1e8d3521ca6e11c6278868675
5
5
  SHA512:
6
- metadata.gz: aa30da27403bce7ccad6701f352a11090cca2b3b39f1e43eba616c789cabbbf578b9d273c15d15a2e454d0a5ee31424d2cf8777e2e49c82c333eb21c3afa9c80
7
- data.tar.gz: dee98d07307ef9171b33da69145fb12f77bd86326b45f590d293965d07da80445adf95c8eb3f3b1540d032fec5a6d4511f47ee9136fe038b40818958f5099295
6
+ metadata.gz: 87b9d3375f8e6aa9ce4e7f7055117ddc2e743b86e410f2367ab748ed3795e0f48a763a4b620e40fe703fab7b250a99d2855016c2d2e4170244061ef7aa54b2dc
7
+ data.tar.gz: a53abb227735ead7f9c0d7f44a95c856cbce43a6e346f40a0977ed4feaad22caa76c9342888d6d135fa99722fd508c30e0743fd44dea426fd1dd35e5200a4c48
@@ -81,7 +81,7 @@ class ConsulSyncer
81
81
  private
82
82
 
83
83
  def consul_endpoints(requested_tags)
84
- services = @consul.request(:get, "/v1/catalog/services?tag=#{requested_tags.first}")
84
+ services = @consul.request(:get, "/v1/catalog/services?cached&stale&tag=#{requested_tags.first}")
85
85
  services.each_with_object([]) do |(name, tags), all|
86
86
  # cannot query for multiple tags via query, so handle multi-matching manually
87
87
  next if (requested_tags - tags).any?
@@ -1,3 +1,3 @@
1
1
  class ConsulSyncer
2
- VERSION = "0.7.0"
2
+ VERSION = "1.0.0"
3
3
  end
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: 0.7.0
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Grosser
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-06-18 00:00:00.000000000 Z
11
+ date: 2020-02-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -54,8 +54,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
54
54
  - !ruby/object:Gem::Version
55
55
  version: '0'
56
56
  requirements: []
57
- rubyforge_project:
58
- rubygems_version: 2.7.6
57
+ rubygems_version: 3.0.3
59
58
  signing_key:
60
59
  specification_version: 4
61
60
  summary: Sync remote services into consul