anycable-rails 1.0.8 → 1.1.0.pre1

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: 8370f83414dd80b7b8f7249f8812bfa9363a89f03178f88f7a3a9feb5ea337f4
4
- data.tar.gz: e60aa76aed1b58700b080062813f0f127ea9d6134830e7e15e9ba5d332e7fd45
3
+ metadata.gz: '087189f7948c52bb58e4e1d558c6952620ddbeb7b9a7150f6a8a75e10b305fd7'
4
+ data.tar.gz: 2c8c1d0b355dc447d73df3fbc98b1afb7c12d15bed3556300888cb7ccd5ac7b5
5
5
  SHA512:
6
- metadata.gz: 22abec15d46f3e4cfcae0119b3ccb188a528075e21a3403a61d569d73f0ee51ceadc2e9dc72cc0b4c6b2c633a596f50d9a8305a3bff66205c85180acb8d94d48
7
- data.tar.gz: e057df2ca5c474aeec283e0f162bf5f9f2b0a987d76f08dd0bf8fb1baad71d402487079d1588cc57195e369babf41d5ac2d2ebc2e034993959a37e11283efaf6
6
+ metadata.gz: 69a9672b864a8a7cb606e3b066900bc3c39df59e357a4b95f28426d22207766ed914061b686974c56b41dc3eae3da3e39017e0bfe34701ab7a89b4ae5ec9c9a1
7
+ data.tar.gz: 25439b57367b5f61671e778324b46aadb96190c4a5d27f75a4872a7003b03c589fcbcdbafc346885e45ad2ce6c58f241e4a54578c636b71b1eae4a10ffc6db6d
data/CHANGELOG.md CHANGED
@@ -2,6 +2,11 @@
2
2
 
3
3
  ## master
4
4
 
5
+ ## 1.1.0-dev
6
+
7
+ - **Ruby >= 2.6** is required.
8
+ - **Rails >= 6.0** is required.
9
+
5
10
  ## 1.0.7 (2021-03-05)
6
11
 
7
12
  - Ruby 3 compatibility. ([@palkan][])
data/README.md CHANGED
@@ -11,8 +11,6 @@ With AnyCable you can use channels, client-side JS, broadcasting - (almost) all
11
11
 
12
12
  You can even use Action Cable in development and not be afraid of [compatibility issues](#compatibility).
13
13
 
14
- **Important** This is a readme for the upcoming v1.0 release. For v0.6.x see the readme from the [0-6-stable](https://github.com/anycable/anycable-rails/tree/0-6-stable) branch.
15
-
16
14
  💾 [Example Application](https://github.com/anycable/anycable_rails_demo)
17
15
 
18
16
  📑 [Documentation](https://docs.anycable.io/#/rails/getting_started).
@@ -22,8 +20,8 @@ You can even use Action Cable in development and not be afraid of [compatibility
22
20
 
23
21
  ## Requirements
24
22
 
25
- - Ruby >= 2.5
26
- - Rails >= 5.2
23
+ - Ruby >= 2.6
24
+ - Rails >= 6.0
27
25
  - Redis (see [other options](https://github.com/anycable/anycable/issues/2) for broadcasting)
28
26
 
29
27
  ## Usage
@@ -64,7 +62,7 @@ and specify AnyCable WebSocket server URL:
64
62
  # For development it's likely the localhost
65
63
 
66
64
  # config/environments/development.rb
67
- config.action_cable.url = "ws://localhost:3334/cable"
65
+ config.action_cable.url = "ws://localhost:8080/cable"
68
66
 
69
67
  # For production it's likely to have a sub-domain and secure connection
70
68
 
@@ -85,7 +83,7 @@ $ RAILS_ENV=production bundle exec anycable
85
83
  And, finally, run AnyCable WebSocket server, e.g. [anycable-go](https://docs.anycable.io/#/v1/anycable-go/getting_started):
86
84
 
87
85
  ```sh
88
- anycable-go --host=localhost --port=3334
86
+ anycable-go --host=localhost --port=8080
89
87
  ```
90
88
 
91
89
  See [documentation](https://docs.anycable.io/#/rails/getting_started) for more information on AnyCable + Rails usage.
@@ -18,7 +18,7 @@ end)
18
18
 
19
19
  ActionCable::Channel::ConnectionStub.prepend(Module.new do
20
20
  def socket
21
- @socket ||= AnyCable::Socket.new(env: {})
21
+ @socket ||= AnyCable::Socket.new(env: AnyCable::Env.new(url: "http://test.host", headers: {}))
22
22
  end
23
23
 
24
24
  alias_method :anycable_socket, :socket
@@ -2,6 +2,6 @@
2
2
 
3
3
  module AnyCable
4
4
  module Rails
5
- VERSION = "1.0.8"
5
+ VERSION = "1.1.0.pre1"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,43 +1,43 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: anycable-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.8
4
+ version: 1.1.0.pre1
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-24 00:00:00.000000000 Z
11
+ date: 2021-04-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: anycable
14
+ name: anycable-core
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 1.0.0
19
+ version: 1.1.0.pre1
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.0.0
26
+ version: 1.1.0.pre1
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: actioncable
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: '5'
33
+ version: '6'
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: '5'
40
+ version: '6'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: globalid
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -52,20 +52,6 @@ dependencies:
52
52
  - - ">="
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
- - !ruby/object:Gem::Dependency
56
- name: activerecord
57
- requirement: !ruby/object:Gem::Requirement
58
- requirements:
59
- - - ">="
60
- - !ruby/object:Gem::Version
61
- version: '0'
62
- type: :development
63
- prerelease: false
64
- version_requirements: !ruby/object:Gem::Requirement
65
- requirements:
66
- - - ">="
67
- - !ruby/object:Gem::Version
68
- version: '0'
69
55
  - !ruby/object:Gem::Dependency
70
56
  name: ammeter
71
57
  requirement: !ruby/object:Gem::Requirement
@@ -211,12 +197,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
211
197
  requirements:
212
198
  - - ">="
213
199
  - !ruby/object:Gem::Version
214
- version: '2.5'
200
+ version: '2.6'
215
201
  required_rubygems_version: !ruby/object:Gem::Requirement
216
202
  requirements:
217
- - - ">="
203
+ - - ">"
218
204
  - !ruby/object:Gem::Version
219
- version: '0'
205
+ version: 1.3.1
220
206
  requirements: []
221
207
  rubygems_version: 3.2.15
222
208
  signing_key: