ecfr 1.0.9 → 1.0.10

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: cadbb3387da1a9a32e94246031dd6330160ad2aa8891d6fee6a78fd334553b6b
4
- data.tar.gz: 58d7b650c1e6406d1ce1a9b6faf76e649762c3bf90a0305a38a5f0dd63580a28
3
+ metadata.gz: 9b831994e070ea609002c625540be87ee5c8642f0eb0643acd35b37eec986025
4
+ data.tar.gz: d81a7ec6ca04d5c6b5793ddb8aa1040fce4cf722083b7551d11f3e71ccb4d18d
5
5
  SHA512:
6
- metadata.gz: 7e8feba398bf9e8aac36468a6292682526a1d95b412a8ac46b898d7c7a71c144081b5aca4cca2d386f24e359399d1e13599ff95f219047257a038c176d063959
7
- data.tar.gz: 1cd02d613ead3929fe1957bade79bac560f37ccdfc531c59a4710524ccb781ca23c0fff44f3bc0e42f58126e0da9265f23874d41db4847c20bb5a328de669714
6
+ metadata.gz: 5b8a21441cd709b5892ba8520ac4b06f7958d56122bff98b9864f96f8a7dfd3077d822e5686838214f50ea68c421ba7589205d716ece8c418aded50cd43cb0e4
7
+ data.tar.gz: 6d3b97c5c427bfd015ffd5e3bfea2e5343d0f9e5a9d604c11c852a339e1056826ef2d328307c4960e34e1d2a898eba3c0e60290998ddbdbe212544defdd5cd90
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  ## [Unreleased]
2
2
 
3
+ ## [1.0.10] - 2023-06-15
4
+ ### Bugfixes
5
+ - Fix client to respect port numbers when determing client reuse (1afbb6)
6
+ - this supports local enviroments where services may be running on different ports
7
+
3
8
  ## [1.0.9] - 2023-05-12
4
9
  ### Additions
5
10
  - Add support for configuring the service path. This supports blue/green style deployments where the same service may be running but accessible at different subpaths.
data/lib/ecfr/client.rb CHANGED
@@ -62,7 +62,7 @@ module Ecfr
62
62
  def self.client_pool(base_url, client_options)
63
63
  uri = URI.parse(base_url)
64
64
 
65
- cache_key = "ecfr-client-pool-#{uri.host}-#{Digest::MD5.hexdigest(client_options.to_s)}"
65
+ cache_key = "ecfr-client-pool-#{uri.host}-#{uri.port}-#{Digest::MD5.hexdigest(client_options.to_s)}"
66
66
 
67
67
  RequestStore.fetch(cache_key) do
68
68
  Faraday.new(url: uri.to_s) do |faraday|
data/lib/ecfr/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Ecfr
4
- VERSION = "1.0.9"
4
+ VERSION = "1.0.10"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ecfr
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.9
4
+ version: 1.0.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peregrinator
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-05-12 00:00:00.000000000 Z
11
+ date: 2023-06-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activemodel