anycable-rails 1.1.0.rc1.1 → 1.1.3

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
  SHA256:
3
- metadata.gz: 33403e16cdec9dcc23b463e6545da2fc099e553904c1613f33325fa0a859a648
4
- data.tar.gz: 02cba22030f78425799d289769b49520ca660a38142637c6df5afe3a8b2f4310
3
+ metadata.gz: 382f9a246580ced6d4142cb584ac2da9dffd519c32eccc6f407294f95159eaee
4
+ data.tar.gz: a3ee884685392322889613d19ea5625d68bfb7a4c16de849f43175ca0dace7ad
5
5
  SHA512:
6
- metadata.gz: 1942550b2959eeec5fa8688489027bb127b25b8a564d2d5b2a004bd6e762ef100a698398af22f5e3af12b203d2588046f375a1fc9b5ecc98cbafb0dc5c6545f1
7
- data.tar.gz: 677fb04bdf6256b8f5b93c8088453584b31131dbcf69fa63991b7a9246fe795cb756e2e5c4b13207505fd9df903946435e295a9ef9849b5f62c5d26af0dd57ed
6
+ metadata.gz: 1de65d96f4496919d2da4761e43707493a851aeb75173693a85c9e38af1bfbd884ded0d9545c655dcd4d1d8b17d2dcc69711c1bd075d42d77f774e22507b36f1
7
+ data.tar.gz: ee2584eaaa25cd406a57fe7c1df9336ebfbf4777c6c9ba806c9aa018a0c0e7bd2c0ffd3f484db4bc99138ad830e206777992b51adc70b04b907ef3af5fe1c332
data/CHANGELOG.md CHANGED
@@ -2,6 +2,26 @@
2
2
 
3
3
  ## master
4
4
 
5
+ ## 1.1.3 (2021-10-11)
6
+
7
+ - Relax Action Cable dependency. ([@palkan][])
8
+
9
+ Action Cable 5.1 is allowed (though not recommended).
10
+
11
+ ## 1.1.2 (2021-06-23)
12
+
13
+ - Bring back dependency on `anycable` (instead of `anycable-core`). ([@palkan][])
14
+
15
+ Make it easier to get started by adding just a single gem.
16
+
17
+ ## 1.1.1 (2021-06-08)
18
+
19
+ - Updated documentation links in the generator. ([@palkan][])
20
+
21
+ ## 1.1.0 🚸 (2021-06-01)
22
+
23
+ - No changes since 1.1.0.rc1.1.
24
+
5
25
  ## 1.1.0.rc1.1 (2021-05-12)
6
26
 
7
27
  - Fixed config loading regression introduced in 1.1.0.rc1.
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/#/rails/getting_started)
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,9 @@ 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/#/rails/getting_started).
16
+ 📑 [Documentation](https://docs.anycable.io/rails/getting_started).
17
+
18
+ > [AnyCable Pro](https://docs.anycable.io/pro) has been launched 🚀
17
19
 
18
20
  <a href="https://evilmartians.com/">
19
21
  <img src="https://evilmartians.com/badges/sponsored-by-evil-martians.svg" alt="Sponsored by Evil Martians" width="236" height="54"></a>
@@ -21,15 +23,14 @@ You can even use Action Cable in development and not be afraid of [compatibility
21
23
  ## Requirements
22
24
 
23
25
  - Ruby >= 2.6
24
- - Rails >= 6.0
26
+ - Rails >= 6.0 (Rails 5.1 could work but we're no longer enforce compatibility on CI)
25
27
  - Redis (see [other options](https://github.com/anycable/anycable/issues/2) for broadcasting)
26
28
 
27
29
  ## Usage
28
30
 
29
- Add `anycable-rails` and `anycable` gems to your Gemfile:
31
+ Add `anycable-rails` gem to your Gemfile:
30
32
 
31
33
  ```ruby
32
- gem "anycable"
33
34
  gem "anycable-rails"
34
35
 
35
36
  # when using Redis broadcast adapter
@@ -81,17 +82,17 @@ $ bundle exec anycable
81
82
  $ RAILS_ENV=production bundle exec anycable
82
83
  ```
83
84
 
84
- And, finally, run AnyCable WebSocket server, e.g. [anycable-go](https://docs.anycable.io/#/v1/anycable-go/getting_started):
85
+ And, finally, run AnyCable WebSocket server, e.g. [anycable-go](https://docs.anycable.io/anycable-go/getting_started):
85
86
 
86
87
  ```sh
87
88
  anycable-go --host=localhost --port=8080
88
89
  ```
89
90
 
90
- See [documentation](https://docs.anycable.io/#/rails/getting_started) for more information on AnyCable + Rails usage.
91
+ See [documentation](https://docs.anycable.io/rails/getting_started) for more information on AnyCable + Rails usage.
91
92
 
92
93
  ## Action Cable Compatibility
93
94
 
94
- See [documentation](https://docs.anycable.io/#/rails/compatibility).
95
+ See [documentation](https://docs.anycable.io/rails/compatibility).
95
96
 
96
97
  ## Contributing
97
98
 
@@ -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/#/troubleshooting?id=server-raises-an-argumenterror-exception-when-client-tries-to-connect"
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
@@ -2,6 +2,6 @@
2
2
 
3
3
  module AnyCable
4
4
  module Rails
5
- VERSION = "1.1.0.rc1.1"
5
+ VERSION = "1.1.3"
6
6
  end
7
7
  end
@@ -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: https://docs.anycable.io/#/rails/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 https://docs.anycable.io/#/rails/compatibility" unless res
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,49 +1,43 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: anycable-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0.rc1.1
4
+ version: 1.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - palkan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-05-12 00:00:00.000000000 Z
11
+ date: 2021-10-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: anycable-core
14
+ name: anycable
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ">"
18
- - !ruby/object:Gem::Version
19
- version: 1.0.99
20
- - - "<"
17
+ - - "~>"
21
18
  - !ruby/object:Gem::Version
22
- version: '2.0'
19
+ version: '1.1'
23
20
  type: :runtime
24
21
  prerelease: false
25
22
  version_requirements: !ruby/object:Gem::Requirement
26
23
  requirements:
27
- - - ">"
28
- - !ruby/object:Gem::Version
29
- version: 1.0.99
30
- - - "<"
24
+ - - "~>"
31
25
  - !ruby/object:Gem::Version
32
- version: '2.0'
26
+ version: '1.1'
33
27
  - !ruby/object:Gem::Dependency
34
28
  name: actioncable
35
29
  requirement: !ruby/object:Gem::Requirement
36
30
  requirements:
37
31
  - - ">="
38
32
  - !ruby/object:Gem::Version
39
- version: '6'
33
+ version: '5.1'
40
34
  type: :runtime
41
35
  prerelease: false
42
36
  version_requirements: !ruby/object:Gem::Requirement
43
37
  requirements:
44
38
  - - ">="
45
39
  - !ruby/object:Gem::Version
46
- version: '6'
40
+ version: '5.1'
47
41
  - !ruby/object:Gem::Dependency
48
42
  name: globalid
49
43
  requirement: !ruby/object:Gem::Requirement
@@ -207,11 +201,11 @@ required_ruby_version: !ruby/object:Gem::Requirement
207
201
  version: '2.6'
208
202
  required_rubygems_version: !ruby/object:Gem::Requirement
209
203
  requirements:
210
- - - ">"
204
+ - - ">="
211
205
  - !ruby/object:Gem::Version
212
- version: 1.3.1
206
+ version: '0'
213
207
  requirements: []
214
- rubygems_version: 3.2.15
208
+ rubygems_version: 3.2.22
215
209
  signing_key:
216
210
  specification_version: 4
217
211
  summary: Rails adapter for AnyCable