anycable-rails 0.5.1 → 0.5.2
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 543429b3563ec46a43bd569c1618b02bc8ffe60b
|
4
|
+
data.tar.gz: ca280799cf84a65246991702b21292e74a07ea15
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0d1cbc8dff4fb113187d959d4fed909fc370c204412c1f230dfa52b95f068dc45879a1f653b37b3ff67d95f06dc1ea8fe66426e2d29c02bdac1f94d047cea2e2
|
7
|
+
data.tar.gz: aba10277d8e2680065275ce977dec610194a21cae397e4b0c25717852442e9f3fa12e898f443faf2fd0ae6ee027a7304edcdc8691e24190caf5c7dd59569a920
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,9 @@
|
|
1
1
|
# Change log
|
2
2
|
|
3
|
+
## 0.5.2
|
4
|
+
|
5
|
+
- Add config/anycable.yml to Rails generator. ([@alekseyl][])
|
6
|
+
|
3
7
|
## 0.5.1
|
4
8
|
|
5
9
|
- Improve Rails integration. ([@palkan][])
|
@@ -39,3 +43,4 @@ Ignore tagged logger features ('cause we do not have _persistent_ logger).
|
|
39
43
|
- Initial version. ([@palkan][])
|
40
44
|
|
41
45
|
[@palkan]: https://github.com/palkan
|
46
|
+
[@alekseyl]: https://github.com/alekseyl
|
@@ -0,0 +1,41 @@
|
|
1
|
+
# grpс server settings, anycable grpc server will listen
|
2
|
+
# websocket server at given host:port, usually Anycable server runs locally to ws server
|
3
|
+
# MUST BE in sync with ws-server setting -rpc=0.0.0.0:50051
|
4
|
+
# rpc_host: "localhost:50051"
|
5
|
+
|
6
|
+
# redis url
|
7
|
+
# MUST BE in sync with ws-server setting -redis=redis://localhost:6379/5
|
8
|
+
# REM: Redis PubSub system doesn't use the database part of URI
|
9
|
+
# redis_url: "redis://localhost:6379/5"
|
10
|
+
|
11
|
+
# redis_sentinels:
|
12
|
+
# - { host: 'localhost', port: 26379 }
|
13
|
+
# - { host: 'redis-1-2', port: 26379 }
|
14
|
+
# - { host: 'redis-1-3', port: 26379 }
|
15
|
+
|
16
|
+
# anycable use single pubsub queue, this is queue name
|
17
|
+
# MUST BE in sync with ws-server setting -redis_channel=__anycable__
|
18
|
+
# redis_channel: "__anycable__",
|
19
|
+
|
20
|
+
#---------- ENVIRONMENT VARIABLES ----------
|
21
|
+
# since Anycable config based on anyway_config (https://github.com/palkan/anyway_config), all Anycable settings,
|
22
|
+
# can be set or overridden through corresponding Environment variable.
|
23
|
+
# Ex: rpc_host is overridden by ANYCABLE_RPC_HOST, redis_url by ANYCABLE_REDIS_URL e.t.c Look in anyway_config for more details
|
24
|
+
|
25
|
+
default: &default
|
26
|
+
rpc_host: "localhost:50051"
|
27
|
+
log_grpc: false
|
28
|
+
log_file: nil
|
29
|
+
debug: false # Shortcut to enable GRPC logging and debug level
|
30
|
+
log_level: info
|
31
|
+
redis_channel: "__anycable__"
|
32
|
+
redis_sentinels: []
|
33
|
+
|
34
|
+
|
35
|
+
production:
|
36
|
+
<<: *default
|
37
|
+
redis_url: "redis://localhost:6379/1"
|
38
|
+
|
39
|
+
development:
|
40
|
+
<<: *default
|
41
|
+
redis_url: "redis://localhost:6379/2"
|
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: 0.5.
|
4
|
+
version: 0.5.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- palkan
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-12-
|
11
|
+
date: 2017-12-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -170,6 +170,7 @@ files:
|
|
170
170
|
- lib/anycable/rails/version.rb
|
171
171
|
- lib/generators/anycable/USAGE
|
172
172
|
- lib/generators/anycable/anycable_generator.rb
|
173
|
+
- lib/generators/anycable/templates/anycable.yml
|
173
174
|
- lib/generators/anycable/templates/script
|
174
175
|
homepage: http://github.com/anycable/anycable-rails
|
175
176
|
licenses:
|