bbk-app 1.1.1.273338 → 1.1.1.273627
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/bbk/app/dispatcher/message.rb +4 -0
- data/lib/bbk/app/spec/dispatcher/message.rb +27 -0
- data/lib/bbk/app/spec.rb +9 -0
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ad3ba707fdc41fa61e8b3b1a7abeed1821248f6f9ef278744226d97acc8f1270
|
4
|
+
data.tar.gz: 0030a29db3163f6579c3fc78bd1314b4b1762ea828bf7984f92cf9cb743a64f5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b3143de48726cecb3789bf08614296b35a4961e274013189a750dfdc5799d8ecd085b2fc93d63667e80aac2f684df8f85ccbe322905294d84f28b62896f3cb75
|
7
|
+
data.tar.gz: '058e97464eec4861b97d63d6264e1dbc0707993d6df8abe93c4e8f0cebe9a0692ad0db1c82ac775ca856ba42543208fd095f0d4659274a2e9afc64342a86ce3f'
|
data/Gemfile.lock
CHANGED
@@ -0,0 +1,27 @@
|
|
1
|
+
require 'oj'
|
2
|
+
|
3
|
+
module BBK
|
4
|
+
module App
|
5
|
+
module Spec
|
6
|
+
class Dispatcher
|
7
|
+
class Message < BBK::App::Dispatcher::Message
|
8
|
+
|
9
|
+
|
10
|
+
def message_id
|
11
|
+
headers[:message_id]
|
12
|
+
end
|
13
|
+
|
14
|
+
def reply_to
|
15
|
+
headers[:reply_to] || user_id
|
16
|
+
end
|
17
|
+
|
18
|
+
def user_id
|
19
|
+
headers[:user_id]
|
20
|
+
end
|
21
|
+
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
27
|
+
|
data/lib/bbk/app/spec.rb
ADDED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bbk-app
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.1.
|
4
|
+
version: 1.1.1.273627
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Samoilenko Yuri
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-11-
|
11
|
+
date: 2024-11-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -302,6 +302,8 @@ files:
|
|
302
302
|
- lib/bbk/app/processors/ping.rb
|
303
303
|
- lib/bbk/app/processors/pong.rb
|
304
304
|
- lib/bbk/app/proxy_logger.rb
|
305
|
+
- lib/bbk/app/spec.rb
|
306
|
+
- lib/bbk/app/spec/dispatcher/message.rb
|
305
307
|
- lib/bbk/app/spec/shared/dispatcher/message.rb
|
306
308
|
- lib/bbk/app/thread_pool.rb
|
307
309
|
- lib/bbk/app/version.rb
|