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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0fd0da39548bf9a64dd4c533463e68aed36d1857c528c021bd9492adc9673aba
4
- data.tar.gz: c67911adffb9ae897a729b02d9f8c52f12819cc5f7f04d867b3ee61d67cc7497
3
+ metadata.gz: bc2792c5d915afff12f2e296f2ee01f9dcecfc9a51e75eb0da26601c59ecfa3f
4
+ data.tar.gz: f50774182cb2e52e9fb4c8b046255bbd89accd6b64796088727752e0d4d1a868
5
5
  SHA512:
6
- metadata.gz: ca2728a7c46312409b09dd86e4ee9159e5ff2631186237104f7b0afe83e318ebb005ff9c7c1e0acbf9997aaff911fc85008da21b2a671f7be1e16c959ed19df2
7
- data.tar.gz: 61d4c1a843d24328c866f5fce89465460be69f464119ebbd1c82c6fc32cc646f3d33c986a5f4ef36d10cdd98c87bfc53c339c237b8130396b95d8a41efc9d8e2
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.103)
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
@@ -1,3 +1,3 @@
1
1
  module Istox
2
- VERSION = '0.1.106'.freeze
2
+ VERSION = '0.1.107'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: istox
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.106
4
+ version: 0.1.107
5
5
  platform: ruby
6
6
  authors:
7
7
  - Siong Leng