faraday-highly_available_retries 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b722b5bd2334c80ef65eede5716baa97c691f12a1753cc34bb4d3e492f9a5f4a
4
- data.tar.gz: 03ec8fbe4a4e01493250ca2ee97ff8d5586a00b305ab1aa2f54fbb138329ba9b
3
+ metadata.gz: 60c7beae6c72a2b4ce0b66aa27a7532b4bb3065c56e77c5f3d310c2b334fdde0
4
+ data.tar.gz: 362bcc689ffce4a331bdaa73afecaa3a58b7ebd2dbe6f0dfb420c822e35d6759
5
5
  SHA512:
6
- metadata.gz: 74224fe3d1bc2a25158610d619c94f3dace2f0d75fa658c838afd77843707ff404e3d5947dce9d34f3b47b5254db05590f19b2fe20b03c7906d7a613a7aea7a9
7
- data.tar.gz: ac903a546e4310d95e11fe87da63807acfee70823ca0f9c564932bd309c5acd0d34630a613e3325343b29c3124bc21725c1670c5ef70b22fab348f11b35003e0
6
+ metadata.gz: 6aec8d1ad550fe272628d75c828f1f47df09b010ad24ed57ed9feca125aae14f089d2e0ccf9723911d396c1d85db1ae5198a6c7e9d73156e2df8025b71db201f
7
+ data.tar.gz: 501360d550dca579dc6e961ab7bc208a2ba7c436386d5dcb1e423e965e92ca62980ce388d2473802fa843f970c2001409b32cedc6b8b50a762bf632ba3e798ad
data/CHANGELOG.md CHANGED
@@ -4,6 +4,10 @@ Inspired by [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
4
4
 
5
5
  **Note:** this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
6
 
7
+ ## [0.1.1] - 2023-08-16
8
+ ### Fixed
9
+ - Fixed a bug where the `hosts` list was not be re-resolved on each new request made
10
+
7
11
  ## [0.1.0] - 2023-08-13
8
12
 
9
13
  * Initial release.
@@ -73,7 +73,7 @@ module Faraday
73
73
  host_list = if env[FAILOVER_ORIGINAL_HOST_ENV_KEY]
74
74
  [[env[FAILOVER_ORIGINAL_HOST_ENV_KEY], env[FAILOVER_ORIGINAL_PORT_ENV_KEY]]] + @options.hosts(refresh: true)
75
75
  else
76
- @options.hosts
76
+ @options.hosts(refresh: true)
77
77
  end
78
78
 
79
79
  host_list.map { |host, port| Endpoint.from_host_and_port(host, port) }.flatten
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Faraday
4
4
  module HighlyAvailableRetries
5
- VERSION = '0.1.0'
5
+ VERSION = '0.1.1'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: faraday-highly_available_retries
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Invoca Development
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2023-08-13 00:00:00.000000000 Z
12
+ date: 2023-08-16 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: faraday
@@ -49,8 +49,8 @@ licenses:
49
49
  metadata:
50
50
  allowed_push_host: https://rubygems.org
51
51
  bug_tracker_uri: https://github.com/invoca/faraday-highly_available_retries/issues
52
- changelog_uri: https://github.com/invoca/faraday-highly_available_retries/blob/v0.1.0/CHANGELOG.md
53
- documentation_uri: http://www.rubydoc.info/gems/faraday-highly_available_retries/0.1.0
52
+ changelog_uri: https://github.com/invoca/faraday-highly_available_retries/blob/v0.1.1/CHANGELOG.md
53
+ documentation_uri: http://www.rubydoc.info/gems/faraday-highly_available_retries/0.1.1
54
54
  homepage_uri: https://github.com/invoca/faraday-highly_available_retries
55
55
  source_code_uri: https://github.com/invoca/faraday-highly_available_retries
56
56
  wiki_uri: https://github.com/invoca/faraday-highly_available_retries/wiki