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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 24ff208a0dc8cca13439f959b8af82bd3498861bb6657fa95199b4ef20c33c8d
4
- data.tar.gz: 84cd697b4acdcd51c0605f6a2604e07aeb87a357f5d4958a5d38066bd306c8bb
3
+ metadata.gz: ad3ba707fdc41fa61e8b3b1a7abeed1821248f6f9ef278744226d97acc8f1270
4
+ data.tar.gz: 0030a29db3163f6579c3fc78bd1314b4b1762ea828bf7984f92cf9cb743a64f5
5
5
  SHA512:
6
- metadata.gz: 12998471f24e21b1a9c09283378908a45194c41b82da5d4389b2907ebfdf7442c297262acb6fa089f5ccc97322f45030d48412e98bd3d9c37fbdfad91e7e178b
7
- data.tar.gz: 650688e1055b45d0207c6bac6d0a73bb3f1dc397a8b4022bfcf2fa7a17b4986965121a48a5698e5dc69bacc4d186653b61c18c89c926d4a55e62a518a8e9d8a2
6
+ metadata.gz: b3143de48726cecb3789bf08614296b35a4961e274013189a750dfdc5799d8ecd085b2fc93d63667e80aac2f684df8f85ccbe322905294d84f28b62896f3cb75
7
+ data.tar.gz: '058e97464eec4861b97d63d6264e1dbc0707993d6df8abe93c4e8f0cebe9a0692ad0db1c82ac775ca856ba42543208fd095f0d4659274a2e9afc64342a86ce3f'
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- bbk-app (1.1.1.273338)
4
+ bbk-app (1.1.1.273627)
5
5
  activesupport (>= 6.0)
6
6
  bbk-utils (> 1.0.1)
7
7
  oj
@@ -54,6 +54,10 @@ module BBK
54
54
  }
55
55
  end
56
56
 
57
+ def inspect # :nodoc:
58
+ "#<#{self.class.name} @consumer=#{consumer.class.name}, @headers=#{headers.inspect}>"
59
+ end
60
+
57
61
  end
58
62
  end
59
63
  end
@@ -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
+
@@ -0,0 +1,9 @@
1
+ require 'bbk/app/spec/dispatcher/message'
2
+
3
+ module BBK
4
+ module App
5
+ module Spec
6
+ end
7
+ end
8
+ end
9
+
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.273338
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-15 00:00:00.000000000 Z
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