rsmp 0.25.0 → 0.25.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 62aa16b8130d44f2fc8130ecdf363d273aabed3a2cefbc55f5ab57549fad0747
4
- data.tar.gz: 6e2f18f31b72ae405d23af72fa62714035948d811a359a9615602c5ca1cc6b77
3
+ metadata.gz: b77dfbb34755f7c072e86e1f39455d142211efcb6f476193797cba785cc0c60b
4
+ data.tar.gz: aee34f16de5528bc1db726fca0588ba4e8a98dc4d08d84ac6be85744843cb048
5
5
  SHA512:
6
- metadata.gz: d7c9c7912083eb4672ceab4ebebfb7dc48091b6f6e241453c8d9f57f63638eca7d704502df5634354469f8b45fc8eee87628627af6aa4b5d821209b169a95e3d
7
- data.tar.gz: 84364b6b08863c7235afea941290911cc3830a8c0a001c0365d2f782945e95fe01975b4fc6f240795132a7c8026cbd49188071f03fd66b8ec326ddda1ae20ced
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.0)
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.4)
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.0)
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.2)
63
+ io-event (1.3.3)
64
64
  json_schemer (2.1.0)
65
65
  hana (~> 1.3)
66
66
  regexp_parser (~> 2.0)
@@ -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') == 'Acknowledged')
94
- return true if message.attribute('sS') && @suspended != (message.attribute('sS') == 'suspended')
95
- return true if message.attribute('aS') && @active != (message.attribute('aS') == 'Active')
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
@@ -1,3 +1,3 @@
1
1
  module RSMP
2
- VERSION = "0.25.0"
2
+ VERSION = "0.25.1"
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.25.0
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-21 00:00:00.000000000 Z
11
+ date: 2023-11-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: async