semian 0.7.4 → 0.7.5

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: a4701f3daa0b3ff3ed0f7a2a60ae025d023a4b2c
4
- data.tar.gz: 464b2d490be5404dbabd1ed50d15b84e5bdd7e11
3
+ metadata.gz: c551f934ff17bdb22cae2fe3e5a28965558194a7
4
+ data.tar.gz: dd844812bb088c431c772996ff4f646bd61e0767
5
5
  SHA512:
6
- metadata.gz: 65122ec1d4ef4c7cb337ac00d4f8838d38b6ac8777b1e4a64d52b2381cb0b9938fa1cc85da3e6fabc88aa98c7e48cde73c253d090597fdb3ddf1b0f5f4399734
7
- data.tar.gz: 545e6a6b3350bf4e06156945d84c5a89d2d57dc75d7e0a3dc83cbe385b8ba8a5a8585c21cc85bb9328591ecce027b0cc522772be221dcf72304f3c0769dbb402
6
+ metadata.gz: a167d405cf133976d0cbab88e10a312dd22c43a1c4c6720cb788eeaf3e9020f8fd91edab7a3591c6f862a6144f1c48b52802650679b256c18048fb76a92052f9
7
+ data.tar.gz: f2080d87bb826837d59512a90ccece4211cc66000a9ef098e6ebbfa22968e333c2bacec3801f2685053e445bbfc878d864835e33a2ff42ca196b13f1e6d0d4d4
@@ -23,7 +23,7 @@ class Redis
23
23
  # This reference is necessary because during a `pipelined` block the client
24
24
  # is replaced by an instance of `Redis::Pipeline` and there is no way to
25
25
  # access the original client which references the Semian resource.
26
- @original_client = client
26
+ @original_client = _client
27
27
  end
28
28
 
29
29
  def semian_resource
@@ -33,6 +33,13 @@ class Redis
33
33
  def semian_identifier
34
34
  semian_resource.name
35
35
  end
36
+
37
+ # Compatibility with old versions of the Redis gem
38
+ unless instance_methods.include?(:_client)
39
+ def _client
40
+ @client
41
+ end
42
+ end
36
43
  end
37
44
 
38
45
  module Semian
@@ -1,3 +1,3 @@
1
1
  module Semian
2
- VERSION = '0.7.4'
2
+ VERSION = '0.7.5'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: semian
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.4
4
+ version: 0.7.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Scott Francis
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2017-11-07 00:00:00.000000000 Z
13
+ date: 2018-03-07 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rake-compiler
@@ -179,7 +179,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
179
179
  version: '0'
180
180
  requirements: []
181
181
  rubyforge_project:
182
- rubygems_version: 2.5.2.1
182
+ rubygems_version: 2.6.14
183
183
  signing_key:
184
184
  specification_version: 4
185
185
  summary: Bulkheading for Ruby with SysV semaphores