anycable 1.4.4 → 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 +19 -5
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 754b5d2c4c45fa0cb5740d2d303b6d5693e1757fde2464434cbd01e2273d5fd1
4
- data.tar.gz: 2522a2077d71e6414dfd0e726f99482ca4fb7b818bd6db8ff88abc5bfd0da9d1
3
+ metadata.gz: 38004266b19c81b431fc67bab99451a3cc606b358625a6c5fdcb05b4ce893957
4
+ data.tar.gz: e3d4d048865caa7238e4eccd58276968be93d867e3ff03e4157edaaccf831998
5
5
  SHA512:
6
- metadata.gz: 99f0a042edb94470d3cfc8a291fa3e47089d9faef562e14e95a316d478ec3aee19f0e12a5c631f0964a8b4ac3f1d045eca293b3386bb298d517cadb3707cc946
7
- data.tar.gz: 9af7b89195d77df445e1e0c0079eb1bef609bb9611afa186ecdf0b34950ce9b3d1c5ad66e6a19eef4bfcb2cc2f0a5816994627d330ddc1263ec01e5d00151885
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,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: anycable
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.4
4
+ version: 1.5.0.rc.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - palkan
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 1.4.4
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.4
26
+ version: 1.5.0.rc.1
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: grpc
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -38,6 +38,20 @@ dependencies:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
40
  version: '1.53'
41
+ - !ruby/object:Gem::Dependency
42
+ name: google-protobuf
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '3.23'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '3.23'
41
55
  description: AnyCable is a polyglot replacement for ActionCable-compatible servers
42
56
  email:
43
57
  - dementiev.vm@gmail.com
@@ -69,9 +83,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
69
83
  version: 2.7.0
70
84
  required_rubygems_version: !ruby/object:Gem::Requirement
71
85
  requirements:
72
- - - ">="
86
+ - - ">"
73
87
  - !ruby/object:Gem::Version
74
- version: '0'
88
+ version: 1.3.1
75
89
  requirements: []
76
90
  rubygems_version: 3.4.20
77
91
  signing_key: