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: 30ad5519912deb0ff2cd3d92f66fc0a1e3c46ab4
4
- data.tar.gz: 5e5baa0db325178001bf2c89d8e5422ac84b8f54
3
+ metadata.gz: 0a23f191960c3cdaf7bc0a4f2dc6ab24656d90bb
4
+ data.tar.gz: 3d7dbc1f614842efaa0ff1f862a56f0c88cbb612
5
5
  SHA512:
6
- metadata.gz: 12faabe1e8e9147a8e7bd0426e4451c78f5a205470a5a95eed34034a9949dbc0669f4bfceaf4d2b5167c6466ac5e066933dafd8ce58d1dfedff592e1b3ed3141
7
- data.tar.gz: 4f9a52bf448d4d4729349ecf32edace4a630d3fbe892615e6be04048db59d6f2c82f1312943d66d01474e20d387d00d4c066ee91cf5d93ca86b25482ec80fd38
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
@@ -1,3 +1,3 @@
1
1
  module ActionCableSubscriptionAdapter
2
- VERSION = "0.2.1"
2
+ VERSION = "0.2.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: action_cable_subscription_adapter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Diego Salazar