launchdarkly-server-sdk 6.2.2 → 6.2.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: eef5d4b08484f02739bfab4d151f5212624cba09157e756e0126603ccacf0a31
4
- data.tar.gz: c0510cc29bbb40dd18dc3428803d0b6a33d1c9df868a4ac43caa801c9e3329f0
3
+ metadata.gz: 3c4646e511419b3e7883147b5040b136c84e333286518eca3171105c93304453
4
+ data.tar.gz: b1d3f4fe3ee44591ec9f642abc8787ae5234bb72f794fce6f8acb46a53cd62b5
5
5
  SHA512:
6
- metadata.gz: 338a0e3189764f8c5cfe1034ac6602050430a70468da33688953385322c8c94df60919ad04707e7504d6653a51b6928ea0d0fb121518fbdb5fd7ade9e418fa6e
7
- data.tar.gz: 94d7650238107eadc7cb2846b826816fe01fe6ee3f421a1a396821681ae8e2b3854c6675bede18cf7a7abf391164123b838dca615bb8404910e07ce350071d02
6
+ metadata.gz: 3657e9b125c86998638479696fb97b1729ff62e0aa3538b9d9a74f446cc3816bd797a43279c3c2e7a2fa13afb28092de80720384f125e194ee6388a0d10c5c7f
7
+ data.tar.gz: 001ce752eb3c8cc559d21ea5ca968c257a689345341324825fb6e76860062980406d8c5ee8476e2782c67bff29401d0b599ad40a896dc61ff79c719321c93365
data/.circleci/config.yml CHANGED
@@ -20,7 +20,7 @@ jobs:
20
20
  LD_RELEASE_DOCS_TITLE: ""
21
21
  LD_RELEASE_PROJECT: "ruby-server-sdk"
22
22
  LD_RELEASE_PROJECT_TEMPLATE: "ruby"
23
- LD_RELEASE_VERSION: "6.2.2"
23
+ LD_RELEASE_VERSION: "6.2.3"
24
24
  LD_SKIP_DATABASE_TESTS: "1"
25
25
  steps:
26
26
  - checkout
data/CHANGELOG.md CHANGED
@@ -2,6 +2,10 @@
2
2
 
3
3
  All notable changes to the LaunchDarkly Ruby SDK will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org).
4
4
 
5
+ ## [6.2.2] - 2021-07-23
6
+ ### Fixed:
7
+ - Enabling debug logging in polling mode could cause polling to fail with a `NameError`. (Thanks, [mmurphy-notarize](https://github.com/launchdarkly/ruby-server-sdk/pull/180)!)
8
+
5
9
  ## [6.2.1] - 2021-07-15
6
10
  ### Changed:
7
11
  - If `variation` or `variation_detail` is called with a user object that has no `key` (an invalid condition that will always result in the default value being returned), the SDK now logs a `warn`-level message to alert you to this incorrect usage. This makes the Ruby SDK's logging behavior consistent with the other server-side LaunchDarkly SDKs. ([#177](https://github.com/launchdarkly/ruby-server-sdk/issues/177))
@@ -79,7 +79,7 @@ module LaunchDarkly
79
79
  streamingDisabled: !config.stream?,
80
80
  userKeysCapacity: config.user_keys_capacity,
81
81
  userKeysFlushIntervalMillis: self.seconds_to_millis(config.user_keys_flush_interval),
82
- usingProxy: ENV.has_key?('http_proxy') || ENV.has_key?('https_proxy') || ENV.has_key?('HTTP_PROXY'),
82
+ usingProxy: ENV.has_key?('http_proxy') || ENV.has_key?('https_proxy') || ENV.has_key?('HTTP_PROXY') || ENV.has_key?('HTTPS_PROXY'),
83
83
  usingRelayDaemon: config.use_ldd?,
84
84
  }
85
85
  ret
@@ -1,3 +1,3 @@
1
1
  module LaunchDarkly
2
- VERSION = "6.2.2"
2
+ VERSION = "6.2.3"
3
3
  end
@@ -79,13 +79,15 @@ module LaunchDarkly
79
79
  end
80
80
  end
81
81
 
82
- it "detects proxy" do
83
- begin
84
- ENV["http_proxy"] = 'http://my-proxy'
85
- event = default_acc.create_init_event(Config.new)
86
- expect(event[:configuration][:usingProxy]).to be true
87
- ensure
88
- ENV["http_proxy"] = nil
82
+ ['http_proxy', 'https_proxy', 'HTTP_PROXY', 'HTTPS_PROXY'].each do |name|
83
+ it "detects proxy #{name}" do
84
+ begin
85
+ ENV[name] = 'http://my-proxy'
86
+ event = default_acc.create_init_event(Config.new)
87
+ expect(event[:configuration][:usingProxy]).to be true
88
+ ensure
89
+ ENV[name] = nil
90
+ end
89
91
  end
90
92
  end
91
93
 
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: 6.2.2
4
+ version: 6.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - LaunchDarkly
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-07-23 00:00:00.000000000 Z
11
+ date: 2021-08-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-dynamodb