omf_rc 6.2.0.pre.1 → 6.2.0.pre.2
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 +8 -8
- data/lib/omf_rc/resource_proxy/abstract_resource.rb +3 -3
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
MjY2Njk0NjBhZDdiZTU5Nzg0MjNiY2Y4MDI2MDM1NjM0ZGEzZjgzZQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
N2U3NzA5YWQ1ZWU0YmYxMzlhMDU1YTI3MzRjODE5ZDc1ZjE2YzdiNw==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
NWRjOTExNDVlODBlNzVmNDliNzMzNzZhOTJlYTJlNDZhYmM5NTJlZWRjMzhh
|
10
|
+
OTEwNjE4MzA0ODNmMTg3YTY2ZTExYmZhMjM1YTc2NTk5ODhkZjRjZDBhODgz
|
11
|
+
M2M3MTYzYTEzY2NkMmM2MDhjYTk0YWQyNmNhZjcwMmVhYzQ2NWM=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
YzA5NGY3NWU2YmNiN2E4YzViNjc2NGRhOTIxZTMyMmZhYWUzZTgzMjI1ZTE4
|
14
|
+
MmMxODlkNmZmZmQyNTUwODcxZmQwZjU0Y2M3NmJjZWEzZDUyMmI1NDI4ZWRi
|
15
|
+
N2RlN2IyMzk4YTQ3OTc1YmY1NTljOWNhYjg1MDM0Y2Q1MjU0OTc=
|
@@ -135,7 +135,7 @@ class OmfRc::ResourceProxy::AbstractResource
|
|
135
135
|
@membership_topics = {}
|
136
136
|
@property = Hashie::Mash.new
|
137
137
|
|
138
|
-
OmfCommon.comm.subscribe(@uid) do |t|
|
138
|
+
OmfCommon.comm.subscribe(@uid, routing_key: "o.op") do |t|
|
139
139
|
@topics << t
|
140
140
|
|
141
141
|
if t.error?
|
@@ -408,7 +408,7 @@ class OmfRc::ResourceProxy::AbstractResource
|
|
408
408
|
|
409
409
|
new_membership && new_membership.each do |new_m|
|
410
410
|
unless @membership.include?(new_m)
|
411
|
-
OmfCommon.comm.subscribe(new_m) do |t|
|
411
|
+
OmfCommon.comm.subscribe(new_m, routing_key: "o.op") do |t|
|
412
412
|
if t.error?
|
413
413
|
warn "Group #{new_m} disappeared"
|
414
414
|
self.synchronize do
|
@@ -684,7 +684,7 @@ class OmfRc::ResourceProxy::AbstractResource
|
|
684
684
|
|
685
685
|
# Just send to all topics, including group membership
|
686
686
|
(membership_topics.map { |mt| mt[1] } + @topics).each do |t|
|
687
|
-
t.publish(message)
|
687
|
+
t.publish(message, { routing_key: "o.info" })
|
688
688
|
OmfRc::ResourceProxy::MPPublished.inject(Time.now.to_f,
|
689
689
|
self.uid, t.id, message.mid) if OmfCommon::Measure.enabled?
|
690
690
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: omf_rc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 6.2.0.pre.
|
4
|
+
version: 6.2.0.pre.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- NICTA
|
@@ -72,14 +72,14 @@ dependencies:
|
|
72
72
|
requirements:
|
73
73
|
- - '='
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: 6.2.0.pre.
|
75
|
+
version: 6.2.0.pre.2
|
76
76
|
type: :runtime
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
80
|
- - '='
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: 6.2.0.pre.
|
82
|
+
version: 6.2.0.pre.2
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: cocaine
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|