ldclient-rb 5.5.0 → 5.5.1
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 +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/ldclient-rb/integrations/consul.rb +1 -1
- data/lib/ldclient-rb/integrations/dynamodb.rb +1 -1
- data/lib/ldclient-rb/integrations/redis.rb +1 -1
- data/lib/ldclient-rb/integrations/util/store_wrapper.rb +1 -1
- data/lib/ldclient-rb/redis_store.rb +1 -1
- data/lib/ldclient-rb/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 82f0e312565c73eaabce4236d730c245fce5b9df
|
4
|
+
data.tar.gz: a348e79da3317b00f61508a6f2ad2cdc2eb8672b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3e802ed399ae6f3e8e710f95f710ee21a0f04acf2339f7378efdb7e850af2453b3bea67d55205a115d953ea23098a9b3ed59b25c2d6b88a6558287d2d48ac56c
|
7
|
+
data.tar.gz: 4045931b8bede384a15e7ccbdba74e65e8568ef2275c1490ac1355280aca95c98526af95c2538491e0269c1d39cd6765ff4c4bc84ced8a05ec6344e99af73953
|
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.1] - 2019-01-17
|
6
|
+
### Fixed:
|
7
|
+
- Fixed several documentation comments that had the wrong parameter names. There are no other changes in this release; it's only to correct the documentation.
|
8
|
+
|
5
9
|
## [5.5.0] - 2019-01-17
|
6
10
|
### Added:
|
7
11
|
- It is now possible to use Consul or DynamoDB as a persistent feature store, similar to the existing Redis integration. See the `LaunchDarkly::Integrations::Consul` and `LaunchDarkly::Integrations::DynamoDB` modules, and the reference guide [Using a persistent feature store](https://docs.launchdarkly.com/v2.0/docs/using-a-persistent-feature-store).
|
@@ -25,7 +25,7 @@ module LaunchDarkly
|
|
25
25
|
# @option opts [String] :url shortcut for setting the `url` property of the Consul client configuration
|
26
26
|
# @option opts [String] :prefix namespace prefix to add to all keys used by LaunchDarkly
|
27
27
|
# @option opts [Logger] :logger a `Logger` instance; defaults to `Config.default_logger`
|
28
|
-
# @option opts [Integer] :
|
28
|
+
# @option opts [Integer] :expiration (15) expiration time for the in-memory cache, in seconds; 0 for no local caching
|
29
29
|
# @option opts [Integer] :capacity (1000) maximum number of items in the cache
|
30
30
|
# @return [LaunchDarkly::Interfaces::FeatureStore] a feature store object
|
31
31
|
#
|
@@ -34,7 +34,7 @@ module LaunchDarkly
|
|
34
34
|
# @option opts [Object] :existing_client an already-constructed DynamoDB client for the feature store to use
|
35
35
|
# @option opts [String] :prefix namespace prefix to add to all keys used by LaunchDarkly
|
36
36
|
# @option opts [Logger] :logger a `Logger` instance; defaults to `Config.default_logger`
|
37
|
-
# @option opts [Integer] :
|
37
|
+
# @option opts [Integer] :expiration (15) expiration time for the in-memory cache, in seconds; 0 for no local caching
|
38
38
|
# @option opts [Integer] :capacity (1000) maximum number of items in the cache
|
39
39
|
# @return [LaunchDarkly::Interfaces::FeatureStore] a feature store object
|
40
40
|
#
|
@@ -42,7 +42,7 @@ module LaunchDarkly
|
|
42
42
|
# @option opts [String] :prefix (default_prefix) namespace prefix to add to all hash keys used by LaunchDarkly
|
43
43
|
# @option opts [Logger] :logger a `Logger` instance; defaults to `Config.default_logger`
|
44
44
|
# @option opts [Integer] :max_connections size of the Redis connection pool
|
45
|
-
# @option opts [Integer] :
|
45
|
+
# @option opts [Integer] :expiration (15) expiration time for the in-memory cache, in seconds; 0 for no local caching
|
46
46
|
# @option opts [Integer] :capacity (1000) maximum number of items in the cache
|
47
47
|
# @option opts [Object] :pool custom connection pool, if desired
|
48
48
|
# @return [LaunchDarkly::Interfaces::FeatureStore] a feature store object
|
@@ -23,7 +23,7 @@ module LaunchDarkly
|
|
23
23
|
#
|
24
24
|
# @param core [Object] an object that implements the {FeatureStoreCore} methods
|
25
25
|
# @param opts [Hash] a hash that may include cache-related options; all others will be ignored
|
26
|
-
# @option opts [Float] :
|
26
|
+
# @option opts [Float] :expiration (15) cache TTL; zero means no caching
|
27
27
|
# @option opts [Integer] :capacity (1000) maximum number of items in the cache
|
28
28
|
#
|
29
29
|
def initialize(core, opts)
|
@@ -32,7 +32,7 @@ module LaunchDarkly
|
|
32
32
|
# @option opts [String] :prefix namespace prefix to add to all hash keys used by LaunchDarkly
|
33
33
|
# @option opts [Logger] :logger a `Logger` instance; defaults to `Config.default_logger`
|
34
34
|
# @option opts [Integer] :max_connections size of the Redis connection pool
|
35
|
-
# @option opts [Integer] :
|
35
|
+
# @option opts [Integer] :expiration expiration time for the in-memory cache, in seconds; 0 for no local caching
|
36
36
|
# @option opts [Integer] :capacity maximum number of feature flags (or related objects) to cache locally
|
37
37
|
# @option opts [Object] :pool custom connection pool, if desired
|
38
38
|
#
|
data/lib/ldclient-rb/version.rb
CHANGED