seamusabshere-redlock 1.0.0 → 1.0.1

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: a3db3c911a17f8b605fa6d1792916d28cb46dfcd
4
- data.tar.gz: a7d53070405f730965e3966ebd3a0e4cf70297a4
3
+ metadata.gz: 9c574b14f3f0fa1579a35bd5813674c43f518995
4
+ data.tar.gz: f4d5d32692ae8ff6d3ce51e6182edb99f27f2ec8
5
5
  SHA512:
6
- metadata.gz: 6cee08cdc8d900bbdfbf23187995d3a777d4b55f43d7b1e718463ba0a5021ac64c1991edf6dd603f51c2eeef3f7c0605a6179ff882802b0b381568df8603b0b9
7
- data.tar.gz: 7b555aec308f81d40f6d34bbe706ea1c1a3353dbf6dd607e36ae68e6f87b6d28168cbcf39729b7f6819556ba17ea70af08887a6381a3364144e83202db7013b1
6
+ metadata.gz: 9e428989a3ce86571b3de822eaf1e192ed9759f7c6a4253fe6fa2b177922572c79d01a4b245c0fec5adfc6d205bbd584006dbd500c6ebcff8616c2cc3578671c
7
+ data.tar.gz: 652d211789b071fc02b220266ab974f03bf53a53c79b9aa39642e0a79619a21dfaa5d9adfecc16337e5a7303c5b49c23daefdca12021bc3f8d7455015f7fba14
@@ -9,7 +9,7 @@ module Redlock
9
9
  {
10
10
  validity: ttl,
11
11
  resource: resource,
12
- value: SecureRandom.uuid
12
+ value: extend ? extend.fetch(:value) : SecureRandom.uuid
13
13
  }
14
14
  elsif @testing_mode == :fail
15
15
  false
@@ -1,3 +1,3 @@
1
1
  module Redlock
2
- VERSION = "1.0.0"
2
+ VERSION = "1.0.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: seamusabshere-redlock
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Leandro Moreira
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-09-11 00:00:00.000000000 Z
11
+ date: 2015-09-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: redis