rsmp 0.33.0 → 0.33.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/rsmp/components.rb +1 -0
- data/lib/rsmp/supervisor_proxy.rb +6 -0
- data/lib/rsmp/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d5f45a8754f0d229c77dd94069219416b680bf5e1beaa23412732980231cf634
|
4
|
+
data.tar.gz: 5855e1ea8d0cb8f7aec66e652f5e5553a296b3cdef08aee9b514fed43c838640
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d2d37ad752b3b9ebcfe13d544a594d642cd5b887b647bfc54a5d5af898609f77b1bfd8402d66759abfe5b2fc43657615befc4f9be4d1bb176e84c364da5a9449
|
7
|
+
data.tar.gz: 653a2f991a9aecf1ecd46a12a6179cac1d4b830edf75880f4c078fa3f7309eb10430415c9e3c9db1e2de247a9263bcc0ae9edf8e9b39b432267ee163564a82f3
|
data/Gemfile.lock
CHANGED
data/lib/rsmp/components.rb
CHANGED
@@ -18,6 +18,7 @@ module RSMP
|
|
18
18
|
settings.each_pair do |type,components_by_type|
|
19
19
|
if components_by_type
|
20
20
|
components_by_type.each_pair do |id,component_settings|
|
21
|
+
component_settings ||= {}
|
21
22
|
@components[id] = build_component(id:id, type:type, settings:component_settings)
|
22
23
|
@main = @components[id] if type=='main'
|
23
24
|
end
|
@@ -180,6 +180,12 @@ module RSMP
|
|
180
180
|
"se" => component.aggregated_status_bools,
|
181
181
|
"mId" => m_id,
|
182
182
|
})
|
183
|
+
|
184
|
+
# Core 3.1.2 or earlier requires that se items to be send as strings
|
185
|
+
if Proxy::version_meets_requirement?(core_version,"<=3.1.2")
|
186
|
+
message.attributes["se"].map! {|bool| bool ? "true" : "false"}
|
187
|
+
end
|
188
|
+
|
183
189
|
set_nts_message_attributes message
|
184
190
|
send_and_optionally_collect message, options do |collect_options|
|
185
191
|
Collector.new self, collect_options.merge(task:@task, type: 'MessageAck')
|
data/lib/rsmp/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rsmp
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.33.
|
4
|
+
version: 0.33.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Emil Tin
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-12-
|
11
|
+
date: 2024-12-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: logger
|