Skip to content

Commit

Permalink
Release 0.2.1 (#43)
Browse files Browse the repository at this point in the history
* bump versions for next release

* a few more docs on config options
  • Loading branch information
jwoertink authored Apr 16, 2022
1 parent 334abb7 commit a8f7f3d
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ jobs:
- 1.0.0
- 1.1.1
- 1.2.2
- 1.3.2
- 1.4.0
runs-on: ubuntu-latest
container: crystallang/crystal:${{ matrix.crystal_version }}-alpine
services:
Expand Down
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,15 @@ After that, you can configure your `Cable`, the defaults are:
Cable.configure do |settings|
settings.route = "/cable" # the URL your JS Client will connect
settings.token = "token" # The query string parameter used to get the token
settings.url = ENV.fetch("REDIS_URL", "redis://localhost:6379")
# See Vanilla JS example below for more info
settings.disable_sec_websocket_protocol_header = false
# Use a single publish connection by default.
settings.pool_redis_publish = false # set to `true` to enable a pooled connection on publish
settings.redis_pool_size = 5
settings.redis_pool_timeout = 5.0
end
```

Expand Down
2 changes: 1 addition & 1 deletion shard.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: cable
version: 0.2.0
version: 0.2.1

authors:
- Celso Fernandes <[email protected]>
Expand Down
2 changes: 1 addition & 1 deletion src/cable.cr
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ require "./cable/**"

# TODO: Write documentation for `Cable`
module Cable
VERSION = "0.2.0"
VERSION = "0.2.1"

INTERNAL = {
message_types: {
Expand Down

0 comments on commit a8f7f3d

Please sign in to comment.