rsmp 0.14.3 → 0.14.4

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: 9c07e65e3ac7d42b90156c102853bcc8032fff95f11f6022ee14e3357244e6d3
4
- data.tar.gz: '0999a7324481ab082047399b959d62afea347952eca6ec3f589292ba90eb62d1'
3
+ metadata.gz: 5e64ae77d559a6e735ec8711d46b96b43eb271fff39eab2a629740e3802d7741
4
+ data.tar.gz: 251ce96a7f0cbb758eb14b7d9c1dfa8b082191fc9c940a33f146ce2b323bdbef
5
5
  SHA512:
6
- metadata.gz: 8de8c0d2a6e43612d78a9546d2de3d7da8130a6901f5d84d7d9b5ba1336bef99960bd4b27e1cb345dd5fe3ec2e5e15f1622f241ab66501adac18b23987a00350
7
- data.tar.gz: 37324e18e9440e1727dbf7313dbc8bdd9c02c2ad256f09fab416ec49dda90b808f56270f332365ece5b15ab50c1b638d7583d1e5b8b73915d91bba38c3c32d02
6
+ metadata.gz: 10958a1786e44ba463617f91f1fbfcbe9ff476c812c49d489fc11c422b9299a9193acb7f92dbfd4c492d703e5e211fc6969eebc0b245493c93c11b1adb40f561
7
+ data.tar.gz: b07555499a530bb011721de9ee9a4673c05c5393bc7397ee96226d2985d571ec28d7c909a5fe3134da8c624162367e67e74848f8f812db5cb2f35fb233cd6a57
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rsmp (0.14.3)
4
+ rsmp (0.14.4)
5
5
  async (~> 1.30.3)
6
6
  async-io (~> 1.33.0)
7
7
  colorize (~> 0.8.1)
data/lib/rsmp/message.rb CHANGED
@@ -61,21 +61,21 @@ module RSMP
61
61
 
62
62
  def self.build_alarm attributes
63
63
  case attributes["aSp"]
64
- when /Issue/i
64
+ when /^Issue$/i
65
65
  AlarmIssue.new attributes
66
- when /Request/i
66
+ when /^Request$/i
67
67
  AlarmRequest.new attributes
68
- when /Acknowledge/i
68
+ when /^Acknowledge$/i
69
69
  AlarmAcknowledged.new attributes
70
- when /Suspend/i
71
- if attributes['sS'] =~ /suspended/i
70
+ when /^Suspend$/i
71
+ if attributes['sS'] =~ /^suspended$/i
72
72
  AlarmSuspended.new attributes
73
- elsif attributes['sS'] =~ /notSuspended/i
73
+ elsif attributes['sS'] =~ /^notSuspended$/i
74
74
  AlarmResumed.new attributes
75
75
  else
76
76
  AlarmSuspend.new attributes
77
77
  end
78
- when /Resume/i
78
+ when /^Resume$/i
79
79
  AlarmResume.new attributes
80
80
  else
81
81
  Alarm.new attributes
data/lib/rsmp/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module RSMP
2
- VERSION = "0.14.3"
2
+ VERSION = "0.14.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rsmp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.14.3
4
+ version: 0.14.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Emil Tin