ldclient-rb 2.3.1 → 2.3.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8bfb8d22b2b4294ec4096d0c3131e20390bf2634
4
- data.tar.gz: 42d06dbed907402e81213b207bbcf4ccce52dd5d
3
+ metadata.gz: 074163fec07d0e90f8f0aadb30bcf43adb132983
4
+ data.tar.gz: 5f6a6c1649125810cd59b314d44c83f57a7eb91e
5
5
  SHA512:
6
- metadata.gz: d3b59e2fdbec17b31cc7c6450e1485afa9a522009990528b998f2f1782711049b86db19f56ba6212d09c931a23a5f92b1078fb70c071fd8adbbd1116990d8601
7
- data.tar.gz: 6d2bdc142c97b704ed5ad211bb9eee18f3b0e2bf5deaf5ac2957b3d8fe8475f591e28bdc4ad604665b5154fbf96548fe058a6dbeeed4e98d9ed51320738c7994
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.del(@features_key)
162
- fs.each { |k, f| put_redis_and_cache(redis, k, f) }
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")
@@ -1,3 +1,3 @@
1
1
  module LaunchDarkly
2
- VERSION = "2.3.1"
2
+ VERSION = "2.3.2"
3
3
  end
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.1
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-16 00:00:00.000000000 Z
11
+ date: 2017-12-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler