launchdarkly-server-sdk 5.5.8 → 5.5.9

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
  SHA1:
3
- metadata.gz: 5f398c6f9f86b06cd1dbda8da779892566842ef6
4
- data.tar.gz: 2c0cad8cc37a51b2f0d6bc6b1b6c7cd9e8672b25
3
+ metadata.gz: 2a84c1858841b557c3eeed5bf308b70df35682c9
4
+ data.tar.gz: 977bc3152702a255167298f3ce10dbdfe6e4b5a9
5
5
  SHA512:
6
- metadata.gz: ccbd67ff59afcfa26153347251d09ffe81535bbaf01518098b63258c368eeeaaeaeefcce7627590db6f21470bf67703afcd71d4d930db973fed90c6557fa89fe
7
- data.tar.gz: 36d502b93377ee48dad9f22eb09ba93f9ff6c781e295d42c05abcdbab42bf81d9b1c883568fbd12aaddb61cb08e090ef465e66e98a6cf681d3b2582236912f8d
6
+ metadata.gz: cb5cfb6547152e431960211de0b5585f9c020ce7ae7d12bead3ff36e58266b357577f758e248883615c38749a6db0781025269026276dc221d0b4271d21a1107
7
+ data.tar.gz: '088ff4eed37ec7c2b8c4ad7c3e12fdbca2a9e96825e4075c3cbdf6afa33fc08f589ef933cd64c6098511ddfbaf64b614fc0dfceb5a47be2f4257ecb2bd252919'
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
+ ## [5.5.9] - 2019-07-23
6
+ ### Fixed:
7
+ - Due to the gem name no longer being the same as the `require` name, Bundler autoloading was no longer working in versions 5.5.7 and 5.5.8 of the SDK. This has been fixed. (Thanks, [tonyta](https://github.com/launchdarkly/ruby-server-sdk/pull/137)!)
8
+
5
9
  ## [5.5.8] - 2019-07-11
6
10
  ### Fixed:
7
11
  - In streaming mode, depending on the Ruby version, calling `close` on the client could cause a misleading warning message in the log, such as `Unexpected error from event source: #<IOError: stream closed in another thread>`. ([#135](https://github.com/launchdarkly/ruby-server-sdk/issues/135))
@@ -0,0 +1 @@
1
+ require_relative "ldclient-rb"
@@ -1,3 +1,3 @@
1
1
  module LaunchDarkly
2
- VERSION = "5.5.8"
2
+ VERSION = "5.5.9"
3
3
  end
@@ -0,0 +1,13 @@
1
+ require "spec_helper"
2
+ require "bundler"
3
+
4
+ describe LaunchDarkly do
5
+ it "can be automatically loaded by Bundler.require" do
6
+ ldclient_loaded =
7
+ Bundler.with_clean_env do
8
+ Kernel.system("ruby", "./spec/launchdarkly-server-sdk_spec_autoloadtest.rb")
9
+ end
10
+
11
+ expect(ldclient_loaded).to be true
12
+ end
13
+ end
@@ -0,0 +1,9 @@
1
+ require "bundler/setup"
2
+ require "bundler/inline"
3
+
4
+ gemfile do
5
+ gem "launchdarkly-server-sdk", path: "."
6
+ end
7
+
8
+ Bundler.require(:development)
9
+ abort unless $LOADED_FEATURES.any? { |file| file =~ /ldclient-rb\.rb/ }
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: 5.5.8
4
+ version: 5.5.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - LaunchDarkly
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-07-11 00:00:00.000000000 Z
11
+ date: 2019-07-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-dynamodb
@@ -254,6 +254,7 @@ files:
254
254
  - azure-pipelines.yml
255
255
  - ext/mkrf_conf.rb
256
256
  - launchdarkly-server-sdk.gemspec
257
+ - lib/launchdarkly-server-sdk.rb
257
258
  - lib/ldclient-rb.rb
258
259
  - lib/ldclient-rb/cache_store.rb
259
260
  - lib/ldclient-rb/config.rb
@@ -306,6 +307,8 @@ files:
306
307
  - spec/integrations/consul_feature_store_spec.rb
307
308
  - spec/integrations/dynamodb_feature_store_spec.rb
308
309
  - spec/integrations/store_wrapper_spec.rb
310
+ - spec/launchdarkly-server-sdk_spec.rb
311
+ - spec/launchdarkly-server-sdk_spec_autoloadtest.rb
309
312
  - spec/ldclient_spec.rb
310
313
  - spec/newrelic_spec.rb
311
314
  - spec/polling_spec.rb
@@ -360,6 +363,8 @@ test_files:
360
363
  - spec/integrations/consul_feature_store_spec.rb
361
364
  - spec/integrations/dynamodb_feature_store_spec.rb
362
365
  - spec/integrations/store_wrapper_spec.rb
366
+ - spec/launchdarkly-server-sdk_spec.rb
367
+ - spec/launchdarkly-server-sdk_spec_autoloadtest.rb
363
368
  - spec/ldclient_spec.rb
364
369
  - spec/newrelic_spec.rb
365
370
  - spec/polling_spec.rb