redis_getlock 0.3.2 → 0.3.3

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
- SHA1:
3
- metadata.gz: 6fc0883b1b090a5d98583474945925da5f32a383
4
- data.tar.gz: e6763a3272de61da92bd839d2b6a5034e56ed874
2
+ SHA256:
3
+ metadata.gz: 5aefd0da1e0af27c93bec620ab11f822e66f4dda6bca14aea217a8c2a5e173f7
4
+ data.tar.gz: cf2319a707a0073920c955b7b317a91ce7d88020569e4ffb5b4c49480f7900a9
5
5
  SHA512:
6
- metadata.gz: cfa994d572aa72130f2749cbceae0e148e6ed8aab2f7ca9c53fbd8d3525abd1a0f9dfdfc63474297f79e331a7ea92a802c433f9caca4ba26afd9a13ff7f11a09
7
- data.tar.gz: 2f7fe9f173577b854789821ddb3d739e078e5e210e5ca49d7c7d716ba22772deceb5a1947609c8a3c1f8dcb40126726f5df45532811381b5e6de9b86c40e13c9
6
+ metadata.gz: 40670d09443cfb8a830c5578084c1cc66a2905d7924a5480bd5f931124969406e9ccaae7ccafa508eb7a66161c1f7bdb3fce8c0c1051b566895518567ede2d0d
7
+ data.tar.gz: 9c7f235d14d1ca617a5fe3ec73d9bdbabdf0edecd6916c6ec1e683f27b0df6d5639af38882c905986ae1dc6325011c0d03396a7fff784cc40a7b4e848ff39d66
@@ -1,3 +1,9 @@
1
+ # 0.3.3 (2016-08-29)
2
+
3
+ Fixes:
4
+
5
+ * Fix log message `mysql lock` to `redis lock` (thanks to potato2003)
6
+
1
7
  # 0.3.2 (2016-08-29)
2
8
 
3
9
  Enhancements:
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # RedisGetlock
2
2
 
3
- Distributed locking using redis. Unlike other implementations avilable, this gem ensures releasing orphaned lock shortly.
3
+ Distributed locking using redis. Unlike other implementations available, this gem ensures releasing orphaned lock shortly.
4
4
 
5
5
  # How It Works
6
6
 
File without changes
@@ -23,7 +23,7 @@ class RedisGetlock
23
23
  end
24
24
 
25
25
  def lock
26
- logger.info { "#{log_head}Wait #{timeout < 0 ? '' : "#{timeout} sec "}to acquire a mysql lock '#{key}'" } if logger
26
+ logger.info { "#{log_head}Wait #{timeout < 0 ? '' : "#{timeout} sec "}to acquire a redis lock '#{key}'" } if logger
27
27
  if set_options_available?
28
28
  locked = lock_with_set_options
29
29
  else
@@ -1,3 +1,3 @@
1
1
  class RedisGetlock
2
- VERSION = "0.3.2"
2
+ VERSION = "0.3.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: redis_getlock
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Naotoshi Seo
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-08-31 00:00:00.000000000 Z
11
+ date: 2018-05-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: redis
@@ -86,7 +86,7 @@ files:
86
86
  - bin/console
87
87
  - bin/lock
88
88
  - bin/setup
89
- - bin/try_lock
89
+ - examples/try_lock
90
90
  - lib/redis_getlock.rb
91
91
  - lib/redis_getlock/version.rb
92
92
  - redis_getlock.gemspec
@@ -110,7 +110,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
110
110
  version: '0'
111
111
  requirements: []
112
112
  rubyforge_project:
113
- rubygems_version: 2.5.1
113
+ rubygems_version: 2.7.4
114
114
  signing_key:
115
115
  specification_version: 4
116
116
  summary: Distributed locking using redis, which ensures releasing orphaned lock shortly.