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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '064718260ddb212e6b01bc248c0da4f1d21c1a4a129702f8fca91c44d5f9ed25'
4
- data.tar.gz: 6f3d151dc6ae03c5b4b018414226b6aac563f2467878149dd2840aae0135b6d1
3
+ metadata.gz: d5f45a8754f0d229c77dd94069219416b680bf5e1beaa23412732980231cf634
4
+ data.tar.gz: 5855e1ea8d0cb8f7aec66e652f5e5553a296b3cdef08aee9b514fed43c838640
5
5
  SHA512:
6
- metadata.gz: c9cfc58828cbefe79b7d9fb1d3225f03c26a60429d1dd71c9743a08fde84415b98f8e225ac78acbe2c7b94984c1aea77977102b35dd8b1f10521bb9cb0bc0483
7
- data.tar.gz: aa89cc36fcb8c2b94df8d567f84dacca307b3dc2163b06ffb4d0f1d0f277804e85c638ea1272a614e1cd16fb0fb24ac95df922bf823a13b410cebc0ba7f18f62
6
+ metadata.gz: d2d37ad752b3b9ebcfe13d544a594d642cd5b887b647bfc54a5d5af898609f77b1bfd8402d66759abfe5b2fc43657615befc4f9be4d1bb176e84c364da5a9449
7
+ data.tar.gz: 653a2f991a9aecf1ecd46a12a6179cac1d4b830edf75880f4c078fa3f7309eb10430415c9e3c9db1e2de247a9263bcc0ae9edf8e9b39b432267ee163564a82f3
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rsmp (0.33.0)
4
+ rsmp (0.33.2)
5
5
  async (~> 2.16)
6
6
  async-io (~> 1.43)
7
7
  colorize (~> 1.1)
@@ -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
@@ -1,3 +1,3 @@
1
1
  module RSMP
2
- VERSION = "0.33.0"
2
+ VERSION = "0.33.2"
3
3
  end
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.0
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 00:00:00.000000000 Z
11
+ date: 2024-12-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: logger