anycable 1.4.3 → 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 +22 -0
  3. metadata +7 -7
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 14c80e664fc46eea3c116c3107fa44f7f2b89594f49032bdf5f35ce9b3bfd303
4
- data.tar.gz: 12db3fd975550d07abf43ea35a19026478ea6901699ba5a4883bedab4e26952c
3
+ metadata.gz: 38004266b19c81b431fc67bab99451a3cc606b358625a6c5fdcb05b4ce893957
4
+ data.tar.gz: e3d4d048865caa7238e4eccd58276968be93d867e3ff03e4157edaaccf831998
5
5
  SHA512:
6
- metadata.gz: f0b84abb5ed1f25677bf6cd07169cbb0e7c8e0c2bc2ec58fb275dc66677e24c22b379a81e42162874afefd185fb75c2989b3f2321772868632ae532f348eedcf
7
- data.tar.gz: 625f15534b7087b469dd598a23ff28ba3a98590e440bb26bfa84a0e31dacfd259c7f32ad64649f8f5d0f076e6869080ea0357e93e95168efbc54700815a44641
6
+ metadata.gz: 57ec9631e1a243dfde42a1f600fc5eb47581a1302aa090d70b7ce883f8dd556765ecb1be9130ffbd359301ae0e2b6e0446acfd5674c0a48d708b4077f2613fd5
7
+ data.tar.gz: 864ed13d2feaf329714539634afbb650e07f461d015781fb491ef0c8259d13fffb810887915bc915fceb4c7496bda8fd1796cdad7df3916585415e31300d37d1
data/CHANGELOG.md CHANGED
@@ -2,6 +2,28 @@
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
+
5
27
  ## 1.4.3 (2023-10-15)
6
28
 
7
29
  - Add broadcast options support. ([@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.3
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-10-16 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.3
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.3
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