pps_commons 0.1.9 → 0.1.10

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
  SHA1:
3
- metadata.gz: 4fd057cb3fe5460bf85d7aa603c2a94a22aadcda
4
- data.tar.gz: 4f2753f9e042d5ce8b20c2993e56216230197e1f
3
+ metadata.gz: '09628f62f34ced13087f39ede31019a732b93df9'
4
+ data.tar.gz: 63f03bc7c8390e78ae95ad174b8e07095ae3df20
5
5
  SHA512:
6
- metadata.gz: 397ebe7522bf79950bbe51482e729ecd7d2915d0417cf507947a1a8859a346e2fff679c260ef2b798932d5317ef6968be6c750c6a6312196e2d78dc6a7991d7b
7
- data.tar.gz: c7513159612c1b614283b22d5f15a8d7fb2978bba5fbe32e0a6f00f38e60b7d093bd015708a4710ac19cc17319af0d0a9b07e3bc713efb1070ce51a3ffa2c86a
6
+ metadata.gz: 6fc7985396d0213ca49ddcf284b9b94bdd1b4c0b3c80f05dfd6db5f3cf1d55c0b35152e414f0770e3686c6c9d85aeaef538cc201c708c16f12f7197ae5b66fff
7
+ data.tar.gz: 04a3b4f46a1e0cf0e221d90d4e401ee49fc201e226e1fbbf3c0b2b86a4c51299254ea1400a5ee53ba633ad7bd5bb8ff20eb1904c15811ea07beaf032a646c184
@@ -86,8 +86,8 @@ module WGU
86
86
  "#{requester.agent_name.capitalize} sending message: \"#{msg}\" to -> #{recipient}"
87
87
  )
88
88
 
89
- if recipient.eql?(:broker) && !requester.eql?(:broker)
90
- send_data(msg)
89
+ if recipient.eql?(:broker) && !requester.agent_name.eql?(:broker)
90
+ requester.send_data(msg)
91
91
  else
92
92
  @connections[recipient].receive_data(msg)
93
93
  end
@@ -1,3 +1,3 @@
1
1
  module PPSCommons
2
- VERSION = "0.1.9"
2
+ VERSION = "0.1.10"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pps_commons
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.9
4
+ version: 0.1.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam Phillipps