File tree Expand file tree Collapse file tree 2 files changed +28
-20
lines changed Expand file tree Collapse file tree 2 files changed +28
-20
lines changed Original file line number Diff line number Diff line change 12
12
async-container (0.16.12)
13
13
async
14
14
async-io
15
- async-http (0.56.6 )
15
+ async-http (0.59.1 )
16
16
async (>= 1.25)
17
17
async-io (>= 1.28)
18
18
async-pool (>= 0.2)
19
- protocol-http (~> 0.22.0 )
19
+ protocol-http (~> 0.23.1 )
20
20
protocol-http1 (~> 0.14.0)
21
21
protocol-http2 (~> 0.14.0)
22
- traces (~> 0.4.0)
22
+ traces (>= 0.4.0)
23
23
async-http-cache (0.4.2)
24
24
async-http (~> 0.56)
25
25
async-io (1.33.0)
26
26
async
27
- async-pool (0.3.10 )
27
+ async-pool (0.3.11 )
28
28
async (>= 1.25)
29
29
async-redis (0.7.0)
30
30
async (>= 1.8, < 3.0)
38
38
rspec (~> 3.0)
39
39
rspec-files (~> 1.0)
40
40
rspec-memory (~> 1.0)
41
- async-websocket (0.19 .0)
41
+ async-websocket (0.22 .0)
42
42
async-http (~> 0.54)
43
43
async-io (~> 1.23)
44
- protocol-websocket (~> 0.7.0)
44
+ protocol-rack (~> 0.1.1)
45
+ protocol-websocket (~> 0.9.1)
45
46
bake (0.18.2)
46
47
samovar (~> 2.1)
47
48
benchmark-http (0.15.1)
70
71
ffi-module (~> 0.3.0)
71
72
diff-lcs (1.5.0)
72
73
digest (3.1.0)
73
- falcon (0.40 .1)
74
+ falcon (0.42 .1)
74
75
async
75
76
async-container (~> 0.16.0)
76
- async-http (~> 0.56.0 )
77
+ async-http (~> 0.57 )
77
78
async-http-cache (~> 0.4.0)
78
79
async-io (~> 1.22)
79
80
build-environment (~> 1.13)
80
81
bundler
81
82
localhost (~> 1.1)
83
+ openssl (~> 3.0)
82
84
process-metrics (~> 0.2.0)
83
- rack (>= 1.0)
85
+ protocol- rack (~> 0. 1.0)
84
86
samovar (~> 2.1)
85
87
ffi (1.15.5)
86
88
ffi-module (0.3.0)
97
99
shellany (~> 0.0)
98
100
thor (>= 0.18.1)
99
101
guard-compat (1.2.1)
100
- guard-falcon (0.12.1)
101
- async-container (~> 0.16.0)
102
+ guard-falcon (0.13.1)
103
+ async-container (~> 0.16)
104
+ console (~> 1.0)
102
105
falcon (~> 0.35)
103
106
guard
104
107
guard-compat (~> 1.2)
105
108
guard-rspec (4.7.3)
106
109
guard (~> 2.1)
107
110
guard-compat (~> 1.1)
108
111
rspec (>= 2.99.0, < 4.0)
109
- http-accept (2.1.1 )
112
+ http-accept (2.2.0 )
110
113
listen (3.7.1)
111
114
rb-fsevent (~> 0.10, >= 0.10.3)
112
115
rb-inotify (~> 0.9, >= 0.9.10)
@@ -132,20 +135,24 @@ GEM
132
135
notiffany (0.1.3)
133
136
nenv (~> 0.1)
134
137
shellany (~> 0.0)
135
- parser (3.1.2.0)
138
+ openssl (3.0.0)
139
+ parser (3.1.2.1)
136
140
ast (~> 2.4.1)
137
141
process-metrics (0.2.1)
138
142
console (~> 1.8)
139
143
samovar (~> 2.1)
140
144
protocol-hpack (1.4.2)
141
- protocol-http (0.22.6 )
145
+ protocol-http (0.23.5 )
142
146
protocol-http1 (0.14.4)
143
147
protocol-http (~> 0.22)
144
148
protocol-http2 (0.14.2)
145
149
protocol-hpack (~> 1.4)
146
150
protocol-http (~> 0.18)
151
+ protocol-rack (0.1.2)
152
+ protocol-http (~> 0.23.4)
153
+ rack (>= 1.0)
147
154
protocol-redis (0.6.1)
148
- protocol-websocket (0.7.5 )
155
+ protocol-websocket (0.9.1 )
149
156
protocol-http (~> 0.2)
150
157
protocol-http1 (~> 0.2)
151
158
pry (0.14.1)
@@ -184,19 +191,19 @@ GEM
184
191
thread-local (1.1.0)
185
192
timeout (0.3.0)
186
193
timers (4.3.3)
187
- traces (0.4 .1)
194
+ traces (0.6 .1)
188
195
trenni (3.13.2)
189
196
trenni-sanitize (0.6.1)
190
197
trenni (~> 3.5)
191
- utopia (2.20.0 )
198
+ utopia (2.20.1 )
192
199
concurrent-ruby (~> 1.0)
193
200
console (~> 1.0)
194
201
http-accept (~> 2.1)
195
202
mail (~> 2.6)
196
203
mime-types (~> 3.0)
197
204
msgpack
198
205
net-smtp
199
- rack (~> 2.2)
206
+ rack (>= 2.2)
200
207
samovar (~> 2.1)
201
208
traces
202
209
trenni (~> 3.0)
Original file line number Diff line number Diff line change 15
15
while true
16
16
type , name , message = context . listen
17
17
18
- connection . write ( JSON . parse ( message ) )
18
+ # The message is text, but contains JSON.
19
+ connection . send_text ( message )
19
70F9
td>20
connection . flush
20
21
end
21
22
end
22
23
end
23
24
24
25
while message = connection . read
25
- client . publish ( channel , JSON . dump ( message ) )
26
+ client . publish ( channel , message . buffer )
26
27
end
27
28
ensure
28
29
subscription_task &.stop
You can’t perform that action at this time.
0 commit comments