action_cable_subscription_adapter 0.1.5 → 0.2.0
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 +4 -4
- data/README.md +0 -10
- data/lib/action_cable_subscription_adapter.rb +0 -1
- data/lib/action_cable_subscription_adapter/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1740b5310455ba9461f45e4cafc4060bb1e5c6bf
|
|
4
|
+
data.tar.gz: b78d00d544a120fa94feda10df4055acfacfbbe3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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
|