rsmp 0.1.33 → 0.1.34

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: ea326578bffa5b75bcd86c0829215d0111b3ba52c88bba7110cca3b9cc0f9fa9
4
- data.tar.gz: b7d197a3430be8922429ce5ac5ce3512900d85b4b9d276d5d283f150082a3303
3
+ metadata.gz: d0b29c33b11951327d41c6ee7fe019d4c7fff8a9e8b7b82da4919dc2935797b4
4
+ data.tar.gz: 131fbd58b3bff50cfec9d4c90026a5485a2ffb2c84b930429b922555fa7a7037
5
5
  SHA512:
6
- metadata.gz: '09ad5202d5feb194cdd9e54177f86910631ac260cd94e5afccdf1a386260de91063b438e5e6dc8675703fdaae8112036f6940793f7d3a266e84827ed38d465c1'
7
- data.tar.gz: c37dcaac65b0c1a692ef95507ad25f1fa0e78bdfa089758b8511af331e2f47b1bb497cf1452442ad7f9fbf34f8860c9408eeb1674cb3084337ce4fd3b4f552eb
6
+ metadata.gz: 91c4d3d0d68f1aee82f3026ad39a3910dee30d7161fd866a45c22370cd05260bd380f6ab2c249e7aaa6fc8b1513e792c74bb0f7eec4fdd1ba636bc841d8c2a93
7
+ data.tar.gz: d15ff60e2d2df3b8b900b23da741d6eb6dba4a62a2512459caa4dab59f8a20b109131314376fb41c01112d01e6929e70135d25fa406b4a37fb831329d13bc5f0
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rsmp (0.1.33)
4
+ rsmp (0.1.34)
5
5
  async (~> 1.28.7)
6
6
  async-io (~> 1.30.2)
7
7
  colorize (~> 0.8.1)
@@ -28,7 +28,7 @@ GEM
28
28
  builder (3.2.4)
29
29
  childprocess (3.0.0)
30
30
  colorize (0.8.1)
31
- console (1.12.0)
31
+ console (1.13.1)
32
32
  fiber-local
33
33
  contracts (0.16.0)
34
34
  cucumber (3.1.2)
@@ -36,7 +36,7 @@ module RSMP
36
36
  AGGREGATED_STATUS_KEYS.each_with_index do |key,index|
37
37
  @aggregated_status_bools[index] = status.include?(key)
38
38
  end
39
- aggrated_status_changed options
39
+ aggregated_status_changed options
40
40
  end
41
41
  end
42
42
 
@@ -50,12 +50,12 @@ module RSMP
50
50
  @aggregated_status_bools[index] = on
51
51
  @aggregated_status << key if on
52
52
  end
53
- aggrated_status_changed
53
+ aggregated_status_changed
54
54
  end
55
55
  end
56
56
 
57
- def aggrated_status_changed options={}
58
- @node.aggrated_status_changed self, options
57
+ def aggregated_status_changed options={}
58
+ @node.aggregated_status_changed self, options
59
59
  end
60
60
 
61
61
  def alarm code:, status:
@@ -8,7 +8,7 @@ module RSMP
8
8
  @components = {}
9
9
  end
10
10
 
11
- def aggrated_status_changed component, options={}
11
+ def aggregated_status_changed component, options={}
12
12
  end
13
13
 
14
14
  def setup_components settings
data/lib/rsmp/site.rb CHANGED
@@ -75,7 +75,7 @@ module RSMP
75
75
  SupervisorProxy.new settings
76
76
  end
77
77
 
78
- def aggrated_status_changed component, options={}
78
+ def aggregated_status_changed component, options={}
79
79
  @proxies.each do |proxy|
80
80
  proxy.send_aggregated_status component, options
81
81
  end
@@ -94,7 +94,7 @@ module RSMP
94
94
  if options[:collect]
95
95
  result = nil
96
96
  task = @task.async do |task|
97
- wait_for_aggregated_status task, options[:collect]
97
+ wait_for_aggregated_status task, options[:collect], m_id
98
98
  end
99
99
  send_message message, validate: options[:validate]
100
100
  return message, task.wait
@@ -134,7 +134,7 @@ module RSMP
134
134
  acknowledge message
135
135
  end
136
136
 
137
- def aggrated_status_changed component, options={}
137
+ def aggregated_status_changed component, options={}
138
138
  @supervisor.aggregated_status_changed self, component
139
139
  end
140
140
 
@@ -143,7 +143,7 @@ module RSMP
143
143
  true
144
144
  end
145
145
 
146
- def wait_for_aggregated_status parent_task, options={}
146
+ def wait_for_aggregated_status parent_task, options, m_id
147
147
  collect(parent_task,options.merge({
148
148
  type: ['AggregatedStatus','MessageNotAck'],
149
149
  num: 1
data/lib/rsmp/tlc.rb CHANGED
@@ -69,7 +69,7 @@ module RSMP
69
69
  group.move pos
70
70
  end
71
71
  if pos == 0
72
- aggrated_status_changed
72
+ aggregated_status_changed
73
73
  end
74
74
  end
75
75
 
data/lib/rsmp/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module RSMP
2
- VERSION = "0.1.33"
2
+ VERSION = "0.1.34"
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.1.33
4
+ version: 0.1.34
5
5
  platform: ruby
6
6
  authors:
7
7
  - Emil Tin
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-06-09 00:00:00.000000000 Z
11
+ date: 2021-06-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: async