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 +4 -4
- data/CHANGELOG.md +5 -0
- data/lib/ecfr/client.rb +1 -1
- data/lib/ecfr/version.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: 9b831994e070ea609002c625540be87ee5c8642f0eb0643acd35b37eec986025
|
4
|
+
data.tar.gz: d81a7ec6ca04d5c6b5793ddb8aa1040fce4cf722083b7551d11f3e71ccb4d18d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
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.
|
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-
|
11
|
+
date: 2023-06-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activemodel
|