anycable-rails 1.4.4 → 1.5.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/CHANGELOG.md +30 -0
- metadata +8 -8
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6ae5b0532031f3291e21731fc13af8244083b5382b8ef32a85c3552bf193e5bf
|
|
4
|
+
data.tar.gz: c7f37413641d2e2d5eef225d0b1b199f39257d405f51083ce971ca8e16656f3b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1308f8b288a85cec342f4824a14b61ef90a2dfe8293c13e35e95dcd0858c130a0919e4c8bf88b582765afe2246765e77e34b49223034e00cf5330677fc2cd3ca
|
|
7
|
+
data.tar.gz: '09704405522fbc26f303093f2c917cd90ed99413ced7518b07323c7003760eb1ba1eb068efd97fa6ea36fcef0a4e19e9f7dab083ac42be68f2e42cbe8badc022'
|
data/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,36 @@
|
|
|
2
2
|
|
|
3
3
|
## master
|
|
4
4
|
|
|
5
|
+
## 1.5.0 (2024-04-01)
|
|
6
|
+
|
|
7
|
+
- Allow specifying the _whispering_ stream via `#stream_from(..., whisper: true)`. ([@palkan][])
|
|
8
|
+
|
|
9
|
+
You can use specify the stream to use for _whispering_ (client-initiated broadcasts) by adding `whisper: true` to the `#stream_from` (or `#stream_for`) method call.
|
|
10
|
+
|
|
11
|
+
NOTE: This feature is only supported when using AnyCable server and ignored otherwise.
|
|
12
|
+
|
|
13
|
+
- Support passing objects to `ActionCable.server.broadcast`. ([@palkan][])
|
|
14
|
+
|
|
15
|
+
Make it possible to call `ActionCable.server.broadcast(user, data)` or `ActionCable.server.broadcast([user, :context], data)`. This is a companion functionality for `#signed_stream_name`.
|
|
16
|
+
|
|
17
|
+
- Added `websocket_url` configuration option to specify the URL of AnyCable server. ([@palkan][])
|
|
18
|
+
|
|
19
|
+
It's used to configure `config.action_cable.url` if AnyCable is activated. No need to set up it manually.
|
|
20
|
+
|
|
21
|
+
- Added `rails g anycable:bin` to create a binstub to run AnyCable server. ([@palkan][])
|
|
22
|
+
|
|
23
|
+
- Added signed streams helpers. ([@palkan][])
|
|
24
|
+
|
|
25
|
+
You can use `#signed_stream_name(streamable)` to generate a signed stream name.
|
|
26
|
+
|
|
27
|
+
- Added JWT authentication helpers. ([@palkan][])
|
|
28
|
+
|
|
29
|
+
No more need in a separate `anycable-rails-jwt` gem.
|
|
30
|
+
|
|
31
|
+
## 1.4.5
|
|
32
|
+
|
|
33
|
+
- Restrict `anycable` gem version.
|
|
34
|
+
|
|
5
35
|
## 1.4.4 (2024-03-08) 🌷
|
|
6
36
|
|
|
7
37
|
- Minor fixes
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: anycable-rails
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.5.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- palkan
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2024-
|
|
11
|
+
date: 2024-04-01 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: anycable-rails-core
|
|
@@ -16,28 +16,28 @@ dependencies:
|
|
|
16
16
|
requirements:
|
|
17
17
|
- - '='
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
|
-
version: 1.
|
|
19
|
+
version: 1.5.0
|
|
20
20
|
type: :runtime
|
|
21
21
|
prerelease: false
|
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
|
23
23
|
requirements:
|
|
24
24
|
- - '='
|
|
25
25
|
- !ruby/object:Gem::Version
|
|
26
|
-
version: 1.
|
|
26
|
+
version: 1.5.0
|
|
27
27
|
- !ruby/object:Gem::Dependency
|
|
28
28
|
name: anycable
|
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
|
30
30
|
requirements:
|
|
31
|
-
- - "
|
|
31
|
+
- - "~>"
|
|
32
32
|
- !ruby/object:Gem::Version
|
|
33
|
-
version:
|
|
33
|
+
version: 1.5.0
|
|
34
34
|
type: :runtime
|
|
35
35
|
prerelease: false
|
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
|
37
37
|
requirements:
|
|
38
|
-
- - "
|
|
38
|
+
- - "~>"
|
|
39
39
|
- !ruby/object:Gem::Version
|
|
40
|
-
version:
|
|
40
|
+
version: 1.5.0
|
|
41
41
|
- !ruby/object:Gem::Dependency
|
|
42
42
|
name: ammeter
|
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|