launchdarkly-server-sdk 8.12.3-java → 8.13.0-java
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: 94c8797b35ad5d1abce1827cd6eaf48961856cf8102eabe2d9de1c674c17405a
|
|
4
|
+
data.tar.gz: 7f02d923d1522f3976ee5ab457379dd5f40992539894175ce93a54083d107bca
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7fde3a50440b01752b84cebe45fbcb660258252ba1d162fbfc20fb5131686751de4c917ce1e61441d0981b606f4a44091a4724792019476bf27dd852a68877b6
|
|
7
|
+
data.tar.gz: f1efa40715fb7909b2793d89de9e4f957f8ac468c5865c4fa46a0b111c0544cb627fc9ec0c0c477ea6718eac2ff18decd0d3d54b0c7edcacf7168c23d8f2343c
|
|
@@ -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,13 +1,13 @@
|
|
|
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: java
|
|
6
6
|
authors:
|
|
7
7
|
- LaunchDarkly
|
|
8
8
|
bindir: bin
|
|
9
9
|
cert_chain: []
|
|
10
|
-
date: 2026-03-
|
|
10
|
+
date: 2026-03-27 00:00:00.000000000 Z
|
|
11
11
|
dependencies:
|
|
12
12
|
- !ruby/object:Gem::Dependency
|
|
13
13
|
name: aws-sdk-dynamodb
|
|
@@ -251,14 +251,14 @@ dependencies:
|
|
|
251
251
|
requirements:
|
|
252
252
|
- - '='
|
|
253
253
|
- !ruby/object:Gem::Version
|
|
254
|
-
version: 2.
|
|
254
|
+
version: 2.6.0
|
|
255
255
|
type: :runtime
|
|
256
256
|
prerelease: false
|
|
257
257
|
version_requirements: !ruby/object:Gem::Requirement
|
|
258
258
|
requirements:
|
|
259
259
|
- - '='
|
|
260
260
|
- !ruby/object:Gem::Version
|
|
261
|
-
version: 2.
|
|
261
|
+
version: 2.6.0
|
|
262
262
|
- !ruby/object:Gem::Dependency
|
|
263
263
|
name: observer
|
|
264
264
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -316,7 +316,7 @@ dependencies:
|
|
|
316
316
|
version: 4.4.0
|
|
317
317
|
- - "<"
|
|
318
318
|
- !ruby/object:Gem::Version
|
|
319
|
-
version:
|
|
319
|
+
version: 7.0.0
|
|
320
320
|
type: :runtime
|
|
321
321
|
prerelease: false
|
|
322
322
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -326,7 +326,7 @@ dependencies:
|
|
|
326
326
|
version: 4.4.0
|
|
327
327
|
- - "<"
|
|
328
328
|
- !ruby/object:Gem::Version
|
|
329
|
-
version:
|
|
329
|
+
version: 7.0.0
|
|
330
330
|
- !ruby/object:Gem::Dependency
|
|
331
331
|
name: json
|
|
332
332
|
requirement: !ruby/object:Gem::Requirement
|