launchdarkly-server-sdk 8.12.3 → 8.13.0
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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6e2e62602bd745a9d90c6ab5c225c5e003f5a4e7aa83acc60305f6e16d6d1b46
|
|
4
|
+
data.tar.gz: 60be6f22178169195bb5cab7f6242ebc781361350ce5da18715395c5c6739258
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: '049b2d8a20a5be92e4a28bc2128c71f447ec94915a4a2c45a08260729a891609ee97e9a01e9a25e2ea2b3ddd7eda08fb3707276f8cc418afb1d401a66b08d2bb'
|
|
7
|
+
data.tar.gz: 7cf82c93c2bc5b6c6abbc63200f61cd5bc05d6b0cf8a780760e7ec4e86cf4ffccaff23b616f9496f3bbe614b20956f16adbfa83131040c68f1aee75ea1b80e6d
|
|
@@ -64,9 +64,7 @@ module LaunchDarkly
|
|
|
64
64
|
unless cached.nil?
|
|
65
65
|
headers["If-None-Match"] = cached.etag
|
|
66
66
|
end
|
|
67
|
-
response = @http_client.request("GET", uri,
|
|
68
|
-
headers: headers,
|
|
69
|
-
})
|
|
67
|
+
response = @http_client.request("GET", uri, headers: headers)
|
|
70
68
|
status = response.status.code
|
|
71
69
|
# must fully read body for persistent connections
|
|
72
70
|
body = response.to_s
|
|
@@ -67,10 +67,7 @@ module LaunchDarkly
|
|
|
67
67
|
body = gzip.close.string
|
|
68
68
|
end
|
|
69
69
|
|
|
70
|
-
response = http_client.request("POST", uri,
|
|
71
|
-
headers: headers,
|
|
72
|
-
body: body,
|
|
73
|
-
})
|
|
70
|
+
response = http_client.request("POST", uri, headers: headers, body: body)
|
|
74
71
|
rescue StandardError => exn
|
|
75
72
|
@logger.warn { "[LDClient] Error sending events: #{exn.inspect}." }
|
|
76
73
|
next
|
|
@@ -127,22 +127,22 @@ module LaunchDarkly
|
|
|
127
127
|
def self.new_http_client(http_config)
|
|
128
128
|
http_client_options = {}
|
|
129
129
|
if http_config.socket_factory
|
|
130
|
-
http_client_options[
|
|
130
|
+
http_client_options[:socket_class] = http_config.socket_factory
|
|
131
131
|
end
|
|
132
132
|
proxy = URI.parse(http_config.base_uri).find_proxy
|
|
133
133
|
unless proxy.nil?
|
|
134
|
-
http_client_options[
|
|
134
|
+
http_client_options[:proxy] = {
|
|
135
135
|
proxy_address: proxy.host,
|
|
136
136
|
proxy_port: proxy.port,
|
|
137
137
|
proxy_username: proxy.user,
|
|
138
138
|
proxy_password: proxy.password,
|
|
139
139
|
}
|
|
140
140
|
end
|
|
141
|
-
HTTP::Client.new(http_client_options)
|
|
142
|
-
.timeout(
|
|
141
|
+
HTTP::Client.new(**http_client_options)
|
|
142
|
+
.timeout(
|
|
143
143
|
read: http_config.read_timeout,
|
|
144
|
-
connect: http_config.connect_timeout
|
|
145
|
-
|
|
144
|
+
connect: http_config.connect_timeout
|
|
145
|
+
)
|
|
146
146
|
.persistent(http_config.base_uri)
|
|
147
147
|
end
|
|
148
148
|
|
data/lib/ldclient-rb/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: launchdarkly-server-sdk
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 8.
|
|
4
|
+
version: 8.13.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- LaunchDarkly
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-03-
|
|
11
|
+
date: 2026-03-27 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: aws-sdk-dynamodb
|
|
@@ -252,14 +252,14 @@ dependencies:
|
|
|
252
252
|
requirements:
|
|
253
253
|
- - '='
|
|
254
254
|
- !ruby/object:Gem::Version
|
|
255
|
-
version: 2.
|
|
255
|
+
version: 2.6.0
|
|
256
256
|
type: :runtime
|
|
257
257
|
prerelease: false
|
|
258
258
|
version_requirements: !ruby/object:Gem::Requirement
|
|
259
259
|
requirements:
|
|
260
260
|
- - '='
|
|
261
261
|
- !ruby/object:Gem::Version
|
|
262
|
-
version: 2.
|
|
262
|
+
version: 2.6.0
|
|
263
263
|
- !ruby/object:Gem::Dependency
|
|
264
264
|
name: observer
|
|
265
265
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -331,7 +331,7 @@ dependencies:
|
|
|
331
331
|
version: 4.4.0
|
|
332
332
|
- - "<"
|
|
333
333
|
- !ruby/object:Gem::Version
|
|
334
|
-
version:
|
|
334
|
+
version: 7.0.0
|
|
335
335
|
type: :runtime
|
|
336
336
|
prerelease: false
|
|
337
337
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -341,7 +341,7 @@ dependencies:
|
|
|
341
341
|
version: 4.4.0
|
|
342
342
|
- - "<"
|
|
343
343
|
- !ruby/object:Gem::Version
|
|
344
|
-
version:
|
|
344
|
+
version: 7.0.0
|
|
345
345
|
- !ruby/object:Gem::Dependency
|
|
346
346
|
name: json
|
|
347
347
|
requirement: !ruby/object:Gem::Requirement
|