anycable-rails 1.1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/README.md +5 -5
- data/lib/anycable/rails/actioncable/connection.rb +1 -1
- data/lib/anycable/rails/version.rb +1 -1
- data/lib/generators/anycable/setup/setup_generator.rb +3 -3
- 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: efc1401fbddad0409e2a4d6931f88223d5ac2da86dd225cd692f5cc34045da01
|
4
|
+
data.tar.gz: e59813e4d3b0e0407ad638caace05d8680d57c66c17061cfb05106ec4a02d2a7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8a8a91fe4fa20688a889f8f94d1415c1805e6bc95f1dc0dfe68a37a1d3846899252988066f60db03b034e6e78f552cb1626c5f6cff16c51c0d8c658b894cfc3b
|
7
|
+
data.tar.gz: 207fa60c6b8bc3e1f50c3078ec42402859fa609661aac170281f89d0c859da84dc4b37fe778eafb322c77936f96e9665acd557c5357cc05bac7222f18de4b241
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
[![Gem Version](https://badge.fury.io/rb/anycable-rails.svg)](https://rubygems.org/gems/anycable-rails)
|
2
2
|
[![Build](https://github.com/anycable/anycable-rails/workflows/Build/badge.svg)](https://github.com/anycable/anycable-rails/actions)
|
3
3
|
[![Gitter](https://img.shields.io/badge/gitter-join%20chat%20%E2%86%92-brightgreen.svg)](https://gitter.im/anycable/Lobby)
|
4
|
-
[![Documentation](https://img.shields.io/badge/docs-link-brightgreen.svg)](https://docs.anycable.io
|
4
|
+
[![Documentation](https://img.shields.io/badge/docs-link-brightgreen.svg)](https://docs.anycable.io/rails/getting_started)
|
5
5
|
|
6
6
|
# AnyCable Rails
|
7
7
|
|
@@ -13,7 +13,7 @@ You can even use Action Cable in development and not be afraid of [compatibility
|
|
13
13
|
|
14
14
|
💾 [Example Application](https://github.com/anycable/anycable_rails_demo)
|
15
15
|
|
16
|
-
📑 [Documentation](https://docs.anycable.io
|
16
|
+
📑 [Documentation](https://docs.anycable.io/rails/getting_started).
|
17
17
|
|
18
18
|
<a href="https://evilmartians.com/">
|
19
19
|
<img src="https://evilmartians.com/badges/sponsored-by-evil-martians.svg" alt="Sponsored by Evil Martians" width="236" height="54"></a>
|
@@ -81,17 +81,17 @@ $ bundle exec anycable
|
|
81
81
|
$ RAILS_ENV=production bundle exec anycable
|
82
82
|
```
|
83
83
|
|
84
|
-
And, finally, run AnyCable WebSocket server, e.g. [anycable-go](https://docs.anycable.io
|
84
|
+
And, finally, run AnyCable WebSocket server, e.g. [anycable-go](https://docs.anycable.io/anycable-go/getting_started):
|
85
85
|
|
86
86
|
```sh
|
87
87
|
anycable-go --host=localhost --port=8080
|
88
88
|
```
|
89
89
|
|
90
|
-
See [documentation](https://docs.anycable.io
|
90
|
+
See [documentation](https://docs.anycable.io/rails/getting_started) for more information on AnyCable + Rails usage.
|
91
91
|
|
92
92
|
## Action Cable Compatibility
|
93
93
|
|
94
|
-
See [documentation](https://docs.anycable.io
|
94
|
+
See [documentation](https://docs.anycable.io/rails/compatibility).
|
95
95
|
|
96
96
|
## Contributing
|
97
97
|
|
@@ -71,7 +71,7 @@ module ActionCable
|
|
71
71
|
|
72
72
|
def invalid_request_message
|
73
73
|
"You're trying to connect to Action Cable server while using AnyCable. " \
|
74
|
-
"See https://docs.anycable.io
|
74
|
+
"See https://docs.anycable.io/troubleshooting?id=server-raises-an-argumenterror-exception-when-client-tries-to-connect"
|
75
75
|
end
|
76
76
|
|
77
77
|
def handle_open
|
@@ -8,7 +8,7 @@ module AnyCableRailsGenerators
|
|
8
8
|
namespace "anycable:setup"
|
9
9
|
source_root File.expand_path("templates", __dir__)
|
10
10
|
|
11
|
-
DOCS_ROOT = "https://docs.anycable.io
|
11
|
+
DOCS_ROOT = "https://docs.anycable.io"
|
12
12
|
DEVELOPMENT_METHODS = %w[skip local docker].freeze
|
13
13
|
SERVER_SOURCES = %w[skip brew binary].freeze
|
14
14
|
|
@@ -118,7 +118,7 @@ module AnyCableRailsGenerators
|
|
118
118
|
def stimulus_reflex
|
119
119
|
return unless stimulus_reflex?
|
120
120
|
|
121
|
-
say_status :help, "⚠️ Please, check out the documentation on using AnyCable with Stimulus Reflex:
|
121
|
+
say_status :help, "⚠️ Please, check out the documentation on using AnyCable with Stimulus Reflex: #{DOCS_ROOT}/rails/stimulus_reflex"
|
122
122
|
end
|
123
123
|
|
124
124
|
def rubocop_compatibility
|
@@ -126,7 +126,7 @@ module AnyCableRailsGenerators
|
|
126
126
|
|
127
127
|
say_status :info, "🤖 Running static compatibility checks with RuboCop"
|
128
128
|
res = run "bundle exec rubocop -r 'anycable/rails/compatibility/rubocop' --only AnyCable/InstanceVars,AnyCable/PeriodicalTimers,AnyCable/InstanceVars"
|
129
|
-
say_status :help, "⚠️ Please, take a look at the icompatibilities above and fix them. See
|
129
|
+
say_status :help, "⚠️ Please, take a look at the icompatibilities above and fix them. See #{DOCS_ROOT}/rails/compatibility" unless res
|
130
130
|
end
|
131
131
|
|
132
132
|
def finish
|
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.1.
|
4
|
+
version: 1.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- palkan
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-06-
|
11
|
+
date: 2021-06-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: anycable-core
|