pps_commons 0.1.8 → 0.1.9

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: 077733f6f45fe8fc48e1d23a95c0ebc33084bd64
4
- data.tar.gz: 2d30fbe452ba517f4325938771bd5ac22956f41d
3
+ metadata.gz: 4fd057cb3fe5460bf85d7aa603c2a94a22aadcda
4
+ data.tar.gz: 4f2753f9e042d5ce8b20c2993e56216230197e1f
5
5
  SHA512:
6
- metadata.gz: 37f56ac8aa318d4fcc2c333108c489da8c2939ddba89ea64e1df8a054e8c06834737f05062ef0de0aef57055724181a69fa3f5866e188ad55333bf624649dd00
7
- data.tar.gz: 866b6f852eababaee476435be68765897357e5d4018695562868e81494a9688a17e6c105857a4fe225d47ee5e52a390b3a1e96a45aa98db92e2eb30fa93cad08
6
+ metadata.gz: 397ebe7522bf79950bbe51482e729ecd7d2915d0417cf507947a1a8859a346e2fff679c260ef2b798932d5317ef6968be6c750c6a6312196e2d78dc6a7991d7b
7
+ data.tar.gz: c7513159612c1b614283b22d5f15a8d7fb2978bba5fbe32e0a6f00f38e60b7d093bd015708a4710ac19cc17319af0d0a9b07e3bc713efb1070ce51a3ffa2c86a
@@ -86,7 +86,12 @@ module WGU
86
86
  "#{requester.agent_name.capitalize} sending message: \"#{msg}\" to -> #{recipient}"
87
87
  )
88
88
 
89
- @connections[recipient].receive_data(msg)
89
+ if recipient.eql?(:broker) && !requester.eql?(:broker)
90
+ send_data(msg)
91
+ else
92
+ @connections[recipient].receive_data(msg)
93
+ end
94
+
90
95
  self
91
96
  end
92
97
 
@@ -1,3 +1,3 @@
1
1
  module PPSCommons
2
- VERSION = "0.1.8"
2
+ VERSION = "0.1.9"
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.8
4
+ version: 0.1.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam Phillipps