lock_and_cache_msgpack 4.0.7.pre2 → 4.0.7.pre3

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: 8fc08d8a3c13c83d3ea708f97f0396eb63bd6240
4
- data.tar.gz: 18eb7ee9f38372842c409a17c409a138af198f9a
3
+ metadata.gz: a628bef0137f09af2c8d247200723b8a1b16a71f
4
+ data.tar.gz: c4fe2bd04b7cc7b94d7a9754da6d278b6f1822ec
5
5
  SHA512:
6
- metadata.gz: 7260b7397fa3519e1c4cfc8088cd79134a3f275f9429f876738803a41aa907fb77d30930bda23638f5dab560cd5d84d172e14edff4e9bb70b6a1869325e1ee0c
7
- data.tar.gz: e897d8b1430944465d0abea5dc3db890b69f62249c47ca86dab5d1f4093fae37e287d85cc77835998304a0bb9bdde3be23d43b86383c805ff2444d50486dffca
6
+ metadata.gz: 2763b2a4244b56142372fe6ed05622001732a2226fe7d29a6c1aa76bf154694f3009b4b7f51092b60b1bfd09aa5e5312ffc4539da89e595ab4d589dbb376e8d5
7
+ data.tar.gz: 176f2516394f978aadc5a5376caba5904fd9aeae4a3a37c4d89ef6651051673838aae665ce20a5edb0d396b7ff1258139de5a3fb2ee1f29455e1a1c1ce9c0aed
@@ -32,7 +32,7 @@ module LockAndCacheMsgpack
32
32
  def LockAndCacheMsgpack.storage
33
33
  @storage ||=
34
34
  begin
35
- raise "only redis for now" unless redis_connection.class.to_s == 'Redis'
35
+ raise "only redis for now" unless @redis_connection.class.to_s == 'Redis'
36
36
  connection = @redis_connection.respond_to?(:call) ? @redis_connection.call : @redis_connection
37
37
  @lock_manager = Redlock::Client.new [connection], retry_count: 1
38
38
  connection
@@ -1,3 +1,3 @@
1
1
  module LockAndCacheMsgpack
2
- VERSION = '4.0.7.pre2'
2
+ VERSION = '4.0.7.pre3'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lock_and_cache_msgpack
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.7.pre2
4
+ version: 4.0.7.pre3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Seamus Abshere