mondrian_redis_segment_cache 0.0.2-java → 0.0.3-java

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: fa0e26174d775f22b8baf7c7508d326e65f2d1de
4
- data.tar.gz: c540890f01f639201cbcb74907cc7b4f7fdbe400
3
+ metadata.gz: 0b363ec2ebfcef465a41d81444cd42ab70c2029a
4
+ data.tar.gz: fda2bebc4d9ae5db22cd53449b060269f0450617
5
5
  SHA512:
6
- metadata.gz: dfee3812bc508ab15883d5e1786b92b4a29cd63193de4cb649e6e34218b2258c31b8f2cee21e3e482bea2ff291b8ae5ee5f51a88b72de6a6c30f1c90f1c919a2
7
- data.tar.gz: b9a16aa634142d25094f65587c8e7be4e30f9c5fd93e968b3185ea1c789996fdf4c160b3e7b220411e8e22e4e2e2476ea49cc881aeb3066ce39df3207ab9c22c
6
+ metadata.gz: bd1974e2d202c94f60b3063d7a3556c884cc4dd52b45fd416cb47e6a8760a00110975723929df9603be739071cbc6421864b67d8224ec0059f1dde5bb5385db6
7
+ data.tar.gz: ecb56df3250164aa5c2c324107e20eb4149c20341f69f51a90a0b63ec1bfbfa860fca856c27b21c9241040e320ce1c43666f28bf0d90fc8020ea67baafe442e8
@@ -146,7 +146,16 @@ module MondrianRedisSegmentCache
146
146
  # Private Instance Methods
147
147
  #
148
148
  def client_options
149
- mondrian_redis.client.options
149
+ # Redis 3.0.4 does not have options where 3.1 does
150
+ unless mondrian_redis.client.respond_to?(:options)
151
+ class << mondrian_redis.client
152
+ def options
153
+ @options
154
+ end
155
+ end
156
+ end
157
+
158
+ return mondrian_redis.client.options
150
159
  end
151
160
 
152
161
  def register_for_redis_events
@@ -1,3 +1,3 @@
1
1
  module MondrianRedisSegmentCache
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mondrian_redis_segment_cache
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: java
6
6
  authors:
7
7
  - Brandon Dewitt
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-06-19 00:00:00.000000000 Z
11
+ date: 2014-06-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: redis