action_cable_subscription_adapter 0.1.5 → 0.2.0

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: 47ed418a86f99fc33f55db138af7e649050a0431
4
- data.tar.gz: e7055a13d2b6a616247170a883f759d259616f39
3
+ metadata.gz: 1740b5310455ba9461f45e4cafc4060bb1e5c6bf
4
+ data.tar.gz: b78d00d544a120fa94feda10df4055acfacfbbe3
5
5
  SHA512:
6
- metadata.gz: 686e12bbba78c9286676a905550537a2600f610553797a9a37fcdf085020e9e30c4d2eb85c1259c7b1ea6b445e00cb137162383dbe4fadc8a3896395eb699398
7
- data.tar.gz: 898ab2610f9a74635f7d48600cce5ef4a55082896eb6dd7e2a691aa6bd7fa65d104cb4cf1f838c255a2c279f31a24bd519bc122a0b0503f579c2ae568d51f5f0
6
+ metadata.gz: 306022eb30a324747539c36f42a1882c375d189949c102374f53282946023b2fc3ef68ba0f8e647d8b6eea43d7f411552a3954be3909160b8dba965785246ea2
7
+ data.tar.gz: fabde8a1d59ccaf5504d3098c0e700c8118142a7915506d832a251924d71dc15e6d4a08c8699758c3eae2d842ee8d90c5b7b2ab76c782bb20e6f240bdf6e3b8a
data/README.md CHANGED
@@ -48,16 +48,6 @@ ActionCableSubscriptionAdapter.config do |c|
48
48
  end
49
49
  ```
50
50
 
51
- You can also pass a block that will run when the ActionCable workers are initialized:
52
-
53
- ```ruby
54
- ActionCableSubscriptionAdapter.config do |c|
55
- c.redis_connector = ->(subscription_adapter) {
56
- MyRedisClient.new your: "options"
57
- }
58
- end
59
- ```
60
-
61
51
  The custom Redis client needs to conform to the [redis-rb](https://github.com/redis/redis-rb) gem's API.
62
52
 
63
53
  ## Development
@@ -23,7 +23,6 @@ module ActionCableSubscriptionAdapter
23
23
 
24
24
  def self.config(&block)
25
25
  block.call self
26
- self.redis_connector = ->(s) { redis_connector } unless redis_connector.is_a? Proc
27
26
  self
28
27
  end
29
28
  end
@@ -1,3 +1,3 @@
1
1
  module ActionCableSubscriptionAdapter
2
- VERSION = "0.1.5"
2
+ VERSION = "0.2.0"
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.1.5
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Diego Salazar