action_cable_subscription_adapter 0.2.1 → 0.2.2
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0a23f191960c3cdaf7bc0a4f2dc6ab24656d90bb
|
4
|
+
data.tar.gz: 3d7dbc1f614842efaa0ff1f862a56f0c88cbb612
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8302e69eadfcce36e0642389619470e9c1243fd944ac5e9702484f5d84d70bb41136739a8b952e322acf926a7b4e13c142441832c053a52539ff2e1b021ce9a6
|
7
|
+
data.tar.gz: 8a5f78d81ddd28323cc3b9fbfdae678e9008ef81d8a2d40abc071a2761e5ddae8e28a7c6b8de4921c173f94a21c301afd9eb12a33d95e6296152eab9613a69ff
|
@@ -4,7 +4,9 @@ require "action_cable/subscription_adapter/redis"
|
|
4
4
|
module ActionCable::SubscriptionAdapter
|
5
5
|
class CustomAdapter < Redis
|
6
6
|
def redis_connection
|
7
|
-
ActionCableSubscriptionAdapter.redis_connector
|
7
|
+
redis = ActionCableSubscriptionAdapter.redis_connector
|
8
|
+
redis = redis.call self if redis.is_a? Proc
|
9
|
+
redis
|
8
10
|
end
|
9
11
|
end
|
10
12
|
end
|