istox 0.1.106 → 0.1.107
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +3 -3
- data/lib/istox/helpers/publisher.rb +0 -7
- data/lib/istox/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: bc2792c5d915afff12f2e296f2ee01f9dcecfc9a51e75eb0da26601c59ecfa3f
|
|
4
|
+
data.tar.gz: f50774182cb2e52e9fb4c8b046255bbd89accd6b64796088727752e0d4d1a868
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 62a8427561ef9e8e6829bad1497558c3041a502e0178a038c9250fb3dc6ca9da76d43f5c6732d2a8e082aaf916ca0ef71470b418c3bb3a15e897dc331997a28a
|
|
7
|
+
data.tar.gz: 0370d8490bca29a2cc18b6e003743607174d9e4838c3a03f02f16688cdae0e55e9da4b1a74e6669617f0c40d7cc7d52a40ddafe0d013a10f0b9d542267e493af
|
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
istox (0.1.
|
|
4
|
+
istox (0.1.106)
|
|
5
5
|
awesome_print
|
|
6
6
|
binding_of_caller
|
|
7
7
|
bunny (>= 2.12.0)
|
|
@@ -91,7 +91,7 @@ GEM
|
|
|
91
91
|
ffi (1.11.3)
|
|
92
92
|
globalid (0.4.2)
|
|
93
93
|
activesupport (>= 4.2.0)
|
|
94
|
-
google-protobuf (3.11.2)
|
|
94
|
+
google-protobuf (3.11.2-universal-darwin)
|
|
95
95
|
googleapis-common-protos-types (1.0.4)
|
|
96
96
|
google-protobuf (~> 3.0)
|
|
97
97
|
graphlient (0.3.7)
|
|
@@ -102,7 +102,7 @@ GEM
|
|
|
102
102
|
graphql-client (0.16.0)
|
|
103
103
|
activesupport (>= 3.0)
|
|
104
104
|
graphql (~> 1.8)
|
|
105
|
-
grpc (1.26.0)
|
|
105
|
+
grpc (1.26.0-universal-darwin)
|
|
106
106
|
google-protobuf (~> 3.8)
|
|
107
107
|
googleapis-common-protos-types (~> 1.0)
|
|
108
108
|
grpc-tools (1.26.0)
|
|
@@ -14,9 +14,6 @@ module Istox
|
|
|
14
14
|
queue_publish_config = nil
|
|
15
15
|
if routing_key.present?
|
|
16
16
|
exchange = search_exchange_of_routing_key!(routing_key) if exchange.nil?
|
|
17
|
-
|
|
18
|
-
puts "EXCYANGE IS #{exchange}"
|
|
19
|
-
|
|
20
17
|
queue_publish_config = queue_publish_config!(routing_key: routing_key, exchange: exchange)
|
|
21
18
|
end
|
|
22
19
|
|
|
@@ -70,10 +67,6 @@ module Istox
|
|
|
70
67
|
|
|
71
68
|
def queue_publish_config!(routing_key:, exchange:)
|
|
72
69
|
queue_publish_config = data['publish'][exchange][routing_key]
|
|
73
|
-
unless data['publish'][exchange].key?(routing_key)
|
|
74
|
-
raise "Cannot find publish queue config for exchange #{exchange} and routing key #{routing_key},
|
|
75
|
-
have you forgotten to define it in exchange section in amqp.yml"
|
|
76
|
-
end
|
|
77
70
|
|
|
78
71
|
queue_publish_config
|
|
79
72
|
end
|
data/lib/istox/version.rb
CHANGED