launchdarkly-server-sdk 7.3.0 → 7.3.3
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 46965b7a093300bb83c4a872fa78b1b655b516d12bb8156a146485cdb64aa3e9
|
4
|
+
data.tar.gz: '08e28a273df0f5b682869c8109305f517ca7be7f519e87f58c86f27d2216b950'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c0db4820e8eb87d27719e5789bcc28240e905f204b53697abdf795a61b373af27d2676090b8deacb5b3a1efc71389f294933922d53317b82470de27d70f70401
|
7
|
+
data.tar.gz: 5bc0ccc0da47626efd8c5674daeac8b928d3a2c6bbf4fef73212ace4b5138028d9cce458d6c945c118092386123f58bf32c3a9de67339c86a4581596db9f2164
|
data/README.md
CHANGED
@@ -3,7 +3,7 @@ LaunchDarkly Server-side SDK for Ruby
|
|
3
3
|
|
4
4
|
[![Gem Version](https://badge.fury.io/rb/launchdarkly-server-sdk.svg)](http://badge.fury.io/rb/launchdarkly-server-sdk)
|
5
5
|
|
6
|
-
[![
|
6
|
+
[![Run CI](https://github.com/launchdarkly/ruby-server-sdk/actions/workflows/ci.yml/badge.svg)](https://github.com/launchdarkly/ruby-server-sdk/actions/workflows/ci.yml)
|
7
7
|
[![RubyDoc](https://img.shields.io/static/v1?label=docs+-+all+versions&message=reference&color=00add8)](https://www.rubydoc.info/gems/launchdarkly-server-sdk)
|
8
8
|
[![GitHub Pages](https://img.shields.io/static/v1?label=docs+-+latest&message=reference&color=00add8)](https://launchdarkly.github.io/ruby-server-sdk)
|
9
9
|
|
@@ -112,7 +112,7 @@ module LaunchDarkly
|
|
112
112
|
@pool = create_redis_pool(opts)
|
113
113
|
|
114
114
|
# shutdown pool on close unless the client passed a custom pool and specified not to shutdown
|
115
|
-
@pool_shutdown_on_close =
|
115
|
+
@pool_shutdown_on_close = !opts[:pool] || opts.fetch(:pool_shutdown_on_close, true)
|
116
116
|
|
117
117
|
@prefix = opts[:prefix] || LaunchDarkly::Integrations::Redis::default_prefix
|
118
118
|
@logger = opts[:logger] || Config.default_logger
|
@@ -33,7 +33,7 @@ module LaunchDarkly
|
|
33
33
|
@off_variation = data[:offVariation]
|
34
34
|
check_variation_range(self, errors, @off_variation, "off variation")
|
35
35
|
@prerequisites = (data[:prerequisites] || []).map do |prereq_data|
|
36
|
-
Prerequisite.new(prereq_data, self
|
36
|
+
Prerequisite.new(prereq_data, self)
|
37
37
|
end
|
38
38
|
@targets = (data[:targets] || []).map do |target_data|
|
39
39
|
Target.new(target_data, self, errors)
|
@@ -108,13 +108,12 @@ module LaunchDarkly
|
|
108
108
|
end
|
109
109
|
|
110
110
|
class Prerequisite
|
111
|
-
def initialize(data, flag
|
111
|
+
def initialize(data, flag)
|
112
112
|
@data = data
|
113
113
|
@key = data[:key]
|
114
114
|
@variation = data[:variation]
|
115
115
|
@failure_result = EvaluatorHelpers.evaluation_detail_for_off_variation(flag,
|
116
116
|
EvaluationReason::prerequisite_failed(@key))
|
117
|
-
check_variation_range(flag, errors_out, @variation, "prerequisite")
|
118
117
|
end
|
119
118
|
|
120
119
|
# @return [Hash]
|
data/lib/ldclient-rb/ldclient.rb
CHANGED
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: 7.3.
|
4
|
+
version: 7.3.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- LaunchDarkly
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-03-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-dynamodb
|
@@ -357,7 +357,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
357
357
|
- !ruby/object:Gem::Version
|
358
358
|
version: '0'
|
359
359
|
requirements: []
|
360
|
-
rubygems_version: 3.
|
360
|
+
rubygems_version: 3.1.6
|
361
361
|
signing_key:
|
362
362
|
specification_version: 4
|
363
363
|
summary: LaunchDarkly SDK for Ruby
|