rsmp 0.33.4 → 0.34.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/rsmp/tlc/traffic_controller.rb +15 -1
- data/lib/rsmp/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7a276c4a05fda97cc694bc72fcd0efe4b40fe965133dcd9dcf8a6e04e72a43f5
|
4
|
+
data.tar.gz: 054ce36924aad49963eafe5aeb1874661966568344641199f779e1250471e7c0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8a978b00b314a51f18a6004de22bb26da98e93790d86b02f805c3912e8190ce861a8787c354b63d6186f0ff5bf5c175a08e63f1056006b33e04e1071ea528a52
|
7
|
+
data.tar.gz: 8585887dd59f129fd0b2e62ff94fb5709c575fcf086db789cfceace31499268641be8ee46716adc835fd2970ed853fa24e6616bca9501707f785ea0fab7a56f9
|
data/Gemfile.lock
CHANGED
@@ -634,7 +634,7 @@ module RSMP
|
|
634
634
|
'S0015', 'S0016', 'S0017', 'S0018', 'S0019', 'S0020', 'S0021',
|
635
635
|
'S0022', 'S0023', 'S0024', 'S0026', 'S0027', 'S0028',
|
636
636
|
'S0029', 'S0030', 'S0031', 'S0032', 'S0033', 'S0035',
|
637
|
-
'S0091', 'S0092', 'S0095', 'S0096', 'S0097',
|
637
|
+
'S0091', 'S0092', 'S0095', 'S0096', 'S0097', 'S0098',
|
638
638
|
'S0205', 'S0206', 'S0207', 'S0208'
|
639
639
|
return send("handle_#{code.downcase}", code, name, options)
|
640
640
|
else
|
@@ -1008,6 +1008,20 @@ module RSMP
|
|
1008
1008
|
end
|
1009
1009
|
end
|
1010
1010
|
|
1011
|
+
def handle_s0098 status_code, status_name=nil, options={}
|
1012
|
+
settings = node.site_settings.slice('components','signal_plans','inputs','startup_sequence')
|
1013
|
+
json = JSON.generate(settings)
|
1014
|
+
case status_name
|
1015
|
+
when 'config'
|
1016
|
+
TrafficControllerSite.make_status json
|
1017
|
+
when 'timestamp'
|
1018
|
+
now = clock.to_s
|
1019
|
+
TrafficControllerSite.make_status now
|
1020
|
+
when 'version'
|
1021
|
+
TrafficControllerSite.make_status Digest::MD5.hexdigest(json)
|
1022
|
+
end
|
1023
|
+
end
|
1024
|
+
|
1011
1025
|
def handle_s0205 status_code, status_name=nil, options={}
|
1012
1026
|
case status_name
|
1013
1027
|
when 'start'
|
data/lib/rsmp/version.rb
CHANGED