ldclient-rb 2.3.1 → 2.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/lib/ldclient-rb/redis_feature_store.rb +4 -2
- data/lib/ldclient-rb/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 074163fec07d0e90f8f0aadb30bcf43adb132983
|
4
|
+
data.tar.gz: 5f6a6c1649125810cd59b314d44c83f57a7eb91e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f9f4d473ee40827436698307aec2455d08cf822072a0795752fb824bad9b04100505e3d42665413ae38f07590b7e7e2149887e486103670c16f057cf13790eef
|
7
|
+
data.tar.gz: 353e502f66a7fcb3e07daf97a629139adb4fcdb76e648fb95e4447d9563f4aa21879816cc1e40c10e50fa3f31241c2757502c7dee365519374dffc35884086d2
|
data/CHANGELOG.md
CHANGED
@@ -2,6 +2,12 @@
|
|
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
|
+
## 2.3.2 - 2017-12-02
|
6
|
+
|
7
|
+
### Fixed
|
8
|
+
- Make sure redis store initializations are atomic
|
9
|
+
|
10
|
+
|
5
11
|
## [2.3.1] - 2017-11-16
|
6
12
|
|
7
13
|
### Changed
|
@@ -158,8 +158,10 @@ and prefix: #{@prefix}")
|
|
158
158
|
def init(fs)
|
159
159
|
@cache.clear
|
160
160
|
with_connection do |redis|
|
161
|
-
redis.
|
162
|
-
|
161
|
+
redis.multi do |multi|
|
162
|
+
redis.del(@features_key)
|
163
|
+
fs.each { |k, f| put_redis_and_cache(multi, k, f) }
|
164
|
+
end
|
163
165
|
end
|
164
166
|
put_cache(INIT_KEY, true)
|
165
167
|
@logger.info("RedisFeatureStore: initialized with #{fs.count} feature flags")
|
data/lib/ldclient-rb/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ldclient-rb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.3.
|
4
|
+
version: 2.3.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- LaunchDarkly
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-12-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|