anycable-core 1.6.1 → 1.6.2
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 +4 -0
- data/lib/anycable/cli.rb +1 -1
- data/lib/anycable/config.rb +6 -1
- data/lib/anycable/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0f273c9f627c0c7885a28b1f961bf45eb96c3f7b1ae94d42845c8b1e1dfc187c
|
|
4
|
+
data.tar.gz: 66d6d1a1fd64f6011a6829c36ea62a7267566483f4fa470cfeb9a7031e2ee7f9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d7be5b0c420ac6ed1382a67a06b585339df4f4068c12333e3be973e46892b30f51fafb0af3f26fc8fb3437ee9c9f347cf63cbf54ca91f12254e9773e7beb23d1
|
|
7
|
+
data.tar.gz: d8b0a2bc2bf146e0d1356656ca0363dabf0c5d4e277b4bb72e2e1a6c41b1e35dc929c741aec27b534d685e5a10900e41e21e827887f5c697638277c6c0c31ad8
|
data/CHANGELOG.md
CHANGED
data/lib/anycable/cli.rb
CHANGED
|
@@ -55,7 +55,7 @@ module AnyCable
|
|
|
55
55
|
|
|
56
56
|
print_version!
|
|
57
57
|
|
|
58
|
-
logger.info "Serving #{defined?(::Rails)
|
|
58
|
+
logger.info "Serving #{"Rails " if defined?(::Rails)}application from #{boot_file}" unless embedded?
|
|
59
59
|
|
|
60
60
|
verify_connection_factory!
|
|
61
61
|
|
data/lib/anycable/config.rb
CHANGED
|
@@ -55,7 +55,7 @@ module AnyCable
|
|
|
55
55
|
nats_options: {},
|
|
56
56
|
|
|
57
57
|
### HTTP broadcasting options
|
|
58
|
-
http_broadcast_url:
|
|
58
|
+
http_broadcast_url: nil,
|
|
59
59
|
# DEPRECATED: use `broadcast_key` instead
|
|
60
60
|
http_broadcast_secret: nil,
|
|
61
61
|
|
|
@@ -101,6 +101,11 @@ module AnyCable
|
|
|
101
101
|
!http_health_port.nil? && http_health_port != ""
|
|
102
102
|
end
|
|
103
103
|
|
|
104
|
+
def http_broadcast_url
|
|
105
|
+
# AnyCable accepts broadcast on a different port by default when no authentication configured
|
|
106
|
+
super || (broadcast_key! ? "http://localhost:8080/_broadcast" : "http://localhost:8090/_broadcast")
|
|
107
|
+
end
|
|
108
|
+
|
|
104
109
|
def broadcast_key!
|
|
105
110
|
if http_broadcast_secret && !broadcast_key
|
|
106
111
|
self.broadcast_key ||= http_broadcast_secret
|
data/lib/anycable/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: anycable-core
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.6.
|
|
4
|
+
version: 1.6.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Vladimir Dementyev
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2025-
|
|
11
|
+
date: 2025-12-17 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: anyway_config
|