rsmp 0.25.0 → 0.25.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +4 -4
- data/lib/rsmp/alarm_state.rb +3 -3
- 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: b77dfbb34755f7c072e86e1f39455d142211efcb6f476193797cba785cc0c60b
|
4
|
+
data.tar.gz: aee34f16de5528bc1db726fca0588ba4e8a98dc4d08d84ac6be85744843cb048
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 07bd234e540bcf99e5157a5b30616eab6c3b77ba568f3c95382271c5942e29c762020349ffdb3183730dbda384a3b099a00136e631fb352696da2b45e3d8fa91
|
7
|
+
data.tar.gz: 552501d30c441d4b8fd43a01c592cee14cef7353508cecac4b37f9616d5a961baeb531b34feb0bd3741e6de4b101397301dca104652a3383b572fd9059bc3611
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
rsmp (0.25.
|
4
|
+
rsmp (0.25.1)
|
5
5
|
async (~> 2.6.4)
|
6
6
|
async-io (~> 1.36.0)
|
7
7
|
colorize (~> 0.8.1)
|
@@ -17,12 +17,12 @@ GEM
|
|
17
17
|
cucumber (>= 4.0, < 9.0)
|
18
18
|
rspec-expectations (~> 3.4)
|
19
19
|
thor (~> 1.0)
|
20
|
-
async (2.6.
|
20
|
+
async (2.6.5)
|
21
21
|
console (~> 1.10)
|
22
22
|
fiber-annotation
|
23
23
|
io-event (~> 1.1)
|
24
24
|
timers (~> 4.1)
|
25
|
-
async-io (1.36.
|
25
|
+
async-io (1.36.1)
|
26
26
|
async
|
27
27
|
builder (3.2.4)
|
28
28
|
childprocess (4.1.0)
|
@@ -60,7 +60,7 @@ GEM
|
|
60
60
|
fiber-annotation (0.2.0)
|
61
61
|
fiber-local (1.0.0)
|
62
62
|
hana (1.3.7)
|
63
|
-
io-event (1.3.
|
63
|
+
io-event (1.3.3)
|
64
64
|
json_schemer (2.1.0)
|
65
65
|
hana (~> 1.3)
|
66
66
|
regexp_parser (~> 2.0)
|
data/lib/rsmp/alarm_state.rb
CHANGED
@@ -90,9 +90,9 @@ module RSMP
|
|
90
90
|
|
91
91
|
def differ_from_message? message
|
92
92
|
return true if RSMP::Clock.to_s(@timestamp) != message.attribute('aTs')
|
93
|
-
return true if message.attribute('ack') && @acknowledged != (message.attribute('ack') == '
|
94
|
-
return true if message.attribute('sS') && @suspended != (message.attribute('sS') == 'suspended')
|
95
|
-
return true if message.attribute('aS') && @active != (message.attribute('aS') == '
|
93
|
+
return true if message.attribute('ack') && @acknowledged != (message.attribute('ack').downcase == 'acknowledged')
|
94
|
+
return true if message.attribute('sS') && @suspended != (message.attribute('sS').downcase == 'suspended')
|
95
|
+
return true if message.attribute('aS') && @active != (message.attribute('aS').downcase == 'active')
|
96
96
|
return true if message.attribute('cat') && @category != message.attribute('cat')
|
97
97
|
return true if message.attribute('pri') && @priority != message.attribute('pri').to_i
|
98
98
|
#return true @rvs = message.attribute('rvs')
|
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.25.
|
4
|
+
version: 0.25.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Emil Tin
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-11-
|
11
|
+
date: 2023-11-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: async
|