xunch 0.0.9.4 → 0.0.9.5

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: f41037a6a2fcd1a441dd178344045175dd3a3391
4
- data.tar.gz: b6326f270d98d516ab2a8db4eec5addf48615d8e
3
+ metadata.gz: 7d71ea4d65a535bdd4cf5d68b525113447115087
4
+ data.tar.gz: 9c09bf49f8c5052747ef5e3a4e8e449c0369f73f
5
5
  SHA512:
6
- metadata.gz: 00e27b30f48c33a1727940b99502c09cab89ca5907310bee68ead97c89e694436105e7d42a7bff4855e8450aa880ad457e8694a3f86f5e928c8d22c18e993905
7
- data.tar.gz: dcc568d9b9139d109789992a33b01ba33112a7899e1028f617c00842e79b928ab945a308b9c12aadd883c88afee4fcba3454ede3a9f7378f62d7896c426a03fb
6
+ metadata.gz: 8a6b4f50eece01da3f957083deb7f46bdc641fbafdcc9a6e6867959e230750a649619acdce89a849094a739f1b79a3788df13119438b87ef1e57322512e891b3
7
+ data.tar.gz: fd6e3390912bc8e8b9be1bc4371bd4341a1748ade6814c0d205a2979ff074414f33b4b031fb799b0f2ace20d2473ae992f5abcc79f1460871dca4c83a27de454
@@ -5,7 +5,13 @@ module Xunch
5
5
  class ListIdCache < Cache
6
6
 
7
7
  def initialize(options, shard_infos)
8
+ unless RUBY_PLATFORM =~ /mingw/
9
+ options[:driver] = 'hiredis'
10
+ else
11
+ options.delete(:driver)
12
+ end
8
13
  super(options,shard_infos)
14
+ # p options
9
15
  end
10
16
 
11
17
  # 查询接口
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: xunch
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.9.4
4
+ version: 0.0.9.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ted Wang