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: 9c039ad353413b88544bf8da89f1400af464323ce17c5677d3df96429fd1966c
4
- data.tar.gz: 25eb62e52f75379f22a46df2273df1b7e6658b835f8f0470d03412ce55612467
3
+ metadata.gz: 46965b7a093300bb83c4a872fa78b1b655b516d12bb8156a146485cdb64aa3e9
4
+ data.tar.gz: '08e28a273df0f5b682869c8109305f517ca7be7f519e87f58c86f27d2216b950'
5
5
  SHA512:
6
- metadata.gz: 076b46271f1907f7a8a3bfcb322b1a291cb0aa2ed4ca3da822bf67dad9b023e1e162014e4d94350a72c0bd66af5101f9f2437950859d07e67d912e823ef02548
7
- data.tar.gz: 8339b1e5393e366126227ffc00e4f3cf5de72a1f3fde013c501951bd7c19f3505c2ea69510d53b6df46f62599c2f44dab7e670ae5c05c2fdf5a6fccbaf0000d0
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
- [![Circle CI](https://circleci.com/gh/launchdarkly/ruby-server-sdk/tree/main.svg?style=svg)](https://circleci.com/gh/launchdarkly/ruby-server-sdk/tree/main)
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 = (!opts[:pool] || opts.fetch(:pool_shutdown_on_close, true))
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, errors)
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, errors_out = nil)
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]
@@ -87,6 +87,7 @@ module LaunchDarkly
87
87
 
88
88
  if @config.use_ldd?
89
89
  @config.logger.info { "[LDClient] Started LaunchDarkly Client in LDD mode" }
90
+ @data_source = NullUpdateProcessor.new
90
91
  return # requestor and update processor are not used in this mode
91
92
  end
92
93
 
@@ -1,3 +1,3 @@
1
1
  module LaunchDarkly
2
- VERSION = "7.3.0"
2
+ VERSION = "7.3.3" # x-release-please-version
3
3
  end
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.0
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: 2023-10-16 00:00:00.000000000 Z
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.4.20
360
+ rubygems_version: 3.1.6
361
361
  signing_key:
362
362
  specification_version: 4
363
363
  summary: LaunchDarkly SDK for Ruby