redis_mutex 0.0.1.pre.alpha.pre.9 → 0.0.1.pre.alpha.pre.10

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +8 -8
  2. data/test/test_redis_mutex.rb +2 -2
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- YzcwYjkzMDQ1YjIzNDBmMTBiZTQ5YzBlOTQ2M2JkNmViYmZjMDA2Yg==
4
+ YmFiZTIwM2E3NTMwMWViY2Q1ZWE2ZGVlNGRhYTNiYjNjNzc4YzMwYQ==
5
5
  data.tar.gz: !binary |-
6
- MjUzNTI4Mzk4YjllMGNmM2M3MTUzOTNmZjdiNTQwZjdjNWIxNWJhZQ==
6
+ MDc1M2VhZDZjNzkxNWQzNDVjYTAzNjhhMjU1NTAzZDMzNDAwY2I0ZA==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- ZjU4NWI3MDJkNmMzM2YzMDkxNTk2OGE0NmViMDgzM2E5NzU5ODI1Mzg0YTBm
10
- MTgxMjVlMjIwMjBlMDAwM2NhMzJkYmVjZTJhMGQwY2IzMDMwZGQ1NTQ3MzU1
11
- YjZiMzc2NDViZWFlN2ExYWE3ZWJlNTFjMmYyMTQ0YjMxYmY1MGU=
9
+ NzMyYTRmNDA3NzZhMDFhMmFhZjBhN2M1ZTg4M2RlZWNmYmRmNGU3ZDZhYTYy
10
+ MTBkNzYwOTlmNTgwMmZlZTZiZTY1OWVkZjg1NDg5MGEyYjlmMTY0ZTAzMDkz
11
+ NWYyNDYwOTBjM2U4ZWEwMDExNjViMDI2NzBlOWM4OGRiMGRlNjg=
12
12
  data.tar.gz: !binary |-
13
- MWYzN2RkMjgzN2M0MjY1ZTc2YjBiMjE4NjUxZGU3ZGIyNDkxZTRkMGUxMWQx
14
- OGJkM2MwODA5NDY4MzA1ZWVhYmI3ZTdjYzUxODFkYjY4ZWQ2N2JlYzg4MTU5
15
- NGYyNGE3YjlkMjYwOTQ5MjU1NmE0NTU5YTA3ZDUwYWJhNjk0M2I=
13
+ MGQ2OWJlMmQzNTBkMWFjZTU1ODA2ODQyMmVlMzNiNTBiMDhiNjE3MGExNzU2
14
+ NjhjYWRlN2EzMDFlMWExMTBjOTdmN2QxZjRmMGUwNTdmMzZmNmY0YmM0MTY5
15
+ NjRkYzYyYzUwZTU5MTIxNGY5YWE4YmVkMzJjNWY1YzM0Nzc3OTY=
@@ -43,11 +43,11 @@ class TestRedisMutex < Minitest::Test
43
43
  assert redis.get(key) == original_token
44
44
  end
45
45
 
46
- def test_locked_when_unlocked
46
+ def test_locked_is_false_when_unlocked
47
47
  assert !mutex_a.locked?
48
48
  end
49
49
 
50
- def test_locked_when_locked
50
+ def test_locked_is_true_when_locked
51
51
  mutex_a.acquire_lock(DEFAULT_TIMEOUT)
52
52
  assert mutex_a.locked?
53
53
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: redis_mutex
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1.pre.alpha.pre.9
4
+ version: 0.0.1.pre.alpha.pre.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Taylor Long