anycable 1.4.2 → 1.5.0.rc.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +28 -0
  3. metadata +7 -7
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: deb5f05f23a9718c3f30660a2a1e16c70b37a16cddd6352aedd0cb9742c766db
4
- data.tar.gz: 953e87d7f4175d07438ece0588629b7c91ccca6853891a14caca9fe2d5217354
3
+ metadata.gz: 38004266b19c81b431fc67bab99451a3cc606b358625a6c5fdcb05b4ce893957
4
+ data.tar.gz: e3d4d048865caa7238e4eccd58276968be93d867e3ff03e4157edaaccf831998
5
5
  SHA512:
6
- metadata.gz: fd1c53cb5f437e38cb227248929b5e106698c829f056c4a9f55188750e37f5615acd08fd44ccfecbaffde547a033c4446576dbc4441a05a95e00ddf697b100a3
7
- data.tar.gz: b89f70a89b9f39312e7b6da99dc76ca5902afd4386f4d0fa0bc9fc359cddfd7efe7247073e1bd0251582c6f69ab25ea6773ed936eb761f3ff65c7f1f0369d6ad
6
+ metadata.gz: 57ec9631e1a243dfde42a1f600fc5eb47581a1302aa090d70b7ce883f8dd556765ecb1be9130ffbd359301ae0e2b6e0446acfd5674c0a48d708b4077f2613fd5
7
+ data.tar.gz: 864ed13d2feaf329714539634afbb650e07f461d015781fb491ef0c8259d13fffb810887915bc915fceb4c7496bda8fd1796cdad7df3916585415e31300d37d1
data/CHANGELOG.md CHANGED
@@ -2,6 +2,34 @@
2
2
 
3
3
  ## master
4
4
 
5
+ - Added JWT utils. ([@palkan][])
6
+
7
+ You can now generate and verify AnyCable JWT tokens without using additional dependencies:
8
+
9
+ ```ruby
10
+ token = AnyCable::JWT.encode({user_id: "1"})
11
+
12
+ identifiers = AnyCable::JWT.decode(token)
13
+ ```
14
+
15
+ This change will deprecate `anycable-rails-jwt`.
16
+
17
+ - Added signed streams support. ([@palkan][])
18
+
19
+ You can generate signed stream names as follows:
20
+
21
+ ```ruby
22
+ signed_name = AnyCable::Streams.sign("chat/2024")
23
+ ```
24
+
25
+ - Added `secret` and `broadcast_key` configuration parameters. ([@palkan][])
26
+
27
+ ## 1.4.3 (2023-10-15)
28
+
29
+ - Add broadcast options support. ([@palkan][])
30
+
31
+ - Add batch-broadcasting support. ([@palkan][])
32
+
5
33
  ## 1.4.2 (2023-09-05)
6
34
 
7
35
  - Fix parsing sentinel configuration from YAML in Rails. ([@palkan][])
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: anycable
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.2
4
+ version: 1.5.0.rc.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - palkan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-09-06 00:00:00.000000000 Z
11
+ date: 2024-03-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: anycable-core
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 1.4.2
19
+ version: 1.5.0.rc.1
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.4.2
26
+ version: 1.5.0.rc.1
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: grpc
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -83,11 +83,11 @@ required_ruby_version: !ruby/object:Gem::Requirement
83
83
  version: 2.7.0
84
84
  required_rubygems_version: !ruby/object:Gem::Requirement
85
85
  requirements:
86
- - - ">="
86
+ - - ">"
87
87
  - !ruby/object:Gem::Version
88
- version: '0'
88
+ version: 1.3.1
89
89
  requirements: []
90
- rubygems_version: 3.4.8
90
+ rubygems_version: 3.4.20
91
91
  signing_key:
92
92
  specification_version: 4
93
93
  summary: AnyCable is a polyglot replacement for ActionCable-compatible servers